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.28.0] - 2024-09-11
afc4548 ast: [BREAKING] Educe byte size of
TaggedTemplateExpression::quasi
byBoxing
it (perf(ast)!: reduce byte size ofTaggedTemplateExpression::quasi
byBoxing
it #5679) (Boshen)7415e85 ast: [BREAKING] Reduce byte size of
TSImportType::attributes
byBox
ing it (perf(ast)!: reduce byte size ofTSImportType::attributes
byBox
ing it #5678) (Boshen)ee4fb42 ast: [BREAKING] Reduce size of
WithClause
byBox
ing it (perf(ast)!: reduce byte size ofWithClause
byBox
ing it #5677) (Boshen)1fa3e56 semantic: [BREAKING] Rename
SymbolTable::iter
tosymbol_ids
(refactor(semantic)!: renameSymbolTable::iter
tosymbol_ids
#5621) (overlookmotel)96a1552 semantic: [BREAKING] Remove
SymbolTable::iter_rev
(refactor(semantic)!: removeSymbolTable::iter_rev
#5620) (overlookmotel)4a8aec1 span: [BREAKING] Change
SourceType::js
toSourceType::cjs
andSourceType::mjs
(feat(span)!: changeSourceType::js
toSourceType::cjs
andSourceType::mjs
#5606) (Boshen)603817b oxc: [BREAKING] Add
SourceType::Unambiguous
; parse.js
as unambiguous (feat(oxc)!: addSourceType::Unambiguous
; parse.js
as unambiguous #5557) (Boshen)b060525 semantic: [BREAKING] Remove
source_type
argument fromSemanticBuilder::new
(refactor(semantic)!: removesource_type
argument fromSemanticBuilder::new
#5553) (Boshen)Features
JSXElementName::get_identifier
method (feat(ast): addJSXElementName::get_identifier
method #5556) (overlookmotel)void 1
->void 0
(feat(minifier): foldvoid 1
->void 0
#5670) (Boshen)typeof
(feat(minifier): constant foldtypeof
#5666) (Boshen)SourceMap
with Rollup'sExistingRawSourceMap
(feat(napi/transform): align outputSourceMap
with Rollup'sExistingRawSourceMap
#5657) (Boshen)SymbolTable::delete_resolved_reference
method (feat(semantic): addSymbolTable::delete_resolved_reference
method #5558) (overlookmotel)format_compact_str!
macro (feat(span):format_compact_str!
macro #5610) (overlookmotel)refresh_sig
andrefresh_reg
options correctly (feat(transformer/react): handlerefresh_sig
andrefresh_reg
options correctly #5638) (Dunqing)Bug Fixes
ArrayExpression
(fix(codegen): do not print trailing commas forArrayExpression
#5551) (Boshen)always_strict
to test262 and typescript per the specifcation (fix(coverage): applyalways_strict
to test262 and typescript per the specifcation #5555) (Boshen)interface
(fix(isolated-declarations): false positive for setter method ininterface
#5681) (Dunqing)TSModuleDeclaration
are removed incorrectly (fix(isolated-declarations): bindings referenced inTSModuleDeclaration
are removed incorrectly #5680) (Dunqing)to_string
(fix(regular_expression): Keep LegacyOctalEscape raw digits forto_string
#5692) (leaysgur)to_string()
results (fix(regular_expression): Improve RegExpto_string()
results #5635) (leaysgur)-
in/[\-]/u
as escaped character (fix(regular_expression): Handle-
in/[\-]/u
as escaped character #5631) (leaysgur)SymbolId
to function name inif (foo) function id() {}
(fix(semantic): bindSymbolId
to function name inif (foo) function id() {}
#5673) (Boshen).js
asmodule
file (reverts the previous breaking change) (fix(span): treat.js
asmodule
file (reverts the previous breaking change) #5612) (Boshen)JSXClosingElement
s (fix(transformer): JSX transform delete references forJSXClosingElement
s #5560) (overlookmotel)Term::Quantifier
(fix(transformer): RegExp transform handleTerm::Quantifier
#5501) (overlookmotel)emit_full_signatures
option in refresh plugin (fix(transformer/react): supportemit_full_signatures
option in refresh plugin #5629) (Dunqing)Performance
generate_uid
cache available binding names (perf(traverse):generate_uid
cache available binding names #5611) (overlookmotel)Documentation
Refactor
AstKind::as_*
methods (refactor(ast): inlineAstKind::as_*
methods #5547) (overlookmotel)IsGlobalReference
trait (refactor(semantic): introduceIsGlobalReference
trait #5672) (Boshen)SymbolTable::is_empty
useis_empty
(refactor(semantic):SymbolTable::is_empty
useis_empty
#5622) (overlookmotel)CompactStr
into separate file (refactor(span): moveCompactStr
into separate file #5609) (overlookmotel)walk.rs
(refactor(traverse): revert changes towalk.rs
#5652) (overlookmotel)- 26d9235 Enable clippy::ref_as_ptr (refactor: enable clippy::ref_as_ptr #5577) (夕舞八弦)Styling
package.json
files (style: add trailing line breaks topackage.json
files #5542) (overlookmotel)Testing
oxc_traverse
crate (test(traverse): enable tests foroxc_traverse
crate #5625) (overlookmotel)- dc92489 Add trailing line breaks to conformance fixtures (test: add trailing line breaks to conformance fixtures #5541) (overlookmotel)