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
TSImportAttributesasObjectExpression(feat(parser)!: parseTSImportAttributesasObjectExpression#9902) (Boshen)eef7eb6 minifier: [BREAKING] Rename
CompressOptions::all_true/all_falsetosmallest/safest(refactor(minifier)!: renameCompressOptions::all_true/all_falsetosmallest/safest#9866) (sapphi-red)Features
assert_unchecked!macro (feat(data_structures): addassert_unchecked!macro #9885) (overlookmotel)keep_namesoption (feat(minifier): supportkeep_namesoption #9867) (sapphi-red)Accessibility modifier already seen.(feat(parser): report duplicate modifierAccessibility modifier already seen.#9890) (Boshen)Bug Fixes
IdentifierNameandIdentifierReference(fix(estree/ast): fixIdentifierNameandIdentifierReference#9863) (hi-ogawa)IfStmttestwhen building cfg (fix(semantic): correctly visitIfStmttestwhen building cfg #9864) (camc314)Performance
JSXElement(perf(ast/estree): speed up raw deser forJSXElement#9895) (overlookmotel)Vec::from_iter_incombined withrepeat_with(perf(mangler, minifier): initialize a Vec with a specific value usingVec::from_iter_incombined withrepeat_with#9908) (Dunqing)reserve_exactinstead ofreserveto save memory in pre-reserve (perf(semantic): usereserve_exactinstead ofreserveto save memory in pre-reserve #9910) (Dunqing)Documentation
Refactor
self.vec_from_iterinstead ofVec::from_iter_infor consistency (refactor(ast/ast_builder): useself.vec_from_iterinstead ofVec::from_iter_infor consistency #9909) (Dunqing)selfparams (refactor(isolated_declarations): remove unusedselfparams #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_structurescrate (test(data_structures): enable doc tests foroxc_data_structurescrate #9884) (overlookmotel)