Conversation
Contributor
Your org has enabled the Graphite merge queue for merging into mainAdd the label “0-merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
Contributor
Monitor Oxc
|
CodSpeed Performance ReportMerging #7775 will not alter performanceComparing Summary
|
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.
[0.40.0] - 2024-12-10
5d6fa25 traverse: [BREAKING] Remove
TraverseCtx::is_static(refactor(traverse)!: removeTraverseCtx::is_static#7760) (overlookmotel)5913200 transformer/class-properties: [BREAKING] Rename
ClassPropertiesOptions::loose(refactor(transformer/class-properties)!: renameClassPropertiesOptions::loose#7716) (overlookmotel)72eab6c parser: [BREAKING] Stage 3
import sourceandimport defer(feat(parser)!: stage 3import sourceandimport defer#7706) (Boshen)ebc80f6 ast: [BREAKING] Change 'raw' from &str to Option (refactor(ast)!: change 'raw' from &str to Option<Atom> #7547) (Song Gao)
Features
AstBuilder::use_strict_directivemethod (feat(ast, transformer): addAstBuilder::use_strict_directivemethod #7770) (overlookmotel)getUtf16ByteOffsetAPI; update README (feat(napi/parser): addgetUtf16ByteOffsetAPI; update README #7772) (Boshen)import.meta(feat(napi/parser): expose span positions ofimport.meta#7677) (Boshen)SymbolTable::symbol_is_mutatedmethod (feat(semantic): addSymbolTable::symbol_is_mutatedmethod #7755) (overlookmotel)ExportEntry::is_type(feat(syntax): addExportEntry::is_type#7676) (Boshen)private_fields_as_propertiesassumption (feat(transformer/class-properties): supportprivate_fields_as_propertiesassumption #7717) (overlookmotel)AssignmentTarget(feat(transformer/class-properties): support for transformingAssignmentTarget#7697) (Dunqing)ChainExpression(feat(transformer/class-properties): transformChainExpression#7575) (Dunqing)create_var*methods (feat(transformer/var-declaration): add a series ofcreate_var*methods #7665) (Dunqing)insert_var_with_initmethod (feat(transformer/var-declarations): addinsert_var_with_initmethod #7667) (Dunqing)TraverseCtx::generate_uid_in_current_hoist_scope_based_on_node(feat(traverse): addTraverseCtx::generate_uid_in_current_hoist_scope_based_on_node#7642) (Dunqing)Bug Fixes
delete 2e308asdelete (0, Infinity)(fix(codegen): printdelete 2e308asdelete (0, Infinity)#7761) (Boshen)ininfor inloop init (fix(codegen): missing parens forininfor inloop init #7705) (Dunqing)inin for loop init when it includes two binary expression (fix(codegen): missing parens forinin for loop init when it includes two binary expression #7703) (Dunqing)BigIntLiteral::rawprop in ESTree AST optional (fix(estree): make type ofBigIntLiteral::rawprop in ESTree AST optional #7663) (overlookmotel)raw: nullin ESTree AST for generatedNullLiterals (fix(estree):raw: nullin ESTree AST for generatedNullLiterals #7662) (overlookmotel)raw: nullin ESTree AST for generatedBooleanLiterals (fix(estree):raw: nullin ESTree AST for generatedBooleanLiterals #7661) (overlookmotel)es2015toes6(fix(oxc_transformer): aliases2015toes6#7673) (Kevin Deng 三咲智子)for awaitsyntax (fix(parser): better diagnostic for invalidfor awaitsyntax #7649) (Boshen)SymbolFlagsfor_superfunction (fix(transformer/class-properties): fixSymbolFlagsfor_superfunction #7709) (overlookmotel)_superfunction outside class strict mode (fix(transformer/class-properties): make_superfunction outside class strict mode #7708) (overlookmotel)thisin computed key (fix(transformer/class-properties): create temp var forthisin computed key #7686) (overlookmotel)deletechain expression in static prop initializers (fix(transformer/class-properties): transformdeletechain expression in static prop initializers #7656) (overlookmotel)IdentifierReferences withReferenceId(fix(transformer/logic-assignment-operator): always createIdentifierReferences withReferenceId#7745) (overlookmotel)Performance
parse_statementmatch conditions (perf(parser): reorderparse_statementmatch conditions #7645) (Boshen)enter_expressionvisitor (perf(transformer/logic-assignment-operator): inlineenter_expressionvisitor #7744) (overlookmotel)Documentation
Refactor
AstBuilderextra methods useSPAN(refactor(ast):AstBuilderextra methods useSPAN#7769) (overlookmotel)NONEin AST builder calls (refactor(isolated_declarations): useNONEin AST builder calls #7752) (overlookmotel)serdefeatures (refactor(linter): remove unusedserdefeatures #7738) (Boshen)ModuleRecord::has_module_syntaxfor setting sourceType (refactor(parser): useModuleRecord::has_module_syntaxfor setting sourceType #7646) (Boshen)duplicate_expressiondo not produce temp var forsuper(refactor(transformer):duplicate_expressiondo not produce temp var forsuper#7757) (overlookmotel)duplicate_expressiontakemutated_symbol_needs_temp_varparam (refactor(transformer):duplicate_expressiontakemutated_symbol_needs_temp_varparam #7756) (overlookmotel)TransformCtx::duplicate_expression(refactor(transformer): introduceTransformCtx::duplicate_expression#7754) (overlookmotel)NONEin AST builder calls (refactor(transformer): useNONEin AST builder calls #7751) (overlookmotel)VarDeclarationsStoremethods (refactor(transformer): renameVarDeclarationsStoremethods #7682) (overlookmotel)ctx.var_declarations.create_var*methods (refactor(transformer): usectx.var_declarations.create_var*methods #7666) (Dunqing)containstointersectsfor bitflags (refactor(transformer/class-properties): prefercontainstointersectsfor bitflags #7747) (overlookmotel)_superfunction (refactor(transformer/class-properties): shorten output when_superfunction #7710) (overlookmotel)transform_assignment_target(refactor(transformer/class-properties): move code out oftransform_assignment_target#7701) (overlookmotel)duplicate_object_twicemethod (refactor(transformer/class-properties):duplicate_object_twicemethod #7685) (overlookmotel)duplicate_objectintransform_expression_to_wrap_nullish_check(refactor(transformer/class-properties): useduplicate_objectintransform_expression_to_wrap_nullish_check#7664) (Dunqing)deleteof chain expression intotransform_unary_expression(refactor(transformer/class-properties): move logic for handlingdeleteof chain expression intotransform_unary_expression#7655) (overlookmotel)initparameter frominsert_var(refactor(var-declarations): remove unnecessaryinitparameter frominsert_var#7668) (Dunqing)Styling
Atom(style(ast): importAtom#7657) (overlookmotel)Testing
expectAPI instead ofassert(test(napi/transform): use theexpectAPI instead ofassert#7739) (Boshen)