mirror of
https://github.com/danbulant/oxc
synced 2026-05-25 12:51:57 +00:00
## [0.15.0] - 2024-06-18 -0537d29cfg: [**BREAKING**] Move control flow to its own crate. (#3728) (rzvxa) -5c38a0fcodegen: [**BREAKING**] New code gen API (#3740) (Boshen) -4bce59dsemantic/cfg: [**BREAKING**] Re-export `petgraph` as `control_flow::graph`. (#3722) (rzvxa) -534242acodegen: [**BREAKING**] Remove `CodegenOptions::enable_typescript` (#3674) (Boshen) -0578eceast: [**BREAKING**] Remove `ExportDefaultDeclarationKind::TSEnumDeclaration` (#3666) (Dunqing) ### Features -5a99d30codegen: Improve codegen formatting (#3735) (Boshen) -bf9b38acodegen: Improve codegen formatting (#3731) (Boshen) -4a004e2codegen: Print TSImport remaining fields (#3695) (Dunqing) -a56cb1bcodegen: Print accessibility for MethodDefinition (#3690) (Dunqing) -38a75e5coverage: Improve codegen (#3729) (Boshen) -750a534coverage: Transformer idempotency test (#3691) (Boshen) -ee627c3isolated-declarations: Create unique name for `_default` (#3730) (Dunqing) -81e9526isolated-declarations: Inferring set accessor parameter type from get accessor return type (#3725) (Dunqing) -77d5533isolated-declarations: Report errors that are consistent with typescript. (#3720) (Dunqing) -8f5655dlinter: Add eslint/no-useless-constructor (#3594) (Don Isaac) -046ff3flinter/eslint: Add `no_unreachable` rule. (#3238) (rzvxa) -0b8098anapi: Isolated-declaration (#3718) (Boshen) -527bfc8npm/oxc-transform: Setup npm/oxc-transform and publish (Boshen) -d65c652parser: Display jsx mismatch error, e.g. `<Foo></Bar>` (#3696) (Boshen) -9c31ed9semantic/cfg: Propagate unreachable edges through subgraphs. (#3648) (rzvxa) -d9c5b33semantic/cfg: Add `Condition` instruction. (#3567) (Ali Rezvani) -f2dfd66semantic/cfg: Add iteration instructions. (#3566) (rzvxa) -910193etransformer-dts: Report error for super class (#3711) (Dunqing) -413d7betransformer-dts: Transform enum support (#3710) (Dunqing) -35c382etransformer-dts: Remove type annotation from private field (#3689) (Dunqing) -0e6d3cetransformer-dts: Report error for async function and generator (#3688) (Dunqing) -b22b59atransformer-dts: Transform namespace support (#3683) (Dunqing) -4f2db46transformer-dts: `--isolatedDeclarations` dts transform (#3664) (Dunqing) ### Bug Fixes -2158268ast: Incorrect visit order in function (#3681) (Dunqing) -da1e2d0codegen: Improve typescript codegen (#3708) (Boshen) -f1b793fisolated-declarations: Function overloads reaching unreachable (#3739) (Dunqing) -0fbecdcisolated-declarations: Should be added to references, not bindings (#3726) (Dunqing) -8f64d99minifier: Respect `join_vars: false` option (#3724) (mysteryven) -70fc69bsemantic: Add Eq to CtxFlags (#3651) (Yuji Sugiura) -7a58fecsemantic/cfg: Issue in unlabeled `Ctx`s. (#3678) (rzvxa) -abd6ac8semantic/cfg: Discrete finalization path after `NewFunction`s. (#3671) (rzvxa) -e148a32semantic/cfg: Correct unreachability propagation in try-finally. (#3667) (Ali Rezvani) -59666e0transformer: Do not rename accessible identifier references (#3623) (Dunqing) -90743e2traverse: Change visit order for `Function` (#3685) (overlookmotel) ### Performance -2717a1asemantic/cfg: Lower the visits in `neighbors_filtered_by_edge_weight`. (#3676) (rzvxa) ### Refactor -fa7a6bacodegen: Add `gen` method to ast nodes (#3687) (Boshen) -09b92b6codegen: Move `gen_ts` into `gen` to make searching things easier (#3680) (Boshen) -3c59735isolated-declarations: Remove `TransformDtsCtx` (#3719) (Boshen) -815260eisolated-declarations: Decouple codegen (#3715) (Boshen) -7ec44f8semantic: Rename `cfg` macro to `control_flow`. (#3742) (rzvxa) -d8ad321semantic: Make control flow generation optional. (#3737) (rzvxa) -a94a72dsemantic: Expose 1 checker function instead of 2 (#3694) (Boshen) -bd8d115semantic/cfg: Remove unused types. (#3677) (rzvxa) -f702fb9semantic/cfg: Cleanup control flow and it's builder. (#3650) (rzvxa) -4f16664transformer_dts: Create a `Program` for codegen (#3679) (Boshen) Co-authored-by: Boshen <Boshen@users.noreply.github.com>
8.8 KiB
8.8 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.15.0] - 2024-06-18
-
5c38a0fcodegen: [BREAKING] New code gen API (#3740) (Boshen) -
534242acodegen: [BREAKING] RemoveCodegenOptions::enable_typescript(#3674) (Boshen) -
0578eceast: [BREAKING] RemoveExportDefaultDeclarationKind::TSEnumDeclaration(#3666) (Dunqing)
Features
5a99d30codegen: Improve codegen formatting (#3735) (Boshen)bf9b38acodegen: Improve codegen formatting (#3731) (Boshen)4a004e2codegen: Print TSImport remaining fields (#3695) (Dunqing)a56cb1bcodegen: Print accessibility for MethodDefinition (#3690) (Dunqing)38a75e5coverage: Improve codegen (#3729) (Boshen)4f2db46transformer-dts:--isolatedDeclarationsdts transform (#3664) (Dunqing)
Bug Fixes
da1e2d0codegen: Improve typescript codegen (#3708) (Boshen)
Refactor
fa7a6bacodegen: Addgenmethod to ast nodes (#3687) (Boshen)09b92b6codegen: Movegen_tsintogento make searching things easier (#3680) (Boshen)815260eisolated-declarations: Decouple codegen (#3715) (Boshen)4f16664transformer_dts: Create aProgramfor codegen (#3679) (Boshen)
[0.14.0] - 2024-06-12
Refactor
f98f777linter: Add rule fixer (#3589) (Don Isaac)
[0.13.4] - 2024-06-07
Features
5c8e16ccoverage: Second transformer build does not print typescript (#3561) (Dunqing)
Bug Fixes
affb2c8codegen: Print indentation before directive (#3512) (Dunqing)
[0.13.3] - 2024-06-04
Bug Fixes
98c9029codegen: Should be double quote for jsx attribute value (#3516) (Dunqing)d8063b6codegen: Wrong escape string (#3514) (Dunqing)
Refactor
ddac2a0codegen: Reduce allocation for print_unquoted_str (#3525) (Dunqing)
[0.13.2] - 2024-06-03
Features
0cdb45aoxc_codegen: Preserve annotate comment (#3465) (IWANABETHATGUY)
[0.13.1] - 2024-05-22
Features
e2dd8acsyntax: Exportis_reserved_keywordandis_global_objectmethod (#3384) (Boshen)
Bug Fixes
a12ed0fcodegen: Using declaration in for statement (#3285) (Don Isaac)
Refactor
9ced605parser: Start porting arrow function parsing from tsc (#3340) (Boshen)e879685sourcemap: Using binary search to search original position (#3360) (underfin)
[0.13.0] - 2024-05-14
Features
eefb66fast: Add type to AccessorProperty to support TSAbractAccessorProperty (#3256) (Dunqing)
Bug Fixes
0ba7778parser: Correctly parse cls.fn = x (#3208) (Dunqing)
Refactor
7e1fe36ast: Squash nested enums (#3115) (overlookmotel)0185eb2ast: Remove duplicateTSNamedTupleMemberrepresentation (#3101) (overlookmotel)a8af5desyntax: Move number related functions to number module (#3130) (Boshen)
[0.12.5] - 2024-04-22
Features
92d709bast: AddCatchParameternode (#3049) (Boshen)
[0.12.4] - 2024-04-19
Features
fd5002bcodegen: Correctly print type-only imports/exports (#2993) (Dunqing)
[0.12.1] - 2024-04-03
Bug Fixes
28fae2esourcemap: Using serde_json::to_string to quote sourcemap string (#2889) (underfin)
Refactor
114f68ecodegen: Make codegen sourcemap builder clearer (#2894) (underfin)
[0.11.0] - 2024-03-30
Features
243131dtransformer: Numeric separator plugin. (#2795) (Ali Rezvani)-b199cb8Add oxc sourcemap crate (#2825) (underfin)-a2cfc86SourcemapVisualizer (#2773) (underfin)
Bug Fixes
6177c2fcodegen: Sourcemap token name should be original name (#2843) (underfin)b76b02dparser: Add support for empty module declaration (#2834) (Ali Rezvani)
Performance
2be5f9dcodegen: Avoid unnecessary copy (#2727) (underfin)d7004dasourcemap: Remove unnecessary binary search (#2728) (underfin)
Refactor
d9b77d8sourcemap: Change sourcemap name to take a reference (#2779) (underfin)
[0.10.0] - 2024-03-14
c3477deast: [BREAKING] Rename BigintLiteral to BigIntLiteral (#2659) (Arnaud Barré)
Bug Fixes
9609c34codegen:CallExpressionsourcemap (#2717) (underfin)b453a07parser: Parse named rest element in type tuple (#2655) (Arnaud Barré)
[0.9.0] - 2024-03-05
f66059east: [BREAKING] Align TSImportType with ESTree (#2578) (Arnaud Barré)
Features
20c7bf7ast: AddAssignmentTargetRest(#2601) (Boshen)3efbbb2ast: Add "abstract" type toMethodDefinitionandPropertyDefinition(#2536) (Boshen)8bb1084codegen: Add sourcemap (#2565) (Boshen)
Bug Fixes
ea30fd5codegen: Fix adding mapping to sourcemaps (#2590) (overlookmotel)fe29fa4codegen: Correct sourcemaps when Windows line breaks + unicode (#2584) (overlookmotel)517026bcodegen: Correct sourcemaps when unicode chars (#2583) (overlookmotel)
Performance
b7f5c63codegen: Speed up generating sourcemap mappings (#2597) (overlookmotel)42fa8ebcodegen: Speed up building sourcemap line tables (#2591) (overlookmotel)
Refactor
ef932a3codegen: Clean up API around building sourcemaps (#2602) (Boshen)
[0.8.0] - 2024-02-26
Features
6b3b260Codegen: Improve codegen (#2460) (Andrew McClenaghan)e6d536ccodegen: Configurable typescript codegen (#2443) (Andrew McClenaghan)
Bug Fixes
4327916codegen: Remove redundant semicolon in PropertyDefinition (#2511) (Dunqing)b5deb9acodegen: Whenasyncis on the left-hand side of a for-of, wrap it in parentheses (#2407) (Dunqing)384d5accodegen: Lower the level of precedence in TaggedTemplateExpression (#2391) (Wenzhe Wang)
Refactor
540f917ast: RemoveTSEnumBody(#2509) (Boshen)9087f71ast: S/TSThisKeyword/TSThisType to align with estree (Boshen)d08abc6ast: S/NumberLiteral/NumericLiteral to align with estree (Boshen)e6b391aast: S/ArrowExpression/ArrowFunctionExpression to align estree (Boshen)-a2c173dRemovepanic!from examples (#2454) (Boshen)
[0.7.0] - 2024-02-09
Features
55011e2codegen: Avoid printing comma in ArrayAssignmentTarget if the elements is empty (#2331) (Dunqing)
Bug Fixes
2eb489ecodegen: Format new expession + import expression with the correct parentheses (#2346) (Dunqing)721f6cbcodegen: Format new expression + call expression with the correct parentheses (#2330) (Boshen)
Refactor
1822cfeast: Fix BigInt memory leak by removing it (#2293) (Boshen)
[0.6.0] - 2024-02-03
Features
8ac0202codegen: Keep shorthand in ObjectPattern and ObjectProperty (#2265) (Dunqing)fa555cecodegen: Change back to read raw (#2222) (Wenzhe Wang)9333264codegen: Print TemplateLiteral withprint_str(#2207) (Wenzhe Wang)1ee6d8ccodegen: Move string test to codegen (#2150) (Wenzhe Wang)
Bug Fixes
0c225a4codegen: Print space before with clause in import (#2278) (Wenzhe Wang)d34650acodegen: Print necessary spaces forExportAllDeclaration(#2190) (Yunfei He)989ab88codegen: PrintDirectiveoriginal string (#2157) (underfin)29dc5e6codegen: Add parenthesis in binary expression by precedence (#2067) (Wenzhe Wang)
Refactor
766ca63ast: Rename RestElement to BindingRestElement (#2116) (Dunqing)
[0.5.0] - 2024-01-12
Refactor
a6717dbformatter,linter,codegen: Remove oxc_formatter (#1968) (Boshen)
[0.4.0] - 2023-12-08
Features
9ff0ffcast: Implement new proposal-import-attributes (#1476) (magic-akari)
Refactor
1a576f6rust: Move to workspace lint table (#1444) (Boshen)
[0.3.0] - 2023-11-06
Features
cef78accodegen: Indent inner class (#1085) (Wenzhe Wang)854b55acodegen: Json strings proposal (#1039) (Boshen)6c18b3ecodegen: Beauty class print (#995) (Wenzhe Wang)e0ca09bcodegen: Implement the basics of non-minifying codegen (#987) (Boshen)809f050codegen: Move minifying printer to codegen crate (#985) (Boshen)f28d96ccodegen: Initialize the codegen crate and struct (#983) (Boshen)2e2b758playground: Add transform and minify (#993) (Boshen)e8a4e81transformer: Implement some of jsx decode entities (#1086) (Boshen)af1a76btransformer: Implement some of needs_explicit_esm for typescript (#1047) (Boshen)dfee853transformer: Add utils to make logical_assignment_operators pass (#1017) (Boshen)678db1dtransformer: ES2020 Nullish Coalescing Operator (#1004) (Boshen)-094dfa5Support filter exec snap (#1084) (Wenzhe Wang)-0e91044Adjust the order of print semicolon (#1003) (Wenzhe Wang)
Bug Fixes
6295f9cast: Jsx attribute value and text child should be jsx string (#1089) (Boshen)f32bf27codegen: Fix some typescript codegen problems (#989) (Boshen)a455c81linter: Revert changes to JSX attribute strings (#1101) (Boshen)