@tsrx/ripple@0.1.35

Ripple-TS/ripple@tsrx/ripple@0.1.35Jul 6, 2026by github-actions[bot]

AI Summary

A patch release that fixes template output fidelity and prevents compiler crashes on malformed event attributes.

Key Highlights

  • Preserves single-text template output (e.g., `<>@</>`) faithfully instead of mangling it
  • Fixes crashes caused by valueless event attributes (e.g., `<div onC>`) by producing positioned errors
  • Updates @tsrx/core dependency to version 0.1.34

Full Release Notes

### Patch Changes

- [#1315](https://github.com/Ripple-TS/ripple/pull/1315)
  [`cc95ffa`](https://github.com/Ripple-TS/ripple/commit/cc95ffaef3f3d3cd252176ea94308f89739f0212)
  Thanks [@leonidaz](https://github.com/leonidaz)! - Keep single-text template
  output faithful to the source instead of promoting it to a string-literal
  expression. A component or fragment whose only output is a text node (e.g.
  `<>@</>` or `<>Hello</>`) is now emitted as-is in both the editor (type-only)
  view and runtime codegen, rather than being rewritten to `{'@'}` / `{'Hello'}`.
  This fixes valid text characters like `@` being mangled and preserves source
  fidelity/mappings across all targets. Nullish or whitespace-only single-text
  output now renders nothing at runtime instead of emitting a stray empty-string
  expression.

- [#1319](https://github.com/Ripple-TS/ripple/pull/1319)
  [`6f78b7f`](https://github.com/Ripple-TS/ripple/commit/6f78b7ff5a5e1f9873a839b709f38e9506545a63)
  Thanks [@leonidaz](https://github.com/leonidaz)! - Valueless event attributes
  (e.g. mid-typing `<div onC>`) no longer crash the compiler with a position-less
  TypeError. They now produce a positioned error at the attribute (recoverable in
  loose/collect mode, so editor completions and diagnostics stay alive on the rest
  of the file), while boolean shorthand on non-event attributes like
  `<div hidden>` keeps compiling clean.

- Updated dependencies
  [[`cc95ffa`](https://github.com/Ripple-TS/ripple/commit/cc95ffaef3f3d3cd252176ea94308f89739f0212)]:
  - @tsrx/core@0.1.34