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.39.0] - 2024-12-04
c2ced15 parser,linter: [BREAKING] Use a different
ModuleRecord
for linter (feat(parser,linter)!: use a differentModuleRecord
for linter #7554) (Boshen)0be5233 semantic: [BREAKING] Remove
ModuleRecord
fromSemantic
(refactor(semantic)!: removeModuleRecord
fromSemantic
#7548) (Boshen)8a788b8 parser: [BREAKING] Build
ModuleRecord
directly in parser (feat(parser)!: BuildModuleRecord
directly in parser #7546) (Boshen)f2f31a8 traverse: [BREAKING] Remove unsound APIs (fix(traverse)!: remove unsound APIs #7514) (overlookmotel)
b0e1c03 ast: [BREAKING] Add
StringLiteral::raw
field (feat(ast)!: addStringLiteral::raw
field #7393) (Boshen)Features
SparseStack::last_mut
method (feat(data_structures): addSparseStack::last_mut
method #7528) (overlookmotel)filename
and optionallang
(feat(napi/parser): change parse API to accept mandatoryfilename
and optionallang
#7605) (Boshen)TransformerOptions::assumptions
(feat(napi/transform): addTransformerOptions::assumptions
#7601) (翠 / green)oxc_napi
crate (feat(oxc): removeoxc_napi
crate #7634) (Boshen)oxc_napi
crate (feat(oxc): addoxc_napi
crate #7612) (Boshen)delete object?.#a
(feat(semantic): syntax error fordelete object?.#a
#7636) (Boshen)SymbolTable::add_resolved_reference
method (feat(semantic): addSymbolTable::add_resolved_reference
method #7608) (overlookmotel)ImportEntry
andExportEntry
(feat(syntax): add statement span toImportEntry
andExportEntry
#7583) (Boshen)TaggedTemplateExpresssion
(feat(transformer/class-properties): support for transformingTaggedTemplateExpresssion
#7504) (Dunqing)generate_uid_in_current_hoist_scope
method (feat(traverse): addgenerate_uid_in_current_hoist_scope
method #7423) (Dunqing)Bug Fixes
options.sourcemap
for id (fix(napi/transform): respectoptions.sourcemap
for id #7590) (Kevin Deng 三咲智子)ThisExpr
andimport.meta
in jsx pragma (fix(oxc_transformer): correct generateThisExpr
andimport.meta
in jsx pragma #7553) (IWANABETHATGUY)SymbolFlags
of function id in module (fix(transformer/async-to-generator): correct theSymbolFlags
of function id in module #7470) (Dunqing)SymbolFlags
(fix(transformer/object-rest-spread): generate catch variable binding with correctSymbolFlags
#7469) (Dunqing)Performance
FxDashMap
for exported bindings (perf(syntax): useFxDashMap
for exported bindings #7525) (overlookmotel)FxDashMap
for browser query cache (perf(transformer): useFxDashMap
for browser query cache #7521) (overlookmotel)Documentation
Refactor
ModuleRecord
(refactor(linter): clean up APIs forModuleRecord
#7556) (Boshen)FxDashMap
(refactor(linter, syntax): introduce type aliasFxDashMap
#7520) (overlookmotel)source_map
- moved to its crate (refactor(oxc_napi): removesource_map
- moved to its crate #7614) (Boshen)PropName
trait fromoxc_ecmascript
(refactor(parser): usePropName
trait fromoxc_ecmascript
#7543) (Boshen)FxIndexMap
type aliases (refactor(semantic, transformer): simplifyFxIndexMap
type aliases #7524) (overlookmotel)ModuleRecord::not_esm
tohas_module_syntax
(refactor(syntax): changeModuleRecord::not_esm
tohas_module_syntax
#7579) (Boshen)ModuleRecord::export_default
(refactor(syntax): removeModuleRecord::export_default
#7578) (Boshen)ModuleRecord::exported_bindings_duplicated
because it is a syntax error (refactor(syntax): removeModuleRecord::exported_bindings_duplicated
because it is a syntax error #7577) (Boshen)ModuleRecord::export_default_duplicated
because it is a syntax error (refactor(syntax): removeModuleRecord::export_default_duplicated
because it is a syntax error #7576) (Boshen)ModuleRecord
(refactor(syntax): clean upModuleRecord
#7568) (Boshen)PrivatePropsStack
type (refactor(transformer/class-properties):PrivatePropsStack
type #7589) (overlookmotel)transform_class
faster if nothing to do (refactor(transformer/class-properties): exittransform_class
faster if nothing to do #7586) (overlookmotel)ResolvedPrivateProp
type (refactor(transformer/class-properties):ResolvedPrivateProp
type #7532) (overlookmotel)shortcut_static_class
takeSymbolId
(refactor(transformer/class-properties):shortcut_static_class
takeSymbolId
#7531) (overlookmotel)class_binding
(refactor(transformer/class-properties): renameclass_binding
#7533) (overlookmotel)callee
ofCallExpression
totransform_private_field_callee
(refactor(transformer/class-properties): move transform logic ofcallee
ofCallExpression
totransform_private_field_callee
#7503) (Dunqing)transform_call_expression_impl
(refactor(transformer/class-properties): remove a branch fromtransform_call_expression_impl
#7507) (overlookmotel)Pragma::parse
take a&str
(refactor(transformer/jsx):Pragma::parse
take a&str
#7619) (overlookmotel)generate_uid_in_current_hoist_scope
to add hoisted binding (refactor(transformer/react-refresh): usegenerate_uid_in_current_hoist_scope
to add hoisted binding #7492) (Dunqing)Testing
oxc_minifier
due to cyclic dependency withoxc_parser
(test(ecmascript): move tests tooxc_minifier
due to cyclic dependency withoxc_parser
#7542) (Boshen)UpdateExpression
(test(semantic): add a test forUpdateExpression
#7495) (Dunqing)