Skip to content

Version Packages - #218

Merged
leonidaz merged 1 commit into
mainfrom
changeset-release/main
Sep 24, 2026
Merged

leonidaz merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

  • #214
    e34902a
    Thanks @leonidaz! - Keep static and the
    trailing ; on class index signatures (static [key: string]: number;) when
    formatting TSRX files. Previously static was dropped, which moved the
    signature from the class to its instances, and the missing ; ran the signature
    into the next member on the same line, leaving code that no longer parsed.

  • #214
    e34902a
    Thanks @leonidaz! - Keep class members apart when
    formatting TSRX files with semi: false. A short class no longer collapses onto
    one line when a field, index signature, or bodiless method is followed by
    another member, so class A { x = 1; y = 2 } no longer becomes the invalid
    class A { x = 1 y = 2 }. A field also keeps its ; when the next member would
    otherwise continue it: before a computed member, an index signature, a generator
    method, or a member named in or instanceof, and after a bare static,
    get, or set field. Previously x = a; followed by [k] = 1; came back as
    x = a / [k] = 1, which reads as x = a[k] = 1.

  • Updated dependencies
    [c426225]:

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

  • #217
    c426225
    Thanks @leonidaz! - tsrx-tsc and the editor now
    report missing-return errors on functions and methods with a primitive return
    type, such as value(): number {} failing with TS2355. TypeScript reports these
    errors on the return type, but the source-mapping walker never mapped primitive
    type keywords (number, string, this, and the rest), so Volar dropped them.
    A method in a file with no function or async keyword also no longer gets a
    stray mapping that treated its opening ( as a function keyword.

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes

@tsrx/[email protected]

Patch Changes


Note

Low Risk
Release metadata and version bumps only; user-facing fixes were already landed in prior PRs and are low-risk editor/formatting diagnostics changes.

Overview
This is a Changesets “Version Packages” release PR: it removes the three consumed changeset files and bumps versions across the monorepo so npm can publish.

@tsrx/[email protected] ships the tooling fix from #217: tsrx-tsc and the editor now surface TS2355 missing-return diagnostics on functions/methods with primitive return types, by mapping primitive type keywords in the source walker and dropping a stray function-keyword mapping on methods in files without function/async.

@tsrx/[email protected] ships #214: formatting keeps static and trailing ; on class index signatures, and with semi: false avoids collapsing or merging class members in ways that produced invalid or ambiguous output.

Every other touched package is a patch bump with changelog entries that only record updated workspace dependencies (Bun/Vite/Rspack plugins, language server, VS Code/Zed pins, etc.).

Reviewed by Cursor Bugbot for commit 6a667cc. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
tsrx-website Ready Ready Preview Sep 24, 2026 12:00am UTC
tsrx-website-mcp Ready Ready Preview Sep 24, 2026 12:00am UTC

Request Review

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from adfd6df to 6a667cc Compare September 23, 2026 23:59
@leonidaz
leonidaz merged commit bd3ae05 into main Sep 24, 2026
4 checks passed
@leonidaz
leonidaz deleted the changeset-release/main branch September 24, 2026 00:01
leonidaz added a commit to Ripple-TS/ripple that referenced this pull request Sep 24, 2026
* fix: update TSRX and give each @switch arm its own block

Update the shared TSRX packages to the release in tsrx-org/tsrx#218,
including @tsrx/core 0.3.2, where each @switch arm is its own block scope
(tsrx-org/tsrx#148).

The client output already renders each arm in its own function, but the
server transform and the to_ts paths emit arm bodies inside a JS switch,
whose cases share one lexical scope, so two arms declaring the same local
produced invalid JS or TS2451. Wrap an arm in its own block when it
declares a block-scoped name, and look up the arm scope on the SwitchCase
node, where core now stores it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(tsrx-ripple): read a value-position @switch arm's scope from its SwitchCase

The value-position @switch lowering in to_ts still looked up each arm's
scope on `sc.consequent`, an array that never has one, so the arm was
transformed under the enclosing scope. Core stores the arm scope on the
SwitchCase node, as the other arm lowerings already read it.

`branch_returning_body` also uses its scope node as the location of the
returned value. An arm has no block node, so pass no location and keep
the arm's value unlocated, as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
trueadm pushed a commit to octanejs/octane that referenced this pull request Sep 24, 2026
* fix: update the TSRX toolchain to @tsrx/core 0.3.2

Update the shared TSRX packages to the release in tsrx-org/tsrx#218 and
drop the @tsrx/[email protected] patch, which core 0.3.0 ships
(tsrx-org/tsrx#143). Core now gives each @switch arm its own block scope,
so arms may declare the same local and an arm's `apply` resolves to its
own style block.

Core lowers a @for whose body awaits to `__map_iterable_async` in the
editor's virtual TSX:

- Re-export `map_iterable_async` from `octane/tsrx-iterable` and require
  it in verify-dist, so the helper import resolves and the loop binding
  keeps its type (#1291).
- Claim `__map_iterable_async` as a @for origin, so type inspection
  resolves the keyword instead of the whole loop (#1292).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(drei): cast state.controls through unknown, as upstream does

tsrx-tsc from @tsrx/typescript-plugin 0.4.10 now maps the TS2352 that
TypeScript reports for a direct cast from `EventDispatcher<{}> | null`
to `ControlsProto | undefined` or `{ enabled: boolean } | undefined`, so
the drei adapted-types parity lane failed. Upstream drei casts through
`unknown` at each of these sites; the port had dropped that step.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>

This branch was successfully deployed

2 active deployments
Preview – tsrx-website — 6a667ccb Deployed Sep 24, 2026 by vercel[bot]
Preview – tsrx-website-mcp — 6a667ccb Deployed Sep 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant