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.
[0.61.0] - 2025-03-20
c631291 parser: [BREAKING] Parse
TSImportAttributes
asObjectExpression
(feat(parser)!: parseTSImportAttributes
asObjectExpression
#9902) (Boshen)eef7eb6 minifier: [BREAKING] Rename
CompressOptions::all_true
/all_false
tosmallest
/safest
(refactor(minifier)!: renameCompressOptions::all_true
/all_false
tosmallest
/safest
#9866) (sapphi-red)Features
assert_unchecked!
macro (feat(data_structures): addassert_unchecked!
macro #9885) (overlookmotel)keep_names
option (feat(minifier): supportkeep_names
option #9867) (sapphi-red)Accessibility modifier already seen.
(feat(parser): report duplicate modifierAccessibility modifier already seen.
#9890) (Boshen)Bug Fixes
IdentifierName
andIdentifierReference
(fix(estree/ast): fixIdentifierName
andIdentifierReference
#9863) (hi-ogawa)IfStmt
test
when building cfg (fix(semantic): correctly visitIfStmt
test
when building cfg #9864) (camc314)Performance
JSXElement
(perf(ast/estree): speed up raw deser forJSXElement
#9895) (overlookmotel)Vec::from_iter_in
combined withrepeat_with
(perf(mangler, minifier): initialize a Vec with a specific value usingVec::from_iter_in
combined withrepeat_with
#9908) (Dunqing)reserve_exact
instead ofreserve
to save memory in pre-reserve (perf(semantic): usereserve_exact
instead ofreserve
to save memory in pre-reserve #9910) (Dunqing)Documentation
Refactor
self.vec_from_iter
instead ofVec::from_iter_in
for consistency (refactor(ast/ast_builder): useself.vec_from_iter
instead ofVec::from_iter_in
for consistency #9909) (Dunqing)self
params (refactor(isolated_declarations): remove unusedself
params #9868) (overlookmotel)oxc_napi
(refactor(napi): move common code tooxc_napi
#9875) (Boshen)exit_static_block
(refactor(transformer/using): move work toexit_static_block
#9713) (camc314)Testing
oxc_data_structures
crate (test(data_structures): enable doc tests foroxc_data_structures
crate #9884) (overlookmotel)