Repository navigation
Version Packages - #973
Merged
Merged
Version Packages#973
Conversation
9 of 10 tasks
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
[
a836f17]:@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
#972
a836f17Thanks @leonidaz! - A
JSXTextnode'svaluenow has its character references decoded, as in every JSX parser, and
rawkeeps the text as written. Before, both held the text as written. For
<p>a "b" & c</p>:valuealso reads each CRLF line break as LF.Compiled and formatted output doesn't change: the compilers and the formatter
print
raw, and JSX's whitespace rules read it, so text that is only areference, such as
<> </>, is still text. A tool that prints JSX textfrom
value, or decodes it again, should userawinstead, or&lt;renders
<instead of<.Updated dependencies
[
a836f17]:@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
#972
a836f17Thanks @leonidaz! - A
JSXTextnode'svaluenow has its character references decoded, as in every JSX parser, and
rawkeeps the text as written. Before, both held the text as written. For
<p>a "b" & c</p>:valuealso reads each CRLF line break as LF.Compiled and formatted output doesn't change: the compilers and the formatter
print
raw, and JSX's whitespace rules read it, so text that is only areference, such as
<> </>, is still text. A tool that prints JSX textfrom
value, or decodes it again, should userawinstead, or&lt;renders
<instead of<.@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
#972
a836f17Thanks @leonidaz! - A
JSXTextnode'svaluenow has its character references decoded, as in every JSX parser, and
rawkeeps the text as written. Before, both held the text as written. For
<p>a "b" & c</p>:valuealso reads each CRLF line break as LF.Compiled and formatted output doesn't change: the compilers and the formatter
print
raw, and JSX's whitespace rules read it, so text that is only areference, such as
<> </>, is still text. A tool that prints JSX textfrom
value, or decodes it again, should userawinstead, or&lt;renders
<instead of<.Updated dependencies
[
a836f17]:@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
[
a836f17]:@tsrx/[email protected]
Patch Changes
Note
Medium Risk
Releases a parser AST behavior change for
JSXText.valuethat can break custom tooling that relied on the old undecodedvalue; shipped output viarawshould stay stable.Overview
This is a Changesets “Version Packages” release PR: it consumes the
core-jsx-text-decoded-valuechangeset, bumps versions across the monorepo, and adds matching CHANGELOG entries. There is no new application logic in the diff beyond version metadata.The release ships @tsrx/[email protected] (#972), which changes
JSXTextAST semantics to match typical JSX parsers:valueis now decoded (character references expanded, CRLF → LF) whilerawstays exactly as written in source. Compiled and Prettier output are unchanged because emit paths still useraw.Downstream packages (React/Solid/Vue/Preact/Hono compilers, Prettier plugin, ESLint parser, language server, Vite/Rspack/Bun/Turbopack plugins, VS Code/Zed, MCP) receive patch bumps that only reflect the updated
@tsrx/core(and related) dependency versions.Reviewed by Cursor Bugbot for commit b12cd5f. Bugbot is set up for automated code reviews on this repo. Configure here.