From f5510f323accc703bc4df8e81ad7888592cae175 Mon Sep 17 00:00:00 2001 From: Boshen <1430279+Boshen@users.noreply.github.com> Date: Sun, 21 Sep 2025 05:20:19 +0000 Subject: [PATCH] chore(release): crates) v0.91.0 --- Cargo.lock | 54 +++++----- Cargo.toml | 54 +++++----- crates/oxc/CHANGELOG.md | 1 + crates/oxc/Cargo.toml | 2 +- crates/oxc_allocator/CHANGELOG.md | 11 ++ crates/oxc_allocator/Cargo.toml | 2 +- crates/oxc_ast/CHANGELOG.md | 7 ++ crates/oxc_ast/Cargo.toml | 2 +- crates/oxc_ast_macros/CHANGELOG.md | 1 + crates/oxc_ast_macros/Cargo.toml | 2 +- crates/oxc_ast_visit/CHANGELOG.md | 7 ++ crates/oxc_ast_visit/Cargo.toml | 2 +- crates/oxc_cfg/CHANGELOG.md | 1 + crates/oxc_cfg/Cargo.toml | 2 +- crates/oxc_codegen/CHANGELOG.md | 1 + crates/oxc_codegen/Cargo.toml | 2 +- crates/oxc_compat/CHANGELOG.md | 13 +++ crates/oxc_compat/Cargo.toml | 2 +- crates/oxc_data_structures/CHANGELOG.md | 7 ++ crates/oxc_data_structures/Cargo.toml | 2 +- crates/oxc_diagnostics/CHANGELOG.md | 7 ++ crates/oxc_diagnostics/Cargo.toml | 2 +- crates/oxc_ecmascript/CHANGELOG.md | 1 + crates/oxc_ecmascript/Cargo.toml | 2 +- crates/oxc_estree/CHANGELOG.md | 1 + crates/oxc_estree/Cargo.toml | 2 +- crates/oxc_isolated_declarations/CHANGELOG.md | 1 + crates/oxc_isolated_declarations/Cargo.toml | 2 +- crates/oxc_mangler/CHANGELOG.md | 1 + crates/oxc_mangler/Cargo.toml | 2 +- crates/oxc_minifier/CHANGELOG.md | 22 ++++ crates/oxc_minifier/Cargo.toml | 2 +- crates/oxc_napi/CHANGELOG.md | 1 + crates/oxc_napi/Cargo.toml | 2 +- crates/oxc_parser/CHANGELOG.md | 11 ++ crates/oxc_parser/Cargo.toml | 2 +- crates/oxc_regular_expression/CHANGELOG.md | 1 + crates/oxc_regular_expression/Cargo.toml | 2 +- crates/oxc_semantic/CHANGELOG.md | 11 ++ crates/oxc_semantic/Cargo.toml | 2 +- crates/oxc_span/CHANGELOG.md | 1 + crates/oxc_span/Cargo.toml | 2 +- crates/oxc_syntax/CHANGELOG.md | 1 + crates/oxc_syntax/Cargo.toml | 2 +- crates/oxc_transformer/CHANGELOG.md | 7 ++ crates/oxc_transformer/Cargo.toml | 2 +- crates/oxc_transformer_plugins/CHANGELOG.md | 1 + crates/oxc_transformer_plugins/Cargo.toml | 2 +- crates/oxc_traverse/CHANGELOG.md | 1 + crates/oxc_traverse/Cargo.toml | 2 +- napi/minify/CHANGELOG.md | 22 ++++ napi/minify/Cargo.toml | 2 +- napi/minify/index.js | 100 +++++++++--------- napi/minify/package.json | 2 +- napi/parser/CHANGELOG.md | 38 +++++++ napi/parser/Cargo.toml | 2 +- napi/parser/package.json | 2 +- napi/parser/src-js/bindings.mjs | 100 +++++++++--------- napi/transform/CHANGELOG.md | 22 ++++ napi/transform/Cargo.toml | 2 +- napi/transform/index.js | 100 +++++++++--------- napi/transform/package.json | 2 +- npm/oxc-types/CHANGELOG.md | 1 + npm/oxc-types/package.json | 2 +- npm/runtime/CHANGELOG.md | 1 + npm/runtime/package.json | 2 +- 66 files changed, 437 insertions(+), 236 deletions(-) create mode 100644 crates/oxc_compat/CHANGELOG.md diff --git a/Cargo.lock b/Cargo.lock index 42f6d9a106831..58fcf93b6e9ad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1655,7 +1655,7 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e" [[package]] name = "oxc" -version = "0.90.0" +version = "0.91.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1732,7 +1732,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.90.0" +version = "0.91.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1747,7 +1747,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.90.0" +version = "0.91.0" dependencies = [ "bitflags 2.9.4", "oxc_allocator", @@ -1762,7 +1762,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.90.0" +version = "0.91.0" dependencies = [ "phf", "proc-macro2", @@ -1796,7 +1796,7 @@ dependencies = [ [[package]] name = "oxc_ast_visit" -version = "0.90.0" +version = "0.91.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1830,7 +1830,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.90.0" +version = "0.91.0" dependencies = [ "bitflags 2.9.4", "itertools", @@ -1843,7 +1843,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.90.0" +version = "0.91.0" dependencies = [ "bitflags 2.9.4", "cow-utils", @@ -1866,7 +1866,7 @@ dependencies = [ [[package]] name = "oxc_compat" -version = "0.90.0" +version = "0.91.0" dependencies = [ "cow-utils", "oxc-browserslist", @@ -1918,14 +1918,14 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.90.0" +version = "0.91.0" dependencies = [ "ropey", ] [[package]] name = "oxc_diagnostics" -version = "0.90.0" +version = "0.91.0" dependencies = [ "cow-utils", "oxc-miette", @@ -1934,7 +1934,7 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.90.0" +version = "0.91.0" dependencies = [ "cow-utils", "num-bigint", @@ -1947,7 +1947,7 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.90.0" +version = "0.91.0" dependencies = [ "dragonbox_ecma", "itoa", @@ -1981,7 +1981,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.90.0" +version = "0.91.0" dependencies = [ "bitflags 2.9.4", "insta", @@ -2093,7 +2093,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.90.0" +version = "0.91.0" dependencies = [ "itertools", "oxc_allocator", @@ -2108,7 +2108,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.90.0" +version = "0.91.0" dependencies = [ "cow-utils", "insta", @@ -2133,7 +2133,7 @@ dependencies = [ [[package]] name = "oxc_minify_napi" -version = "0.90.0" +version = "0.91.0" dependencies = [ "mimalloc-safe", "napi", @@ -2172,7 +2172,7 @@ dependencies = [ [[package]] name = "oxc_napi" -version = "0.90.0" +version = "0.91.0" dependencies = [ "napi", "napi-build", @@ -2186,7 +2186,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.90.0" +version = "0.91.0" dependencies = [ "bitflags 2.9.4", "cow-utils", @@ -2209,7 +2209,7 @@ dependencies = [ [[package]] name = "oxc_parser_napi" -version = "0.90.0" +version = "0.91.0" dependencies = [ "mimalloc-safe", "napi", @@ -2260,7 +2260,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.90.0" +version = "0.91.0" dependencies = [ "bitflags 2.9.4", "oxc_allocator", @@ -2308,7 +2308,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.90.0" +version = "0.91.0" dependencies = [ "insta", "itertools", @@ -2346,7 +2346,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.90.0" +version = "0.91.0" dependencies = [ "compact_str", "oxc-miette", @@ -2359,7 +2359,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.90.0" +version = "0.91.0" dependencies = [ "bitflags 2.9.4", "cow-utils", @@ -2433,7 +2433,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.90.0" +version = "0.91.0" dependencies = [ "mimalloc-safe", "napi", @@ -2447,7 +2447,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.90.0" +version = "0.91.0" dependencies = [ "base64", "compact_str", @@ -2478,7 +2478,7 @@ dependencies = [ [[package]] name = "oxc_transformer_plugins" -version = "0.90.0" +version = "0.91.0" dependencies = [ "cow-utils", "insta", @@ -2505,7 +2505,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.90.0" +version = "0.91.0" dependencies = [ "itoa", "oxc_allocator", diff --git a/Cargo.toml b/Cargo.toml index 54151904d39ad..9a9024195e921 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -103,33 +103,33 @@ multiple_crate_versions = "allow" [workspace.dependencies] # publish = true -oxc = { version = "0.90.0", path = "crates/oxc" } -oxc_allocator = { version = "0.90.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.90.0", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.90.0", path = "crates/oxc_ast_macros" } -oxc_ast_visit = { version = "0.90.0", path = "crates/oxc_ast_visit" } -oxc_cfg = { version = "0.90.0", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.90.0", path = "crates/oxc_codegen" } -oxc_compat = { version = "0.90.0", path = "crates/oxc_compat" } -oxc_data_structures = { version = "0.90.0", path = "crates/oxc_data_structures" } -oxc_diagnostics = { version = "0.90.0", path = "crates/oxc_diagnostics" } -oxc_ecmascript = { version = "0.90.0", path = "crates/oxc_ecmascript" } -oxc_estree = { version = "0.90.0", path = "crates/oxc_estree" } -oxc_isolated_declarations = { version = "0.90.0", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.90.0", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.90.0", path = "crates/oxc_minifier" } -oxc_minify_napi = { version = "0.90.0", path = "napi/minify" } -oxc_napi = { version = "0.90.0", path = "crates/oxc_napi" } -oxc_parser = { version = "0.90.0", path = "crates/oxc_parser", features = ["regular_expression"] } -oxc_parser_napi = { version = "0.90.0", path = "napi/parser" } -oxc_regular_expression = { version = "0.90.0", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.90.0", path = "crates/oxc_semantic" } -oxc_span = { version = "0.90.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.90.0", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.90.0", path = "napi/transform" } -oxc_transformer = { version = "0.90.0", path = "crates/oxc_transformer" } -oxc_transformer_plugins = { version = "0.90.0", path = "crates/oxc_transformer_plugins" } -oxc_traverse = { version = "0.90.0", path = "crates/oxc_traverse" } +oxc = { version = "0.91.0", path = "crates/oxc" } +oxc_allocator = { version = "0.91.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.91.0", path = "crates/oxc_ast" } +oxc_ast_macros = { version = "0.91.0", path = "crates/oxc_ast_macros" } +oxc_ast_visit = { version = "0.91.0", path = "crates/oxc_ast_visit" } +oxc_cfg = { version = "0.91.0", path = "crates/oxc_cfg" } +oxc_codegen = { version = "0.91.0", path = "crates/oxc_codegen" } +oxc_compat = { version = "0.91.0", path = "crates/oxc_compat" } +oxc_data_structures = { version = "0.91.0", path = "crates/oxc_data_structures" } +oxc_diagnostics = { version = "0.91.0", path = "crates/oxc_diagnostics" } +oxc_ecmascript = { version = "0.91.0", path = "crates/oxc_ecmascript" } +oxc_estree = { version = "0.91.0", path = "crates/oxc_estree" } +oxc_isolated_declarations = { version = "0.91.0", path = "crates/oxc_isolated_declarations" } +oxc_mangler = { version = "0.91.0", path = "crates/oxc_mangler" } +oxc_minifier = { version = "0.91.0", path = "crates/oxc_minifier" } +oxc_minify_napi = { version = "0.91.0", path = "napi/minify" } +oxc_napi = { version = "0.91.0", path = "crates/oxc_napi" } +oxc_parser = { version = "0.91.0", path = "crates/oxc_parser", features = ["regular_expression"] } +oxc_parser_napi = { version = "0.91.0", path = "napi/parser" } +oxc_regular_expression = { version = "0.91.0", path = "crates/oxc_regular_expression" } +oxc_semantic = { version = "0.91.0", path = "crates/oxc_semantic" } +oxc_span = { version = "0.91.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.91.0", path = "crates/oxc_syntax" } +oxc_transform_napi = { version = "0.91.0", path = "napi/transform" } +oxc_transformer = { version = "0.91.0", path = "crates/oxc_transformer" } +oxc_transformer_plugins = { version = "0.91.0", path = "crates/oxc_transformer_plugins" } +oxc_traverse = { version = "0.91.0", path = "crates/oxc_traverse" } # publish = false oxc_formatter = { path = "crates/oxc_formatter" } diff --git a/crates/oxc/CHANGELOG.md b/crates/oxc/CHANGELOG.md index 9e86987e945ca..ecd5acbdd6b0f 100644 --- a/crates/oxc/CHANGELOG.md +++ b/crates/oxc/CHANGELOG.md @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.88.0] - 2025-09-15 ### ⚡ Performance diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 51ad2f2596aa3..8052b832b9d65 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.90.0" +version = "0.91.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 9b6e2eff38ed3..4794043c5550d 100644 --- a/crates/oxc_allocator/CHANGELOG.md +++ b/crates/oxc_allocator/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). +## [0.91.0] - 2025-09-21 + +### 🚀 Features + +- a14aa79 npm/oxlint: Convert to ES modules (#13876) (Boshen) + +### 🐛 Bug Fixes + +- 91c88e2 allocator: Fix lint warning building WASM (#13897) (overlookmotel) + + ## [0.88.0] - 2025-09-15 diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index e8c46626975a2..893b52c20bc4f 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.90.0" +version = "0.91.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 7ad7061871c84..9d92d5387d45e 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). +## [0.91.0] - 2025-09-21 + +### 🚀 Features + +- a14aa79 npm/oxlint: Convert to ES modules (#13876) (Boshen) + + ## [0.90.0] - 2025-09-18 ### 🚀 Features diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index e2b4c5ffcc7e7..b66a754d7ba22 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.90.0" +version = "0.91.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_macros/CHANGELOG.md b/crates/oxc_ast_macros/CHANGELOG.md index 94f8e8eea54dd..c61f2f96c411c 100644 --- a/crates/oxc_ast_macros/CHANGELOG.md +++ b/crates/oxc_ast_macros/CHANGELOG.md @@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.82.3] - 2025-08-20 ### 🐛 Bug Fixes diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index 89b08b56dd20c..dab3dc1af54ce 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.90.0" +version = "0.91.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 2778dfcfb57bb..527093dbe1163 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). +## [0.91.0] - 2025-09-21 + +### 🚀 Features + +- a14aa79 npm/oxlint: Convert to ES modules (#13876) (Boshen) + + diff --git a/crates/oxc_ast_visit/Cargo.toml b/crates/oxc_ast_visit/Cargo.toml index 652cd24749f9c..dec878265920d 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.90.0" +version = "0.91.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_cfg/CHANGELOG.md b/crates/oxc_cfg/CHANGELOG.md index 74eb13b5134d4..21b1d66485dd8 100644 --- a/crates/oxc_cfg/CHANGELOG.md +++ b/crates/oxc_cfg/CHANGELOG.md @@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.82.0] - 2025-08-12 ### 🚜 Refactor diff --git a/crates/oxc_cfg/Cargo.toml b/crates/oxc_cfg/Cargo.toml index 315b2f43b9a82..896fc6a21e8c9 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.90.0" +version = "0.91.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 323d1bf57b836..65a11f7d826f6 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/CHANGELOG.md @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.88.0] - 2025-09-15 ### 🐛 Bug Fixes diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index 8807ade68cf3e..46604f3db673c 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.90.0" +version = "0.91.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_compat/CHANGELOG.md b/crates/oxc_compat/CHANGELOG.md new file mode 100644 index 0000000000000..85ccc9219c33d --- /dev/null +++ b/crates/oxc_compat/CHANGELOG.md @@ -0,0 +1,13 @@ +# Changelog + +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). + +## [0.91.0] - 2025-09-21 + +### 🚀 Features + +- d1a0d04 compat: Extract compatibility data to oxc_compat crate (#13932) (sapphi-red) + + diff --git a/crates/oxc_compat/Cargo.toml b/crates/oxc_compat/Cargo.toml index 437edd75b26cb..cd71d1dbad29b 100644 --- a/crates/oxc_compat/Cargo.toml +++ b/crates/oxc_compat/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_compat" -version = "0.90.0" +version = "0.91.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_data_structures/CHANGELOG.md b/crates/oxc_data_structures/CHANGELOG.md index 17c71cffdb525..98364139a30e2 100644 --- a/crates/oxc_data_structures/CHANGELOG.md +++ b/crates/oxc_data_structures/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). +## [0.91.0] - 2025-09-21 + +### 🚀 Features + +- f8feed1 data_structures: Add `advance_to_end` method to `SliceIter` trait (#13947) (overlookmotel) + + ## [0.88.0] - 2025-09-15 diff --git a/crates/oxc_data_structures/Cargo.toml b/crates/oxc_data_structures/Cargo.toml index 9c589c530ed83..3f4bd49e1111c 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.90.0" +version = "0.91.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_diagnostics/CHANGELOG.md b/crates/oxc_diagnostics/CHANGELOG.md index 33f309d79a737..099909e911f95 100644 --- a/crates/oxc_diagnostics/CHANGELOG.md +++ b/crates/oxc_diagnostics/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). +## [0.91.0] - 2025-09-21 + +### 🚀 Features + +- a14aa79 npm/oxlint: Convert to ES modules (#13876) (Boshen) + + ## [0.90.0] - 2025-09-18 ### 🐛 Bug Fixes diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index 51475909dee4e..f71db1c63d25d 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.90.0" +version = "0.91.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 4a535db7a10c2..1de401e6c2d3a 100644 --- a/crates/oxc_ecmascript/CHANGELOG.md +++ b/crates/oxc_ecmascript/CHANGELOG.md @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.86.0] - 2025-08-31 ### 🚀 Features diff --git a/crates/oxc_ecmascript/Cargo.toml b/crates/oxc_ecmascript/Cargo.toml index 5395514a8253d..51e7cf2a22134 100644 --- a/crates/oxc_ecmascript/Cargo.toml +++ b/crates/oxc_ecmascript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ecmascript" -version = "0.90.0" +version = "0.91.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_estree/CHANGELOG.md b/crates/oxc_estree/CHANGELOG.md index 53a9e49605949..28013fc79ca48 100644 --- a/crates/oxc_estree/CHANGELOG.md +++ b/crates/oxc_estree/CHANGELOG.md @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.88.0] - 2025-09-15 ### 🚜 Refactor diff --git a/crates/oxc_estree/Cargo.toml b/crates/oxc_estree/Cargo.toml index 991da48edcd80..87883e8c1e670 100644 --- a/crates/oxc_estree/Cargo.toml +++ b/crates/oxc_estree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_estree" -version = "0.90.0" +version = "0.91.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 f5d43b5911b55..a27c313f9e7c2 100644 --- a/crates/oxc_isolated_declarations/CHANGELOG.md +++ b/crates/oxc_isolated_declarations/CHANGELOG.md @@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.83.0] - 2025-08-29 ### 🚜 Refactor diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index d57009830fe24..6b0568bc63f65 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.90.0" +version = "0.91.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 eedbd0545051d..40ee9bb3b720f 100644 --- a/crates/oxc_mangler/CHANGELOG.md +++ b/crates/oxc_mangler/CHANGELOG.md @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.86.0] - 2025-08-31 ### 🚀 Features diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index 16a43fae9ebe2..8915b73cf2365 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.90.0" +version = "0.91.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 16921d51ed940..f64da87f4eb84 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/CHANGELOG.md @@ -4,6 +4,28 @@ 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). +## [0.91.0] - 2025-09-21 + +### 💥 BREAKING CHANGES + +- 6fcb0d0 minifier: [**BREAKING**] Receive supported engines instead of ecmascript versions (#13933) (sapphi-red) + +### 🚀 Features + +- b2b2037 minifier: Only apply `arguments` copy loop transformation in functions (#13952) (sapphi-red) +- fa76365 minifier: Only apply `arguments` copy loop transformation in strict mode (#13951) (sapphi-red) +- 638416e tasks/coverage: Add node compat table tests for minifier (#13925) (sapphi-red) + +### 🐛 Bug Fixes + +- 5198a01 minifier: Handle __proto__ when inlining single-use variables (#13926) (sapphi-red) + +### 📚 Documentation + +- 4817021 minifier: Clarify assumptions (#13950) (sapphi-red) +- f1862c4 minifier: Add comprehensive documentation for oxc_minifier (#13938) (Boshen) + + ## [0.89.0] - 2025-09-15 diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index d86a55b74d5bb..45174e55a0527 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.90.0" +version = "0.91.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_napi/CHANGELOG.md b/crates/oxc_napi/CHANGELOG.md index 90ee06814d186..5c78df2a37072 100644 --- a/crates/oxc_napi/CHANGELOG.md +++ b/crates/oxc_napi/CHANGELOG.md @@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.80.0] - 2025-08-03 ### 📚 Documentation diff --git a/crates/oxc_napi/Cargo.toml b/crates/oxc_napi/Cargo.toml index e22b50d8c5c6a..3bf75ef2823c0 100644 --- a/crates/oxc_napi/Cargo.toml +++ b/crates/oxc_napi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_napi" -version = "0.90.0" +version = "0.91.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 f26c0c96e9d58..b10c19fc42ffa 100644 --- a/crates/oxc_parser/CHANGELOG.md +++ b/crates/oxc_parser/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). +## [0.91.0] - 2025-09-21 + +### 🚀 Features + +- a14aa79 npm/oxlint: Convert to ES modules (#13876) (Boshen) + +### 🐛 Bug Fixes + +- f067159 parser: Forbid readonly in parser instead of semantic (#13905) (Ulrich Stark) + + ## [0.90.0] - 2025-09-18 ### 🐛 Bug Fixes diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index feba059f5dfe8..256cd4f5d61ab 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.90.0" +version = "0.91.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 093e6cfdd9b97..4a2a97f2aa449 100644 --- a/crates/oxc_regular_expression/CHANGELOG.md +++ b/crates/oxc_regular_expression/CHANGELOG.md @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.88.0] - 2025-09-15 ### 🚀 Features diff --git a/crates/oxc_regular_expression/Cargo.toml b/crates/oxc_regular_expression/Cargo.toml index 29d66a4c940bc..8fe9415bea762 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.90.0" +version = "0.91.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 c401ee8fec57a..4dcf0dfac79b9 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/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). +## [0.91.0] - 2025-09-21 + +### 🚀 Features + +- a14aa79 npm/oxlint: Convert to ES modules (#13876) (Boshen) + +### 🐛 Bug Fixes + +- f067159 parser: Forbid readonly in parser instead of semantic (#13905) (Ulrich Stark) + + ## [0.88.0] - 2025-09-15 diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index c97779cbd5f6b..d50cdc7a12f92 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.90.0" +version = "0.91.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 593ffa73a3829..00369f83cb29f 100644 --- a/crates/oxc_span/CHANGELOG.md +++ b/crates/oxc_span/CHANGELOG.md @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.88.0] - 2025-09-15 ### 🐛 Bug Fixes diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index 9b71191d143c4..24f120df0ec76 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.90.0" +version = "0.91.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 c6af0dc53bfdc..623ca2a560812 100644 --- a/crates/oxc_syntax/CHANGELOG.md +++ b/crates/oxc_syntax/CHANGELOG.md @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.88.0] - 2025-09-15 ### 🐛 Bug Fixes diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index 00be6e3538b90..fe318f1cc3bee 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.90.0" +version = "0.91.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 4f8e121b2a575..2e6d2ddca9a4f 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/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). +## [0.91.0] - 2025-09-21 + +### 🚀 Features + +- d1a0d04 compat: Extract compatibility data to oxc_compat crate (#13932) (sapphi-red) + + ## [0.90.0] - 2025-09-18 ### 🐛 Bug Fixes diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index 520aabcaf4a66..61e9c5119f344 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.90.0" +version = "0.91.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_transformer_plugins/CHANGELOG.md b/crates/oxc_transformer_plugins/CHANGELOG.md index dfbaf80bd1181..534ca83e99c1a 100644 --- a/crates/oxc_transformer_plugins/CHANGELOG.md +++ b/crates/oxc_transformer_plugins/CHANGELOG.md @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.87.0] - 2025-09-08 ### 🐛 Bug Fixes diff --git a/crates/oxc_transformer_plugins/Cargo.toml b/crates/oxc_transformer_plugins/Cargo.toml index cce8bcb019e4d..8e83a2a5cbf57 100644 --- a/crates/oxc_transformer_plugins/Cargo.toml +++ b/crates/oxc_transformer_plugins/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer_plugins" -version = "0.90.0" +version = "0.91.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 1a129a81474ba..53049a7a23c46 100644 --- a/crates/oxc_traverse/CHANGELOG.md +++ b/crates/oxc_traverse/CHANGELOG.md @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.87.0] - 2025-09-08 ### 🐛 Bug Fixes diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 6b6e0e2296cc3..c5e4687494af9 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.90.0" +version = "0.91.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/minify/CHANGELOG.md b/napi/minify/CHANGELOG.md index 1d7680776952e..8f2517d433035 100644 --- a/napi/minify/CHANGELOG.md +++ b/napi/minify/CHANGELOG.md @@ -4,6 +4,28 @@ 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). +## [0.91.0] - 2025-09-21 + +### 💥 BREAKING CHANGES + +- 6fcb0d0 minifier: [**BREAKING**] Receive supported engines instead of ecmascript versions (#13933) (sapphi-red) + +### 🐛 Bug Fixes + +- 21bbf95 napi: Rebuild bindings file for NAPI packages (#13889) (overlookmotel) + + +## [0.91.0] - 2025-09-21 + +### 💥 BREAKING CHANGES + +- 6fcb0d0 minifier: [**BREAKING**] Receive supported engines instead of ecmascript versions (#13933) (sapphi-red) + +### 🐛 Bug Fixes + +- 21bbf95 napi: Rebuild bindings file for NAPI packages (#13889) (overlookmotel) + + ## [0.90.0] - 2025-09-18 ### 🚀 Features diff --git a/napi/minify/Cargo.toml b/napi/minify/Cargo.toml index 1fe9ba0f4420d..427902e11511a 100644 --- a/napi/minify/Cargo.toml +++ b/napi/minify/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minify_napi" -version = "0.90.0" +version = "0.91.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/minify/index.js b/napi/minify/index.js index fc66a9d8d6f27..d8a6ab1f0ac0b 100644 --- a/napi/minify/index.js +++ b/napi/minify/index.js @@ -81,8 +81,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-android-arm64') const bindingPackageVersion = require('@oxc-minify/binding-android-arm64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -97,8 +97,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-android-arm-eabi') const bindingPackageVersion = require('@oxc-minify/binding-android-arm-eabi/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -117,8 +117,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-win32-x64-msvc') const bindingPackageVersion = require('@oxc-minify/binding-win32-x64-msvc/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -133,8 +133,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-win32-ia32-msvc') const bindingPackageVersion = require('@oxc-minify/binding-win32-ia32-msvc/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -149,8 +149,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-win32-arm64-msvc') const bindingPackageVersion = require('@oxc-minify/binding-win32-arm64-msvc/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -168,8 +168,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-darwin-universal') const bindingPackageVersion = require('@oxc-minify/binding-darwin-universal/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -184,8 +184,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-darwin-x64') const bindingPackageVersion = require('@oxc-minify/binding-darwin-x64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -200,8 +200,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-darwin-arm64') const bindingPackageVersion = require('@oxc-minify/binding-darwin-arm64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -220,8 +220,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-freebsd-x64') const bindingPackageVersion = require('@oxc-minify/binding-freebsd-x64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -236,8 +236,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-freebsd-arm64') const bindingPackageVersion = require('@oxc-minify/binding-freebsd-arm64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -257,8 +257,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-x64-musl') const bindingPackageVersion = require('@oxc-minify/binding-linux-x64-musl/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -273,8 +273,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-x64-gnu') const bindingPackageVersion = require('@oxc-minify/binding-linux-x64-gnu/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -291,8 +291,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-arm64-musl') const bindingPackageVersion = require('@oxc-minify/binding-linux-arm64-musl/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -307,8 +307,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-arm64-gnu') const bindingPackageVersion = require('@oxc-minify/binding-linux-arm64-gnu/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -325,8 +325,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-arm-musleabihf') const bindingPackageVersion = require('@oxc-minify/binding-linux-arm-musleabihf/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -341,8 +341,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-arm-gnueabihf') const bindingPackageVersion = require('@oxc-minify/binding-linux-arm-gnueabihf/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -359,8 +359,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-loong64-musl') const bindingPackageVersion = require('@oxc-minify/binding-linux-loong64-musl/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -375,8 +375,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-loong64-gnu') const bindingPackageVersion = require('@oxc-minify/binding-linux-loong64-gnu/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -393,8 +393,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-riscv64-musl') const bindingPackageVersion = require('@oxc-minify/binding-linux-riscv64-musl/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -409,8 +409,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-riscv64-gnu') const bindingPackageVersion = require('@oxc-minify/binding-linux-riscv64-gnu/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -426,8 +426,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-ppc64-gnu') const bindingPackageVersion = require('@oxc-minify/binding-linux-ppc64-gnu/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -442,8 +442,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-s390x-gnu') const bindingPackageVersion = require('@oxc-minify/binding-linux-s390x-gnu/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -462,8 +462,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-openharmony-arm64') const bindingPackageVersion = require('@oxc-minify/binding-openharmony-arm64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -478,8 +478,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-openharmony-x64') const bindingPackageVersion = require('@oxc-minify/binding-openharmony-x64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -494,8 +494,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-openharmony-arm') const bindingPackageVersion = require('@oxc-minify/binding-openharmony-arm/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { diff --git a/napi/minify/package.json b/napi/minify/package.json index dbe559615cbec..f3dedbe831da1 100644 --- a/napi/minify/package.json +++ b/napi/minify/package.json @@ -1,6 +1,6 @@ { "name": "oxc-minify", - "version": "0.90.0", + "version": "0.91.0", "type": "module", "main": "index.js", "browser": "browser.js", diff --git a/napi/parser/CHANGELOG.md b/napi/parser/CHANGELOG.md index cc5b642bdc00b..e15955437db14 100644 --- a/napi/parser/CHANGELOG.md +++ b/napi/parser/CHANGELOG.md @@ -4,6 +4,44 @@ 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). +## [0.91.0] - 2025-09-21 + +### 🐛 Bug Fixes + +- bd2fa90 napi/parser: Move `browser.js` file (#13918) (overlookmotel) +- 5ff91bc napi/parser: Fix example (#13887) (overlookmotel) +- 21bbf95 napi: Rebuild bindings file for NAPI packages (#13889) (overlookmotel) + +### 🚜 Refactor + +- 329b7e7 napi/parser: Move scripts to `scripts` directory (#13900) (overlookmotel) +- ac3e9e9 napi/parser: Move JS code into `src-js` directory (#13899) (overlookmotel) +- 2cef8ec napi/parser: Remove outdated comment (#13886) (overlookmotel) + +### 📚 Documentation + +- 7a50ad9 napi/parser, napi/transform: Correct README examples (#13934) (overlookmotel) + + +## [0.91.0] - 2025-09-21 + +### 🐛 Bug Fixes + +- bd2fa90 napi/parser: Move `browser.js` file (#13918) (overlookmotel) +- 5ff91bc napi/parser: Fix example (#13887) (overlookmotel) +- 21bbf95 napi: Rebuild bindings file for NAPI packages (#13889) (overlookmotel) + +### 🚜 Refactor + +- 329b7e7 napi/parser: Move scripts to `scripts` directory (#13900) (overlookmotel) +- ac3e9e9 napi/parser: Move JS code into `src-js` directory (#13899) (overlookmotel) +- 2cef8ec napi/parser: Remove outdated comment (#13886) (overlookmotel) + +### 📚 Documentation + +- 7a50ad9 napi/parser, napi/transform: Correct README examples (#13934) (overlookmotel) + + ## [0.90.0] - 2025-09-18 ### 🚀 Features diff --git a/napi/parser/Cargo.toml b/napi/parser/Cargo.toml index 8b6797193e6e1..f4d8358ff7c90 100644 --- a/napi/parser/Cargo.toml +++ b/napi/parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser_napi" -version = "0.90.0" +version = "0.91.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/parser/package.json b/napi/parser/package.json index 1b3902e25d53c..9a2f782ba3e28 100644 --- a/napi/parser/package.json +++ b/napi/parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.90.0", + "version": "0.91.0", "type": "commonjs", "main": "src-js/index.mjs", "browser": "src-js/wasm.mjs", diff --git a/napi/parser/src-js/bindings.mjs b/napi/parser/src-js/bindings.mjs index 22063bc884775..7dd4c019da298 100644 --- a/napi/parser/src-js/bindings.mjs +++ b/napi/parser/src-js/bindings.mjs @@ -81,8 +81,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-android-arm64') const bindingPackageVersion = require('@oxc-parser/binding-android-arm64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -97,8 +97,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-android-arm-eabi') const bindingPackageVersion = require('@oxc-parser/binding-android-arm-eabi/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -117,8 +117,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-win32-x64-msvc') const bindingPackageVersion = require('@oxc-parser/binding-win32-x64-msvc/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -133,8 +133,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-win32-ia32-msvc') const bindingPackageVersion = require('@oxc-parser/binding-win32-ia32-msvc/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -149,8 +149,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-win32-arm64-msvc') const bindingPackageVersion = require('@oxc-parser/binding-win32-arm64-msvc/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -168,8 +168,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-darwin-universal') const bindingPackageVersion = require('@oxc-parser/binding-darwin-universal/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -184,8 +184,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-darwin-x64') const bindingPackageVersion = require('@oxc-parser/binding-darwin-x64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -200,8 +200,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-darwin-arm64') const bindingPackageVersion = require('@oxc-parser/binding-darwin-arm64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -220,8 +220,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-freebsd-x64') const bindingPackageVersion = require('@oxc-parser/binding-freebsd-x64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -236,8 +236,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-freebsd-arm64') const bindingPackageVersion = require('@oxc-parser/binding-freebsd-arm64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -257,8 +257,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-x64-musl') const bindingPackageVersion = require('@oxc-parser/binding-linux-x64-musl/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -273,8 +273,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-x64-gnu') const bindingPackageVersion = require('@oxc-parser/binding-linux-x64-gnu/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -291,8 +291,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-arm64-musl') const bindingPackageVersion = require('@oxc-parser/binding-linux-arm64-musl/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -307,8 +307,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-arm64-gnu') const bindingPackageVersion = require('@oxc-parser/binding-linux-arm64-gnu/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -325,8 +325,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-arm-musleabihf') const bindingPackageVersion = require('@oxc-parser/binding-linux-arm-musleabihf/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -341,8 +341,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-arm-gnueabihf') const bindingPackageVersion = require('@oxc-parser/binding-linux-arm-gnueabihf/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -359,8 +359,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-loong64-musl') const bindingPackageVersion = require('@oxc-parser/binding-linux-loong64-musl/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -375,8 +375,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-loong64-gnu') const bindingPackageVersion = require('@oxc-parser/binding-linux-loong64-gnu/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -393,8 +393,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-riscv64-musl') const bindingPackageVersion = require('@oxc-parser/binding-linux-riscv64-musl/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -409,8 +409,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-riscv64-gnu') const bindingPackageVersion = require('@oxc-parser/binding-linux-riscv64-gnu/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -426,8 +426,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-ppc64-gnu') const bindingPackageVersion = require('@oxc-parser/binding-linux-ppc64-gnu/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -442,8 +442,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-s390x-gnu') const bindingPackageVersion = require('@oxc-parser/binding-linux-s390x-gnu/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -462,8 +462,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-openharmony-arm64') const bindingPackageVersion = require('@oxc-parser/binding-openharmony-arm64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -478,8 +478,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-openharmony-x64') const bindingPackageVersion = require('@oxc-parser/binding-openharmony-x64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -494,8 +494,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-openharmony-arm') const bindingPackageVersion = require('@oxc-parser/binding-openharmony-arm/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { diff --git a/napi/transform/CHANGELOG.md b/napi/transform/CHANGELOG.md index 250304e97c5ea..53a9c47610ae6 100644 --- a/napi/transform/CHANGELOG.md +++ b/napi/transform/CHANGELOG.md @@ -4,6 +4,28 @@ 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). +## [0.91.0] - 2025-09-21 + +### 🐛 Bug Fixes + +- 21bbf95 napi: Rebuild bindings file for NAPI packages (#13889) (overlookmotel) + +### 📚 Documentation + +- 7a50ad9 napi/parser, napi/transform: Correct README examples (#13934) (overlookmotel) + + +## [0.91.0] - 2025-09-21 + +### 🐛 Bug Fixes + +- 21bbf95 napi: Rebuild bindings file for NAPI packages (#13889) (overlookmotel) + +### 📚 Documentation + +- 7a50ad9 napi/parser, napi/transform: Correct README examples (#13934) (overlookmotel) + + ## [0.90.0] - 2025-09-18 ### 🚀 Features diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index 26a0d18575185..bf3627fda61e7 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.90.0" +version = "0.91.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/transform/index.js b/napi/transform/index.js index e04cb1a56871f..b2a49457e13c9 100644 --- a/napi/transform/index.js +++ b/napi/transform/index.js @@ -81,8 +81,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-android-arm64') const bindingPackageVersion = require('@oxc-transform/binding-android-arm64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -97,8 +97,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-android-arm-eabi') const bindingPackageVersion = require('@oxc-transform/binding-android-arm-eabi/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -117,8 +117,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-win32-x64-msvc') const bindingPackageVersion = require('@oxc-transform/binding-win32-x64-msvc/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -133,8 +133,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-win32-ia32-msvc') const bindingPackageVersion = require('@oxc-transform/binding-win32-ia32-msvc/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -149,8 +149,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-win32-arm64-msvc') const bindingPackageVersion = require('@oxc-transform/binding-win32-arm64-msvc/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -168,8 +168,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-darwin-universal') const bindingPackageVersion = require('@oxc-transform/binding-darwin-universal/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -184,8 +184,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-darwin-x64') const bindingPackageVersion = require('@oxc-transform/binding-darwin-x64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -200,8 +200,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-darwin-arm64') const bindingPackageVersion = require('@oxc-transform/binding-darwin-arm64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -220,8 +220,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-freebsd-x64') const bindingPackageVersion = require('@oxc-transform/binding-freebsd-x64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -236,8 +236,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-freebsd-arm64') const bindingPackageVersion = require('@oxc-transform/binding-freebsd-arm64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -257,8 +257,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-x64-musl') const bindingPackageVersion = require('@oxc-transform/binding-linux-x64-musl/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -273,8 +273,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-x64-gnu') const bindingPackageVersion = require('@oxc-transform/binding-linux-x64-gnu/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -291,8 +291,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-arm64-musl') const bindingPackageVersion = require('@oxc-transform/binding-linux-arm64-musl/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -307,8 +307,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-arm64-gnu') const bindingPackageVersion = require('@oxc-transform/binding-linux-arm64-gnu/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -325,8 +325,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-arm-musleabihf') const bindingPackageVersion = require('@oxc-transform/binding-linux-arm-musleabihf/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -341,8 +341,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-arm-gnueabihf') const bindingPackageVersion = require('@oxc-transform/binding-linux-arm-gnueabihf/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -359,8 +359,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-loong64-musl') const bindingPackageVersion = require('@oxc-transform/binding-linux-loong64-musl/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -375,8 +375,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-loong64-gnu') const bindingPackageVersion = require('@oxc-transform/binding-linux-loong64-gnu/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -393,8 +393,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-riscv64-musl') const bindingPackageVersion = require('@oxc-transform/binding-linux-riscv64-musl/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -409,8 +409,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-riscv64-gnu') const bindingPackageVersion = require('@oxc-transform/binding-linux-riscv64-gnu/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -426,8 +426,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-ppc64-gnu') const bindingPackageVersion = require('@oxc-transform/binding-linux-ppc64-gnu/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -442,8 +442,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-s390x-gnu') const bindingPackageVersion = require('@oxc-transform/binding-linux-s390x-gnu/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -462,8 +462,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-openharmony-arm64') const bindingPackageVersion = require('@oxc-transform/binding-openharmony-arm64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -478,8 +478,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-openharmony-x64') const bindingPackageVersion = require('@oxc-transform/binding-openharmony-x64/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -494,8 +494,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-openharmony-arm') const bindingPackageVersion = require('@oxc-transform/binding-openharmony-arm/package.json').version - if (bindingPackageVersion !== '0.90.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.91.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { diff --git a/napi/transform/package.json b/napi/transform/package.json index 0b8dc3d3cd7c2..86f243761b157 100644 --- a/napi/transform/package.json +++ b/napi/transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.90.0", + "version": "0.91.0", "type": "module", "main": "index.js", "browser": "browser.js", diff --git a/npm/oxc-types/CHANGELOG.md b/npm/oxc-types/CHANGELOG.md index 820c68e1a6899..c9832426b940d 100644 --- a/npm/oxc-types/CHANGELOG.md +++ b/npm/oxc-types/CHANGELOG.md @@ -4,6 +4,7 @@ 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). + ## [0.90.0] - 2025-09-18 ### 🚀 Features diff --git a/npm/oxc-types/package.json b/npm/oxc-types/package.json index ec8fdbb8d3b03..2acfe0b65cf57 100644 --- a/npm/oxc-types/package.json +++ b/npm/oxc-types/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/types", - "version": "0.90.0", + "version": "0.91.0", "description": "Types for Oxc AST nodes", "type": "module", "keywords": [ diff --git a/npm/runtime/CHANGELOG.md b/npm/runtime/CHANGELOG.md index f68fdba27122d..84d544a9db5a7 100644 --- a/npm/runtime/CHANGELOG.md +++ b/npm/runtime/CHANGELOG.md @@ -4,6 +4,7 @@ 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). + ## [0.90.0] - 2025-09-18 ### 🚀 Features diff --git a/npm/runtime/package.json b/npm/runtime/package.json index 9030cb28988f2..0e5cb24a29f00 100644 --- a/npm/runtime/package.json +++ b/npm/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/runtime", - "version": "0.90.0", + "version": "0.91.0", "description": "Oxc's modular runtime helpers", "license": "MIT", "repository": {