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.70.0] - 2025-05-15
SourceType::from_path(".js")
return js instead of jsx (fix(span)!:SourceType::from_path(".js")
return js instead of jsx #11038) (Boshen)Features
JSXEmptyExpression
(feat(codegen): print comments insideJSXEmptyExpression
#11022) (Boshen)Bug Fixes
raw_deser
forTSMappedTypeOptional
serializer (fix(ast/estree): fixraw_deser
forTSMappedTypeOptional
serializer #10971) (overlookmotel)FormalParameter
(fix(ast/estree): fix field order forFormalParameter
#10962) (overlookmotel)RestElement
inFormalParameters
(fix(ast/estree): fix field order and type def forRestElement
inFormalParameters
#10961) (overlookmotel)TSModuleDeclaration
raw deserializer (fix(ast/estree): fixTSModuleDeclaration
raw deserializer #10924) (overlookmotel)FormalParameters
inUtf8ToUtf16Converter
(fix(ast_visit): fix visitation order forFormalParameters
inUtf8ToUtf16Converter
#11019) (overlookmotel)TSTemplateLiteralType
inUtf8ToUtf16Converter
(fix(ast_visit): fix visitation order forTSTemplateLiteralType
inUtf8ToUtf16Converter
#11007) (overlookmotel)BindingPattern
inUtf8ToUtf16Converter
(fix(ast_visit): fix visitation order forBindingPattern
inUtf8ToUtf16Converter
#11003) (overlookmotel)AssignmentPattern
(fix(estree): Ensure the same key order forAssignmentPattern
#10953) (Yuji Sugiura)export default
function/class/interface (fix(isolated-declarations): lost leading comments ofexport default
function/class/interface #10990) (Dunqing)lang
thensourceType
(fix(napi): computed final source type fromlang
thensourceType
#11060) (Boshen)no_opt_arch
feature on linux aarch64 (fix(napi): enable mimallocno_opt_arch
feature on linux aarch64 #11053) (Boshen)for(using using
stmts (fix(parser): allowfor(using using
stmts #10985) (camc314)Performance
WithClause
(perf(ast/estree): streamline raw deserializer forWithClause
#10974) (overlookmotel)Token
flag (perf(parser): use 8 bits for eachToken
flag #11046) (overlookmotel)Kind::Eof
(default) 0 (perf(parser): makeKind::Eof
(default) 0 #11014) (overlookmotel)SourceType
(perf(span): faster conversion of path/extension toSourceType
#10996) (overlookmotel)memchr
for parsing JSX pragma comments (perf(transformer/jsx): usememchr
for parsing JSX pragma comments #11001) (overlookmotel)Documentation
ExportSpecifier
(docs(ast): fix docs forExportSpecifier
#10891) (overlookmotel)Refactor
Elision
(refactor(ast/estree): remove custom serializer forElision
#10965) (overlookmotel)FormalParameters
(refactor(ast/estree): simplify custom serializers forFormalParameters
#10964) (overlookmotel)FormalParameters
(refactor(ast/estree): rename custom serializers for fields containingFormalParameters
#10963) (overlookmotel)Utf8ToUtf16Converter
(refactor(ast_visit): descriptive method param names inUtf8ToUtf16Converter
#10987) (overlookmotel)Statement::Gen
code more compact (refactor(codegen): makeStatement::Gen
code more compact #10937) (Boshen)Token
methods (refactor(lexer): re-orderToken
methods #11040) (overlookmotel)Token
(refactor(lexer): tidy tests forToken
#11011) (overlookmotel)Token::set_has_separator
takebool
(refactor(parser):Token::set_has_separator
takebool
#11041) (overlookmotel)ParserImpl::asi
implementation more compact (refactor(parser): makeParserImpl::asi
implementation more compact #11037) (Boshen)Token
fields private (refactor(parser): makeToken
fields private #10936) (Boshen)source_type
module (refactor(span): removesource_type
module #11024) (overlookmotel)Styling
raw_deser
code (style(ast/estree): reformatraw_deser
code #10972) (overlookmotel)Testing