diff --git a/Cargo.lock b/Cargo.lock index 16f1254a05c32..1f63cba9c2b2c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1519,7 +1519,7 @@ checksum = "1036865bb9422d3300cf723f657c2851d0e9ab12567854b1f4eba3d77decf564" [[package]] name = "oxc" -version = "0.58.1" +version = "0.59.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1582,7 +1582,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.58.1" +version = "0.59.0" dependencies = [ "allocator-api2", "assert-unchecked", @@ -1597,7 +1597,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.58.1" +version = "0.59.0" dependencies = [ "bitflags 2.9.0", "cow-utils", @@ -1612,7 +1612,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.58.1" +version = "0.59.0" dependencies = [ "proc-macro2", "quote", @@ -1644,7 +1644,7 @@ dependencies = [ [[package]] name = "oxc_ast_visit" -version = "0.58.1" +version = "0.59.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1677,7 +1677,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.58.1" +version = "0.59.0" dependencies = [ "bitflags 2.9.0", "itertools", @@ -1690,7 +1690,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.58.1" +version = "0.59.0" dependencies = [ "base64", "bitflags 2.9.0", @@ -1753,7 +1753,7 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.58.1" +version = "0.59.0" dependencies = [ "assert-unchecked", "ropey", @@ -1761,7 +1761,7 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.58.1" +version = "0.59.0" dependencies = [ "cow-utils", "oxc-miette", @@ -1769,7 +1769,7 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.58.1" +version = "0.59.0" dependencies = [ "cow-utils", "num-bigint", @@ -1781,7 +1781,7 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.58.1" +version = "0.59.0" dependencies = [ "itoa", "oxc_data_structures", @@ -1799,7 +1799,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.58.1" +version = "0.59.0" dependencies = [ "bitflags 2.9.0", "insta", @@ -1902,7 +1902,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.58.1" +version = "0.59.0" dependencies = [ "fixedbitset", "itertools", @@ -1917,7 +1917,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.58.1" +version = "0.59.0" dependencies = [ "cow-utils", "insta", @@ -1975,7 +1975,7 @@ dependencies = [ [[package]] name = "oxc_napi" -version = "0.58.1" +version = "0.59.0" dependencies = [ "napi", "napi-build", @@ -1985,7 +1985,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.58.1" +version = "0.59.0" dependencies = [ "assert-unchecked", "bitflags 2.9.0", @@ -2008,7 +2008,7 @@ dependencies = [ [[package]] name = "oxc_parser_napi" -version = "0.58.1" +version = "0.59.0" dependencies = [ "napi", "napi-build", @@ -2082,7 +2082,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.58.1" +version = "0.59.0" dependencies = [ "oxc_allocator", "oxc_ast_macros", @@ -2115,7 +2115,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.58.1" +version = "0.59.0" dependencies = [ "assert-unchecked", "insta", @@ -2157,7 +2157,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.58.1" +version = "0.59.0" dependencies = [ "compact_str", "oxc-miette", @@ -2170,7 +2170,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.58.1" +version = "0.59.0" dependencies = [ "assert-unchecked", "bitflags 2.9.0", @@ -2230,7 +2230,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.58.1" +version = "0.59.0" dependencies = [ "napi", "napi-build", @@ -2243,7 +2243,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.58.1" +version = "0.59.0" dependencies = [ "base64", "compact_str", @@ -2277,7 +2277,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.58.1" +version = "0.59.0" dependencies = [ "compact_str", "itoa", diff --git a/Cargo.toml b/Cargo.toml index 4c5a5552b2bed..9305edeb9070b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -103,30 +103,30 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.58.1", path = "crates/oxc" } -oxc_allocator = { version = "0.58.1", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.58.1", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.58.1", path = "crates/oxc_ast_macros" } -oxc_ast_visit = { version = "0.58.1", path = "crates/oxc_ast_visit" } -oxc_cfg = { version = "0.58.1", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.58.1", path = "crates/oxc_codegen" } -oxc_data_structures = { version = "0.58.1", path = "crates/oxc_data_structures" } -oxc_diagnostics = { version = "0.58.1", path = "crates/oxc_diagnostics" } -oxc_ecmascript = { version = "0.58.1", path = "crates/oxc_ecmascript" } -oxc_estree = { version = "0.58.1", path = "crates/oxc_estree" } -oxc_isolated_declarations = { version = "0.58.1", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.58.1", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.58.1", path = "crates/oxc_minifier" } -oxc_napi = { version = "0.58.1", path = "crates/oxc_napi" } -oxc_parser = { version = "0.58.1", path = "crates/oxc_parser" } -oxc_parser_napi = { version = "0.58.1", path = "napi/parser" } -oxc_regular_expression = { version = "0.58.1", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.58.1", path = "crates/oxc_semantic" } -oxc_span = { version = "0.58.1", path = "crates/oxc_span" } -oxc_syntax = { version = "0.58.1", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.58.1", path = "napi/transform" } -oxc_transformer = { version = "0.58.1", path = "crates/oxc_transformer" } -oxc_traverse = { version = "0.58.1", path = "crates/oxc_traverse" } +oxc = { version = "0.59.0", path = "crates/oxc" } +oxc_allocator = { version = "0.59.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.59.0", path = "crates/oxc_ast" } +oxc_ast_macros = { version = "0.59.0", path = "crates/oxc_ast_macros" } +oxc_ast_visit = { version = "0.59.0", path = "crates/oxc_ast_visit" } +oxc_cfg = { version = "0.59.0", path = "crates/oxc_cfg" } +oxc_codegen = { version = "0.59.0", path = "crates/oxc_codegen" } +oxc_data_structures = { version = "0.59.0", path = "crates/oxc_data_structures" } +oxc_diagnostics = { version = "0.59.0", path = "crates/oxc_diagnostics" } +oxc_ecmascript = { version = "0.59.0", path = "crates/oxc_ecmascript" } +oxc_estree = { version = "0.59.0", path = "crates/oxc_estree" } +oxc_isolated_declarations = { version = "0.59.0", path = "crates/oxc_isolated_declarations" } +oxc_mangler = { version = "0.59.0", path = "crates/oxc_mangler" } +oxc_minifier = { version = "0.59.0", path = "crates/oxc_minifier" } +oxc_napi = { version = "0.59.0", path = "crates/oxc_napi" } +oxc_parser = { version = "0.59.0", path = "crates/oxc_parser" } +oxc_parser_napi = { version = "0.59.0", path = "napi/parser" } +oxc_regular_expression = { version = "0.59.0", path = "crates/oxc_regular_expression" } +oxc_semantic = { version = "0.59.0", path = "crates/oxc_semantic" } +oxc_span = { version = "0.59.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.59.0", path = "crates/oxc_syntax" } +oxc_transform_napi = { version = "0.59.0", path = "napi/transform" } +oxc_transformer = { version = "0.59.0", path = "crates/oxc_transformer" } +oxc_traverse = { version = "0.59.0", path = "crates/oxc_traverse" } # publish = false oxc_linter = { path = "crates/oxc_linter" } diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 275e87b30d246..b7a1af0515122 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.58.1" +version = "0.59.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 336af33a4099e..fda74f4b27904 100644 --- a/crates/oxc_allocator/CHANGELOG.md +++ b/crates/oxc_allocator/CHANGELOG.md @@ -4,6 +4,23 @@ 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.59.0] - 2025-03-18 + +### Features + +- 65643bc allocator: Remove drop operations from Vec2 (#9679) (Dunqing) +- 5cc614a allocator: Replace allocator_ap2's Vec with Vec2 (#9656) (Dunqing) +- caa477c allocator/vec: Remove `ManuallyDrop` wrapper (#9742) (Dunqing) + +### Performance + +- 17a9320 allocator/vec2: Optimize reserving memory (#9792) (Dunqing) + +### Refactor + +- d13817e allocator: Improve safety of `String::from_utf8_unchecked` (#9772) (overlookmotel) +- a1a8b93 allocator/vec: Add comment about lifetime bound on `CloneIn` for `Vec` (#9771) (overlookmotel) + ## [0.58.0] - 2025-03-13 - f2b0cc1 allocator: [**BREAKING**] Remove `Vec::into_boxed_slice` method (#9735) (Dunqing) diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index 4b87e75394fb9..8300ec7594eba 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.58.1" +version = "0.59.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 bd916fe331979..42c76e7fb5181 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/CHANGELOG.md @@ -4,6 +4,25 @@ 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.59.0] - 2025-03-18 + +- 3d17860 ast: [**BREAKING**] Reorder fields of `TemplateElement` (#9821) (overlookmotel) + +- ce6808a parser: [**BREAKING**] Rename `type_parameters` to `type_arguments` where needed (#9815) (hi-ogawa) + +### Features + +- db946e6 ast/estree: Order TS fields last by default (#9820) (overlookmotel) + +### Bug Fixes + +- 3f858c4 ast/estree: Add `directive` field to `ExpressionStatement` in TS AST (#9844) (overlookmotel) +- cd18358 ast/extree: Fix `Class.implements` (#9817) (hi-ogawa) +- 8abb4f6 parser: Correctly set `export_kind` for `ExportNamedDeclaration` (#9827) (camc314) + +### Refactor + + ## [0.58.1] - 2025-03-13 ### Bug Fixes diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index bf4f3c87b0b6b..2f951462640b2 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.58.1" +version = "0.59.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 c67710931b781..d4185f15d68da 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.58.1" +version = "0.59.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 720b4cc92bcaf..7cbea4c7b6ae1 100644 --- a/crates/oxc_ast_visit/CHANGELOG.md +++ b/crates/oxc_ast_visit/CHANGELOG.md @@ -4,6 +4,13 @@ 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.59.0] - 2025-03-18 + +- ce6808a parser: [**BREAKING**] Rename `type_parameters` to `type_arguments` where needed (#9815) (hi-ogawa) + +### Bug Fixes + + ## [0.58.0] - 2025-03-13 ### Bug Fixes diff --git a/crates/oxc_ast_visit/Cargo.toml b/crates/oxc_ast_visit/Cargo.toml index f4ff45a90b44b..41e771428e49f 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.58.1" +version = "0.59.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 b564ea6636345..84481b88a544a 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.58.1" +version = "0.59.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 f224b109f6378..18b327704ab94 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/CHANGELOG.md @@ -4,6 +4,15 @@ 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.59.0] - 2025-03-18 + +- ce6808a parser: [**BREAKING**] Rename `type_parameters` to `type_arguments` where needed (#9815) (hi-ogawa) + +### Bug Fixes + +- a113f7e parser: Error when `}` and `>` appear in `JSXText` (#9777) (Boshen) +- 8abb4f6 parser: Correctly set `export_kind` for `ExportNamedDeclaration` (#9827) (camc314) + ## [0.58.0] - 2025-03-13 ### Bug Fixes diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index 548f4aea1df3f..22721355abca9 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.58.1" +version = "0.59.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 c4ff7c151b86a..5017277cc20f4 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.58.1" +version = "0.59.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 d50c284a659f4..1ea0df4f3dfba 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.58.1" +version = "0.59.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 9042d95fa3756..220043106fb05 100644 --- a/crates/oxc_ecmascript/Cargo.toml +++ b/crates/oxc_ecmascript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ecmascript" -version = "0.58.1" +version = "0.59.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 3b8feb91adb6a..a2f32a60623fc 100644 --- a/crates/oxc_estree/Cargo.toml +++ b/crates/oxc_estree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_estree" -version = "0.58.1" +version = "0.59.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 c04d857ecaa95..f1d05e374765b 100644 --- a/crates/oxc_isolated_declarations/CHANGELOG.md +++ b/crates/oxc_isolated_declarations/CHANGELOG.md @@ -4,6 +4,13 @@ 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.59.0] - 2025-03-18 + +- ce6808a parser: [**BREAKING**] Rename `type_parameters` to `type_arguments` where needed (#9815) (hi-ogawa) + +### Bug Fixes + + ## [0.58.0] - 2025-03-13 ### Refactor diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index 0bdb1db121630..f0f65942e5ab8 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.58.1" +version = "0.59.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 584293a02f3ef..ed33157a465e4 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.58.1" +version = "0.59.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 dc67abcf50b79..31c3ec2ca1e97 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/CHANGELOG.md @@ -4,6 +4,17 @@ 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.59.0] - 2025-03-18 + +- 3d17860 ast: [**BREAKING**] Reorder fields of `TemplateElement` (#9821) (overlookmotel) + +### Bug Fixes + +- f707d1f parser: Set kind of var_declarator correctly for using decl (#9753) (camc314) + +### Refactor + + ## [0.58.0] - 2025-03-13 ### Documentation diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index deba9e464c5ce..d9b79b71d5030 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.58.1" +version = "0.59.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 efffc3c8bcdc5..329a9f822a70a 100644 --- a/crates/oxc_napi/Cargo.toml +++ b/crates/oxc_napi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_napi" -version = "0.58.1" +version = "0.59.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 0f05e6ce673ac..fc8864ee3ad06 100644 --- a/crates/oxc_parser/CHANGELOG.md +++ b/crates/oxc_parser/CHANGELOG.md @@ -4,6 +4,24 @@ 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.59.0] - 2025-03-18 + +- 3d17860 ast: [**BREAKING**] Reorder fields of `TemplateElement` (#9821) (overlookmotel) + +### Bug Fixes + +- a113f7e parser: Error when `}` and `>` appear in `JSXText` (#9777) (Boshen) +- 8abb4f6 parser: Correctly set `export_kind` for `ExportNamedDeclaration` (#9827) (camc314) +- f707d1f parser: Set kind of var_declarator correctly for using decl (#9753) (camc314) + +### Performance + +- 6fc26db lexer: Mark error case as cold branch when parsing `JSXText` (#9831) (overlookmotel) + +### Refactor + +- 3945385 parser: Simplify parsing extends clause (#9773) (Dunqing) + ## [0.58.0] - 2025-03-13 - 842edd8 ast: [**BREAKING**] Add `raw` property to `JSXText` node (#9641) (Yuji Sugiura) diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index 6d4f1de1f681b..11ca185432443 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.58.1" +version = "0.59.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 376d5860d95fe..abf2eac54e62a 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.58.1" +version = "0.59.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 4c7b5f5ba4181..5768a77a12c59 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/CHANGELOG.md @@ -4,6 +4,13 @@ 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.59.0] - 2025-03-18 + +- ce6808a parser: [**BREAKING**] Rename `type_parameters` to `type_arguments` where needed (#9815) (hi-ogawa) + +### Bug Fixes + + ## [0.57.0] - 2025-03-11 - b0d979d semantic: [**BREAKING**] Make `Scoping::references` private (#9629) (Boshen) diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index 166374cc032b4..fe83decaabb4c 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.58.1" +version = "0.59.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 3a9ba9f97ed6e..1bd0da4a19446 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.58.1" +version = "0.59.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index 7c50f369b219b..aba02283d9688 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.58.1" +version = "0.59.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 4117c74549867..460f14fc0fd9d 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/CHANGELOG.md @@ -4,6 +4,18 @@ 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.59.0] - 2025-03-18 + +- ce6808a parser: [**BREAKING**] Rename `type_parameters` to `type_arguments` where needed (#9815) (hi-ogawa) + +### Bug Fixes + + +### Refactor + +- 43e8efd transformer/using: Remove use of child scope ids in enter_program (#9748) (camc314) +- bda4b9a traverse: Add `TraverseCtx::insert_scope_below_statements` (#9757) (overlookmotel) + ## [0.58.1] - 2025-03-13 ### Features diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index 4532c280e6457..022108bce5bb5 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.58.1" +version = "0.59.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 b9f1c9e4a3e89..98caca9c79fd8 100644 --- a/crates/oxc_traverse/CHANGELOG.md +++ b/crates/oxc_traverse/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.59.0] - 2025-03-18 + +- ce6808a parser: [**BREAKING**] Rename `type_parameters` to `type_arguments` where needed (#9815) (hi-ogawa) + +### Bug Fixes + + +### Refactor + +- 43e8efd transformer/using: Remove use of child scope ids in enter_program (#9748) (camc314) +- 1d60e85 traverse: Use `ArenaBox` alias (#9759) (overlookmotel) +- bda4b9a traverse: Add `TraverseCtx::insert_scope_below_statements` (#9757) (overlookmotel) +- d7dda5c traverse: Add doc comment for `TraverseScoping::insert_scope_below_statements` and rename var (#9756) (overlookmotel) + ## [0.58.0] - 2025-03-13 ### Bug Fixes diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 3fde723b1d134..46db8963cbdb0 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.58.1" +version = "0.59.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/minify/CHANGELOG.md b/napi/minify/CHANGELOG.md index 846da3dd60305..7ab120f007185 100644 --- a/napi/minify/CHANGELOG.md +++ b/napi/minify/CHANGELOG.md @@ -4,6 +4,12 @@ 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.59.0] - 2025-03-18 + +### Performance + +- 84fa538 minify: Use mimalloc-safe to replace mimalloc (#9810) (LongYinan) + ## [0.58.0] - 2025-03-13 ### Documentation diff --git a/napi/minify/package.json b/napi/minify/package.json index db04240f0da1b..97b4c2bdf5214 100644 --- a/napi/minify/package.json +++ b/napi/minify/package.json @@ -1,6 +1,6 @@ { "name": "oxc-minify", - "version": "0.58.1", + "version": "0.59.0", "main": "index.js", "browser": "browser.js", "scripts": { diff --git a/napi/parser/CHANGELOG.md b/napi/parser/CHANGELOG.md index 091bcc8b836ce..2e2257b433b89 100644 --- a/napi/parser/CHANGELOG.md +++ b/napi/parser/CHANGELOG.md @@ -4,6 +4,52 @@ 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.59.0] - 2025-03-18 + +- 3d17860 ast: [**BREAKING**] Reorder fields of `TemplateElement` (#9821) (overlookmotel) + +- ce6808a parser: [**BREAKING**] Rename `type_parameters` to `type_arguments` where needed (#9815) (hi-ogawa) + +### Features + +- db946e6 ast/estree: Order TS fields last by default (#9820) (overlookmotel) +- 06518ae napi/parser: `JSON.parse` the returned AST in wasm (#9630) (Boshen) + +### Bug Fixes + +- 3f858c4 ast/estree: Add `directive` field to `ExpressionStatement` in TS AST (#9844) (overlookmotel) +- cd18358 ast/extree: Fix `Class.implements` (#9817) (hi-ogawa) + +### Refactor + + +### Testing + +- 48bac92 napi/parser: Test wasi browser (#9793) (Hiroshi Ogawa) + +## [0.59.0] - 2025-03-18 + +- 3d17860 ast: [**BREAKING**] Reorder fields of `TemplateElement` (#9821) (overlookmotel) + +- ce6808a parser: [**BREAKING**] Rename `type_parameters` to `type_arguments` where needed (#9815) (hi-ogawa) + +### Features + +- db946e6 ast/estree: Order TS fields last by default (#9820) (overlookmotel) +- 06518ae napi/parser: `JSON.parse` the returned AST in wasm (#9630) (Boshen) + +### Bug Fixes + +- 3f858c4 ast/estree: Add `directive` field to `ExpressionStatement` in TS AST (#9844) (overlookmotel) +- cd18358 ast/extree: Fix `Class.implements` (#9817) (hi-ogawa) + +### Refactor + + +### Testing + +- 48bac92 napi/parser: Test wasi browser (#9793) (Hiroshi Ogawa) + ## [0.58.1] - 2025-03-13 ### Bug Fixes diff --git a/napi/parser/Cargo.toml b/napi/parser/Cargo.toml index 94dc48412370e..1210dee672ae7 100644 --- a/napi/parser/Cargo.toml +++ b/napi/parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser_napi" -version = "0.58.1" +version = "0.59.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/parser/package.json b/napi/parser/package.json index a6d9f3e3ebf75..0f344f0258561 100644 --- a/napi/parser/package.json +++ b/napi/parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.58.1", + "version": "0.59.0", "main": "index.js", "browser": "wasm.mjs", "scripts": { diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index db3197ea236e2..c71e8d368533b 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.58.1" +version = "0.59.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/transform/package.json b/napi/transform/package.json index 4fe757b7360aa..b656c5581600e 100644 --- a/napi/transform/package.json +++ b/napi/transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.58.1", + "version": "0.59.0", "main": "index.js", "browser": "browser.js", "scripts": { diff --git a/npm/oxc-types/CHANGELOG.md b/npm/oxc-types/CHANGELOG.md index 4675dec214bd4..1767feec56023 100644 --- a/npm/oxc-types/CHANGELOG.md +++ b/npm/oxc-types/CHANGELOG.md @@ -4,6 +4,19 @@ 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.59.0] - 2025-03-18 + +- ce6808a parser: [**BREAKING**] Rename `type_parameters` to `type_arguments` where needed (#9815) (hi-ogawa) + +### Features + +- db946e6 ast/estree: Order TS fields last by default (#9820) (overlookmotel) + +### Bug Fixes + +- 3f858c4 ast/estree: Add `directive` field to `ExpressionStatement` in TS AST (#9844) (overlookmotel) +- cd18358 ast/extree: Fix `Class.implements` (#9817) (hi-ogawa) + ## [0.58.1] - 2025-03-13 ### Bug Fixes diff --git a/npm/oxc-types/package.json b/npm/oxc-types/package.json index e2ebf9bf0ea6e..4d6b6c253ef2a 100644 --- a/npm/oxc-types/package.json +++ b/npm/oxc-types/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/types", - "version": "0.58.1", + "version": "0.59.0", "description": "Types for Oxc AST nodes", "keywords": [ "AST", diff --git a/npm/runtime/package.json b/npm/runtime/package.json index 7e13b5a4ce5f9..425359b9ad54a 100644 --- a/npm/runtime/package.json +++ b/npm/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/runtime", - "version": "0.58.1", + "version": "0.59.0", "description": "Oxc's modular runtime helpers", "license": "MIT", "repository": { diff --git a/wasm/parser/package.json b/wasm/parser/package.json index 4af1bf184049b..b33fe4e261270 100644 --- a/wasm/parser/package.json +++ b/wasm/parser/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-parser/wasm", - "version": "0.58.1", + "version": "0.59.0", "description": "Wasm target for the oxc parser.", "keywords": [ "JavaScript",