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.36.0] - 2024-11-09
b11ed2c ast: [BREAKING] Remove useless
ObjectProperty::init
field (refactor(ast)!: remove uselessObjectProperty::init
field #7220) (Boshen)0e4adc1 ast: [BREAKING] Remove invalid expressions from
TSEnumMemberName
(feat(ast)!: remove invalid expressions fromTSEnumMemberName
#7219) (Boshen)846711c transformer: [BREAKING] Change API to take a
&TransformOptions
instead ofTransformOptions
(feat(transformer)!: change API to take a&TransformOptions
instead ofTransformOptions
#7213) (Boshen)092de67 types: [BREAKING] Append
rest
field intoelements
for objects and arrays to align with estree (fix(types)!: appendrest
field intoelements
for objects and arrays to align with estree #7212) (ottomated)d1d1874 ast: [BREAKING] Change
comment.span
to real position that contain//
and/*
(feat(ast)!: changecomment.span
to real position that contain//
and/*
#7154) (Boshen)843bce4 ast: [BREAKING]
IdentifierReference::reference_id
returnReferenceId
(refactor(ast)!:IdentifierReference::reference_id
returnReferenceId
#7126) (overlookmotel)Features
scope_id
etc (feat(ast): methods on AST nodes to getscope_id
etc #7127) (overlookmotel)Module::Preserve
option (feat(transformer): add defaultedModule::Preserve
option #7225) (Boshen)TransformOptions::module
option (feat(transformer): addTransformOptions::module
option #7188) (Boshen)--target=es2020,chrome58
(feat(transformer): add esbuild comma separated target API--target=es2020,chrome58
#7210) (Boshen)engineTargets
(feat(transformer): add es target toengineTargets
#7193) (Boshen)ES2018NamedCapturingGroupsRegex
andES2018LookbehindRegex
(feat(transformer): add featuresES2018NamedCapturingGroupsRegex
andES2018LookbehindRegex
#7182) (Boshen)ArrowFunctionConverter
inasync-to-generator
andasync-generator-functions
plugins (feat(transformer): enableArrowFunctionConverter
inasync-to-generator
andasync-generator-functions
plugins #7113) (Dunqing)this_var
if scope have changed (feat(transformer/arrow-function-converter): move scope to changed scope forthis_var
if scope have changed #7125) (Dunqing)Module
fromBabelPlugins
(feat(transformer/babel): add support for trying to get theModule
fromBabelPlugins
#7218) (Dunqing)export =
andimport = require(...)
when module is commonjs (feat(transformer/typescript): support transformexport =
andimport = require(...)
when module is commonjs #7206) (Dunqing)Bug Fixes
for await
if it's not placed in a block (fix(transformer/async-generator-functions): incorrect transformation forfor await
if it's not placed in a block #7148) (Dunqing)for await
if it's in LabeledStatement (fix(transformer/async-generator-functions): transform incorrectly forfor await
if it's in LabeledStatement #7147) (Dunqing)SymbolFlags
for default import whenSourceType
is script (fix(transformer/helper-loader): incorrectSymbolFlags
for default import whenSourceType
is script #7226) (Dunqing)Refactor
AstKind::as_*
methods takeself
(refactor(ast):AstKind::as_*
methods takeself
#5546) (overlookmotel)scope_id
etc methods (refactor(ast): usescope_id
etc methods #7130) (overlookmotel)map
andand_then
instead of let else (refactor(minifier): usemap
andand_then
instead of let else #7178) (7086cmd)ancestor_kinds
iterator function (refactor(semantic): addancestor_kinds
iterator function #7217) (camchenry)iter_parents
toancestors
(refactor(semantic): renameiter_parents
toancestors
#7216) (camchenry)ancestors
toancestor_ids
(refactor(semantic): renameancestors
toancestor_ids
#7215) (camchenry)impl TryFrom<EngineTargets> for EnvOptions
(refactor(transformer): addimpl TryFrom<EngineTargets> for EnvOptions
#7191) (Boshen)ESTarget
to its own file (refactor(transformer): moveESTarget
to its own file #7189) (Boshen)EnvOptions::bugfixes
(refactor(transformer): remove unimplementedEnvOptions::bugfixes
#7162) (Boshen)Engine
enum forEngineTargets
(refactor(transformer): addEngine
enum forEngineTargets
#7161) (Boshen)Query
toBrowserslistQuery
(refactor(transformer): renameQuery
toBrowserslistQuery
#7143) (Boshen)Targets
toEngineTargets
(refactor(transformer): changeTargets
toEngineTargets
#7142) (Boshen)scope_id
etc methods (refactor(transformer): usescope_id
etc methods #7128) (overlookmotel)ArenaBox
as function param (refactor(transformer/arrow-functions): passArenaBox
as function param #7169) (overlookmotel)&mut self
function param (refactor(transformer/arrow-functions): remove unused&mut self
function param #7165) (overlookmotel)scope_id
method (refactor(transformer/arrow-functions): usescope_id
method #7164) (overlookmotel)#[allow(clippy::unused_self)]
attrs (refactor(transformer/async-generator-function): remove inactive#[allow(clippy::unused_self)]
attrs #7167) (overlookmotel)clone
notclone_in
onLabelIdentifier
(refactor(transformer/async-generator-functions): useclone
notclone_in
onLabelIdentifier
#7172) (overlookmotel)MethodDefinition
's value toexit_function
(refactor(transformer/async-generator-functions): move handling ofMethodDefinition
's value toexit_function
#7106) (Dunqing)&self
function param (refactor(transformer/async-to-generator): remove unused&self
function param #7166) (overlookmotel)MethodDefinition
's value toexit_function
(refactor(transformer/async-to-generator): move handling ofMethodDefinition
's value toexit_function
#7105) (Dunqing)&self
function params (refactor(transformer/jsx-self): remove unused&self
function params #7159) (overlookmotel)#[allow(clippy::unused_self)]
attr (refactor(transformer/optional-catch-binding): remove inactive#[allow(clippy::unused_self)]
attr #7158) (overlookmotel)#[allow(clippy::unused_self)]
attr (refactor(transformer/typescript): remove inactive#[allow(clippy::unused_self)]
attr #7160) (overlookmotel)symbol_id
etc methods (refactor(traverse): usesymbol_id
etc methods #7129) (overlookmotel)Styling
oxc_allocator::Vec
asArenaVec
(style(transformer/async-generator-functions): importoxc_allocator::Vec
asArenaVec
#7173) (overlookmotel)Testing