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.27.0] - 2024-09-06
bd820f9 semantic: [BREAKING] Remove
SymbolTable::get_symbol_id_from_name
andSymbolTable::get_scope_id_from_name
(refactor(semantic)!: removeSymbolTable::get_symbol_id_from_name
andSymbolTable::get_scope_id_from_name
#5480) (overlookmotel)cba93f5 ast: [BREAKING] Add
ThisExpression
variants toJSXElementName
andJSXMemberExpressionObject
(feat(ast)!: addThisExpression
variants toJSXElementName
andJSXMemberExpressionObject
#5466) (overlookmotel)87c5df2 ast: [BREAKING] Rename
Expression::without_parentheses
(refactor(ast)!: renameExpression::without_parentheses
#5448) (overlookmotel)Features
AsMut
impl forBox
(feat(allocator): addAsMut
impl forBox
#5515) (overlookmotel)ContentHash
trait; remove noopHash
implementation fromSpan
(feat(ast): addContentHash
trait; remove noopHash
implementation fromSpan
#5451) (rzvxa)ContentEq
trait. (feat(ast): addContentEq
trait. #5427) (rzvxa)oxc_regular_expression
types to the parser and AST. (feat(ast, parser): addoxc_regular_expression
types to the parser and AST. #5256) (rzvxa)Derive
trait. (feat(ast_tools): add dedicatedDerive
trait. #5278) (rzvxa)type_parameters
inTaggedTemplateExpression
(feat(codegen): printtype_parameters
inTaggedTemplateExpression
#5438) (Dunqing)oxc_cfg
inoxc
crate (feat(oxc): conditional exposeoxc_cfg
inoxc
crate #5524) (IWANABETHATGUY)JSXMemberExpression
<Foo.bar-baz />
(feat(parser): add syntax error for hyphen inJSXMemberExpression
<Foo.bar-baz />
#5440) (Boshen)VariableDeclaration
s (feat(semantic): check for initializers in ambientVariableDeclaration
s #5463) (DonIsaac)TransformOptions::enable_all
method (feat(transformer): addTransformOptions::enable_all
method #5495) (Boshen)new RegExp
transforms (feat(transformer): support all /regex/ tonew RegExp
transforms #5387) (Dunqing)as_ast_kind
method for each variant (feat(xtask): implas_ast_kind
method for each variant #5491) (IWANABETHATGUY)Bug Fixes
Interrupted
andBrokenPipe
errors while printing (fix(diagnostics): ignoreInterrupted
andBrokenPipe
errors while printing #5526) (Boshen)UnicodeEscape
characters. (fix(regex): panic on displaying surrogatedUnicodeEscape
characters. #5469) (rzvxa)MemberExpression
used inTSPropertySignature
(fix(semantic): incorrect reference whenMemberExpression
used inTSPropertySignature
#5525) (Dunqing)IdentifierReference
withinTSPropertySignature
cannot reference type-only import binding (fix(semantic):IdentifierReference
withinTSPropertySignature
cannot reference type-only import binding #5441) (Dunqing)generate_uid_based_on_node
(fix(traverse): invalid variable name generated bygenerate_uid_based_on_node
#5407) (Dunqing)- b96bea4 Add back lifetime (fix: add back lifetime #5507) (IWANABETHATGUY)Performance
is_identifier_name
(perf(syntax): further optimizeis_identifier_name
#5426) (overlookmotel)is_identifier_name
(perf(syntax): optimizeis_identifier_name
#5425) (overlookmotel)RegExp
(perf(transformer): store needed options only onRegExp
#5484) (overlookmotel)Documentation
RegExpPattern
(docs(ast): clarify docs forRegExpPattern
#5497) (overlookmotel)ContentEq
Vec
comparison speed (docs(span): update docs aboutContentEq
Vec
comparison speed #5478) (overlookmotel)- 00511fd Useoxc_index
instead ofindex_vec
in doc comments (docs(oxc_index): useoxc_index
instead ofindex_vec
in doc comments #5423) (IWANABETHATGUY)Refactor
ContentEq
trait definition. (refactor(ast): simplifyContentEq
trait definition. #5468) (rzvxa)JSXMemberExpressionObject
discriminants (refactor(ast): renumberJSXMemberExpressionObject
discriminants #5464) (overlookmotel)IdentifierName
fromTSThisParameter
(refactor(ast): removeIdentifierName
fromTSThisParameter
#5327) (overlookmotel)no_div_regex
rule. (refactor(linter): use "parsed pattern" inno_div_regex
rule. #5417) (rzvxa)ReferenceFlags::Type
if it is used within aTSTypeQuery
(refactor(semantic): change the reference flag toReferenceFlags::Type
if it is used within aTSTypeQuery
#5444) (Dunqing)Hasher
fromstd
(refactor(span): useHasher
fromstd
#5476) (overlookmotel)generate_derive
forCloneIn
in types outside ofoxc_ast
crate. (refactor(syntax): usegenerate_derive
forCloneIn
in types outside ofoxc_ast
crate. #5280) (rzvxa)Pattern
then reallocate it (refactor(transformer): RegExp transform do not take ownership ofPattern
then reallocate it #5492) (overlookmotel)Styling
as_ast_kind
method for each variant #5491 and reduce the if nesting (style(linter): introduce the writing style from PR #5491 and reduce the if nesting #5512) (dalaoshu)Testing