diff --git a/Cargo.lock b/Cargo.lock index ca2f4dcbed646..fb52cb4dd11b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1505,7 +1505,7 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56" [[package]] name = "oxc" -version = "0.56.0" +version = "0.56.1" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1568,7 +1568,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.56.0" +version = "0.56.1" dependencies = [ "allocator-api2", "bumpalo", @@ -1582,7 +1582,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.56.0" +version = "0.56.1" dependencies = [ "bitflags 2.8.0", "cow-utils", @@ -1597,7 +1597,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.56.0" +version = "0.56.1" dependencies = [ "proc-macro2", "quote", @@ -1629,7 +1629,7 @@ dependencies = [ [[package]] name = "oxc_ast_visit" -version = "0.56.0" +version = "0.56.1" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1662,7 +1662,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.56.0" +version = "0.56.1" dependencies = [ "bitflags 2.8.0", "itertools", @@ -1675,7 +1675,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.56.0" +version = "0.56.1" dependencies = [ "base64", "bitflags 2.8.0", @@ -1738,7 +1738,7 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.56.0" +version = "0.56.1" dependencies = [ "assert-unchecked", "ropey", @@ -1746,7 +1746,7 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.56.0" +version = "0.56.1" dependencies = [ "cow-utils", "oxc-miette", @@ -1754,7 +1754,7 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.56.0" +version = "0.56.1" dependencies = [ "cow-utils", "num-bigint", @@ -1766,7 +1766,7 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.56.0" +version = "0.56.1" dependencies = [ "itoa", "oxc_data_structures", @@ -1784,7 +1784,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.56.0" +version = "0.56.1" dependencies = [ "bitflags 2.8.0", "insta", @@ -1885,7 +1885,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.56.0" +version = "0.56.1" dependencies = [ "fixedbitset", "itertools", @@ -1900,7 +1900,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.56.0" +version = "0.56.1" dependencies = [ "cow-utils", "insta", @@ -1957,7 +1957,7 @@ dependencies = [ [[package]] name = "oxc_napi" -version = "0.56.0" +version = "0.56.1" dependencies = [ "napi", "napi-build", @@ -1967,7 +1967,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.56.0" +version = "0.56.1" dependencies = [ "assert-unchecked", "bitflags 2.8.0", @@ -1990,7 +1990,7 @@ dependencies = [ [[package]] name = "oxc_parser_napi" -version = "0.56.0" +version = "0.56.1" dependencies = [ "napi", "napi-build", @@ -2048,7 +2048,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.56.0" +version = "0.56.1" dependencies = [ "oxc_allocator", "oxc_ast_macros", @@ -2082,7 +2082,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.56.0" +version = "0.56.1" dependencies = [ "assert-unchecked", "insta", @@ -2124,7 +2124,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.56.0" +version = "0.56.1" dependencies = [ "compact_str", "oxc-miette", @@ -2137,7 +2137,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.56.0" +version = "0.56.1" dependencies = [ "assert-unchecked", "bitflags 2.8.0", @@ -2197,7 +2197,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.56.0" +version = "0.56.1" dependencies = [ "napi", "napi-build", @@ -2210,7 +2210,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.56.0" +version = "0.56.1" dependencies = [ "base64", "compact_str", @@ -2244,7 +2244,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.56.0" +version = "0.56.1" dependencies = [ "compact_str", "itoa", diff --git a/Cargo.toml b/Cargo.toml index 1d08fb24f6e8b..5c5a0b3283174 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -100,30 +100,30 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.56.0", path = "crates/oxc" } -oxc_allocator = { version = "0.56.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.56.0", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.56.0", path = "crates/oxc_ast_macros" } -oxc_ast_visit = { version = "0.56.0", path = "crates/oxc_ast_visit" } -oxc_cfg = { version = "0.56.0", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.56.0", path = "crates/oxc_codegen" } -oxc_data_structures = { version = "0.56.0", path = "crates/oxc_data_structures" } -oxc_diagnostics = { version = "0.56.0", path = "crates/oxc_diagnostics" } -oxc_ecmascript = { version = "0.56.0", path = "crates/oxc_ecmascript" } -oxc_estree = { version = "0.56.0", path = "crates/oxc_estree" } -oxc_isolated_declarations = { version = "0.56.0", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.56.0", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.56.0", path = "crates/oxc_minifier" } -oxc_napi = { version = "0.56.0", path = "crates/oxc_napi" } -oxc_parser = { version = "0.56.0", path = "crates/oxc_parser" } -oxc_parser_napi = { version = "0.56.0", path = "napi/parser" } -oxc_regular_expression = { version = "0.56.0", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.56.0", path = "crates/oxc_semantic" } -oxc_span = { version = "0.56.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.56.0", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.56.0", path = "napi/transform" } -oxc_transformer = { version = "0.56.0", path = "crates/oxc_transformer" } -oxc_traverse = { version = "0.56.0", path = "crates/oxc_traverse" } +oxc = { version = "0.56.1", path = "crates/oxc" } +oxc_allocator = { version = "0.56.1", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.56.1", path = "crates/oxc_ast" } +oxc_ast_macros = { version = "0.56.1", path = "crates/oxc_ast_macros" } +oxc_ast_visit = { version = "0.56.1", path = "crates/oxc_ast_visit" } +oxc_cfg = { version = "0.56.1", path = "crates/oxc_cfg" } +oxc_codegen = { version = "0.56.1", path = "crates/oxc_codegen" } +oxc_data_structures = { version = "0.56.1", path = "crates/oxc_data_structures" } +oxc_diagnostics = { version = "0.56.1", path = "crates/oxc_diagnostics" } +oxc_ecmascript = { version = "0.56.1", path = "crates/oxc_ecmascript" } +oxc_estree = { version = "0.56.1", path = "crates/oxc_estree" } +oxc_isolated_declarations = { version = "0.56.1", path = "crates/oxc_isolated_declarations" } +oxc_mangler = { version = "0.56.1", path = "crates/oxc_mangler" } +oxc_minifier = { version = "0.56.1", path = "crates/oxc_minifier" } +oxc_napi = { version = "0.56.1", path = "crates/oxc_napi" } +oxc_parser = { version = "0.56.1", path = "crates/oxc_parser" } +oxc_parser_napi = { version = "0.56.1", path = "napi/parser" } +oxc_regular_expression = { version = "0.56.1", path = "crates/oxc_regular_expression" } +oxc_semantic = { version = "0.56.1", path = "crates/oxc_semantic" } +oxc_span = { version = "0.56.1", path = "crates/oxc_span" } +oxc_syntax = { version = "0.56.1", path = "crates/oxc_syntax" } +oxc_transform_napi = { version = "0.56.1", path = "napi/transform" } +oxc_transformer = { version = "0.56.1", path = "crates/oxc_transformer" } +oxc_traverse = { version = "0.56.1", path = "crates/oxc_traverse" } # publish = false oxc_linter = { path = "crates/oxc_linter" } diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 2c795d3a3b5c0..9a8f90fcbb128 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_allocator/CHANGELOG.md b/crates/oxc_allocator/CHANGELOG.md index f73b73036fe1c..40b1e23a004fc 100644 --- a/crates/oxc_allocator/CHANGELOG.md +++ b/crates/oxc_allocator/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.56.1] - 2025-03-07 + +### Features + +- 8b51a75 allocator: Add `String::from_strs_array_in` (#9329) (Dunqing) + ## [0.55.0] - 2025-03-05 ### Features diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index 9c8ee3c092c9f..b5a027da91aed 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index f7f47ea279a03..bae3de307cec1 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index 9632b2c97f024..c063a9f732d65 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.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_visit/Cargo.toml b/crates/oxc_ast_visit/Cargo.toml index 42d2c822bbaee..0fdaed689a46c 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.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_cfg/Cargo.toml b/crates/oxc_cfg/Cargo.toml index 3619d38298e0f..361404ccca190 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index 79e2b7ec556d0..87fcbf17a16e6 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_data_structures/Cargo.toml b/crates/oxc_data_structures/Cargo.toml index 269f5449ec75a..b1896ebf15073 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.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index cd3d2d9a15944..a4d4f6291dc4f 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ecmascript/Cargo.toml b/crates/oxc_ecmascript/Cargo.toml index d92ea4fdecc2f..fd0057f102f51 100644 --- a/crates/oxc_ecmascript/Cargo.toml +++ b/crates/oxc_ecmascript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ecmascript" -version = "0.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_estree/Cargo.toml b/crates/oxc_estree/Cargo.toml index 7669cd60b4c13..dd93389622303 100644 --- a/crates/oxc_estree/Cargo.toml +++ b/crates/oxc_estree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_estree" -version = "0.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index f61c21fe52196..6e220a21d6dc2 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.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index 1de90451c71b3..c23f39c2f3d2e 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_minifier/CHANGELOG.md b/crates/oxc_minifier/CHANGELOG.md index a648c743666cd..2e71789507906 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.56.1] - 2025-03-07 + +### Testing + +- 6fd11ce minifier: Test var decl in catch clause edge case (#9577) (翠 / green) + ## [0.56.0] - 2025-03-06 ### Features diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index 58d93cc45c2e0..431e60a0ea72c 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_napi/Cargo.toml b/crates/oxc_napi/Cargo.toml index 7dba3f9ce248b..222a8f3386d4e 100644 --- a/crates/oxc_napi/Cargo.toml +++ b/crates/oxc_napi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_napi" -version = "0.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index a4472f737d53e..abc3015cc29a7 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_regular_expression/Cargo.toml b/crates/oxc_regular_expression/Cargo.toml index 79d7b4163d277..3e086aec37c59 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.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index 53b0ab6fac703..45f7c2101822a 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index 5668acab047ad..a0d17dd4dc9a6 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index 613b11bd899fe..72b8dfe9f86f7 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index be279ea9cb12b..8a1b14309c3d3 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 59485a6421072..a2fb8071a3e05 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/parser/Cargo.toml b/napi/parser/Cargo.toml index 9fa85c8a1bca5..a349c0c856668 100644 --- a/napi/parser/Cargo.toml +++ b/napi/parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser_napi" -version = "0.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index 5c1c562b4e97b..08c9c280ad992 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.56.0" +version = "0.56.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/npm/oxc-minify/package.json b/npm/oxc-minify/package.json index 136aede37a395..9621e6f99d9a7 100644 --- a/npm/oxc-minify/package.json +++ b/npm/oxc-minify/package.json @@ -1,6 +1,6 @@ { "name": "oxc-minify", - "version": "0.56.0", + "version": "0.56.1", "main": "index.js", "browser": "browser.js", "description": "Oxc minify Node API", @@ -29,7 +29,7 @@ "registry": "https://registry.npmjs.org/", "access": "public" }, - "engines": { + "engines": { "node": ">=14.0.0" }, "napi": { diff --git a/npm/oxc-parser/package.json b/npm/oxc-parser/package.json index a3d58a3a56330..a036ec10e557b 100644 --- a/npm/oxc-parser/package.json +++ b/npm/oxc-parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.56.0", + "version": "0.56.1", "main": "index.js", "browser": "browser.js", "description": "Oxc Parser Node API", @@ -35,7 +35,7 @@ "dependencies": { "@oxc-project/types": "workspace:^" }, - "engines": { + "engines": { "node": ">=14.0.0" }, "napi": { diff --git a/npm/oxc-transform/package.json b/npm/oxc-transform/package.json index d24961022c7ed..1487b69fea739 100644 --- a/npm/oxc-transform/package.json +++ b/npm/oxc-transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.56.0", + "version": "0.56.1", "main": "index.js", "browser": "browser.js", "description": "Oxc transform Node API", diff --git a/npm/oxc-types/package.json b/npm/oxc-types/package.json index c6dddaf5e96ad..afd79dfee49c9 100644 --- a/npm/oxc-types/package.json +++ b/npm/oxc-types/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/types", - "version": "0.56.0", + "version": "0.56.1", "description": "Types for Oxc AST nodes", "keywords": [ "AST", diff --git a/npm/runtime/package.json b/npm/runtime/package.json index 114ed08de08e1..6426add3da4d0 100644 --- a/npm/runtime/package.json +++ b/npm/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/runtime", - "version": "0.56.0", + "version": "0.56.1", "description": "Oxc's modular runtime helpers", "license": "MIT", "repository": { diff --git a/wasm/parser/package.json b/wasm/parser/package.json index 190ff2a16d1cd..2567bd2063f36 100644 --- a/wasm/parser/package.json +++ b/wasm/parser/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-parser/wasm", - "version": "0.56.0", + "version": "0.56.1", "description": "Wasm target for the oxc parser.", "keywords": [ "JavaScript",