From 1d2c34aa86be42c2046cf306955a86cfd053a667 Mon Sep 17 00:00:00 2001 From: Boshen <1430279+Boshen@users.noreply.github.com> Date: Thu, 17 Apr 2025 02:02:18 +0000 Subject: [PATCH] release(crates): v0.64.0 --- Cargo.lock | 48 +++++++------- Cargo.toml | 48 +++++++------- crates/oxc/Cargo.toml | 2 +- crates/oxc_allocator/CHANGELOG.md | 10 +++ crates/oxc_allocator/Cargo.toml | 2 +- crates/oxc_ast/CHANGELOG.md | 45 +++++++++++++ crates/oxc_ast/Cargo.toml | 2 +- crates/oxc_ast_macros/Cargo.toml | 2 +- crates/oxc_ast_visit/CHANGELOG.md | 24 +++++++ crates/oxc_ast_visit/Cargo.toml | 2 +- crates/oxc_cfg/Cargo.toml | 2 +- crates/oxc_codegen/CHANGELOG.md | 32 +++++++++ crates/oxc_codegen/Cargo.toml | 2 +- crates/oxc_data_structures/Cargo.toml | 2 +- crates/oxc_diagnostics/Cargo.toml | 2 +- crates/oxc_ecmascript/Cargo.toml | 2 +- crates/oxc_estree/Cargo.toml | 2 +- crates/oxc_isolated_declarations/CHANGELOG.md | 14 ++++ crates/oxc_isolated_declarations/Cargo.toml | 2 +- crates/oxc_mangler/Cargo.toml | 2 +- crates/oxc_minifier/CHANGELOG.md | 15 +++++ crates/oxc_minifier/Cargo.toml | 2 +- crates/oxc_napi/Cargo.toml | 2 +- crates/oxc_parser/CHANGELOG.md | 39 +++++++++++ crates/oxc_parser/Cargo.toml | 2 +- crates/oxc_regular_expression/Cargo.toml | 2 +- crates/oxc_semantic/CHANGELOG.md | 15 +++++ crates/oxc_semantic/Cargo.toml | 2 +- crates/oxc_span/Cargo.toml | 2 +- crates/oxc_syntax/CHANGELOG.md | 14 ++++ crates/oxc_syntax/Cargo.toml | 2 +- crates/oxc_transformer/CHANGELOG.md | 37 +++++++++++ crates/oxc_transformer/Cargo.toml | 2 +- crates/oxc_traverse/CHANGELOG.md | 26 ++++++++ crates/oxc_traverse/Cargo.toml | 2 +- napi/minify/package.json | 2 +- napi/parser/CHANGELOG.md | 66 +++++++++++++++++++ napi/parser/Cargo.toml | 2 +- napi/parser/package.json | 2 +- napi/transform/CHANGELOG.md | 20 ++++++ napi/transform/Cargo.toml | 2 +- napi/transform/package.json | 2 +- npm/oxc-types/CHANGELOG.md | 25 +++++++ npm/oxc-types/package.json | 2 +- npm/runtime/package.json | 2 +- 45 files changed, 459 insertions(+), 77 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d74d4e87775dc..069452ef1a1b0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1497,7 +1497,7 @@ checksum = "1036865bb9422d3300cf723f657c2851d0e9ab12567854b1f4eba3d77decf564" [[package]] name = "oxc" -version = "0.63.0" +version = "0.64.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1557,7 +1557,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.63.0" +version = "0.64.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1572,7 +1572,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.63.0" +version = "0.64.0" dependencies = [ "bitflags 2.9.0", "cow-utils", @@ -1587,7 +1587,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.63.0" +version = "0.64.0" dependencies = [ "proc-macro2", "quote", @@ -1618,7 +1618,7 @@ dependencies = [ [[package]] name = "oxc_ast_visit" -version = "0.63.0" +version = "0.64.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1651,7 +1651,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.63.0" +version = "0.64.0" dependencies = [ "bitflags 2.9.0", "itertools", @@ -1664,7 +1664,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.63.0" +version = "0.64.0" dependencies = [ "base64", "bitflags 2.9.0", @@ -1726,14 +1726,14 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.63.0" +version = "0.64.0" dependencies = [ "ropey", ] [[package]] name = "oxc_diagnostics" -version = "0.63.0" +version = "0.64.0" dependencies = [ "cow-utils", "oxc-miette", @@ -1741,7 +1741,7 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.63.0" +version = "0.64.0" dependencies = [ "cow-utils", "num-bigint", @@ -1753,7 +1753,7 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.63.0" +version = "0.64.0" dependencies = [ "itoa", "oxc_data_structures", @@ -1786,7 +1786,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.63.0" +version = "0.64.0" dependencies = [ "bitflags 2.9.0", "insta", @@ -1887,7 +1887,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.63.0" +version = "0.64.0" dependencies = [ "fixedbitset", "itertools", @@ -1903,7 +1903,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.63.0" +version = "0.64.0" dependencies = [ "cow-utils", "insta", @@ -1961,7 +1961,7 @@ dependencies = [ [[package]] name = "oxc_napi" -version = "0.63.0" +version = "0.64.0" dependencies = [ "napi", "napi-build", @@ -1974,7 +1974,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.63.0" +version = "0.64.0" dependencies = [ "bitflags 2.9.0", "cow-utils", @@ -1997,7 +1997,7 @@ dependencies = [ [[package]] name = "oxc_parser_napi" -version = "0.63.0" +version = "0.64.0" dependencies = [ "mimalloc-safe", "napi", @@ -2046,7 +2046,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.63.0" +version = "0.64.0" dependencies = [ "oxc_allocator", "oxc_ast_macros", @@ -2079,7 +2079,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.63.0" +version = "0.64.0" dependencies = [ "insta", "itertools", @@ -2120,7 +2120,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.63.0" +version = "0.64.0" dependencies = [ "compact_str", "oxc-miette", @@ -2133,7 +2133,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.63.0" +version = "0.64.0" dependencies = [ "bitflags 2.9.0", "cow-utils", @@ -2192,7 +2192,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.63.0" +version = "0.64.0" dependencies = [ "mimalloc-safe", "napi", @@ -2206,7 +2206,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.63.0" +version = "0.64.0" dependencies = [ "base64", "compact_str", @@ -2240,7 +2240,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.63.0" +version = "0.64.0" dependencies = [ "compact_str", "itoa", diff --git a/Cargo.toml b/Cargo.toml index 143cba532c5f8..e206a8e89ac25 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -104,30 +104,30 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.63.0", path = "crates/oxc" } -oxc_allocator = { version = "0.63.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.63.0", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.63.0", path = "crates/oxc_ast_macros" } -oxc_ast_visit = { version = "0.63.0", path = "crates/oxc_ast_visit" } -oxc_cfg = { version = "0.63.0", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.63.0", path = "crates/oxc_codegen" } -oxc_data_structures = { version = "0.63.0", path = "crates/oxc_data_structures" } -oxc_diagnostics = { version = "0.63.0", path = "crates/oxc_diagnostics" } -oxc_ecmascript = { version = "0.63.0", path = "crates/oxc_ecmascript" } -oxc_estree = { version = "0.63.0", path = "crates/oxc_estree" } -oxc_isolated_declarations = { version = "0.63.0", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.63.0", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.63.0", path = "crates/oxc_minifier" } -oxc_napi = { version = "0.63.0", path = "crates/oxc_napi" } -oxc_parser = { version = "0.63.0", path = "crates/oxc_parser", features = ["regular_expression"] } -oxc_parser_napi = { version = "0.63.0", path = "napi/parser" } -oxc_regular_expression = { version = "0.63.0", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.63.0", path = "crates/oxc_semantic" } -oxc_span = { version = "0.63.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.63.0", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.63.0", path = "napi/transform" } -oxc_transformer = { version = "0.63.0", path = "crates/oxc_transformer" } -oxc_traverse = { version = "0.63.0", path = "crates/oxc_traverse" } +oxc = { version = "0.64.0", path = "crates/oxc" } +oxc_allocator = { version = "0.64.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.64.0", path = "crates/oxc_ast" } +oxc_ast_macros = { version = "0.64.0", path = "crates/oxc_ast_macros" } +oxc_ast_visit = { version = "0.64.0", path = "crates/oxc_ast_visit" } +oxc_cfg = { version = "0.64.0", path = "crates/oxc_cfg" } +oxc_codegen = { version = "0.64.0", path = "crates/oxc_codegen" } +oxc_data_structures = { version = "0.64.0", path = "crates/oxc_data_structures" } +oxc_diagnostics = { version = "0.64.0", path = "crates/oxc_diagnostics" } +oxc_ecmascript = { version = "0.64.0", path = "crates/oxc_ecmascript" } +oxc_estree = { version = "0.64.0", path = "crates/oxc_estree" } +oxc_isolated_declarations = { version = "0.64.0", path = "crates/oxc_isolated_declarations" } +oxc_mangler = { version = "0.64.0", path = "crates/oxc_mangler" } +oxc_minifier = { version = "0.64.0", path = "crates/oxc_minifier" } +oxc_napi = { version = "0.64.0", path = "crates/oxc_napi" } +oxc_parser = { version = "0.64.0", path = "crates/oxc_parser", features = ["regular_expression"] } +oxc_parser_napi = { version = "0.64.0", path = "napi/parser" } +oxc_regular_expression = { version = "0.64.0", path = "crates/oxc_regular_expression" } +oxc_semantic = { version = "0.64.0", path = "crates/oxc_semantic" } +oxc_span = { version = "0.64.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.64.0", path = "crates/oxc_syntax" } +oxc_transform_napi = { version = "0.64.0", path = "napi/transform" } +oxc_transformer = { version = "0.64.0", path = "crates/oxc_transformer" } +oxc_traverse = { version = "0.64.0", path = "crates/oxc_traverse" } # publish = false oxc_formatter = { path = "crates/oxc_formatter" } diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 9337952d36288..a074dcbaeab7b 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_allocator/CHANGELOG.md b/crates/oxc_allocator/CHANGELOG.md index b3f886bade594..7f0ff90d9ad28 100644 --- a/crates/oxc_allocator/CHANGELOG.md +++ b/crates/oxc_allocator/CHANGELOG.md @@ -4,6 +4,16 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.64.0] - 2025-04-17 + +### Documentation + +- 63d4aa6 allocator: Fix quotes in comment (#10353) (overlookmotel) + +### Refactor + +- e4c80b4 allocator/vec2: Import `handle_alloc_error` function from `allocator_api2` instead of writing a custom one (#9860) (Dunqing) + ## [0.63.0] - 2025-04-08 ### Features diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index a91f4d766f7da..6b6284ce5346d 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast/CHANGELOG.md b/crates/oxc_ast/CHANGELOG.md index a32220788fc4b..4c6bff8b8255e 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/CHANGELOG.md @@ -4,6 +4,51 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.64.0] - 2025-04-17 + +- 09f4c30 ast: [**BREAKING**] Remove `ArrayAssignmentTarget::new_with_elements` and `ObjectAssignmentTarget::new_with_properties` (#10440) (overlookmotel) + +- c538efa ast: [**BREAKING**] `ImportExpression` only allows one option argument (#10432) (Boshen) + +- 7284135 ast: [**BREAKING**] Remove `trailing_commas` from `ArrayExpression` and `ObjectExpression` (#10431) (Boshen) + +- 771d50f ast: [**BREAKING**] Change `Class::implements` to `Vec` (#10430) (Boshen) + +- 521de23 ast: [**BREAKING**] Add `computed` property to `TSEnumMember` and `TSEnumMemberName::TemplateString` (#10092) (Yuji Sugiura) + +- 49732ff ast: [**BREAKING**] Re-introduce `TSEnumBody` AST node (#10284) (Yuji Sugiura) + +### Features + +- 4c246fb ast: Add `override` field in `AccessorProperty` (#10415) (Yuji Sugiura) +- 2c66ac2 codegen: Preserve code coverage ignore comments (e.g. `v8 ignore`) (#10338) (Boshen) + +### Bug Fixes + +- f3ddefb ast/estree: Add missing fields to `AssignmentTargetRest` in TS-ESTree AST (#10456) (overlookmotel) +- 77b6f7e ast/estree: Fix start span of `Program` in TS-ESTree AST where first statement is `@dec export class C {}` (#10448) (overlookmotel) +- 4817c7e ast/estree: Add fields to `AssignmentTargetPattern` in TS-ESTree AST (#10423) (overlookmotel) +- b3094b3 ast/estree: Add `optional` field to `AssignmentTargetProperty` in TS-ESTree AST (#10412) (overlookmotel) +- a7fd30f ast/estree: Add fields to `BindingRestElement` in TS-ESTree AST (#10411) (overlookmotel) +- 9d82402 ast/estree: Fix `Program` span when contains no statements (#10408) (overlookmotel) +- cc07efd ast/estree: Fix `JSXOpeningFragment` (#10208) (therewillbecode) +- 48ed6a1 ast/estree: Fix span for `TemplateElement` in TS AST (#10315) (overlookmotel) +- 2520b25 estree: Align `TSMappedType` fields (#10392) (Yuji Sugiura) +- 3ed3669 estree: Rename `JSDocXxxType` to `TSJSDocXxxType` (#10358) (Yuji Sugiura) +- b54fb3e estree: Rename `TSInstantiationExpression`.`type_parameters` to `type_arguments` (#10327) (Yuji Sugiura) +- 5850a0d parse: `type x = typeof import('')` -> ` TSTypeQuery(TSImportType)` (#10317) (Boshen) +- dd2aef0 semantic: Incorrect `SymbolFlags` of `TSModuleDeclaration` (#10350) (Dunqing) + +### Documentation + +- c6f08d0 ast: Improve docs for `AssignmentTargetRest` (#10442) (overlookmotel) + +### Refactor + +- 192717c ast: `ModuleDeclaration::with_clause` return `Option<&WithClause>` (#10441) (overlookmotel) +- 6e6c777 ast: Add `TSEnumMemberName` variant to replace `computed` field (#10346) (Yuji Sugiura) +- 294d24b ast/estree: Simplify serialization for `JSXOpeningFragment` (#10316) (overlookmotel) + ## [0.63.0] - 2025-04-08 - a26fd34 ast: [**BREAKING**] Remove `JSXOpeningElement::self_closing` field (#10275) (overlookmotel) diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index 9b02e60daa5ee..84b6af3988834 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index da034b9d877d5..ebe5734e70040 100644 --- a/crates/oxc_ast_macros/Cargo.toml +++ b/crates/oxc_ast_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast_macros" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_visit/CHANGELOG.md b/crates/oxc_ast_visit/CHANGELOG.md index ecb3bc32e1457..12d70b547785e 100644 --- a/crates/oxc_ast_visit/CHANGELOG.md +++ b/crates/oxc_ast_visit/CHANGELOG.md @@ -4,6 +4,30 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.64.0] - 2025-04-17 + +- c538efa ast: [**BREAKING**] `ImportExpression` only allows one option argument (#10432) (Boshen) + +- 7284135 ast: [**BREAKING**] Remove `trailing_commas` from `ArrayExpression` and `ObjectExpression` (#10431) (Boshen) + +- 771d50f ast: [**BREAKING**] Change `Class::implements` to `Vec` (#10430) (Boshen) + +- 521de23 ast: [**BREAKING**] Add `computed` property to `TSEnumMember` and `TSEnumMemberName::TemplateString` (#10092) (Yuji Sugiura) + +- 49732ff ast: [**BREAKING**] Re-introduce `TSEnumBody` AST node (#10284) (Yuji Sugiura) + +### Features + + +### Bug Fixes + +- 6d3734b ast_visit: `Utf8ToUtf16Converter` process decorators before class (#10449) (overlookmotel) +- b54fb3e estree: Rename `TSInstantiationExpression`.`type_parameters` to `type_arguments` (#10327) (Yuji Sugiura) + +### Refactor + +- 6e6c777 ast: Add `TSEnumMemberName` variant to replace `computed` field (#10346) (Yuji Sugiura) + ## [0.61.0] - 2025-03-20 - c631291 parser: [**BREAKING**] Parse `TSImportAttributes` as `ObjectExpression` (#9902) (Boshen) diff --git a/crates/oxc_ast_visit/Cargo.toml b/crates/oxc_ast_visit/Cargo.toml index efccd0fbed23f..30f5d00328fc4 100644 --- a/crates/oxc_ast_visit/Cargo.toml +++ b/crates/oxc_ast_visit/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast_visit" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_cfg/Cargo.toml b/crates/oxc_cfg/Cargo.toml index fcec62b881de8..88bc80eb44f3c 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_codegen/CHANGELOG.md b/crates/oxc_codegen/CHANGELOG.md index 26f3d0890746f..8b135429c34bc 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/CHANGELOG.md @@ -4,6 +4,38 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.64.0] - 2025-04-17 + +- c538efa ast: [**BREAKING**] `ImportExpression` only allows one option argument (#10432) (Boshen) + +- 7284135 ast: [**BREAKING**] Remove `trailing_commas` from `ArrayExpression` and `ObjectExpression` (#10431) (Boshen) + +- 771d50f ast: [**BREAKING**] Change `Class::implements` to `Vec` (#10430) (Boshen) + +- 521de23 ast: [**BREAKING**] Add `computed` property to `TSEnumMember` and `TSEnumMemberName::TemplateString` (#10092) (Yuji Sugiura) + +- 49732ff ast: [**BREAKING**] Re-introduce `TSEnumBody` AST node (#10284) (Yuji Sugiura) + +### Features + +- 4c246fb ast: Add `override` field in `AccessorProperty` (#10415) (Yuji Sugiura) +- 2c66ac2 codegen: Preserve code coverage ignore comments (e.g. `v8 ignore`) (#10338) (Boshen) + +### Bug Fixes + +- 82ba30b codegen: Fix spaces before `AssignmentTargetRest` (#10443) (overlookmotel) +- b54fb3e estree: Rename `TSInstantiationExpression`.`type_parameters` to `type_arguments` (#10327) (Yuji Sugiura) +- 5850a0d parse: `type x = typeof import('')` -> ` TSTypeQuery(TSImportType)` (#10317) (Boshen) +- 41d8e9d parser: `ExportNamedDeclaration.exportKind` should be `type` for `declare` declaration (#10389) (Yuji Sugiura) + +### Performance + +- 426f8cb codegen: Reduce checks printing strings (#10341) (overlookmotel) + +### Refactor + +- 6e6c777 ast: Add `TSEnumMemberName` variant to replace `computed` field (#10346) (Yuji Sugiura) + ## [0.63.0] - 2025-04-08 - a26fd34 ast: [**BREAKING**] Remove `JSXOpeningElement::self_closing` field (#10275) (overlookmotel) diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index 28d3e954a149b..8fae1fa42af20 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_data_structures/Cargo.toml b/crates/oxc_data_structures/Cargo.toml index e7ef91d0b3cc3..1d345e49d2a7d 100644 --- a/crates/oxc_data_structures/Cargo.toml +++ b/crates/oxc_data_structures/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_data_structures" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index 971eeb026ddd0..84a51761daa97 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ecmascript/Cargo.toml b/crates/oxc_ecmascript/Cargo.toml index 06117504c74cc..d25ac14ef266a 100644 --- a/crates/oxc_ecmascript/Cargo.toml +++ b/crates/oxc_ecmascript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ecmascript" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_estree/Cargo.toml b/crates/oxc_estree/Cargo.toml index eaaa5da066c61..ba4f1bab7966e 100644 --- a/crates/oxc_estree/Cargo.toml +++ b/crates/oxc_estree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_estree" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_isolated_declarations/CHANGELOG.md b/crates/oxc_isolated_declarations/CHANGELOG.md index 429117b482e7b..e275ba049ef32 100644 --- a/crates/oxc_isolated_declarations/CHANGELOG.md +++ b/crates/oxc_isolated_declarations/CHANGELOG.md @@ -4,6 +4,20 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.64.0] - 2025-04-17 + +- 521de23 ast: [**BREAKING**] Add `computed` property to `TSEnumMember` and `TSEnumMemberName::TemplateString` (#10092) (Yuji Sugiura) + +- 49732ff ast: [**BREAKING**] Re-introduce `TSEnumBody` AST node (#10284) (Yuji Sugiura) + +### Features + +- 4c246fb ast: Add `override` field in `AccessorProperty` (#10415) (Yuji Sugiura) + +### Refactor + +- 6e6c777 ast: Add `TSEnumMemberName` variant to replace `computed` field (#10346) (Yuji Sugiura) + ## [0.63.0] - 2025-04-08 ### Bug Fixes diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index 189d7646f0fb2..c2254cf53b1b2 100644 --- a/crates/oxc_isolated_declarations/Cargo.toml +++ b/crates/oxc_isolated_declarations/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_isolated_declarations" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index 3197907bde5d1..96f4a7511162e 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_minifier/CHANGELOG.md b/crates/oxc_minifier/CHANGELOG.md index c119f5d9b11e8..f5c854e67e59f 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/CHANGELOG.md @@ -4,6 +4,21 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.64.0] - 2025-04-17 + +- 7284135 ast: [**BREAKING**] Remove `trailing_commas` from `ArrayExpression` and `ObjectExpression` (#10431) (Boshen) + +### Bug Fixes + +- 48c711a minifier: Panic when compressing `a ? b() : b()` (#10311) (翠 / green) + +### Performance + +- 8db9dc5 minifier/minimize_statements: Reduce allocations of `Vec` (#10435) (Dunqing) + +### Refactor + + ## [0.63.0] - 2025-04-08 ### Features diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index 68c18bd8b186f..c52757ca2371c 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_napi/Cargo.toml b/crates/oxc_napi/Cargo.toml index dc24bc111a804..26652ae38daa8 100644 --- a/crates/oxc_napi/Cargo.toml +++ b/crates/oxc_napi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_napi" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_parser/CHANGELOG.md b/crates/oxc_parser/CHANGELOG.md index df555b0751ee7..543da383e1553 100644 --- a/crates/oxc_parser/CHANGELOG.md +++ b/crates/oxc_parser/CHANGELOG.md @@ -4,6 +4,45 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.64.0] - 2025-04-17 + +- c538efa ast: [**BREAKING**] `ImportExpression` only allows one option argument (#10432) (Boshen) + +- 7284135 ast: [**BREAKING**] Remove `trailing_commas` from `ArrayExpression` and `ObjectExpression` (#10431) (Boshen) + +- 771d50f ast: [**BREAKING**] Change `Class::implements` to `Vec` (#10430) (Boshen) + +- 521de23 ast: [**BREAKING**] Add `computed` property to `TSEnumMember` and `TSEnumMemberName::TemplateString` (#10092) (Yuji Sugiura) + +- 49732ff ast: [**BREAKING**] Re-introduce `TSEnumBody` AST node (#10284) (Yuji Sugiura) + +### Features + +- 4c246fb ast: Add `override` field in `AccessorProperty` (#10415) (Yuji Sugiura) +- 2c66ac2 codegen: Preserve code coverage ignore comments (e.g. `v8 ignore`) (#10338) (Boshen) + +### Bug Fixes + +- 9734152 ast: Handle `TSThisType` in `TSTypePredicate` (#10328) (Yuji Sugiura) +- b54fb3e estree: Rename `TSInstantiationExpression`.`type_parameters` to `type_arguments` (#10327) (Yuji Sugiura) +- 5850a0d parse: `type x = typeof import('')` -> ` TSTypeQuery(TSImportType)` (#10317) (Boshen) +- 58ab8ff parser: Adjust class start position when decorators are involved (#10438) (Boshen) +- 3d7bcac parser: Fix span position for `+ ++x` (#10429) (Boshen) +- f9fd666 parser: Report errors for duplicate extends/implements clauses(TS1172/1173/1175) (#10420) (Yuji Sugiura) +- 385d009 parser: Correctly handle `?` postfixed element type in `TupleType` (#10390) (Yuji Sugiura) +- 41d8e9d parser: `ExportNamedDeclaration.exportKind` should be `type` for `declare` declaration (#10389) (Yuji Sugiura) +- 4fe9151 parser: Handle `JSDocUnknownType` correctly (#10363) (Yuji Sugiura) + +### Performance + +- 93b8e86 parser: Use `ArenaVec` to store decorators (#10437) (Dunqing) +- 0a42695 parser: Pass span starts (u32) around instead of Span (2x u32) (#10433) (Boshen) + +### Refactor + +- 6e6c777 ast: Add `TSEnumMemberName` variant to replace `computed` field (#10346) (Yuji Sugiura) +- a6b2232 parser: Shorten code (#10445) (overlookmotel) + ## [0.63.0] - 2025-04-08 - a26fd34 ast: [**BREAKING**] Remove `JSXOpeningElement::self_closing` field (#10275) (overlookmotel) diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index b51c2f4536ab1..43e71c154482e 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_regular_expression/Cargo.toml b/crates/oxc_regular_expression/Cargo.toml index 4b357da304121..ed8dab4605ace 100644 --- a/crates/oxc_regular_expression/Cargo.toml +++ b/crates/oxc_regular_expression/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_regular_expression" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_semantic/CHANGELOG.md b/crates/oxc_semantic/CHANGELOG.md index 97a5be98b80b3..ccbedc026eac4 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/CHANGELOG.md @@ -4,6 +4,21 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.64.0] - 2025-04-17 + +- 771d50f ast: [**BREAKING**] Change `Class::implements` to `Vec` (#10430) (Boshen) + +- 49732ff ast: [**BREAKING**] Re-introduce `TSEnumBody` AST node (#10284) (Yuji Sugiura) + +### Features + +- 1a37e3f semantic: Add `SymbolFlags::Ambient` for declaration with `declare` modifier (#10355) (Dunqing) + +### Bug Fixes + +- dd2aef0 semantic: Incorrect `SymbolFlags` of `TSModuleDeclaration` (#10350) (Dunqing) +- c37f048 semantic: Do not declare a `Symbol` for an `ModuleDeclaration` where the `id` is not a `BindingIdentifier` (#10343) (Dunqing) + ## [0.63.0] - 2025-04-08 ### Bug Fixes diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index 690e744ff0d67..e84ee9b38bc37 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index 054bc56294dd9..493bca2a24338 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_syntax/CHANGELOG.md b/crates/oxc_syntax/CHANGELOG.md index 012439a162264..96abb19caf414 100644 --- a/crates/oxc_syntax/CHANGELOG.md +++ b/crates/oxc_syntax/CHANGELOG.md @@ -4,6 +4,20 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.64.0] - 2025-04-17 + +### Features + +- 1a37e3f semantic: Add `SymbolFlags::Ambient` for declaration with `declare` modifier (#10355) (Dunqing) + +### Bug Fixes + +- dd2aef0 semantic: Incorrect `SymbolFlags` of `TSModuleDeclaration` (#10350) (Dunqing) + +### Refactor + +- 032377d transformer/typescript: Do not need to go through `TSModuleDeclaration` if is a `NamespaceModule` (#10366) (Dunqing) + ## [0.63.0] - 2025-04-08 ### Performance diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index 3fb289a8a8898..832468e1fbb3b 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_transformer/CHANGELOG.md b/crates/oxc_transformer/CHANGELOG.md index 7685b68e611ae..702918ddf8e8a 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/CHANGELOG.md @@ -4,6 +4,43 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.64.0] - 2025-04-17 + +- 7284135 ast: [**BREAKING**] Remove `trailing_commas` from `ArrayExpression` and `ObjectExpression` (#10431) (Boshen) + +- 771d50f ast: [**BREAKING**] Change `Class::implements` to `Vec` (#10430) (Boshen) + +- 521de23 ast: [**BREAKING**] Add `computed` property to `TSEnumMember` and `TSEnumMemberName::TemplateString` (#10092) (Yuji Sugiura) + +- 49732ff ast: [**BREAKING**] Re-introduce `TSEnumBody` AST node (#10284) (Yuji Sugiura) + +### Features + +- 08a1d4b transformer: Eliminate `ExportSpecifier` where refers to a `declare` declaration (#10356) (Dunqing) +- dfef8b5 transformer: Enable `using` by default (#10333) (Boshen) + +### Bug Fixes + +- 17d26d9 transformer/decorator-metadata: Serialize type reference nodes causing imports cannot be removed (#10360) (Dunqing) +- 4e36b84 transformer/jsx: Do not report "duplicate __source/__self prop found" error when `development` is disabled (#10393) (Dunqing) +- 1ff75bc transformer/module_runner: Hoist export (#10347) (hi-ogawa) +- e0b6c8c transformer/react: Correct comment (#10323) (overlookmotel) + +### Performance + +- ebe3496 transformer/class-properties: Return early if no private fields are found (#10418) (Dunqing) +- 880647b transformer/decorator-metadata: Return `Object` as early as possible if there is a `TSTypeReference` within `TSUnionType` (#10361) (Dunqing) +- 267922b transformer/jsx: Speed up decoding `JSXText` strings (#9741) (overlookmotel) +- 25e4c53 transformer/object-rest-spread: Pass `Box` to `make_object_spread` (#10446) (overlookmotel) +- 595c5df transformer/object_rest_spread: Use `ArenaVec` to store values that will be used in constructing AST (#10434) (Dunqing) + +### Refactor + +- 3ebd494 transformer/class-properties: Re-order fields and expand comments (#10447) (overlookmotel) +- 7508a43 transformer/typescript: Remove unnecessary specific handling of `TSModuleDeclaration` transformation (#10359) (Dunqing) +- 032377d transformer/typescript: Do not need to go through `TSModuleDeclaration` if is a `NamespaceModule` (#10366) (Dunqing) +- 4c14d0b transformer/typescript: Simplify `TypeScriptAnnotations::has_value_reference` method (#10349) (Dunqing) + ## [0.63.0] - 2025-04-08 ### Features diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index 74450271479f9..7783c22d33d95 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_traverse/CHANGELOG.md b/crates/oxc_traverse/CHANGELOG.md index 3e84630717e16..abc39db44771a 100644 --- a/crates/oxc_traverse/CHANGELOG.md +++ b/crates/oxc_traverse/CHANGELOG.md @@ -4,6 +4,32 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.64.0] - 2025-04-17 + +- c538efa ast: [**BREAKING**] `ImportExpression` only allows one option argument (#10432) (Boshen) + +- 7284135 ast: [**BREAKING**] Remove `trailing_commas` from `ArrayExpression` and `ObjectExpression` (#10431) (Boshen) + +- 771d50f ast: [**BREAKING**] Change `Class::implements` to `Vec` (#10430) (Boshen) + +- 521de23 ast: [**BREAKING**] Add `computed` property to `TSEnumMember` and `TSEnumMemberName::TemplateString` (#10092) (Yuji Sugiura) + +- 49732ff ast: [**BREAKING**] Re-introduce `TSEnumBody` AST node (#10284) (Yuji Sugiura) + +### Features + +- 4c246fb ast: Add `override` field in `AccessorProperty` (#10415) (Yuji Sugiura) + +### Bug Fixes + +- b54fb3e estree: Rename `TSInstantiationExpression`.`type_parameters` to `type_arguments` (#10327) (Yuji Sugiura) +- 5850a0d parse: `type x = typeof import('')` -> ` TSTypeQuery(TSImportType)` (#10317) (Boshen) +- 1e683f9 traverse: `ChildScopeCollector` visit all scopes (#10292) (overlookmotel) + +### Refactor + +- 6e6c777 ast: Add `TSEnumMemberName` variant to replace `computed` field (#10346) (Yuji Sugiura) + ## [0.63.0] - 2025-04-08 - a26fd34 ast: [**BREAKING**] Remove `JSXOpeningElement::self_closing` field (#10275) (overlookmotel) diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index b25881a9434f9..86b35c2174a3d 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/minify/package.json b/napi/minify/package.json index 52ef1051a857d..9db9ebddd3e0b 100644 --- a/napi/minify/package.json +++ b/napi/minify/package.json @@ -1,6 +1,6 @@ { "name": "oxc-minify", - "version": "0.63.0", + "version": "0.64.0", "main": "index.js", "browser": "browser.js", "scripts": { diff --git a/napi/parser/CHANGELOG.md b/napi/parser/CHANGELOG.md index 590d4531912ee..b357095391686 100644 --- a/napi/parser/CHANGELOG.md +++ b/napi/parser/CHANGELOG.md @@ -4,6 +4,72 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.64.0] - 2025-04-17 + +- c538efa ast: [**BREAKING**] `ImportExpression` only allows one option argument (#10432) (Boshen) + +- 7284135 ast: [**BREAKING**] Remove `trailing_commas` from `ArrayExpression` and `ObjectExpression` (#10431) (Boshen) + +- 771d50f ast: [**BREAKING**] Change `Class::implements` to `Vec` (#10430) (Boshen) + +- 521de23 ast: [**BREAKING**] Add `computed` property to `TSEnumMember` and `TSEnumMemberName::TemplateString` (#10092) (Yuji Sugiura) + +- 49732ff ast: [**BREAKING**] Re-introduce `TSEnumBody` AST node (#10284) (Yuji Sugiura) + +### Features + +- 4c246fb ast: Add `override` field in `AccessorProperty` (#10415) (Yuji Sugiura) + +### Bug Fixes + +- f3ddefb ast/estree: Add missing fields to `AssignmentTargetRest` in TS-ESTree AST (#10456) (overlookmotel) +- 77b6f7e ast/estree: Fix start span of `Program` in TS-ESTree AST where first statement is `@dec export class C {}` (#10448) (overlookmotel) +- 4817c7e ast/estree: Add fields to `AssignmentTargetPattern` in TS-ESTree AST (#10423) (overlookmotel) +- b3094b3 ast/estree: Add `optional` field to `AssignmentTargetProperty` in TS-ESTree AST (#10412) (overlookmotel) +- a7fd30f ast/estree: Add fields to `BindingRestElement` in TS-ESTree AST (#10411) (overlookmotel) +- cc07efd ast/estree: Fix `JSXOpeningFragment` (#10208) (therewillbecode) +- 48ed6a1 ast/estree: Fix span for `TemplateElement` in TS AST (#10315) (overlookmotel) +- 2520b25 estree: Align `TSMappedType` fields (#10392) (Yuji Sugiura) +- 3ed3669 estree: Rename `JSDocXxxType` to `TSJSDocXxxType` (#10358) (Yuji Sugiura) +- b54fb3e estree: Rename `TSInstantiationExpression`.`type_parameters` to `type_arguments` (#10327) (Yuji Sugiura) + +### Refactor + +- 6e6c777 ast: Add `TSEnumMemberName` variant to replace `computed` field (#10346) (Yuji Sugiura) + +## [0.64.0] - 2025-04-17 + +- c538efa ast: [**BREAKING**] `ImportExpression` only allows one option argument (#10432) (Boshen) + +- 7284135 ast: [**BREAKING**] Remove `trailing_commas` from `ArrayExpression` and `ObjectExpression` (#10431) (Boshen) + +- 771d50f ast: [**BREAKING**] Change `Class::implements` to `Vec` (#10430) (Boshen) + +- 521de23 ast: [**BREAKING**] Add `computed` property to `TSEnumMember` and `TSEnumMemberName::TemplateString` (#10092) (Yuji Sugiura) + +- 49732ff ast: [**BREAKING**] Re-introduce `TSEnumBody` AST node (#10284) (Yuji Sugiura) + +### Features + +- 4c246fb ast: Add `override` field in `AccessorProperty` (#10415) (Yuji Sugiura) + +### Bug Fixes + +- f3ddefb ast/estree: Add missing fields to `AssignmentTargetRest` in TS-ESTree AST (#10456) (overlookmotel) +- 77b6f7e ast/estree: Fix start span of `Program` in TS-ESTree AST where first statement is `@dec export class C {}` (#10448) (overlookmotel) +- 4817c7e ast/estree: Add fields to `AssignmentTargetPattern` in TS-ESTree AST (#10423) (overlookmotel) +- b3094b3 ast/estree: Add `optional` field to `AssignmentTargetProperty` in TS-ESTree AST (#10412) (overlookmotel) +- a7fd30f ast/estree: Add fields to `BindingRestElement` in TS-ESTree AST (#10411) (overlookmotel) +- cc07efd ast/estree: Fix `JSXOpeningFragment` (#10208) (therewillbecode) +- 48ed6a1 ast/estree: Fix span for `TemplateElement` in TS AST (#10315) (overlookmotel) +- 2520b25 estree: Align `TSMappedType` fields (#10392) (Yuji Sugiura) +- 3ed3669 estree: Rename `JSDocXxxType` to `TSJSDocXxxType` (#10358) (Yuji Sugiura) +- b54fb3e estree: Rename `TSInstantiationExpression`.`type_parameters` to `type_arguments` (#10327) (Yuji Sugiura) + +### Refactor + +- 6e6c777 ast: Add `TSEnumMemberName` variant to replace `computed` field (#10346) (Yuji Sugiura) + ## [0.63.0] - 2025-04-08 - a26fd34 ast: [**BREAKING**] Remove `JSXOpeningElement::self_closing` field (#10275) (overlookmotel) diff --git a/napi/parser/Cargo.toml b/napi/parser/Cargo.toml index 098bdb893451e..ad59c10da41c0 100644 --- a/napi/parser/Cargo.toml +++ b/napi/parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser_napi" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/parser/package.json b/napi/parser/package.json index e3a83c3268e3c..51821f03ca590 100644 --- a/napi/parser/package.json +++ b/napi/parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.63.0", + "version": "0.64.0", "main": "index.js", "browser": "wasm.mjs", "scripts": { diff --git a/napi/transform/CHANGELOG.md b/napi/transform/CHANGELOG.md index 38cd7fd9fae23..61ed8968ab748 100644 --- a/napi/transform/CHANGELOG.md +++ b/napi/transform/CHANGELOG.md @@ -4,6 +4,26 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.64.0] - 2025-04-17 + +### Features + +- dfef8b5 transformer: Enable `using` by default (#10333) (Boshen) + +### Bug Fixes + +- 1ff75bc transformer/module_runner: Hoist export (#10347) (hi-ogawa) + +## [0.64.0] - 2025-04-17 + +### Features + +- dfef8b5 transformer: Enable `using` by default (#10333) (Boshen) + +### Bug Fixes + +- 1ff75bc transformer/module_runner: Hoist export (#10347) (hi-ogawa) + ## [0.63.0] - 2025-04-08 ### Features diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index 5646bfc134189..b2c8e0756197c 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.63.0" +version = "0.64.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/transform/package.json b/napi/transform/package.json index 967a82266595c..49ed07c804dc1 100644 --- a/napi/transform/package.json +++ b/napi/transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.63.0", + "version": "0.64.0", "main": "index.js", "browser": "browser.js", "scripts": { diff --git a/npm/oxc-types/CHANGELOG.md b/npm/oxc-types/CHANGELOG.md index d59e5fd6d3608..5828944bee32c 100644 --- a/npm/oxc-types/CHANGELOG.md +++ b/npm/oxc-types/CHANGELOG.md @@ -4,6 +4,31 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.64.0] - 2025-04-17 + +- 521de23 ast: [**BREAKING**] Add `computed` property to `TSEnumMember` and `TSEnumMemberName::TemplateString` (#10092) (Yuji Sugiura) + +- 49732ff ast: [**BREAKING**] Re-introduce `TSEnumBody` AST node (#10284) (Yuji Sugiura) + +### Features + +- 4c246fb ast: Add `override` field in `AccessorProperty` (#10415) (Yuji Sugiura) + +### Bug Fixes + +- f3ddefb ast/estree: Add missing fields to `AssignmentTargetRest` in TS-ESTree AST (#10456) (overlookmotel) +- 4817c7e ast/estree: Add fields to `AssignmentTargetPattern` in TS-ESTree AST (#10423) (overlookmotel) +- b3094b3 ast/estree: Add `optional` field to `AssignmentTargetProperty` in TS-ESTree AST (#10412) (overlookmotel) +- a7fd30f ast/estree: Add fields to `BindingRestElement` in TS-ESTree AST (#10411) (overlookmotel) +- cc07efd ast/estree: Fix `JSXOpeningFragment` (#10208) (therewillbecode) +- 2520b25 estree: Align `TSMappedType` fields (#10392) (Yuji Sugiura) +- 3ed3669 estree: Rename `JSDocXxxType` to `TSJSDocXxxType` (#10358) (Yuji Sugiura) +- b54fb3e estree: Rename `TSInstantiationExpression`.`type_parameters` to `type_arguments` (#10327) (Yuji Sugiura) + +### Refactor + +- 294d24b ast/estree: Simplify serialization for `JSXOpeningFragment` (#10316) (overlookmotel) + ## [0.63.0] - 2025-04-08 ### Bug Fixes diff --git a/npm/oxc-types/package.json b/npm/oxc-types/package.json index fec254a18de65..ef6aad6132663 100644 --- a/npm/oxc-types/package.json +++ b/npm/oxc-types/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/types", - "version": "0.63.0", + "version": "0.64.0", "description": "Types for Oxc AST nodes", "keywords": [ "AST", diff --git a/npm/runtime/package.json b/npm/runtime/package.json index a1f276935a6c8..801f16cd1d9b5 100644 --- a/npm/runtime/package.json +++ b/npm/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/runtime", - "version": "0.63.0", + "version": "0.64.0", "description": "Oxc's modular runtime helpers", "license": "MIT", "repository": {