mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
12 KiB
12 KiB
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.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)