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.23.1] - 2024-08-06
Features
AstKind::debug_name
(feat(ast): improveAstKind::debug_name
#4553) (DonIsaac)GetSpanMut
trait (feat(ast):GetSpanMut
trait #4609) (overlookmotel)#[ast]
enums (feat(ast, ast_macros): apply stable repr to all#[ast]
enums #4373) (rzvxa)ConcatSourceMapBuilder::from_sourcemaps
(feat(sourcemap): addConcatSourceMapBuilder::from_sourcemaps
#4639) (overlookmotel)Bug Fixes
keep_var
keeping vars from arrow functions (fix(minifier): fixkeep_var
keeping vars from arrow functions #4680) (Boshen)undefined
variable (fix(minifier): temporarily fix shadowedundefined
variable #4678) (Boshen)assert
keyword inTSImportAttributes
(fix(parser): parseassert
keyword inTSImportAttributes
#4610) (Boshen)scope_id
for catch parameter symbols (fix(semantic): incorrectscope_id
for catch parameter symbols #4659) (Dunqing)type_name_comment
. (fix(semantic/jsdoc): panic on parsingtype_name_comment
. #4632) (rzvxa)require
IdentifierReference does not have areference_id
(fix(transformer/react): therequire
IdentifierReference does not have areference_id
#4658) (Dunqing)symbol_id
/reference_id
(fix(transformer/typescript): incorrect enum-relatedsymbol_id
/reference_id
#4660) (Dunqing)SymbolFlags
for jsx imports (fix(transformer/typescript): incorrectSymbolFlags
for jsx imports #4549) (Dunqing)Performance
LineOffsetTable
(perf(codegen): reduce size ofLineOffsetTable
#4643) (overlookmotel)u32
indexes inLineOffsetTable
for source maps (perf(codegen):u32
indexes inLineOffsetTable
for source maps #4641) (overlookmotel)Cow
andCompactStr
instead ofString
(perf(linter): change react rules and utils to useCow
andCompactStr
instead ofString
#4603) (DonIsaac)console.log
(perf(minifier): only visit arrow expression after droppingconsole.log
#4677) (Boshen)ConcatSourceMapBuilder
(perf(sourcemap): reduce string copying inConcatSourceMapBuilder
#4638) (overlookmotel)ConcatSourceMapBuilder
extendsource_contents
in separate loop (perf(sourcemap):ConcatSourceMapBuilder
extendsource_contents
in separate loop #4634) (overlookmotel)Documentation
Refactor
assert_layouts.rs
behinddebug_assertions
(refactor(ast): putassert_layouts.rs
behinddebug_assertions
#4621) (rzvxa)repr(C)
. (refactor(ast): make AST structsrepr(C)
. #4614) (rzvxa)visit_as
+visit_args
attrs from#[ast]
macro (refactor(ast): remove defunctvisit_as
+visit_args
attrs from#[ast]
macro #4599) (overlookmotel)ast_builder
in more places. (refactor(parser): useast_builder
in more places. #4612) (rzvxa)Testing
assert_layouts.rs
offset tests on 32bit platforms. (test(ast): fixassert_layouts.rs
offset tests on 32bit platforms. #4620) (rzvxa)