Conversation
Contributor
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. |
Contributor
Monitor Oxc
|
CodSpeed Performance ReportMerging #9524 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.54.0] - 2025-03-04
098f652 codegen: [BREAKING] Add
CommentAnnotationto avoid parsing comments again (perf(codegen)!: addCommentAnnotationto avoid parsing comments again #9506) (Boshen)a8d1d48 parser,codegen: [BREAKING] Parse and print
#__NO_SIDE_EFFECTS__(feat(parser,codegen)!: parse and print#__NO_SIDE_EFFECTS__#9496) (Boshen)355a4db napi/parser: [BREAKING] Remove
parse_without_returnAPI (feat(napi/parser)!: removeparse_without_returnAPI #9455) (Boshen)a5cde10 visit_ast: [BREAKING] Add
oxc_visit_astcrate (feat(visit_ast)!: addoxc_visit_astcrate #9428) (Boshen)abb15e0 ast: [BREAKING] Add
purefield toFunction,CallExpression, andNewExpression(feat(ast)!: addpurefield toFunction,CallExpression, andNewExpression#9207) (overlookmotel)Features
/* @__PURE__ */in may_have_side_effects (feat(ecmascript): support/* @__PURE__ */in may_have_side_effects #9409) (sapphi-red)remove_unused_expressionintry_fold_sequence_expressioninremove_dead_code(feat(minifier): useremove_unused_expressionintry_fold_sequence_expressioninremove_dead_code#9467) (sapphi-red)remove_unused_expression(feat(minifier): inline simple IIFEs inremove_unused_expression#9465) (sapphi-red)remove_unused_expression(feat(minifier): support extracting arguments in pure calls inremove_unused_expression#9463) (sapphi-red)a != null && a.b()toa?.b()inremove_unused_expression(feat(minifier): compressa != null && a.b()toa?.b()inremove_unused_expression#9459) (sapphi-red)remove_unused_expression(feat(minifier): support binary expression inremove_unused_expression#9456) (sapphi-red)remove_unused_expression(feat(minifier): support conditional expression inremove_unused_expression#9432) (sapphi-red)remove_unused_expression(feat(minifier): support object expression inremove_unused_expression#9430) (sapphi-red)remove_unused_expression(feat(minifier): improve array expression handling inremove_unused_expression#9427) (sapphi-red)remove_unused_expression(feat(minifier): support template literals inremove_unused_expression#9426) (sapphi-red)/* @__PURE__ */ a() ? b : btob(feat(minifier): compress/* @__PURE__ */ a() ? b : btob#9410) (sapphi-red)ModuleRunnerTransform(feat(transformer): supportModuleRunnerTransform#9371) (Dunqing)Bug Fixes
annotation_commentsis enabled (fix(codegen): do not print comments when onlyannotation_commentsis enabled #9518) (Dunqing)${a() === b}(fix(ecmascript): fix may_have_side_effects for${a() === b}#9478) (sapphi-red)typeAnnotationfield (fix(estree/ast): camel-casetypeAnnotationfield #9420) (overlookmotel)trywithfinally(fix(minifier): correctly remove dead code intrywithfinally#9503) (sapphi-red)try_fold_stmt_in_boolean_contextonExpressionStatement(fix(minifier): skiptry_fold_stmt_in_boolean_contextonExpressionStatement#9458) (sapphi-red)@__NO_SIDE_EFFECTSonly affects const variable decl (fix(parser):@__NO_SIDE_EFFECTSonly affects const variable decl #9517) (Boshen)@__NO_SIDE_EFFECTS__betweenexport defaultandasync function(fix(parser): parse@__NO_SIDE_EFFECTS__betweenexport defaultandasync function#9514) (Boshen)foo.bar?.(fix(parser): correctly fail parsing when parsingfoo.bar?.#9499) (camc314)thiswhen transformingthis.f?.()(fix(transformer/optional-chaning): keepthiswhen transformingthis.f?.()#9505) (camc314)Performance
Vec(perf(isolated_declarations): reserve sufficient capacity in statementsVec#9394) (overlookmotel)Refactor
ArenaBox/ArenaVec(refactor(isolated_declarations): use aliasesArenaBox/ArenaVec#9389) (overlookmotel)a != null && b->a ?? bcompression toremove_unused_expression(refactor(minifier): movea != null && b->a ?? bcompression toremove_unused_expression#9468) (sapphi-red)try_fold_iifetoremove_unused_expression(refactor(minifier): movetry_fold_iifetoremove_unused_expression#9464) (sapphi-red)may_have_side_effectsinremove_unused_expression(refactor(minifier): usemay_have_side_effectsinremove_unused_expression#9413) (sapphi-red)Testing
ToPropertyKeythrows an error (test(ecmascript): add comments and tests for cases whereToPropertyKeythrows an error #9429) (sapphi-red)hashbangfield (test(napi): add tests forhashbangfield #9386) (overlookmotel)