Skip to content

Version Packages - #969

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

leonidaz merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 29, 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

  • #967
    b213995
    Thanks @leonidaz! - Read the strings that start a
    @{ … } function body as its directive prologue, as in a { … } body. The
    parser now marks them as directives, so Prettier no longer wraps them in
    parentheses:

     function App() @{
    -  ('use client');
    +  'use client';
       <div>Hello</div>
     }

    'use strict' there with a parameter list that isn't simple is now TS1347, as
    it is in a { … } body. A @{ … } value and a directive body aren't function
    bodies, so a string at their start still gets parentheses, as in a block.

  • Updated dependencies
    [b213995]:

@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

  • #967
    b213995
    Thanks @leonidaz! - Read the strings that start a
    @{ … } function body as its directive prologue, as in a { … } body. The
    parser now marks them as directives, so Prettier no longer wraps them in
    parentheses:

     function App() @{
    -  ('use client');
    +  'use client';
       <div>Hello</div>
     }

    'use strict' there with a parameter list that isn't simple is now TS1347, as
    it is in a { … } body. A @{ … } value and a directive body aren't function
    bodies, so a string at their start still gets parentheses, as in a block.

@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
Patch release driven by changelog and version metadata; the underlying parser/formatter change is localized but may affect formatting and one new TS1347 case for 'use strict' in @{ } function bodies.

Overview
Changesets release that bumps the monorepo to publish @tsrx/[email protected] and cascades patch versions across tooling, compiler targets, and bundler plugins. The consumed changeset (.changeset/core-code-block-directives.md) is removed from the repo as part of this release.

The user-facing fix in this release (from #967) is directive prologue handling for @{ … } function bodies: leading string statements are parsed like a normal { … } body prologue, so 'use client' and similar directives are no longer wrapped in parentheses by @tsrx/prettier-plugin. 'use strict' at the start of such a body with a non-simple parameter list now reports TS1347, matching block bodies; leading strings in @{ … } value or directive bodies (not function bodies) still format with parentheses like ordinary blocks.

No application source changes appear in this PR—only package.json version bumps, CHANGELOG.md entries, and @tsrx/zed-plugin pinning @tsrx/[email protected].

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

@leonidaz
leonidaz merged commit eaa6962 into main Sep 29, 2026
1 check passed
@leonidaz
leonidaz deleted the changeset-release/main branch September 29, 2026 16:48
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