From 1af42fcb6ec75e7f389c2b24512ce4879b3510d6 Mon Sep 17 00:00:00 2001 From: Boshen <1430279+Boshen@users.noreply.github.com> Date: Tue, 14 Jan 2025 11:38:11 +0000 Subject: [PATCH] release(crates): v0.46.0 --- Cargo.lock | 46 +++++++++---------- Cargo.toml | 46 +++++++++---------- crates/oxc/Cargo.toml | 2 +- crates/oxc_allocator/Cargo.toml | 2 +- crates/oxc_ast/CHANGELOG.md | 7 +++ crates/oxc_ast/Cargo.toml | 2 +- crates/oxc_ast_macros/Cargo.toml | 2 +- crates/oxc_cfg/Cargo.toml | 2 +- crates/oxc_codegen/CHANGELOG.md | 6 +++ crates/oxc_codegen/Cargo.toml | 2 +- crates/oxc_data_structures/Cargo.toml | 2 +- crates/oxc_diagnostics/Cargo.toml | 2 +- crates/oxc_ecmascript/CHANGELOG.md | 6 +++ crates/oxc_ecmascript/Cargo.toml | 2 +- crates/oxc_estree/Cargo.toml | 2 +- crates/oxc_isolated_declarations/CHANGELOG.md | 8 ++++ crates/oxc_isolated_declarations/Cargo.toml | 2 +- crates/oxc_mangler/CHANGELOG.md | 8 ++++ crates/oxc_mangler/Cargo.toml | 2 +- crates/oxc_minifier/CHANGELOG.md | 20 ++++++++ crates/oxc_minifier/Cargo.toml | 2 +- crates/oxc_napi/Cargo.toml | 2 +- crates/oxc_parser/Cargo.toml | 2 +- crates/oxc_regular_expression/CHANGELOG.md | 7 +++ crates/oxc_regular_expression/Cargo.toml | 2 +- crates/oxc_semantic/Cargo.toml | 2 +- crates/oxc_span/CHANGELOG.md | 10 ++++ crates/oxc_span/Cargo.toml | 2 +- crates/oxc_syntax/CHANGELOG.md | 7 +++ crates/oxc_syntax/Cargo.toml | 2 +- crates/oxc_transformer/CHANGELOG.md | 13 ++++++ crates/oxc_transformer/Cargo.toml | 2 +- crates/oxc_traverse/Cargo.toml | 2 +- napi/parser/Cargo.toml | 2 +- napi/transform/CHANGELOG.md | 6 +++ napi/transform/Cargo.toml | 2 +- npm/oxc-parser/package.json | 2 +- npm/oxc-transform/package.json | 2 +- npm/oxc-types/package.json | 2 +- wasm/parser/package.json | 2 +- 40 files changed, 171 insertions(+), 73 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7d26d97d0926d..96278d3fb0138 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1468,7 +1468,7 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56" [[package]] name = "oxc" -version = "0.45.0" +version = "0.46.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1530,7 +1530,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.45.0" +version = "0.46.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1541,7 +1541,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.45.0" +version = "0.46.0" dependencies = [ "bitflags 2.7.0", "cow-utils", @@ -1559,7 +1559,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.45.0" +version = "0.46.0" dependencies = [ "proc-macro2", "quote", @@ -1608,7 +1608,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.45.0" +version = "0.46.0" dependencies = [ "bitflags 2.7.0", "itertools", @@ -1621,7 +1621,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.45.0" +version = "0.46.0" dependencies = [ "assert-unchecked", "base64", @@ -1683,7 +1683,7 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.45.0" +version = "0.46.0" dependencies = [ "assert-unchecked", "ropey", @@ -1691,7 +1691,7 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.45.0" +version = "0.46.0" dependencies = [ "oxc-miette", "rustc-hash", @@ -1699,7 +1699,7 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.45.0" +version = "0.46.0" dependencies = [ "num-bigint", "num-traits", @@ -1710,7 +1710,7 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.45.0" +version = "0.46.0" dependencies = [ "serde", ] @@ -1727,7 +1727,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.45.0" +version = "0.46.0" dependencies = [ "bitflags 2.7.0", "insta", @@ -1827,7 +1827,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.45.0" +version = "0.46.0" dependencies = [ "compact_str", "itertools", @@ -1841,7 +1841,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.45.0" +version = "0.46.0" dependencies = [ "cow-utils", "insta", @@ -1896,7 +1896,7 @@ dependencies = [ [[package]] name = "oxc_napi" -version = "0.45.0" +version = "0.46.0" dependencies = [ "napi", "napi-derive", @@ -1905,7 +1905,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.45.0" +version = "0.46.0" dependencies = [ "assert-unchecked", "bitflags 2.7.0", @@ -1928,7 +1928,7 @@ dependencies = [ [[package]] name = "oxc_parser_napi" -version = "0.45.0" +version = "0.46.0" dependencies = [ "napi", "napi-build", @@ -1987,7 +1987,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.45.0" +version = "0.46.0" dependencies = [ "oxc_allocator", "oxc_ast_macros", @@ -2021,7 +2021,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.45.0" +version = "0.46.0" dependencies = [ "assert-unchecked", "hashbrown 0.15.2", @@ -2062,7 +2062,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.45.0" +version = "0.46.0" dependencies = [ "compact_str", "oxc-miette", @@ -2075,7 +2075,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.45.0" +version = "0.46.0" dependencies = [ "assert-unchecked", "bitflags 2.7.0", @@ -2134,7 +2134,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.45.0" +version = "0.46.0" dependencies = [ "napi", "napi-build", @@ -2147,7 +2147,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.45.0" +version = "0.46.0" dependencies = [ "base64", "compact_str", @@ -2180,7 +2180,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.45.0" +version = "0.46.0" dependencies = [ "compact_str", "itoa", diff --git a/Cargo.toml b/Cargo.toml index a285c7a550915..2a7efedbe002a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -79,29 +79,29 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.45.0", path = "crates/oxc" } -oxc_allocator = { version = "0.45.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.45.0", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.45.0", path = "crates/oxc_ast_macros" } -oxc_cfg = { version = "0.45.0", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.45.0", path = "crates/oxc_codegen" } -oxc_data_structures = { version = "0.45.0", path = "crates/oxc_data_structures" } -oxc_diagnostics = { version = "0.45.0", path = "crates/oxc_diagnostics" } -oxc_ecmascript = { version = "0.45.0", path = "crates/oxc_ecmascript" } -oxc_estree = { version = "0.45.0", path = "crates/oxc_estree" } -oxc_isolated_declarations = { version = "0.45.0", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.45.0", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.45.0", path = "crates/oxc_minifier" } -oxc_napi = { version = "0.45.0", path = "crates/oxc_napi" } -oxc_parser = { version = "0.45.0", path = "crates/oxc_parser" } -oxc_parser_napi = { version = "0.45.0", path = "napi/parser" } -oxc_regular_expression = { version = "0.45.0", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.45.0", path = "crates/oxc_semantic" } -oxc_span = { version = "0.45.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.45.0", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.45.0", path = "napi/transform" } -oxc_transformer = { version = "0.45.0", path = "crates/oxc_transformer" } -oxc_traverse = { version = "0.45.0", path = "crates/oxc_traverse" } +oxc = { version = "0.46.0", path = "crates/oxc" } +oxc_allocator = { version = "0.46.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.46.0", path = "crates/oxc_ast" } +oxc_ast_macros = { version = "0.46.0", path = "crates/oxc_ast_macros" } +oxc_cfg = { version = "0.46.0", path = "crates/oxc_cfg" } +oxc_codegen = { version = "0.46.0", path = "crates/oxc_codegen" } +oxc_data_structures = { version = "0.46.0", path = "crates/oxc_data_structures" } +oxc_diagnostics = { version = "0.46.0", path = "crates/oxc_diagnostics" } +oxc_ecmascript = { version = "0.46.0", path = "crates/oxc_ecmascript" } +oxc_estree = { version = "0.46.0", path = "crates/oxc_estree" } +oxc_isolated_declarations = { version = "0.46.0", path = "crates/oxc_isolated_declarations" } +oxc_mangler = { version = "0.46.0", path = "crates/oxc_mangler" } +oxc_minifier = { version = "0.46.0", path = "crates/oxc_minifier" } +oxc_napi = { version = "0.46.0", path = "crates/oxc_napi" } +oxc_parser = { version = "0.46.0", path = "crates/oxc_parser" } +oxc_parser_napi = { version = "0.46.0", path = "napi/parser" } +oxc_regular_expression = { version = "0.46.0", path = "crates/oxc_regular_expression" } +oxc_semantic = { version = "0.46.0", path = "crates/oxc_semantic" } +oxc_span = { version = "0.46.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.46.0", path = "crates/oxc_syntax" } +oxc_transform_napi = { version = "0.46.0", path = "napi/transform" } +oxc_transformer = { version = "0.46.0", path = "crates/oxc_transformer" } +oxc_traverse = { version = "0.46.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 866747d3bd17c..5dd05d3289f39 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.45.0" +version = "0.46.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index a244060b8353c..3f2b2c0ce2bf3 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.45.0" +version = "0.46.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 85c8cac595e6d..efd3583679820 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/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.46.0] - 2025-01-14 + +- 7eb6ccd ast: [**BREAKING**] Remove unused and not useful `ContentHash` (#8483) (Boshen) + +### Features + + ## [0.45.0] - 2025-01-11 - 7f69561 ast: [**BREAKING**] `oxc_ast` do not export `BigUint` (#8428) (overlookmotel) diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index ce9e3745a4f3f..eb5fb98f820f1 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.45.0" +version = "0.46.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 b9ab5749fd29d..d26acc5beb20a 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.45.0" +version = "0.46.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 9a3173b5c5f36..8d07faf12294d 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.45.0" +version = "0.46.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 f47cfe769e688..a3082601838ef 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/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.46.0] - 2025-01-14 + +### Refactor + +- 6e64eef codegen: Remove `match_expression!` (#8450) (Boshen) + ## [0.45.0] - 2025-01-11 ### Features diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index 632782e03af18..9bab7eddd5d4f 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.45.0" +version = "0.46.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 8ccf44cbad1d2..cfa89a90597f0 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.45.0" +version = "0.46.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 870ca995f0275..7afce7406f573 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.45.0" +version = "0.46.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ecmascript/CHANGELOG.md b/crates/oxc_ecmascript/CHANGELOG.md index df4b9777cdccc..ecdf21ecfb3e5 100644 --- a/crates/oxc_ecmascript/CHANGELOG.md +++ b/crates/oxc_ecmascript/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.46.0] - 2025-01-14 + +### Bug Fixes + +- 1d6e84d minifier: Fix incorrect `null.toString()` and `1n.toString()` (#8464) (Boshen) + ## [0.45.0] - 2025-01-11 ### Features diff --git a/crates/oxc_ecmascript/Cargo.toml b/crates/oxc_ecmascript/Cargo.toml index 6d435ee50fd6d..5d93bb2781bbd 100644 --- a/crates/oxc_ecmascript/Cargo.toml +++ b/crates/oxc_ecmascript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ecmascript" -version = "0.45.0" +version = "0.46.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 edda9b7a6acc9..582497adcf879 100644 --- a/crates/oxc_estree/Cargo.toml +++ b/crates/oxc_estree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_estree" -version = "0.45.0" +version = "0.46.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 de2095126d69b..822eb68ab0800 100644 --- a/crates/oxc_isolated_declarations/CHANGELOG.md +++ b/crates/oxc_isolated_declarations/CHANGELOG.md @@ -4,6 +4,14 @@ 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.46.0] - 2025-01-14 + +### Bug Fixes + +- 4071878 isolated-declarations: Retain `declare` declarations when they are exported (#8477) (Dunqing) +- 7ee7634 isolated-declarations: Import statement disappears when import binding is referenced in nested `typeof` (#8476) (Dunqing) +- 7252cb0 isolated-declarations: Unexpected error when global `Symbol` as property key (#8475) (Dunqing) + ## [0.45.0] - 2025-01-11 ### Refactor diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index 206b45d0f9c3f..f0656f5d5ef47 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.45.0" +version = "0.46.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_mangler/CHANGELOG.md b/crates/oxc_mangler/CHANGELOG.md index 8210a5ed627a9..0d419d2d85be1 100644 --- a/crates/oxc_mangler/CHANGELOG.md +++ b/crates/oxc_mangler/CHANGELOG.md @@ -4,6 +4,14 @@ 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.46.0] - 2025-01-14 + +### Performance + +- 7a8200c mangler: Allocate base54 name without heap allocation (#8472) (Boshen) +- 31dac22 mangler: Allocate data in arena (#8471) (Boshen) +- 372eb09 minifier: Preallocate mangler's semantic data (#8451) (Boshen) + ## [0.45.0] - 2025-01-11 ### Bug Fixes diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index 4fde45906e2c6..a65d83a1116be 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.45.0" +version = "0.46.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 9a475f4c6d17d..e48b73626e154 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/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.46.0] - 2025-01-14 + +### Features + +- 8accfef minifier: Minify `var x; void x` -> `void 0` (#8466) (Boshen) +- 870a583 minifier: Fold `false['toString']` (#8447) (Boshen) +- 4ad695d napi/minify: Implement napi (#8478) (Boshen) + +### Bug Fixes + +- 4c6675c minifier: Do not convert while to fors in DCE (#8484) (Boshen) +- 1d6e84d minifier: Fix incorrect `null.toString()` and `1n.toString()` (#8464) (Boshen) +- 25d4bf9 minifier: Remove usage of empty spans (#8462) (Boshen) +- dd64340 minifier: Keep `return undefined` in async generator function (#8439) (Boshen) + +### Performance + +- 8fc238a minifier: Merge `Normalize` and `RemoveSyntax` pass (#8467) (Boshen) +- 372eb09 minifier: Preallocate mangler's semantic data (#8451) (Boshen) + ## [0.45.0] - 2025-01-11 ### Features diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index d63440c9f3cae..dfa05132af9d4 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.45.0" +version = "0.46.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 2d62395650363..137324187c5af 100644 --- a/crates/oxc_napi/Cargo.toml +++ b/crates/oxc_napi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_napi" -version = "0.45.0" +version = "0.46.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index 20370daed31e4..feb86f2dae816 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.45.0" +version = "0.46.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_regular_expression/CHANGELOG.md b/crates/oxc_regular_expression/CHANGELOG.md index fbf7c5c98c5cf..83cc16ba1cd78 100644 --- a/crates/oxc_regular_expression/CHANGELOG.md +++ b/crates/oxc_regular_expression/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.46.0] - 2025-01-14 + +- 7eb6ccd ast: [**BREAKING**] Remove unused and not useful `ContentHash` (#8483) (Boshen) + +### Features + + ## [0.42.0] - 2024-12-18 ### Refactor diff --git a/crates/oxc_regular_expression/Cargo.toml b/crates/oxc_regular_expression/Cargo.toml index 61bde05d99401..fd64fb8725a57 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.45.0" +version = "0.46.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index 6194f84440fe6..c2381f31888de 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.45.0" +version = "0.46.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_span/CHANGELOG.md b/crates/oxc_span/CHANGELOG.md index c326e98bcdbf4..a022976725f0a 100644 --- a/crates/oxc_span/CHANGELOG.md +++ b/crates/oxc_span/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.46.0] - 2025-01-14 + +### Features + +- 9d550aa span: Add `Atom::r#static` (#8479) (_Kerman) + +### Refactor + +- de5b288 span: Rename `Atom::new_const` method (#8480) (overlookmotel) + ## [0.45.0] - 2025-01-11 ### Styling diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index b05b2db3281d4..4246a915e72e1 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.45.0" +version = "0.46.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 4cf6e3e389955..4db81428ef783 100644 --- a/crates/oxc_syntax/CHANGELOG.md +++ b/crates/oxc_syntax/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.46.0] - 2025-01-14 + +- 7eb6ccd ast: [**BREAKING**] Remove unused and not useful `ContentHash` (#8483) (Boshen) + +### Features + + ## [0.45.0] - 2025-01-11 ### Features diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index 0798a7bf81d65..53f4166a91729 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.45.0" +version = "0.46.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 d878e9ff42f0d..4e13eaf47cd5d 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/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.46.0] - 2025-01-14 + +### Bug Fixes + +- c444de8 transformer/arrow-functions: Transform `this` and `super` incorrectly in async arrow function (#8435) (Dunqing) +- 270245f transformer/typescript: Correct the semantic for TSImportEqualsDeclaration transformation (#8463) (Dunqing) +- 2a400d6 transformer/typescript: Retain TSImportEqualsDeclaration when it is exported (Dunqing) +- ab694b0 transformer/typescript: Retain `TSImportEqualsDeclaration` in `namespace` when its binding has been referenced or `onlyRemoveTypeImports` is true (#8458) (Dunqing) + +### Refactor + +- c83ce5c transformer/typescript: Improve transforming namespace (#8459) (Dunqing) + ## [0.45.0] - 2025-01-11 ### Features diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index bcd5d0a1208bb..dd0a8a5cd13cb 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.45.0" +version = "0.46.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 9ecfa579762b6..63c2357394107 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.45.0" +version = "0.46.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/parser/Cargo.toml b/napi/parser/Cargo.toml index 1dbc92b108165..c1437f0c473e7 100644 --- a/napi/parser/Cargo.toml +++ b/napi/parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser_napi" -version = "0.45.0" +version = "0.46.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/transform/CHANGELOG.md b/napi/transform/CHANGELOG.md index 8d00e2c2e7f73..5cc793730b621 100644 --- a/napi/transform/CHANGELOG.md +++ b/napi/transform/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.46.0] - 2025-01-14 + +### Features + +- 4ad695d napi/minify: Implement napi (#8478) (Boshen) + ## [0.45.0] - 2025-01-11 ### Bug Fixes diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index 07174c0ed3b7b..893fbbf368c80 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.45.0" +version = "0.46.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/npm/oxc-parser/package.json b/npm/oxc-parser/package.json index 48dbe699cdf78..6449ab1d3ec8f 100644 --- a/npm/oxc-parser/package.json +++ b/npm/oxc-parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.45.0", + "version": "0.46.0", "description": "Oxc Parser Node API", "keywords": [ "Parser" diff --git a/npm/oxc-transform/package.json b/npm/oxc-transform/package.json index 9dc34f09e7ac3..730e1d0723d9d 100644 --- a/npm/oxc-transform/package.json +++ b/npm/oxc-transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.45.0", + "version": "0.46.0", "description": "Oxc transform Node API", "keywords": [ "transform" diff --git a/npm/oxc-types/package.json b/npm/oxc-types/package.json index 91d8d020f02a2..2cdb1e249cd20 100644 --- a/npm/oxc-types/package.json +++ b/npm/oxc-types/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/types", - "version": "0.45.0", + "version": "0.46.0", "description": "Types for Oxc AST nodes", "keywords": [ "AST", diff --git a/wasm/parser/package.json b/wasm/parser/package.json index 9d2c9e0b64437..aa88744e7a594 100644 --- a/wasm/parser/package.json +++ b/wasm/parser/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-parser/wasm", - "version": "0.45.0", + "version": "0.46.0", "description": "Wasm target for the oxc parser.", "keywords": [ "JavaScript",