mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
### 🚀 Features -8dd67a6transform-react: Expose TypeScript transform options (Tomas Särnhammar) -deed7dcparser: More friendly error for duplicate import attribute key (#28262) (sapphi-red) ### 🐛 Bug Fixes -eaa8e90ecmascript: Avoid numeric `+` folding when an operand may be a string (#28544) (camc314) -b03c7b8regular_expression: Allow incomplete oversized legacy quantifiers (#28449) (Boshen) -128c67dsemantic: Check strict eval and arguments writes by reference flags (#28445) (Boshen) -c97c43cparser: Reject TypeScript default exports in JavaScript (#28440) (Boshen) -fdd119fspan: Count Unicode characters when filtering typo suggestions (#28452) (Boshen) -cb64638regular_expression: Reject incomplete Unicode atom escapes (#28448) (Boshen) -fc0eed3semantic: Stop let-binding scans at arrow functions (#28444) (Boshen) -3421516parser: Preserve default import names in reexports (#28442) (Boshen) -a1e7e5fparser: Reject optional class members in JavaScript (#28439) (Boshen) -5b9a7bcparser: Parse sloppy let expressions and labels (#28438) (Boshen) -8e61652regex: Reject templates without cooked values (#28345) (Boshen) -3b36543parser: Preserve in-context after TypeScript type arguments (#28300) (Boshen) -2e3126cregex: Decode constructor patterns and flags consistently (#28298) (Boshen) -8a90be2regex: Track capture groups and disjunction identity (#28297) (Boshen) -3dc2cb0regex: Preserve escape values and boundaries (#28296) (Boshen) -fc8acbcparser: Handle leading-zero numeric exponents (#28295) (Boshen) -91a638dparser: Normalize raw template line endings with invalid escapes (#28285) (Boshen) -2ac9a42parser: Allow parenthesized private-in expressions (#28284) (Boshen) -052bca9ast: Prevent greyed out fields in AST types in IDEs (#28335) (overlookmotel) -ed7df7dast/estree: Include comments in TS Program span (#28326) (camc314) ### ⚡ Performance -9b6b7bfregular_expression: Advance validated Unicode escapes directly (#28514) (Boshen) -82e1982regular_expression: Share Unicode property name prefixes (#28513) (Boshen) -5395a40regular_expression: Parse class set character prefixes once (#28512) (Boshen) -3708934regular_expression: Defer literal range dash allocation (#28511) (Boshen) -d85ee3dsemantic: Skip arguments ancestry checks outside classes (#28510) (Boshen) -cf81d07semantic: Reuse private reference resolution (#28509) (Boshen) -a79eebcsemantic: Avoid duplicate maps for public JavaScript members (#28508) (Boshen) -235ca3bsemantic: Skip escape checks for unescaped strings (#28507) (Boshen) -babf44cparser: Reuse shorthand assignment target identifiers (#28504) (Boshen) -444f24aecmascript: Short-circuit simple parameter checks for rest (#28503) (Boshen) -04b20c0semantic: Compute duplicate parameter policy once per list (#28446) (Boshen) -dbf8482parser: Use token lookahead for simple function types (#28489) (Boshen) -bca1275parser: Avoid unused destructuring rest capacity (#28499) (Boshen) -691be5cparser: Compact cover initialized name storage (#28495) (Boshen) -b3b5444parser: Build simple arrow bindings directly (#28493) (Boshen) -e1c9bafparser: Disambiguate single-identifier arrow heads (#28491) (Boshen) -550e98aregular_expression: Avoid rescanning unique capture names (#28450) (Boshen) -10e9fc7parser: Skip duplicate lookup for singleton import attributes (#28441) (Boshen) -5238839parser: Use a stack buffer for float separators (#28435) (Boshen) -6e35e3cparser: Fast-path leaf expressions before delimiters (#28432) (Boshen) -3d7512cparser: Decode Unicode identifiers once (#28414) (Boshen) -30f59f4parser: Factor object type opening brace (#28430) (Boshen) -028a267parser: Always inline postfix update parsing (#28429) (Boshen) -1b5a171parser: Reuse export kind classification (#28424) (Boshen) -179a432parser: Factor return type identifier parsing (#28416) (Boshen) -553dd1dparser: Inline hot paths and fold function dispatch (#28404) (Boshen) -de75d56parser: Combine parenthesized arrow lookahead (#28412) (Boshen) -a768a0cparser: Reuse comment annotations after rewind (#28408) (Boshen) -563d92aparser: Skip redundant source cursor updates (#28409) (Boshen) -7941ca9parser: Factor tuple identifier parsing (#28398) (Boshen) -426c151parser: Construct completed tokens without intermediate writes (#28291) (Boshen) -df42953minifier: Don't request another pass for block unwrapping (#28315) (Dunqing) -c2d663dparser: Avoid vectors for single parenthesized expressions (#28374) (Boshen) -50bd0a9parser: Size delimited lists after the first element (#28373) (Boshen) -bd869b5parser: Bypass redundant operand parsing (#28372) (Boshen) -455fc09parser: Skip keyword checks for plain identifier expressions (#28371) (Boshen) -61303fbparser: Fast-path identifier operands (#28306) (Boshen) -6cf5b1aparser: Guard arrow and conditional parsing (#28305) (Boshen) -3666939parser: Specialize identifier reference parsing (#28303) (Boshen) -0d6641aparser: Skip inapplicable expression parsing paths (#28294) (Boshen) -3be7997parser: Reduce lexer search batch size (#28292) (Boshen) -ab5655aregex: Remove redundant character-class and quantifier checks (#28288) (Boshen) -ec8e8d4parser: Remove redundant grammar and lexer checks (#28287) (Boshen) -c903f5cparser: Specialize known-token parsing (#28286) (Boshen) -2683225str: `static_ident!` and `static_str!` macros guarantee const evaluation (#28340) (overlookmotel) -df90836ast: Reduce compile time of `#[ast]` macro (#28336) (overlookmotel) -8239dacparser: Replace dragonbox_ecma with zmij_ecma (#28282) (Boshen)
26 KiB
26 KiB
Changelog
All notable changes to this package will be documented in this file.
The format is based on Keep a Changelog.
[0.157.0] - 2026-11-02
⚡ Performance
8239dacparser: Replace dragonbox_ecma with zmij_ecma (#28282) (Boshen)
[0.155.0] - 2026-10-19
💥 BREAKING CHANGES
c7d229btransformer: [BREAKING] Decode JSX entities to lone surrogates (#26712) (Dunqing)
⚡ Performance
a6456b7codegen: Remove branch fromprint_space_before_identifier(#27842) (overlookmotel)
[0.154.0] - 2026-10-13
💥 BREAKING CHANGES
b5e8effparser: [BREAKING] Assign node IDs during parsing (#27411) (camc314)
[0.149.0] - 2026-09-07
🚀 Features
1d9b9d3ast: AddGetNodeIdtrait (#26145) (camc314)
[0.147.0] - 2026-08-24
🐛 Bug Fixes
2cde1f6rust: Address nightly deprecations (#25998) (Boshen)
[0.141.0] - 2026-07-20
🚀 Features
7aa4739syntax,transformer: Move JSX entity decoder tooxc_syntax(#24617) (camc314)
⚡ Performance
ba65790semantic, allocator: Branchlessclone_infor semantic IDs (#24564) (overlookmotel)
[0.140.0] - 2026-07-13
🐛 Bug Fixes
058a62fsemantic: Track ambient contexts inSemanticBuilder(#24327) (camc314)
[0.138.0] - 2026-06-29
🐛 Bug Fixes
da0e5bfminifier: Don't reorder a closed-over TDZ read when inlining a var (#23771) (Dunqing)
📚 Documentation
419ec80syntax: Fix typo in doc comment (#23674) (overlookmotel)
[0.128.0] - 2026-04-27
💥 BREAKING CHANGES
c5b3debsyntax: [BREAKING] RemoveCommentNodeId(#21679) (overlookmotel)
[0.125.0] - 2026-04-13
💥 BREAKING CHANGES
382958aspan: [BREAKING] Remove re-exports of string types fromoxc_spancrate (#21246) (overlookmotel)
🚀 Features
6dd061csemantic: ExtendMemberWriteTargetto cover all property modification patterns (#21205) (Dunqing)75663c0semantic: Add enum member value evaluation for const enum support (#20602) (Dunqing)3cfe8edsemantic: AddMemberWriteTargetflag toReferenceFlags(#20772) (Dunqing)
[0.124.0] - 2026-04-06
📚 Documentation
c78a57asyntax: Fix typo (#21044) (camc314)
[0.114.0] - 2026-02-16
🚀 Features
ebb80b3ast: Addnode_idfield to all AST struct nodes (#18138) (Boshen)
⚡ Performance
c169c77syntax: Optimizeis_identifier_name_patched(#19386) (sapphi-red)
📚 Documentation
569aa61rust: Add missing rustdocs and remove missing_docs lint attrs (#19306) (Boshen)
[0.113.0] - 2026-02-10
⚡ Performance
9eb16b3syntax: Pack ASCII identifier tables into single bitflag table (#19088) (Boshen)
[0.109.0] - 2026-01-19
🚀 Features
e2221e6semantic: Storescope_idinReference(#18053) (Dunqing)
[0.103.0] - 2025-12-15
🚀 Features
d221921semantic: ScopeFlags::With (#16291) (Aapo Alasuutari)
[0.102.0] - 2025-12-08
🐛 Bug Fixes
699406anapi/parser: MoveExportEntry::module_requestfield to first (#16412) (overlookmotel)12bd794napi/parser: MoveExportEntry::module_requestfield to last (#16403) (overlookmotel)
[0.94.0] - 2025-10-06
🚀 Features
588acd5transformer: Add ES2026 target for explicit resource management (#14330) (Boshen)6374065napi/parser: Raw transfer supportrangefield (#14319) (overlookmotel)3656908rust: Oxc-index-vec v4.0 (#14254) (Boshen)
[0.93.0] - 2025-09-28
🚜 Refactor
7e42b0asyntax: Use allocator HashMap in ModuleRecord fields (#14141) (Boshen)0a9473dsyntax: Remove unnecessary#[estree(field_order)]attr (#14142) (overlookmotel)
[0.91.0] - 2025-09-22
💼 Other
fb347dacrates: V0.91.0 (#13961) (Boshen)
[0.88.0] - 2025-09-15
🐛 Bug Fixes
ab51394raw_transfer: Disable layout assertions on some 32-bit platforms (#13716) (overlookmotel)
🚜 Refactor
babbacaall: Removepubfrom modules with no exports (#13618) (overlookmotel)
[0.82.0] - 2025-08-12
🚀 Features
33c0e9fecmascript: Add globalisNaN,isFinite,parseFloat,parseIntfunctions support to constant evaluation (#12954) (Copilot)
[0.81.0] - 2025-08-06
⚡ Performance
2c4369asyntax,codegen: Replaceryu_jswithdragonbox_ecmafor floating point formatting (#12821) (Copilot)
[0.80.0] - 2025-08-03
📚 Documentation
45e2fe8rust: Fix typos and grammar mistakes in Rust documentation comments (#12715) (Copilot)de1de35rust: Add comprehensive README.md documentation for all Rust crates (#12706) (Copilot)
[0.78.0] - 2025-07-24
💥 BREAKING CHANGES
ccbcf3etransformer, minifier, syntax: [BREAKING] RemoveESTarget::ES5(#12448) (Dunqing)
[0.77.0] - 2025-07-12
🚜 Refactor
228cff5semantic,linter: Assert that Program is always the first node (#12123) (Ulrich Stark)
[0.75.1] - 2025-07-03
🚜 Refactor
016634fast/estree: Introduceserialize_spanmethod (#12013) (overlookmotel)754f01dast/estree: Movestartandendfields to last (#12012) (overlookmotel)4597311ast/estree: Remove temp vars forrangesfrom serializer (#12007) (overlookmotel)
[0.75.0] - 2025-06-25
💥 BREAKING CHANGES
9a2548anapi/parser: [BREAKING] Addrangeoption (#11728) (Bacary Bruno Bodian)
Changelog
All notable changes to this package will be documented in this file.
The format is based on Keep a Changelog, and this project does not adhere to Semantic Versioning until v1.0.0.
[0.72.2] - 2025-05-31
Refactor
1d1ebd6ast_tools/estree: Ordertypeandspanfields first by default (#11361) (overlookmotel)
[0.72.0] - 2025-05-24
Features
3eb027bformatter: Support printing binary like expression (#11185) (Dunqing)c2c0268syntax: IntroduceCommentNodeId(#11214) (overlookmotel)
[0.71.0] - 2025-05-20
5d9344frust: [BREAKING] Clippy avoid-breaking-exported-api = false (#11088) (Boshen)
Performance
2b0a69fast: Re-order struct fields to reduce padding (#11056) (overlookmotel)
Refactor
[0.69.0] - 2025-05-09
Features
d066516ast_tools: Support#[estree(prepend_to)](#10849) (overlookmotel)
Bug Fixes
6e47699semantic, syntax: TS value module cannot be referenced as type (#10918) (Dunqing)
Refactor
b16331east/estree: Generalize concatenating fields withConcat2(#10848) (overlookmotel)faf0a95syntax: RenameNameSpaceModuletoNamespaceModule(#10917) (Dunqing)
Styling
62c3a4aast_tools: Add full stop to end of generated comments (#10809) (overlookmotel)
[0.68.0] - 2025-05-03
Features
d0ba83cast_tools: Support#[estree(via)]on fieldless enum variants (#10746) (overlookmotel)
[0.67.0] - 2025-04-27
Refactor
d22c1aesyntax: MoveCloneInimpls (#10571) (overlookmotel)
[0.65.0] - 2025-04-21
Bug Fixes
4f1343bparser: Fix missing type export in module information (#10516) (Ulrich Stark)33a2625transformer/typescript: Namespaces disappeared and do not transform when a type-only namespace followed by a value module namespace (#10511) (Dunqing)
[0.64.0] - 2025-04-17
Features
1a37e3fsemantic: AddSymbolFlags::Ambientfor declaration withdeclaremodifier (#10355) (Dunqing)
Bug Fixes
dd2aef0semantic: IncorrectSymbolFlagsofTSModuleDeclaration(#10350) (Dunqing)
Refactor
032377dtransformer/typescript: Do not need to go throughTSModuleDeclarationif is aNamespaceModule(#10366) (Dunqing)
[0.63.0] - 2025-04-08
Performance
fa0e455cfg, diagnostics, lexer, syntax, tasks: Removewrite!macro where unnecessary (#10236) (overlookmotel)
[0.62.0] - 2025-04-01
Features
8cd7430allocator:TakeIntrait (#9969) (overlookmotel)
Refactor
dc3602csemantic: Align handling of declaring symbol forclasswith TypeScript (#10094) (Dunqing)5d829c2semantic: Align handling of declaring symbol for function with TypeScript (#10086) (Dunqing)0fa58d7semantic: Always useSymbolFlags::Functionfor function id (#7479) (Dunqing)
[0.61.2] - 2025-03-23
Refactor
d3d7d98ast: Shorten generated code forCloneIn(#9939) (overlookmotel)28179cdast_tools: SimplifyCloneInderive (#9938) (overlookmotel)
[0.61.1] - 2025-03-21
Features
bc0670ctasks,oxc_allocator: Add new method clone_in_with_semantic_ids forCloneIntrait (#9894) (IWANABETHATGUY)
[0.61.0] - 2025-03-20
Features
38ad787data_structures: Addassert_unchecked!macro (#9885) (overlookmotel)
[0.56.0] - 2025-03-06
Bug Fixes
bbb4f98semantic: Insert binding into correct scope for TSInferType (#9567) (camc314)
[0.55.0] - 2025-03-05
Features
d55dbe2ast/estree: Raw transfer (experimental) (#9516) (overlookmotel)
[0.54.0] - 2025-03-04
Performance
b0a0a82ast/estree: Reduce overhead serializing static strings (#9396) (overlookmotel)
Refactor
dcff40cast_tools: Generate layout assertions in multiple crates (#9448) (overlookmotel)
[0.53.0] - 2025-02-26
Refactor
55ed1dfast/estree: ShortenESTreeimpls for enums (#9275) (overlookmotel)12e89e0syntax: Reduce scope ofunsafeblocks (#9322) (overlookmotel)
[0.52.0] - 2025-02-21
216b33fast/estree: [BREAKING] Replaceserdewith customESTreeserializer (#9256) (overlookmotel)
Features
3e7b21cast_tools: Add#[builder(default)]attribute for structs and enums (#9203) (overlookmotel)dde05e3mangler: Opt-out of direct eval (#9191) (Boshen)
Refactor
9f36181rust: Applycllippy::nurseryrules (#9232) (Boshen)5640611syntax: ShortenSerializeimpls (#9248) (overlookmotel)
[0.51.0] - 2025-02-15
Features
b5eb6e5minifier: Improveremove_unused_expression(#9071) (Boshen)
Bug Fixes
15f23f1napi/parser: Utf16 span for module record (#9093) (hi-ogawa)
Styling
23f53c0syntax: Name trait method param without underscore (#9119) (overlookmotel)
[0.49.0] - 2025-02-10
b7ff7e1span: [BREAKING] ExportContentEqtrait from root ofoxc_spancrate (#8869) (overlookmotel)
Bug Fixes
7e6a537ast: Includedirectivesinbody(#8981) (hi-ogawa)
Refactor
cbb4e9cast: GeneratedSerializeimpls flatten struct fields (#8904) (overlookmotel)6628e1dast: Move#[estree(skip)]to types (#8877) (overlookmotel)3407d47ast: Move#[clone_in(default)]to types (#8876) (overlookmotel)caa651cast:#[content_eq(skip)]attr (#8875) (overlookmotel)abfe5bfast: Shorten generated code for numbers (#8864) (overlookmotel)f69de07ast: Remove unneeded lint attrs from generated code (#8862) (overlookmotel)768ad4fsyntax: Add#[ast]attr to semantic ID types (#8867) (overlookmotel)
Styling
a4a8e7dall: Replace#[allow]with#[expect](#8930) (overlookmotel)
[0.48.2] - 2025-02-02
Bug Fixes
8a6ae8aminifier: Do not changeconsttoletif assignment to constant variable. (#8761) (Boshen)
Refactor
0568210ast: Remove excess line breaks from generated code (#8830) (overlookmotel)
[0.48.0] - 2025-01-24
Refactor
23b49a6linter: Usecow_to_ascii_lowercaseinsteadcow_to_lowercase(#8678) (Boshen)b8d9a51span: Deal only in ownedAtoms (#8641) (overlookmotel)
[0.47.0] - 2025-01-18
7066d1cast, span, syntax, regular_expression: [BREAKING] RemoveContentHash(#8512) (overlookmotel)
Features
c479a58napi/parser: Expose dynamic import expressions (#8540) (Boshen)
[0.46.0] - 2025-01-14
7eb6ccdast: [BREAKING] Remove unused and not usefulContentHash(#8483) (Boshen)
Features
[0.45.0] - 2025-01-11
Features
41ddf60minfier: AddCompressOptions::target(#8179) (Boshen)ec88c68minifier: Compressa || (a = b)toa ||= b(#8315) (sapphi-red)e6fe84dminifier: Compressa = a + btoa += b(#8314) (sapphi-red)7f19211minifier: Minimize unary expression statements (#8256) (camc314)2331ea8minifier:typeof foo === 'number'=>typeof foo == 'number'(#8112) (Boshen)
Bug Fixes
c0a3ddaminifier:instanceofhas error throwing side effect (#8378) (Boshen)
[0.44.0] - 2024-12-25
Features
be4feb4syntax: AddSymbolId::newmethod (#8041) (overlookmotel)
[0.43.0] - 2024-12-21
Refactor
e7476a1semantic: Removeserialize(#8015) (Boshen)
[0.42.0] - 2024-12-18
84b75a0semantic: [BREAKING] RemoveScopeFlags::Modifiers(#7935) (overlookmotel)
Refactor
3858221global: Sort imports (#7883) (overlookmotel)8cf9766semantic, syntax, wasm: Remove# (overlookmotel)
Styling
7fb9d47rust:cargo +nightly fmt(#7877) (Boshen)
[0.41.0] - 2024-12-13
Refactor
0f367e5semantic: Improve the logic of resolving references to be cleaner (#7829) (Dunqing)
[0.40.0] - 2024-12-10
Features
00fea92napi/parser: Expose span positions ofimport.meta(#7677) (Boshen)b8dc333syntax: AddExportEntry::is_type(#7676) (Boshen)
Refactor
c6a19aalinter: Remove unusedserdefeatures (#7738) (Boshen)
[0.39.0] - 2024-12-04
-
c2ced15parser,linter: [BREAKING] Use a differentModuleRecordfor linter (#7554) (Boshen) -
8a788b8parser: [BREAKING] BuildModuleRecorddirectly in parser (#7546) (Boshen)
Features
7c62a33napi/parser: Return esm info (#7602) (Boshen)33e5a49syntax: Add statement span toImportEntryandExportEntry(#7583) (Boshen)
Performance
4a98230syntax: UseFxDashMapfor exported bindings (#7525) (overlookmotel)
Refactor
169b8bflinter, syntax: Introduce type aliasFxDashMap(#7520) (overlookmotel)f0e7accsyntax: ChangeModuleRecord::not_esmtohas_module_syntax(#7579) (Boshen)18519desyntax: RemoveModuleRecord::export_default(#7578) (Boshen)d476660syntax: RemoveModuleRecord::exported_bindings_duplicatedbecause it is a syntax error (#7577) (Boshen)17663f5syntax: RemoveModuleRecord::export_default_duplicatedbecause it is a syntax error (#7576) (Boshen)79014ffsyntax: Clean upModuleRecord(#7568) (Boshen)
[0.38.0] - 2024-11-26
-
27b2268semantic: [BREAKING] RemoveSymbolFlags::Export(#7414) (Dunqing) -
6f0fe38semantic: [BREAKING] Correct allReferenceFlags::Writeaccording to the spec (#7388) (Dunqing)
Bug Fixes
Refactor
d7d0735semantic: RemoveSymbolFlags::TypeLiteral(#7415) (Dunqing)
[0.37.0] - 2024-11-21
Features
2534cdesyntax: AddAssignmentOperator::to_logical_operatorandto_binary_operatormethods (#7350) (overlookmotel)
Performance
c335f92syntax: Reorder operator enum variants (#7351) (overlookmotel)
Documentation
9b9d020semantic: Document the meaning ofReferenceFlags::ReadandWrite(#7368) (Boshen)b3d5802syntax: More comments forReferenceFlags(#7392) (overlookmotel)
Styling
b5a2027syntax: Improve formatting (#7349) (overlookmotel)
[0.36.0] - 2024-11-09
Features
dc0215cast_tools: Add #[estree(append_to)], remove some custom serialization code (#7149) (ottomated)
[0.35.0] - 2024-11-04
Features
169fa22ast_tools: Default enums to rename_all = "camelCase" (#6933) (ottomated)
[0.34.0] - 2024-10-26
Features
1145341ast_tools: Output typescript to a separate package (#6755) (ottomated)
Refactor
423d54crust: Remove the annoyingclippy::wildcard_imports(#6860) (Boshen)
[0.33.0] - 2024-10-24
Refactor
85e69a1ast_tools: Add line breaks to generated code forESTreederive (#6680) (overlookmotel)ad8e293ast_tools: Shorten generated code forimpl Serialize(#6684) (overlookmotel)9ba2b0east_tools: Move#[allow]attrs to top of generated files (#6679) (overlookmotel)
[0.32.0] - 2024-10-19
Features
e310e52parser: GenerateSerializeimpls in ast_tools (#6404) (ottomated)
Bug Fixes
2ce3e5fidentifier: AddZWSPtois_irregular_whitespace(#6662) (Boshen)1d3d256transformer: Correctly trim JSX (#6639) (magic-akari)
Documentation
335b7f2syntax: Enable lint warnings on missing docs, and add a lot of documentation (#6611) (DonIsaac)
Refactor
856cab5ecmascript: Move ToInt32 fromoxc_syntaxtooxc_ecmascript(#6471) (Boshen)
[0.31.0] - 2024-10-08
Refactor
03bc041syntax: Remove some unsafe code creating IDs (#6324) (overlookmotel)
[0.30.3] - 2024-09-27
Bug Fixes
933a743semantic: Add interfaces and functions toSymbolFlags::ClassExcludes(#6057) (DonIsaac)
[0.30.2] - 2024-09-27
Bug Fixes
e0a8959minifier: Computevoid numberasundefined(#6028) (Boshen)
[0.30.0] - 2024-09-23
c96b712syntax: [BREAKING] RemoveSymbolFlags::ArrowFunction(#5857) (overlookmotel)
Documentation
1ccf290semantic: DocumentAstNodeandAstNodes(#5872) (DonIsaac)e04841csyntax: Add ModuleRecord documentation (#5818) (DonIsaac)
Refactor
[0.29.0] - 2024-09-13
Bug Fixes
042afa9syntax: Correctly check for validRedeclarationIds (#5759) (overlookmotel)
Refactor
cc0408bsemantic: S/AstNodeId/NodeId (#5740) (Boshen)
[0.27.0] - 2024-09-06
Features
90facd3ast: AddContentHashtrait; remove noopHashimplementation fromSpan(#5451) (rzvxa)23285f4ast: AddContentEqtrait. (#5427) (rzvxa)
Performance
bfabd8fsyntax: Further optimizeis_identifier_name(#5426) (overlookmotel)aeda84fsyntax: Optimizeis_identifier_name(#5425) (overlookmotel)
Refactor
ccc8a27ast, ast_tools: Use full method path for generated derives trait calls. (#5462) (rzvxa)e4ed41dsemantic: Change the reference flag toReferenceFlags::Typeif it is used within aTSTypeQuery(#5444) (Dunqing)b47aca0syntax: Usegenerate_deriveforCloneInin types outside ofoxc_astcrate. (#5280) (rzvxa)
[0.25.0] - 2024-08-23
d262a58syntax: [BREAKING] RenameReferenceFlagtoReferenceFlags(#5023) (overlookmotel)
Refactor
[0.24.3] - 2024-08-18
Features
48821c0semantic,syntax: Add SymbolFlags::ArrowFunction (#4946) (DonIsaac)
Documentation
0a01a47semantic: Improve documentation (#4850) (DonIsaac)
Refactor
48a1c32syntax: Inline trivial bitflags methods (#4877) (overlookmotel)
[0.24.0] - 2024-08-08
Features
82e2f6bast_codegen: Process AST-relatedsyntaxtypes. (#4694) (rzvxa)6a36616syntax: DeriveCloneInfor the AST-related items. (#4730) (rzvxa)
Bug Fixes
9f8f299syntax: Prevent creating invalid u32 IDs (#4675) (overlookmotel)
Refactor
e24fb5bsyntax: Add explicit enum discriminants to AST related types. (#4691) (rzvxa)3f3cb62syntax, span: Reduce #[cfg_attr] boilerplate in type defs (#4698) (overlookmotel)
[0.23.1] - 2024-08-06
Bug Fixes
9f8f299syntax: Prevent creating invalid u32 IDs (#4675) (overlookmotel)
[0.23.0] - 2024-08-01
Features
a558492codegen: ImplementBinaryExpressionVisitor(#4548) (Boshen)35654e6codegen: Align operator precedence with esbuild (#4509) (Boshen)b952942linter: Add eslint/no-unused-vars (⭐ attempt 3.2) (#4445) (DonIsaac)
[0.22.1] - 2024-07-27
Bug Fixes
1667491syntax: Correctis_reserved_keyword_or_global_object's incorrect function calling. (#4484) (Ethan Goh)82ba2a0syntax: Fix unsound use ofNonZeroU32(#4466) (overlookmotel)
Performance
24beaebsemantic: GiveAstNodeIda niche (#4469) (overlookmotel)6a9f4dbsemantic: Reduce storage size for symbol redeclarations (#4463) (overlookmotel)
Refactor
c99b3ebsyntax: GiveScopeIda niche (#4468) (overlookmotel)96fc94fsyntax: UseNonMaxU32for IDs (#4467) (overlookmotel)
[0.22.0] - 2024-07-23
Bug Fixes
f8565aetransformer/typescript: Unexpectedly removed class binding from ExportNamedDeclaration (#4351) (Dunqing)
[0.21.0] - 2024-07-18
Features
92ee774semantic: AddScopeFlags::CatchClausefor use in CatchClause (#4205) (Dunqing)
Bug Fixes
95e15b6semantic: Incorrect resolve references forExportSpecifier(#4320) (Dunqing)1108f2asemantic: Resolve references to the incorrect symbol (#4280) (Dunqing)
Performance
8fad7dbsemantic: ReduceAstNodeIdtou32(#4264) (overlookmotel)
Refactor
fc0b17dsyntax: Turn theAstNodeId::dummyinto a constant field. (#4308) (rzvxa)
[0.16.3] - 2024-07-02
Bug Fixes
d995f94semantic: Resolve reference incorrectly when a parameter references a parameter that hasn't been defined yet (#4004) (Dunqing)
[0.16.2] - 2024-06-30
Performance
0c81fbesyntax: UseNonZeroU32forSymbolIdandReferenceId(#3970) (Boshen)
[0.16.0] - 2024-06-26
Bug Fixes
99a40cesemantic:export default fooshould haveExportLocalName::Default(NameSpan)entry (#3823) (Boshen)
[0.13.4] - 2024-06-07
Bug Fixes
c00598btransformer: JSX setreference_idon refs to imports (#3524) (overlookmotel)
[0.13.1] - 2024-05-22
Features
e2dd8acsyntax: Exportis_reserved_keywordandis_global_objectmethod (#3384) (Boshen)
Bug Fixes
b4fa27atransformer: Do no add __self when the jsx is inside constructor (#3258) (Dunqing)
[0.13.0] - 2024-05-14
Features
f1ccbd4syntax: AddToInt32trait for f64 (#3132) (Boshen)870d11fsyntax: AddToJsStringtrait for f64 (#3131) (Boshen)46c02aetraverse: Add scope flags toTraverseCtx(#3229) (overlookmotel)
Bug Fixes
4e20b04traverse: Create scope for function nested in class method (#3234) (overlookmotel)
Refactor
a8af5desyntax: Move number related functions to number module (#3130) (Boshen)ae65613syntax: UseFxHashMapforModuleRecord::request_modules(#3124) (Boshen)
[0.12.5] - 2024-04-22
Features
e6d11c6syntax: Module graph visitor. (#3062) (Ali Rezvani)
Bug Fixes
1f7033esemantic: Correctly resolve identifiers inside parameter initializers (#3046) (Boshen)
Refactor
1249c6cast: Implement same traits on all fieldless enums (#3031) (overlookmotel)
[0.12.2] - 2024-04-08
Bug Fixes
1ea24easemantic: Symbols inside functions and classes incorrectly flagged as exported (#2896) (Don Isaac)
[0.12.1] - 2024-04-03
Features
7710d8ctransformer: Add compiler assumptions (#2872) (Boshen)
[0.11.0] - 2024-03-30
Features
712b3d2semantic: Distinguish type imports in ModuleRecord (#2785) (Dunqing)
Bug Fixes
df62828linter/import: Ignore export declaration in no-duplicates (#2863) (Dunqing)
Refactor
1b5e544semantic: Distinguish whether requested_modules is type imports/exports (#2848) (Dunqing)
[0.10.0] - 2024-03-14
Features
366a879linter: Resolve ESM star exports (#2682) (Boshen)-697b6b7Merge featuresserdeandwasmtoserialize(#2716) (Boshen)
Refactor
cba1e2fast: ImportTsifyto shorten code (#2665) (overlookmotel)6b5723cast: Shorten manual TS defs (#2638) (overlookmotel)-89e8d15DeriveSerAttrson all AST types (#2698) (overlookmotel)-3c1e0dbReducecfg_attrboilerplate withSerAttrsderive (#2669) (overlookmotel)-d76ee6b"wasm" feature enable "serde" feature (#2639) (overlookmotel)-0646bf3RenameCompactStringtoCompactStr(#2619) (overlookmotel)
[0.9.0] - 2024-03-05
Features
d41dcc3linter: Remove all commonjs logic for import plugin (#2537) (Boshen)
[0.8.0] - 2024-02-26
Features
6b3b260Codegen: Improve codegen (#2460) (Andrew McClenaghan)f64c7e0linter: Handle cjsmodule.exports.foo = barandexports.foo = bar(#2492) (Boshen)950298dsemantic: Add static property, ElementKind::Getter, ElementKind::Setter in ClassTable (#2445) (Dunqing)3e1794dsyntax: ImplementDebugforModuleRecord(#2488) (Boshen)
Bug Fixes
fba66dclinter: Improve import/no-named-as-default (#2494) (Boshen)
Refactor
67d7a46linter: Get arrow expression by scope_id in no_render_return_value (#2424) (Dunqing)
[0.7.0] - 2024-02-09
Bug Fixes
540b2a0semantic: Remove unnecessary SymbolFlags::Import (#2311) (Dunqing)
[0.6.0] - 2024-02-03
Features
f673e41ast: Remove serde skip for symbol_id and reference_id (#2220) (Dunqing)cd5026cast: TypeScript definition for wasm target (#2158) (Nicholas Roberts)ead4e8dtransformer/typescript: Remove import if only have type reference (#2001) (Dunqing)
Bug Fixes
29dc5e6codegen: Add parenthesis in binary expression by precedence (#2067) (Wenzhe Wang)
Refactor
bc7ea0bparser: Makeis_identifiermethods consistent (overlookmotel)0dc1804syntax: Don't re-exportunicode_id_start(overlookmotel)27aaff2syntax: ASCII tables static not const (#2128) (overlookmotel)4f59c4fsyntax: Reformat identifier byte tables (#2111) (overlookmotel)
[0.5.0] - 2024-01-12
Features
90524c8linter: Add eslint-plugin-import(export) rule (#1654) (Wenzhe Wang)f1b433bplayground: Visualize symbol (#1886) (Dunqing)3b4fe0esemantic: Allow reserved keyword defined in ts module block (#1907) (Dunqing)b9bdf36semantic: Improve check super implementation, reduce access nodes (#1827) (Dunqing)ca04312semantic: Add ClassTable (#1793) (Dunqing)
Refactor
6c5b22fsemantic: Improve ClassTable implmention and merge properties and methods to elements (#1902) (Dunqing)
[0.4.0] - 2023-12-08
Features
da87b9bprettier: Binaryish expressions with parens (#1597) (Boshen)1bd1c5bprettier: Check parens for(let)[a] = 1(#1585) (Boshen)f19032eprettier: Support quoteProps option in PropertyKey (#1578) (Dunqing)
Refactor
1a576f6rust: Move to workspace lint table (#1444) (Boshen)
[0.3.0] - 2023-11-06
Features
55b2f03minifier: Partially re-enable minifier (#963) (Boshen)1661385semantic: Check non-simple lhs expression of assignment expression (#994) (Boshen)5863f8ftransformer: Logical assignment operators (#923) (Boshen)1051f15transformer/jsx: Escape xhtml in jsx attributes (#1088) (Boshen)1b3b100transformer_conformance: Read plugins options from babeloptions.json(#1006) (Boshen)
[0.2.0] - 2023-09-14
Features
e7c2313ast: AddSymbolIdandReferenceId(#755) (Yunfei He)e090b56minifier: Initialize conditions folding (#658) (阿良仔)75d928asyntax: Add loaded_modules to ModuleRecord (Boshen)
Performance
6628fc8linter: Reduce mallocs (#654) (Don Isaac)