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.16.0] - 2024-06-26
6796891 ast: [BREAKING] Rename all instances of
BigintLiteral
toBigIntLiteral
. (fix(ast)!: rename all instances ofBigintLiteral
toBigIntLiteral
. #3898) (rzvxa)1f85f1a ast: [BREAKING] Revert adding
span
field to theBindingPattern
type. (refactor(ast)!: revert addingspan
field to theBindingPattern
type. #3899) (rzvxa)ae09a97 ast: [BREAKING] Remove
Modifiers
from ts nodes (refactor(ast)!: removeModifiers
from ts nodes #3846) (Boshen)1af5ed3 ast: [BREAKING] Replace
Modifiers
withdeclare
andconst
onEnumDeclaration
(refactor(ast)!: replaceModifiers
withdeclare
andconst
onEnumDeclaration
#3845) (Boshen)0673677 ast: [BREAKING] Replace
Modifiers
withdeclare
onFunction
(refactor(ast)!: replaceModifiers
withdeclare
onFunction
#3844) (Boshen)ee6ec4e ast: [BREAKING] Replace
Modifiers
withdeclare
andabstract
onClass
(refactor(ast)!: replaceModifiers
withdeclare
andabstract
onClass
#3841) (Boshen)9b38119 ast: [BREAKING] Replace
Modifiers
withdeclare
onVariableDeclaration
(refactor(ast)!: replaceModifiers
withdeclare
onVariableDeclaration
#3839) (Boshen)cfcef24 ast: [BREAKING] Add
directives
field toTSModuleBlock
(feat(ast)!: adddirectives
field toTSModuleBlock
#3830) (Boshen)4456034 ast: [BREAKING] Add
IdentifierReference
toExportSpecifier
(feat(ast)!: addIdentifierReference
toExportSpecifier
#3820) (Boshen)Features
intrinsic
keyword (feat(ast,parser): addintrinsic
keyword #3767) (Boshen)ast_kind.rs
. (feat(ast_codegen): generateast_kind.rs
. #3888) (rzvxa)ImplGetSpanGenerator
. (feat(ast_codegen): addImplGetSpanGenerator
. #3852) (rzvxa)export {}
when needed (feat(isolated-declarations): addexport {}
when needed #3754) (Dunqing)std::fmt::Display
forError
(feat(sourcemap): implstd::fmt::Display
forError
#3902) (DonIsaac)import {} from "mod"
to import"mod"
(feat(transformer/typescript): transformimport {} from "mod"
toimport "mod"
#3866) (Dunqing)Bug Fixes
TSModuleBlock
(fix(ast): correct JSON serialization ofTSModuleBlock
#3858) (overlookmotel)BindingPattern
(fix(ast): fix JSON serialization ofBindingPattern
#3856) (overlookmotel)as const
(fix(isolated-declarations): cannot infer nestedas const
#3807) (Dunqing)bigint
type (fix(isolated-declarations): infer BigInt number asbigint
type #3806) (Dunqing)const
after transformed const enum (fix(isolated-declarations): missingconst
after transformed const enum #3805) (Dunqing)accessor
(fix(parser): parse function type parameter nameaccessor
#3926) (Boshen)export default foo
should haveExportLocalName::Default(NameSpan)
entry (fix(semantic):export default foo
should haveExportLocalName::Default(NameSpan)
entry #3823) (Boshen)Performance
&Atom
to functions (perf: do not pass&Atom
to functions #3818) (overlookmotel)Refactor
AstBuilder::copy
(refactor(ast): add comment about alternatives toAstBuilder::copy
#3905) (overlookmotel)AstBuilder::copy
(refactor(ast): add comment not to useAstBuilder::copy
#3891) (overlookmotel)Serialize
impls (refactor(ast): refactor customSerialize
impls #3859) (overlookmotel)BindingPattern
type. (refactor(ast): add span field to theBindingPattern
type. #3855) (rzvxa)Modifiers
(refactor(isolated-declarations): removeModifiers
#3847) (Boshen)try_parse
(refactor(parser): clean uptry_parse
#3925) (Boshen)parse_function_or_constructor_type
(refactor(parser): improve parsing ofparse_function_or_constructor_type
#3892) (Boshen)Modifiers
(refactor(parser): move code around for parsingModifiers
#3849) (Boshen)pub
on TS enum transform methods (refactor(transformer): remove needlesspub
on TS enum transform methods #3774) (overlookmotel)#[scope]
attr (refactor(traverse): separate#[scope]
attr #3901) (overlookmotel)scope(enter_before)
attr (refactor(traverse): indicate scope entry point withscope(enter_before)
attr #3882) (overlookmotel)with_labels
(refactor: clean up some usages ofwith_labels
#3854) (Boshen)