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.37.0] - 2024-11-21
f059b0e ast: [BREAKING] Add missing
ChainExpression
fromTSNonNullExpression
(fix(ast)!: add missingChainExpression
fromTSNonNullExpression
#7377) (Boshen)878189c parser,linter: [BREAKING] Add
ParserReturn::is_flow_language
; linter ignore flow error (feat(parser,linter)!: addParserReturn::is_flow_language
; linter ignore flow error #7373) (Boshen)41a0e60 ast: [BREAKING] Remove
impl GetAddress for Function
(refactor(ast)!: removeimpl GetAddress for Function
#7343) (overlookmotel)1cbc624 traverse: [BREAKING] Rename
TraverseCtx
methods for creatingIdentifierReference
s (refactor(traverse)!: renameTraverseCtx
methods for creatingIdentifierReference
s #7300) (overlookmotel)e84ea2c traverse: [BREAKING] Remove
TraverseCtx::clone_identifier_reference
(refactor(traverse)!: removeTraverseCtx::clone_identifier_reference
#7266) (overlookmotel)44375a5 ast: [BREAKING] Rename
TSEnumMemberName
enum variants (refactor(ast)!: renameTSEnumMemberName
enum variants #7250) (overlookmotel)Features
Vec::from_array_in
(feat(allocator): introduceVec::from_array_in
#7331) (overlookmotel)raw
(feat(ast): serialize StringLiterals to ESTree withoutraw
#7263) (ottomated)SparseStack
(feat(data_structures): add methods toSparseStack
#7305) (overlookmotel)overrides
config field (feat(linter): supportoverrides
config field #6974) (DonIsaac)x?.f<T>()
(feat(parser): fix incorrect AST forx?.f<T>()
#7387) (Boshen)AssignmentOperator::to_logical_operator
andto_binary_operator
methods (feat(syntax): addAssignmentOperator::to_logical_operator
andto_binary_operator
methods #7350) (overlookmotel)CompilerAssumptions
toTransformContext
(feat(transformer): addCompilerAssumptions
toTransformContext
#7369) (Boshen)GatherNodeParts
for member expression types (feat(traverse): implementGatherNodeParts
for member expression types #7363) (overlookmotel)Expression::Identifier
s (feat(traverse): add methods for creatingExpression::Identifier
s #7301) (overlookmotel)MaybeBoundIdentifier
(feat(traverse): introduceMaybeBoundIdentifier
#7265) (overlookmotel)Bug Fixes
in
expression in ArrowFunctionExpression (fix(codegen): do not print parenthesis forin
expression in ArrowFunctionExpression #7360) (Dunqing)NewExpression
(fix(codegen): fix arithmetic overflow printing unspannedNewExpression
#7289) (overlookmotel)ChainExpression
in optionalTSInstantiationExpression
(fix(parser): add missingChainExpression
in optionalTSInstantiationExpression
#7371) (Boshen)arguments
isn't correct after transformation (fix(transformer/async-to-generator):arguments
isn't correct after transformation #7234) (Dunqing)Performance
AstBuilder::vec1
useVec::from_array_in
(perf(ast):AstBuilder::vec1
useVec::from_array_in
#7334) (overlookmotel)AstBuilder::vec_from_array
(perf(transformer): useAstBuilder::vec_from_array
#7333) (overlookmotel)generate_super_binding_name
(perf(transformer/arrow-function): optimizegenerate_super_binding_name
#7312) (overlookmotel)Documentation
PropertyDefinition
(docs(ast): improve docs examples forPropertyDefinition
#7287) (overlookmotel)StringLiteral
(docs(ast): correct doc comment forStringLiteral
#7255) (overlookmotel)ReferenceFlags::Read
andWrite
(docs(semantic): document the meaning ofReferenceFlags::Read
andWrite
#7368) (Boshen)ReferenceFlags
(docs(syntax): more comments forReferenceFlags
#7392) (overlookmotel)TraverseCtx::is_static
(docs(traverse): tidy doc comments forTraverseCtx::is_static
#7267) (overlookmotel)Refactor
StringLiteral
definition higher up (refactor(ast): moveStringLiteral
definition higher up #7270) (overlookmotel)inherit_variants!
fromTSEnumMemberName
(refactor(ast): removeinherit_variants!
fromTSEnumMemberName
#7248) (overlookmotel)Vec
unnecessarily (refactor(isolated_declarations): do not copyVec
unnecessarily #7332) (overlookmotel)Span
(refactor(transformer): helper loader methods takeSpan
#7304) (overlookmotel)Vec
(refactor(transformer/arrow-function): reserve correct capacity forVec
#7319) (overlookmotel)generate_super_binding_name
take&str
and&TraverseCtx
(refactor(transformer/arrow-function):generate_super_binding_name
take&str
and&TraverseCtx
#7310) (overlookmotel)IndexMap
forsuper
getter/setters (refactor(transformer/arrow-functions): useIndexMap
forsuper
getter/setters #7317) (overlookmotel)Styling
Testing