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.2] - 2025-03-23
Features
keep_namesoption (feat(mangler): supportkeep_namesoption #9898) (sapphi-red)nameproperty (feat(mangler): collect symbols that is used to setnameproperty #9897) (sapphi-red)Scopingcloneable (feat(oxc_semantic): makeScopingcloneable #9953) (IWANABETHATGUY)StatementInjectorStore::move_insertionsmethod (feat(transformer): addStatementInjectorStore::move_insertionsmethod #9951) (overlookmotel)Bug Fixes
AssignmentPattern(fix(ast/estree): Add decorators field toAssignmentPattern#9967) (therewillbecode)TSIndexSignatureandTSIndexSignatureName(fix(ast/estree): Add missing estree fields toTSIndexSignatureandTSIndexSignatureName#9968) (therewillbecode)TSFunctionTypeandTSCallSignatureDeclaration(fix(ast/estree): FixTSFunctionTypeandTSCallSignatureDeclaration#9959) (therewillbecode)ArrayPattern(fix(ast/estree): FixArrayPattern#9956) (therewillbecode)FormalParameter(fix(ast/estree): FixFormalParameter#9954) (therewillbecode)TSThisParameter(fix(ast/estree): fix TS type def forTSThisParameter#9942) (overlookmotel)Function.this_param(fix(ast/estree): fixFunction.this_param#9913) (hi-ogawa)BindingIdentifier(fix(ast/estree): fixBindingIdentifier#9822) (hi-ogawa)TSModuleDeclaration.global(fix(ast/extree): fixTSModuleDeclaration.global#9941) (overlookmotel)regular_expressionfeature (fix(parser): fix brokenregular_expressionfeature #9963) (Boshen)WeakMapwhen decorator and class properties transforms combined (fix(transformer/decorator): do not loseWeakMapwhen decorator and class properties transforms combined #9952) (overlookmotel)Performance
Copy(perf(regular_expression): make all fieldless enumsCopy#9937) (overlookmotel)argumentsofcreateElement/jsxfunction (perf(transformer/jsx): pre-allocate enough memory forargumentsofcreateElement/jsxfunction #9915) (Dunqing)Refactor
CloneIn(refactor(ast): shorten generated code forCloneIn#9939) (overlookmotel)INCLUDE_TS_FIELDSconstant onSerializer(refactor(ast/estree): exposeINCLUDE_TS_FIELDSconstant onSerializer#9943) (overlookmotel)CloneInderive (refactor(ast_tools): simplifyCloneInderive #9938) (overlookmotel)Statefor checking changes (refactor(minifier): addStatefor checking changes #9949) (Boshen)vec_from_iterwithvec_from_arrayfor array (refactor(minifier, transformer): replacevec_from_iterwithvec_from_arrayfor array #9906) (Dunqing)ast.clone_in()(refactor(transformer): construct new AST instead of callingast.clone_in()#9916) (Dunqing)enter_statementtoexit_statement(refactor(transformer/decorator): renameenter_statementtoexit_statement#9950) (overlookmotel)