-
-
Notifications
You must be signed in to change notification settings - Fork 559
release(crates): v0.68.0 #10777
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
release(crates): v0.68.0 #10777
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
Monitor Oxc
|
WalkthroughThis update increments the version numbers of all Possibly related PRs
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
🧹 Nitpick comments (6)
crates/oxc/CHANGELOG.md (1)
15-17
: Empty Refactor section
The### Refactor
header has no entries. Consider removing it if there are genuinely no refactors in this release.crates/oxc_isolated_declarations/CHANGELOG.md (1)
19-19
: Refactor note: Code shortened
Shortening is noted, but consider adding a brief description of what was reduced for future maintainers.crates/oxc_minifier/CHANGELOG.md (1)
21-23
: Empty Refactor section
No entries under### Refactor
. Remove the section or populate it with relevant refactors.crates/oxc_transformer_plugins/CHANGELOG.md (1)
27-29
: Empty Refactor section
Consider removing the header or adding actual refactor entries.crates/oxc_codegen/CHANGELOG.md (1)
24-26
: Empty Refactor section
No items under### Refactor
. Remove the header or add the relevant refactor entries.crates/oxc_ast/CHANGELOG.md (1)
7-12
: Consider grouping breaking changes under a dedicated heading.
Currently, the two[**BREAKING**]
entries precede the “### Features” section without a separate heading. To improve readability and align with Keep a C 8000 hangelog conventions, consider inserting a “### Breaking Changes” header above these entries.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
Cargo.lock
is excluded by!**/*.lock
📒 Files selected for processing (49)
Cargo.toml
(1 hunks)crates/oxc/CHANGELOG.md
(1 hunks)crates/oxc/Cargo.toml
(1 hunks)crates/oxc_allocator/CHANGELOG.md
(1 hunks)crates/oxc_allocator/Cargo.toml
(1 hunks)crates/oxc_ast/CHANGELOG.md
(1 hunks)crates/oxc_ast/Cargo.toml
(1 hunks)crates/oxc_ast_macros/Cargo.toml
(1 hunks)crates/oxc_ast_visit/Cargo.toml
(1 hunks)crates/oxc_cfg/Cargo.toml
(1 hunks)crates/oxc_codegen/CHANGELOG.md
(1 hunks)crates/oxc_codegen/Cargo.toml
(1 hunks)crates/oxc_data_structures/Cargo.toml
(1 hunks)crates/oxc_diagnostics/Cargo.toml
(1 hunks)crates/oxc_ecmascript/Cargo.toml
(1 hunks)crates/oxc_estree/Cargo.toml
(1 hunks)crates/oxc_isolated_declarations/CHANGELOG.md
(1 hunks)crates/oxc_isolated_declarations/Cargo.toml
(1 hunks)crates/oxc_mangler/Cargo.toml
(1 hunks)crates/oxc_minifier/CHANGELOG.md
(1 hunks)crates/oxc_minifier/Cargo.toml
(1 hunks)crates/oxc_napi/CHANGELOG.md
(1 hunks)crates/oxc_napi/Cargo.toml
(1 hunks)crates/oxc_parser/CHANGELOG.md
(1 hunks)crates/oxc_parser/Cargo.toml
(1 hunks)crates/oxc_regular_expression/Cargo.toml
(1 hunks)crates/oxc_semantic/CHANGELOG.md
(1 hunks)crates/oxc_semantic/Cargo.toml
(1 hunks)crates/oxc_span/CHANGELOG.md
(1 hunks)crates/oxc_span/Cargo.toml
(1 hunks)crates/oxc_syntax/CHANGELOG.md
(1 hunks)crates/oxc_syntax/Cargo.toml
(1 hunks)crates/oxc_transformer/CHANGELOG.md
(1 hunks)crates/oxc_transformer/Cargo.toml
(1 hunks)crates/oxc_transformer_plugins/CHANGELOG.md
(1 hunks)crates/oxc_transformer_plugins/Cargo.toml
(1 hunks)crates/oxc_traverse/CHANGELOG.md
(1 hunks)crates/oxc_traverse/Cargo.toml
(1 hunks)napi/minify/CHANGELOG.md
(1 hunks)napi/minify/package.json
(1 hunks)napi/parser/CHANGELOG.md
(1 hunks)napi/parser/Cargo.toml
(1 hunks)napi/parser/package.json
(1 hunks)napi/transform/CHANGELOG.md
(1 hunks)napi/transform/Cargo.toml
(1 hunks)napi/transform/package.json
(1 hunks)npm/oxc-types/CHANGELOG.md
(1 hunks)npm/oxc-types/package.json
(1 hunks)npm/runtime/package.json
(1 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
napi/transform/CHANGELOG.md
22-22: Multiple headings with the same content
null
(MD024, no-duplicate-heading)
napi/parser/CHANGELOG.md
30-30: Multiple headings with the same content
null
(MD024, no-duplicate-heading)
⏰ Context from checks skipped due to timeout of 90000ms (4)
- GitHub Check: Benchmark linter (1)
- GitHub Check: Benchmark linter (0)
- GitHub Check: Conformance
- GitHub Check: Test NAPI
🔇 Additional comments (90)
npm/runtime/package.json (1)
3-3
:✅ Verification successful
Confirm version bump consistency
The package version has been updated to 0.68.0. Ensure this matches all other workspace packages and crates to keep releases in sync.Run the following to catch any stray references to the old version:
🏁 Script executed:
#!/bin/bash # Verify no remaining "0.67.0" version strings rg -l '"version": "0.67.0"'Length of output: 29
🏁 Script executed:
#!/bin/bash # Search for any remaining "0.67.0" occurrences across the repo echo "🔍 Searching for '0.67.0' anywhere in the codebase..." rg -l '0\.67\.0' || true # Specifically check Rust Cargo.toml files for old version strings echo "🔍 Checking Cargo.toml files for version = \"0.67.0\"..." rg -l 'version\s*=\s*"0\.67\.0"' --glob '*.toml' || trueLength of output: 658
Version bump consistency confirmed
Verified that no remaining"version": "0.67.0"
entries exist in package manifests (including Cargo.toml). The only occurrences of0.67.0
are in CHANGELOG.md files—this is expected for historical records. All workspace packages and crates are now at version 0.68.0.crates/oxc_parser/Cargo.toml (2)
3-3
: Bumpoxc_parser
crate to version 0.68.0.
Aligned with the workspace-wide release. Ensure that the correspondingCHANGELOG.md
foroxc_parser
reflects all breaking changes (e.g., removal ofTSMappedTypeModifierOperator::None
), bug fixes, and performance improvements introduced in v0.68.0.
3-3
:✅ Verification successful
Verify no residual
0.67.0
version strings.
To prevent inconsistent versioning across the workspace, please confirm that noCargo.toml
still containsversion = "0.67.0"
.
🏁 Script executed:
#!/bin/bash # Ensure all crates have been bumped to v0.68.0 rg -l 'version = "0\\.67\\.0"' -g 'crates/**/*.toml'Length of output: 54
🏁 Script executed:
#!/bin/bash # Comprehensive search for any residual 0.67.0 across all TOML files rg -l 'version\s*=\s*"0\.67\.0"' -g '*.toml'Length of output: 46
All crates confirmed at v0.68.0 – no residual
0.67.0
found
I’ve searched every*.toml
forversion = "0.67.0"
and there are no matches. Everything is consistently bumped to 0.68.0.crates/oxc_semantic/Cargo.toml (1)
3-3
: Bumpoxc_semantic
crate to version 0.68.0.
Matches the workspace release. Verify thatCHANGELOG.md
includes the lazy comma checking in JSX bug fix and the performance improvement viaAtom
reuse.crates/oxc_span/Cargo.toml (1)
3-3
: Bumpoxc_span
crate to version 0.68.0.
Aligned with the release; ensureCHANGELOG.md
documents the newformat_atom!
macro and the Vue<script>
block lint fix.crates/oxc_estree/Cargo.toml (1)
3-3
: Bumpoxc_estree
crate to version 0.68.0.
Consistent with the workspace. Make sure downstream crates (oxc_ast
,oxc_codegen
, etc.) have updated notes for AST-breaking changes like removal of the redundantCodeGenerator
alias.crates/oxc_syntax/Cargo.toml (1)
3-3
: Bumpoxc_syntax
crate to version 0.68.0.
Matches the global version bump. ConfirmCHANGELOG.md
details the new#[estree(via)]
support on fieldless enum variants.crates/oxc_cfg/Cargo.toml (1)
3-3
: Workspace version bump: Updatedversion
to"0.68.0"
to align this crate with the new v0.68.0 release across the workspace.crates/oxc_allocator/Cargo.toml (1)
3-3
: Workspace version bump: Updatedversion
to"0.68.0"
for theoxc_allocator
crate as part of the coordinated release.crates/oxc_traverse/Cargo.toml (1)
3-3
: Workspace version bump: Upgradedversion
to"0.68.0"
foroxc_traverse
to maintain consistency in the v0.68.0 release.crates/oxc_napi/Cargo.toml (1)
3-3
: Workspace version bump: Changedversion
to"0.68.0"
inoxc_napi
to match the release version across all workspace crates.crates/oxc_data_structures/Cargo.toml (1)
3-3
: Workspace version bump: Bumpedversion
to"0.68.0"
foroxc_data_structures
in line with the overall release update.crates/oxc_minifier/Cargo.toml (1)
3-3
: Approve version bump for oxc_minifier.
The crate version has been correctly updated from0.67.0
to0.68.0
to align with the coordinated release. No unintended changes detected.crates/oxc_ecmascript/Cargo.toml (1)
3-3
: Approve version bump for oxc_ecmascript.
Version updated to0.68.0
as part of the workspace-wide v0.68.0 release. No other modifications present.crates/oxc_mangler/Cargo.toml (1)
3-3
: Approve version bump for oxc_mangler.
The crate version has been correctly incremented to0.68.0
to match the rest of the workspace.crates/oxc_ast_macros/Cargo.toml (1)
3-3
: Approve version bump for oxc_ast_macros.
Version updated to0.68.0
in line with the coordinated release. No other configuration changes detected.npm/oxc-types/package.json (1)
3-3
: Approve version bump for @oxc-project/types.
Package version updated to0.68.0
to synchronize with the Rust crates' release. Syntax and formatting are correct.crates/oxc_diagnostics/Cargo.toml (1)
3-3
: Version bump to 0.68.0 is correct. This aligns with the coordinated workspace release and introduces no other changes.crates/oxc_regular_expression/Cargo.toml (1)
3-3
: Version updated to 0.68.0 as expected. No additional dependency or feature changes detected.crates/oxc_ast_visit/Cargo.toml (1)
3-3
: Crate version bumped to 0.68.0. Matches the release plan and requires no further modifications.crates/oxc_isolated_declarations/Cargo.toml (1)
3-3
: Updated version to 0.68.0. Consistent with the other crates in this release.napi/parser/Cargo.toml (1)
3-3
: Version bump to 0.68.0 confirmed. Ensures consistency with the overall 0.68.0 release.napi/parser/package.json (1)
3-3
: Consistent version bump
The"version"
field has been correctly updated from0.67.0
to0.68.0
, matching the coordinated release across alloxc
-related packages.napi/transform/Cargo.toml (1)
3-3
: Cargo manifest version update
Theversion
inCargo.toml
has been bumped to0.68.0
to stay in sync with the workspace release. No other manifest fields were altered.napi/transform/package.json (1)
3-3
: Package.json version bump
The package version has been updated to0.68.0
, aligning with the release of theoxc-transform
binding. All other metadata remain unchanged.napi/minify/package.json (1)
3-3
: Version alignment
Updated the"version"
to0.68.0
innapi/minify/package.json
, consistent with the overall release. No unintended changes detected.napi/minify/CHANGELOG.md (1)
7-11
: Changelog entry for 0.68.0 looks good
The new section for[0.68.0] - 2025-05-03
correctly documents the feature to preserve legal comments after minification. Formatting follows the Keep a Changelog guidelines.npm/oxc-types/CHANGELOG.md (1)
7-13
: Changelog updated for v0.68.0
The new version section and entries align with the workspace version bumps; the breaking change and refactor details are accurately documented.napi/transform/CHANGELOG.md (1)
7-17
: Changelog entry for v0.68.0 looks good
The breaking change, bug fix, and performance improvements are correctly documented in the first block.crates/oxc_traverse/CHANGELOG.md (1)
7-17
: Changelog entry for v0.68.0 is correct
The breaking change, performance boost, and refactor entries accurately reflect the crate updates, including removal of the AST variant and UID optimization.crates/oxc_parser/CHANGELOG.md (1)
7-21
: Changelog entry for v0.68.0 is accurate and comprehensive
The breaking change, bug fixes, performance improvement, and documentation update are all present and correctly formatted under the new version section.napi/parser/CHANGELOG.md (1)
7-29
: Changelog entry for v0.68.0 is well documented
The breaking, bug fixes, performance, refactor, and testing entries correctly capture changes innapi/parser
for version 0.68.0.crates/oxc/Cargo.toml (1)
3-3
: Consistent version bump applied
The crate version has been correctly updated to "0.68.0" in line with the workspace release process.crates/oxc_ast/Cargo.toml (1)
3-3
: Consistent version bump applied
The crate version has been correctly updated to "0.68.0", matching the coordinated workspace release.crates/oxc_codegen/Cargo.toml (1)
3-3
: Consistent version bump applied
The crate version has been correctly updated to "0.68.0", in sync with the workspace-wide version bump.crates/oxc_transformer/Cargo.toml (1)
3-3
: Consistent version bump applied
The crate version has been correctly updated to "0.68.0" in alignment with the overall release.crates/oxc_transformer_plugins/Cargo.toml (1)
3-3
: Consistent version bump applied
The crate version has been correctly updated to "0.68.0", maintaining consistency across alloxc
crates.Cargo.toml (1)
107-131
: Uniform version bump to 0.68.0 for alloxc
workspace dependencies
The version numbers for alloxc
-related crates have been consistently updated from0.67.0
to0.68.0
, aligning with the coordinated release. Paths remain correct, and no crates were omitted from the bump.crates/oxc_napi/CHANGELOG.md (1)
7-12
: New changelog entry for version 0.68.0 is properly formatted
The## [0.68.0]
header and### Refactor
section clearly document the change toconvert_utf8_to_utf16
, following the Keep a Changelog conventions.crates/oxc_span/CHANGELOG.md (1)
7-16
: Changelog update is well-organized for 0.68.0
The new### Features
(format_atom!
macro) and### Bug Fixes
(Vue<script>
linting skip) entries are correctly categorized and formatted, matching the project’s changelog style.crates/oxc_semantic/CHANGELOG.md (1)
7-16
: Changelog entries for 0.68.0 are clear and complete
The### Bug Fixes
and### Performance
sections accurately record the JSX comma check enhancement andAtom
reuse, in line with related updates in parser and semantic modules.crates/oxc_syntax/CHANGELOG.md (1)
7-12
: Feature addition in changelog is consistent
The support for#[estree(via)]
on fieldless enum variants is correctly listed under### Features
for0.68.0
, adhering to the changelog guidelines.crates/oxc/CHANGELOG.md (3)
7-7
: Version header is correct
The new version and date follow the project’s changelog conventions.
9-9
: Breaking change: RemoveCodeGenerator
alias
Documented as breaking. Please verify that all references toCodeGenerator
have been removed across the workspace.
13-13
: Bug fix entry looks good
Thetransformer_plugins
fix is correctly noted. No further action required.crates/oxc_isolated_declarations/CHANGELOG.md (4)
7-7
: Version header updated
Matches the date and version for this release, aligned with other crates.
9-9
: Breaking change:AstBuilder
lifetime requirement
Ensure allAstBuilder
calls now pass anAtom
with the correct lifetime.
11-11
: Breaking change: RemoveCodeGenerator
alias
Consistent with coordinated removal. Verify no leftover type aliases remain.
15-16
: Performance improvement documented
Avoiding unnecessary string copies is valuable. Please confirm relevant benchmarks or tests cover this change.crates/oxc_minifier/CHANGELOG.md (5)
7-7
: Version header bump
Correct version and date specification.
9-9
: Breaking change:AstBuilder
lifetime enforcement
All minifier code must now supplyAtom
with the specified lifetime. Confirm dependent crates are updated.
11-11
: Breaking change: RemoveCodeGenerator
alias
Aligned with other crates. Verify that no residual alias remains in minifier code.
15-15
: Feature: Preserve legal comments
Well-documented addition. Ensure minifier tests include scenarios to retain legal comments.
19-19
: Performance: Avoid tempString
allocations
Good optimization. Please confirm any performance regressions or improvements in benchmarks.crates/oxc_transformer_plugins/CHANGELOG.md (6)
7-7
: Version header correctly bumped
Aligns with workspace versioning.
9-9
: Breaking change:AstBuilder
lifetime enforcement
Plugins must be updated to passAtom
lifetimes correctly.
11-11
: Breaking change: RemoveCodeGenerator
alias
Consistent with other components. Verify plugin code no longer references the alias.
15-15
: Feature: Preserve legal comments
Great addition. Confirm transformer plugin tests cover comment retention.
19-19
: Bug fix: Reference data on identifier replacement
Entry matches objectives. No further action needed.
23-25
: Performance enhancements grouped
Three performance items: string-copy avoidance, compact formatting, and global injection fix. Please ensure performance tests or benchmarks validate these improvements.crates/oxc_codegen/CHANGELOG.md (5)
7-7
: Version header bump
Release date and version align with project standards.
9-9
: Breaking: RemoveTSMappedTypeModifierOperator::None
variant
Ensure downstream AST handling is updated for this variant removal.
11-11
: Breaking: RemoveCodeGenerator
alias
Matches coordinated removal. Verify integration points no longer rely on the alias.
15-16
: Features documented
with_source_text
exposure- Legal comment preservation
Ensure API docs and examples are updated accordingly.
20-22
: Bug fixes listed
Three bug fixes: missing TS parameter modifiers, return types, and regexp panic. Confirm corresponding tests have been added.crates/oxc_allocator/CHANGELOG.md (4)
9-15
: Features section looks good.
The new allocator features (String::set_len
,Display
forBox
,RawVec::reserve
alignment,grow_one
,extend_desugared
) are clearly documented with commit hashes and PR numbers.
17-22
: Performance improvements documented correctly.
The allocator/vec2 optimizations are clearly grouped under “### Performance” with relevant commits.
25-27
: Documentation entry is concise and clear.
The new cargo features documentation commit is captured under “### Documentation”.
7-8
:✅ Verification successful
Verify version bump consistency.
Ensure that the changelog’s0.68.0
tag aligns with the version specified incrates/oxc_allocator/Cargo.toml
.
You can verify this with:
🏁 Script executed:
#!/bin/bash # Check version in Cargo.toml matches changelog header grep -R 'version *= *"0.68.0"' crates/oxc_allocator/Cargo.tomlLength of output: 83
Changelog version matches Cargo.toml
Confirmed thatversion = "0.68.0"
incrates/oxc_allocator/Cargo.toml
aligns with the## [0.68.0]
header inCHANGELOG.md
. No further action required.crates/oxc_ast/CHANGELOG.md (4)
13-16
: Features section is clear.
The newAstBuilder
generator support feature is correctly listed with its commit and PR reference.
17-21
: Bug Fixes are properly grouped.
The two bug-fix entries are appropriately listed under “### Bug Fixes”.
22-25
: Refactor entry is correctly documented.
The removal of the custom serializer commit is rightly under “### Refactor”.
26-29
: Styling change is noted.
The import of theDisplay
trait is documented under “### Styling”.crates/oxc_transformer/CHANGELOG.md (17)
7-7
: Add version header for v0.68.0
The new release version and date are correctly documented following the existing format.
9-9
: Document breaking change: AstBuilder requires Atom lifetime
The breaking change entry clearly highlights the API update and references the PR number.
11-11
: Document breaking change: RemoveCodeGenerator
type alias
The removal of the redundant alias is accurately noted as a breaking change with its PR reference.
13-13
: Add “Performance” section header
Grouping the performance improvements under their own header maintains consistency with previous releases.
15-15
: Log performance improvement: Avoid copying string data
This entry concisely describes the optimization in the transformer.
17-17
: Log performance improvement: Optimize var/let statement insertion
Clearly documents the transformer tweak for variable declarations.
19-19
: Log performance improvement: Skip creating tempString
in JSX
Accurately notes the reduction of temporary allocations in JSX handling.
21-21
: Log performance improvement: Cache search string in refresh resolver
Describes the single-search optimization inRefreshIdentifierResolver::parse
.
23-23
: Log performance improvement: Remove temporaryVec
in refresh
Highlights the removal of an unnecessary collection allocation.
25-25
: Log performance improvement: Reuse existingAtom
in refresh
Documents the reuse of allocated atoms to avoid overhead.
27-27
: Log performance improvement: Usetake
instead ofdrain
Shows the switch to a more efficient vector extraction method.
29-29
: Log performance improvement: Do not store parsed regexp
Correctly notes removal of an unnecessary cache in the regexp transformer.
31-31
: Log performance improvement: Inlineenter_expression
in regexp
Highlights the inlining of a visitor method to reduce indirection.
33-33
: Log performance improvement: Avoid copying string data in regexp
Accurately describes the additional string-copy avoidance measures.
35-35
: Add “Refactor” section header
Consistent grouping for refactoring changes.
37-37
: Log refactor: Shorten code in refresh transformer
Documents simplification of refresh logic.
39-39
: Log refactor: Do not unnecessarily consumeVec
in refresh
Notes the code cleanup to avoid vector ownership issues.
CodSpeed Instrumentation Performance ReportMerging #10777 will not alter performanceComparing Summary
|
[0.68.0] - 2025-05-03
28ceb90 ast: [BREAKING] Remove
TSMappedTypeModifierOperator::None
variant (refactor(ast)!: removeTSMappedTypeModifierOperator::None
variant #10749) (overlookmotel)a0a37e0 ast: [BREAKING]
AstBuilder
methods require anAtom
with correct lifetime (refactor(ast)!:AstBuilder
methods require anAtom
with correct lifetime #10735) (overlookmotel)315143a codegen: [BREAKING] Remove useless
CodeGenerator
type alias (refactor(codegen)!: remove uselessCodeGenerator
type alias #10702) (Boshen)Features
String::set_len
method (feat(allocator): addString::set_len
method #10757) (overlookmotel)Display
forBox
(feat(allocator): implementDisplay
forBox
#10731) (overlookmotel)RawVec::reserve
with standard library implementation (feat(allocator/vec2): alignRawVec::reserve
with standard library implementation #10701) (Dunqing)grow_one
method (feat(allocator/vec2): add specializedgrow_one
method #9855) (Dunqing)extend_desugared
method asextend
internal implementation (feat(allocator/vec2): introduceextend_desugared
method asextend
internal implementation #10670) (Dunqing)AstBuilder
generator support types with more than 1Atom
field (feat(ast_tools):AstBuilder
generator support types with more than 1Atom
field #10737) (overlookmotel)#[estree(via)]
on fieldless enum variants (feat(ast_tools): support#[estree(via)]
on fieldless enum variants #10746) (overlookmotel)with_source_text
function (feat(codegen): exposewith_source_text
function #10768) (camc314)format_atom!
macro (feat(span): introduceformat_atom!
macro #10722) (overlookmotel)Bug Fixes
AssignmentTargetMaybeDefault::identifier
preserve lifetime (fix(ast):AssignmentTargetMaybeDefault::identifier
preserve lifetime #10720) (overlookmotel)assert
towith
inTSImportType
options
in TS-ESTree AST (fix(ast/estree): renameassert
towith
inTSImportType
options
in TS-ESTree AST #10681) (overlookmotel)in
out
from ts type parameter (fix(codegen): add missingin
out
from ts type parameter #10696) (Boshen)TSTypePredicate
.typeAnnotation
(fix(estree): Adjust span forTSTypePredicate
.typeAnnotation
#10711) (Yuji Sugiura)lang
is not js / ts (fix(linter): skip linting vue <script> wherelang
is not js / ts #10740) (Boshen)>>
(fix(parser): fix panic when the parser tries to re-lex>>
#10756) (Boshen)for(in
(fix(parser): fix crash when parsingfor(in
#10640) (Boshen)Performance
std
(perf(allocator/vec2): align min amortized cap size withstd
#9857) (Dunqing)self.reserve(1)
calls withself.grow_one()
for better efficiency (perf(allocator/vec2): replaceself.reserve(1)
calls withself.grow_one()
for better efficiency #9856) (Dunqing)Bump::grow
orBump::shrink
at the call site directly instead of callingrealloc
(perf(allocator/vec2): callingBump::grow
orBump::shrink
at the call site directly instead of callingrealloc
#10686) (Dunqing)extend
by marking reserve as#[cold]
and#[inline(never)]
(perf(allocator/vec2): resolve performance regression forextend
by marking reserve as#[cold]
and#[inline(never)]
#10675) (Dunqing)String
s and copying string data (perf(minifier): avoid tempString
s and copying string data #10733) (overlookmotel)String
(perf(napi/transform): do not create tempString
#10752) (overlookmotel)TemplateElement
s (perf(parser): faster parsingTemplateElement
s #10678) (overlookmotel)Atom
(perf(semantic): reuseAtom
#10771) (overlookmotel)format_compact_str!
(perf(transformer, linter): useformat_compact_str!
#10753) (overlookmotel)String
(perf(transformer/jsx): skip creating tempString
#10721) (overlookmotel)RefreshIdentifierResolver::parse
search string for.
only once (perf(transformer/refresh):RefreshIdentifierResolver::parse
search string for.
only once #10719) (overlookmotel)Vec
(perf(transformer/refresh): remove tempVec
#10713) (overlookmotel)Atom
(perf(transformer/refresh): reuse existingAtom
#10709) (overlookmotel)take/take_in
instead ofdrain
(perf(transformer/refresh): usetake/take_in
instead ofdrain
#10656) (Dunqing)enter_expression
(perf(transformer/regexp): inlineenter_expression
#10745) (overlookmotel)String
(perf(transformer/regexp): avoid copying string data and tempString
#10723) (overlookmotel)Documentation
Refactor
TSMappedTypeModifierOperator
(refactor(ast/estree): remove custom serializer forTSMappedTypeModifierOperator
#10747) (overlookmotel)convert_utf8_to_utf16
take&mut
slice of errors, not&mut Vec
(refactor(ast/estree):convert_utf8_to_utf16
take&mut
slice of errors, not&mut Vec
#10672) (overlookmotel)Vec
(refactor(transformer/refresh): do not unnecessarily consumeVec
#10712) (overlookmotel)get_unique_name_impl
(refactor(traverse): removeget_unique_name_impl
#10755) (overlookmotel)Styling
Display
trait (style(ast): importDisplay
trait #10724) (overlookmotel)Testing