Repository navigation
Version Packages - #123
Merged
Merged
Version Packages#123
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
September 16, 2026 20:38
136dd11 to
f1e302b
Compare
This was referenced Sep 25, 2026
leonidaz
added a commit
that referenced
this pull request
Sep 26, 2026
…rs, and print JSX text from `raw` (#694, #693) (#711) * fix(core): write a `>` in text as `>`, read it as text in containers, and keep character references in plain JSX text (#694, #693) A `>` in template text compiled to a bare `>`, which esbuild, oxc, and TypeScript reject and vue-jsx-vapor compiles to nothing. The `JSXText` printer now writes `<`, `>`, `{`, and `}` as character references (`escape_jsx_text`), which JSX decodes back to the same characters. Braces reach it only from a raw-text `<script>` body, where they started an expression container. In an element in a `{…}` container, `jsx_readToken` read a `>` right after a tag as code, dropping the text before it, and after a child container reported TSX's error. A `>` is now text wherever template text is read, as it is outside a container. Text that acorn-typescript's JSX parser reads, in an element in a spread argument or an unbraced attribute value, had its character references decoded into `value`, so `{x}` compiled to the expression `{x}` and the formatter printed it decoded. `jsx_parseText` now keeps the source as `value`, as template text does. The editor's completion mapping for `@`-leading text now stops before the first escaped character, so it stays same-length and is found by its text. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(core): print JSX text from `raw`, and keep acorn's decoded `value` (#693, #710) The user decided #710: TSRX follows the JSX AST, where a `JSXText` node's `value` has its character references decoded and `raw` keeps the text as written, and printers print `raw`. So `jsx_parseText` no longer sets `value` to `raw`. Instead the `JSXText` printer, `wrap_edge_whitespace`, the editor's `@`-text completion mapping, and `@tsrx/prettier-plugin` read `raw`, and the printer escapes `<`, `>`, `{`, and `}` in it as before. A template text's `raw` spanned its comments, which `value` leaves out, so printing it would have printed them as text. Its `raw` now leaves them out too; the parser still reads its line breaks from the source it spans. Co-Authored-By: Claude Opus 5.5 <[email protected]> * style: format the runtime fixture Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
This was referenced Sep 27, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
#92
0e3f36fThanks @kotarotaniguchi0523! - Add
Hono server and DOM compiler targets with Vite and Bun integrations. The
compilers and build integrations support the shared compile-time platform flags;
DOM editor selection remains explicit, and DOM async-component validation stays
conservative and same-module.
Respect later object-property overrides during DOM async-component validation,
and add server/DOM targets and supported examples to the website playground.
Updated dependencies
[
0e3f36f]:@tsrx/[email protected]
Patch Changes
@tsrx/[email protected]
Patch Changes
[
0e3f36f]:@tsrx/[email protected]
Patch Changes
#92
0e3f36fThanks @kotarotaniguchi0523! - Add
Hono server and DOM compiler targets with Vite and Bun integrations. The
compilers and build integrations support the shared compile-time platform flags;
DOM editor selection remains explicit, and DOM async-component validation stays
conservative and same-module.
Respect later object-property overrides during DOM async-component validation,
and add server/DOM targets and supported examples to the website playground.
@tsrx/[email protected]
Patch Changes
#92
0e3f36fThanks @kotarotaniguchi0523! - Add
Hono server and DOM compiler targets with Vite and Bun integrations. The
compilers and build integrations support the shared compile-time platform flags;
DOM editor selection remains explicit, and DOM async-component validation stays
conservative and same-module.
Respect later object-property overrides during DOM async-component validation,
and add server/DOM targets and supported examples to the website playground.
Updated dependencies []:
@tsrx/[email protected]
Patch Changes
#92
0e3f36fThanks @kotarotaniguchi0523! - Add
Hono server and DOM compiler targets with Vite and Bun integrations. The
compilers and build integrations support the shared compile-time platform flags;
DOM editor selection remains explicit, and DOM async-component validation stays
conservative and same-module.
Respect later object-property overrides during DOM async-component validation,
and add server/DOM targets and supported examples to the website playground.
@tsrx/[email protected]
Patch Changes
#92
0e3f36fThanks @kotarotaniguchi0523! - Add
Hono server and DOM compiler targets with Vite and Bun integrations. The
compilers and build integrations support the shared compile-time platform flags;
DOM editor selection remains explicit, and DOM async-component validation stays
conservative and same-module.
Respect later object-property overrides during DOM async-component validation,
and add server/DOM targets and supported examples to the website playground.
Updated dependencies
[
0e3f36f]:@tsrx/[email protected]
No changes in this release.
@tsrx/[email protected]
No changes in this release.
@tsrx/[email protected]
Patch Changes
[
0e3f36f]:Note
Low Risk
Release-only version and changelog updates with no application code changes in this diff; risk is limited to publish coordination and dependency version alignment.
Overview
This is a Changesets release PR that bumps published versions and writes changelog entries; it does not change compiler or plugin source—only metadata consumed on merge/publish.
It removes the consumed
.changeset/add-hono-target.mdand raises versions across the monorepo, notably@tsrx/hono,@tsrx/vite-plugin-hono, and@tsrx/bun-plugin-honoto 0.1.1,@tsrx/typescript-pluginto 0.4.4,@tsrx/mcpto 0.1.4, editor/tooling packages (language-server,eslint-*,prettier-plugin,vscode-plugin2.1.5), and pins@tsrx/language-server0.4.4 in the Zed plugin config.Changelog text for the bumped packages records #92: Hono server and DOM compiler targets, Vite/Bun integrations, shared compile-time platform flags, conservative same-module DOM async-component validation (including later object-property overrides), and website playground server/DOM examples. Several packages only note dependency alignment or “no changes in this release.”
Reviewed by Cursor Bugbot for commit f1e302b. Bugbot is set up for automated code reviews on this repo. Configure here.