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.42.0] - 2024-12-18
84b75a0 semantic: [BREAKING] Remove
ScopeFlags::Modifiers
(refactor(semantic): removeScopeFlags::Modifiers
#7935) (overlookmotel)c071494 semantic: [BREAKING] Remove
SymbolTable::rename
method (refactor(semantic)!: removeSymbolTable::rename
method #7868) (overlookmotel)Features
AstBuilder::atom_from_cow
(feat(ast): addAstBuilder::atom_from_cow
#7974) (overlookmotel)Default
forNonEmptyStack
(feat(data_structures): implementDefault
forNonEmptyStack
#7946) (overlookmotel)jsx: 'preserve'
option (feat(napi/transform): addjsx: 'preserve'
option #7965) (Boshen)impl From<ArenaString> for Atom
(feat(span): addimpl From<ArenaString> for Atom
#7973) (overlookmotel)TraverseScoping::rename_symbol
method (feat(traverse): addTraverseScoping::rename_symbol
method #7871) (overlookmotel)Bug Fixes
,
when generating type parameters with jsx (fix(codegen): missing,
when generating type parameters with jsx #7929) (Dunqing)try_fold_left_child_op
(fix(minifier): incorrect minification intry_fold_left_child_op
#7949) (翠 / green)ScopeFlags::Modifier
from parent scope (fix(semantic): remove inhertingScopeFlags::Modifiers
from parent scope #7932) (Dunqing)ScopeTree::rename_binding
preserve order of bindings (fix(semantic):ScopeTree::rename_binding
preserve order of bindings #7870) (overlookmotel)super.prop
in nested method within static prop initializer (fix(transformer/class-properties): do not transformsuper.prop
in nested method within static prop initializer #7978) (overlookmotel)args
in created class constructor (fix(transformer/class-properties): use UID forargs
in created class constructor #7866) (overlookmotel)noDocumentAll
assumption (fix(transformer/optional-chaining): do not create unused reference whennoDocumentAll
assumption #7847) (overlookmotel)noDocumentAll
is true (fix(transformer/optional-chaining): avoid creating a useless reference whennoDocumentAll
is true #7832) (Dunqing)Performance
Comment::is_jsdoc
(perf(ast): fasterComment::is_jsdoc
#7905) (overlookmotel)transform_call_expression_for_super_member_expr
(perf(transformer/class-properties): reduce size oftransform_call_expression_for_super_member_expr
#7859) (overlookmotel)Documentation
Expression::is_*
methods (docs(ast): documentExpression::is_*
methods #7853) (overlookmotel)Refactor
Argument
toArrayExpressionElement
conversion (refactor(ast): use exhaustive match forArgument
toArrayExpressionElement
conversion #7848) (overlookmotel)&str
instead ofCow
(refactor(semantic): pass&str
instead ofCow
#7972) (overlookmotel)visit_export_named_declaration
(refactor(semantic): move determining references flags for export specifier tovisit_export_named_declaration
#7924) (Dunqing)oxc_syntax
(refactor(semantic): import flags and ID types fromoxc_syntax
#7887) (overlookmotel)SymbolTable::set_name
return old name (refactor(semantic):SymbolTable::set_name
return old name #7869) (overlookmotel)Expression::is_super
(refactor(semantic): useExpression::is_super
#7851) (overlookmotel)#![allow(non_snake_case)]
(refactor(semantic, syntax, wasm): remove#![allow(non_snake_case)]
#7863) (overlookmotel)#[allow]
(refactor(transformer): remove unneeded lint#[allow]
#7971) (overlookmotel)Expression::is_super
(refactor(transformer): useExpression::is_super
#7852) (overlookmotel)Atom
s (refactor(transformer/async-to-generator): avoid allocating unnecessaryAtom
s #7975) (overlookmotel)temp_var_is_created
onClassBindings
(refactor(transformer/class-properties): storetemp_var_is_created
onClassBindings
#7981) (overlookmotel)is_declaration
only onClassDetails
(refactor(transformer/class-properties): storeis_declaration
only onClassDetails
#7980) (overlookmotel)move_expression
s (refactor(transformer/class-properties): removemove_expression
s #7979) (overlookmotel)BoundIdentifier
s by reference (refactor(transformer/class-properties): passBoundIdentifier
s by reference #7968) (overlookmotel)&self
where possible (refactor(transformer/class-properties): methods take&self
where possible #7967) (overlookmotel)ClassDetails
(refactor(transformer/class-properties): use stack ofClassDetails
#7947) (overlookmotel)Visit
(refactor(transformer/class-properties): instance prop inits visitor useVisit
#7867) (overlookmotel)Vec
(refactor(transformer/class-properties): re-use existingVec
#7854) (overlookmotel)*_owner
toowned_*
(refactor(transformer/class-properties): rename*_owner
toowned_*
#7855) (Dunqing)Atom
(refactor(transformer/typescript): reuseAtom
#7969) (overlookmotel)Styling
cargo +nightly fmt
(style(rust):cargo +nightly fmt
#7877) (Boshen)Testing