diff --git a/Cargo.lock b/Cargo.lock index 1d86c0e0e58ad..bfcc6d6e7045a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1645,7 +1645,7 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e" [[package]] name = "oxc" -version = "0.82.3" +version = "0.83.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1721,7 +1721,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.82.3" +version = "0.83.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1736,7 +1736,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.82.3" +version = "0.83.0" dependencies = [ "bitflags 2.9.3", "oxc_allocator", @@ -1750,7 +1750,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.82.3" +version = "0.83.0" dependencies = [ "phf 0.13.1", "proc-macro2", @@ -1783,7 +1783,7 @@ dependencies = [ [[package]] name = "oxc_ast_visit" -version = "0.82.3" +version = "0.83.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1817,7 +1817,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.82.3" +version = "0.83.0" dependencies = [ "bitflags 2.9.3", "itertools", @@ -1830,7 +1830,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.82.3" +version = "0.83.0" dependencies = [ "bitflags 2.9.3", "cow-utils", @@ -1894,14 +1894,14 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.82.3" +version = "0.83.0" dependencies = [ "ropey", ] [[package]] name = "oxc_diagnostics" -version = "0.82.3" +version = "0.83.0" dependencies = [ "cow-utils", "oxc-miette", @@ -1910,7 +1910,7 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.82.3" +version = "0.83.0" dependencies = [ "cow-utils", "num-bigint", @@ -1923,7 +1923,7 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.82.3" +version = "0.83.0" dependencies = [ "dragonbox_ecma", "itoa", @@ -1957,7 +1957,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.82.3" +version = "0.83.0" dependencies = [ "bitflags 2.9.3", "insta", @@ -2070,7 +2070,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.82.3" +version = "0.83.0" dependencies = [ "fixedbitset", "itertools", @@ -2086,7 +2086,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.82.3" +version = "0.83.0" dependencies = [ "cow-utils", "insta", @@ -2109,7 +2109,7 @@ dependencies = [ [[package]] name = "oxc_minify_napi" -version = "0.82.3" +version = "0.83.0" dependencies = [ "mimalloc-safe", "napi", @@ -2148,7 +2148,7 @@ dependencies = [ [[package]] name = "oxc_napi" -version = "0.82.3" +version = "0.83.0" dependencies = [ "napi", "napi-build", @@ -2162,7 +2162,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.82.3" +version = "0.83.0" dependencies = [ "bitflags 2.9.3", "cow-utils", @@ -2185,7 +2185,7 @@ dependencies = [ [[package]] name = "oxc_parser_napi" -version = "0.82.3" +version = "0.83.0" dependencies = [ "mimalloc-safe", "napi", @@ -2235,7 +2235,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.82.3" +version = "0.83.0" dependencies = [ "bitflags 2.9.3", "oxc_allocator", @@ -2281,7 +2281,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.82.3" +version = "0.83.0" dependencies = [ "insta", "itertools", @@ -2319,7 +2319,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.82.3" +version = "0.83.0" dependencies = [ "compact_str", "oxc-miette", @@ -2332,7 +2332,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.82.3" +version = "0.83.0" dependencies = [ "bitflags 2.9.3", "cow-utils", @@ -2403,7 +2403,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.82.3" +version = "0.83.0" dependencies = [ "mimalloc-safe", "napi", @@ -2417,7 +2417,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.82.3" +version = "0.83.0" dependencies = [ "base64", "compact_str", @@ -2449,7 +2449,7 @@ dependencies = [ [[package]] name = "oxc_transformer_plugins" -version = "0.82.3" +version = "0.83.0" dependencies = [ "cow-utils", "insta", @@ -2476,7 +2476,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.82.3" +version = "0.83.0" dependencies = [ "itoa", "oxc_allocator", diff --git a/Cargo.toml b/Cargo.toml index 75b76e3f60a87..53517dbfa3137 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -106,32 +106,32 @@ ignore_without_reason = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.82.3", path = "crates/oxc" } -oxc_allocator = { version = "0.82.3", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.82.3", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.82.3", path = "crates/oxc_ast_macros" } -oxc_ast_visit = { version = "0.82.3", path = "crates/oxc_ast_visit" } -oxc_cfg = { version = "0.82.3", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.82.3", path = "crates/oxc_codegen" } -oxc_data_structures = { version = "0.82.3", path = "crates/oxc_data_structures" } -oxc_diagnostics = { version = "0.82.3", path = "crates/oxc_diagnostics" } -oxc_ecmascript = { version = "0.82.3", path = "crates/oxc_ecmascript" } -oxc_estree = { version = "0.82.3", path = "crates/oxc_estree" } -oxc_isolated_declarations = { version = "0.82.3", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.82.3", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.82.3", path = "crates/oxc_minifier" } -oxc_minify_napi = { version = "0.82.3", path = "napi/minify" } -oxc_napi = { version = "0.82.3", path = "crates/oxc_napi" } -oxc_parser = { version = "0.82.3", path = "crates/oxc_parser", features = ["regular_expression"] } -oxc_parser_napi = { version = "0.82.3", path = "napi/parser" } -oxc_regular_expression = { version = "0.82.3", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.82.3", path = "crates/oxc_semantic" } -oxc_span = { version = "0.82.3", path = "crates/oxc_span" } -oxc_syntax = { version = "0.82.3", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.82.3", path = "napi/transform" } -oxc_transformer = { version = "0.82.3", path = "crates/oxc_transformer" } -oxc_transformer_plugins = { version = "0.82.3", path = "crates/oxc_transformer_plugins" } -oxc_traverse = { version = "0.82.3", path = "crates/oxc_traverse" } +oxc = { version = "0.83.0", path = "crates/oxc" } +oxc_allocator = { version = "0.83.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.83.0", path = "crates/oxc_ast" } +oxc_ast_macros = { version = "0.83.0", path = "crates/oxc_ast_macros" } +oxc_ast_visit = { version = "0.83.0", path = "crates/oxc_ast_visit" } +oxc_cfg = { version = "0.83.0", path = "crates/oxc_cfg" } +oxc_codegen = { version = "0.83.0", path = "crates/oxc_codegen" } +oxc_data_structures = { version = "0.83.0", path = "crates/oxc_data_structures" } +oxc_diagnostics = { version = "0.83.0", path = "crates/oxc_diagnostics" } +oxc_ecmascript = { version = "0.83.0", path = "crates/oxc_ecmascript" } +oxc_estree = { version = "0.83.0", path = "crates/oxc_estree" } +oxc_isolated_declarations = { version = "0.83.0", path = "crates/oxc_isolated_declarations" } +oxc_mangler = { version = "0.83.0", path = "crates/oxc_mangler" } +oxc_minifier = { version = "0.83.0", path = "crates/oxc_minifier" } +oxc_minify_napi = { version = "0.83.0", path = "napi/minify" } +oxc_napi = { version = "0.83.0", path = "crates/oxc_napi" } +oxc_parser = { version = "0.83.0", path = "crates/oxc_parser", features = ["regular_expression"] } +oxc_parser_napi = { version = "0.83.0", path = "napi/parser" } +oxc_regular_expression = { version = "0.83.0", path = "crates/oxc_regular_expression" } +oxc_semantic = { version = "0.83.0", path = "crates/oxc_semantic" } +oxc_span = { version = "0.83.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.83.0", path = "crates/oxc_syntax" } +oxc_transform_napi = { version = "0.83.0", path = "napi/transform" } +oxc_transformer = { version = "0.83.0", path = "crates/oxc_transformer" } +oxc_transformer_plugins = { version = "0.83.0", path = "crates/oxc_transformer_plugins" } +oxc_traverse = { version = "0.83.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 c89507b076bd2..fe4c1cf9ef800 100644 --- a/crates/oxc/CHANGELOG.md +++ b/crates/oxc/CHANGELOG.md @@ -9,6 +9,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/Cargo.toml b/crates/oxc/Cargo.toml index 4b60f39163ea3..40507c61321ca 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.82.3" +version = "0.83.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 8c24b639f0297..651bef78919cf 100644 --- a/crates/oxc_allocator/CHANGELOG.md +++ b/crates/oxc_allocator/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.82.3] - 2025-08-20 ### ๐Ÿ› Bug Fixes diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index f5729e6fa0468..9bbf9cad59cc0 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.82.3" +version = "0.83.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 32df04e73d8ab..1c286c65ce2ba 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.83.0] - 2025-08-29 + +### ๐Ÿš€ Features + +- 53f55a4 minifier: Remove unnecessary parenthesis from nested optional chaining (#13268) (sapphi-red) + + ## [0.82.2] - 2025-08-17 diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index 65cc3e3cefbce..6aeb5a868308b 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.82.3" +version = "0.83.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 695dc0fce75f9..8e216eddac5c0 100644 --- a/crates/oxc_ast_macros/CHANGELOG.md +++ b/crates/oxc_ast_macros/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.82.3] - 2025-08-20 ### ๐Ÿ› Bug Fixes diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index 9a09419787f94..e145289a61e3c 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.82.3" +version = "0.83.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 bbf9ca6017c5e..b6019723e5b38 100644 --- a/crates/oxc_ast_visit/CHANGELOG.md +++ b/crates/oxc_ast_visit/CHANGELOG.md @@ -4,6 +4,22 @@ 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.83.0] - 2025-08-29 + +### ๐Ÿš€ Features + +- bb10c88 ast_visit: Add `Utf8ToUtf16Converter::convert_program` method (#13341) (overlookmotel) +- 59d2c08 ast_visit: `Utf8ToUtf16` translate back from UTF-16 to UTF-8 (#13340) (overlookmotel) + +### ๐Ÿ› Bug Fixes + +- 1cdc420 ast_visit: Correct and expand comments in `Utf8ToUtf16Converter` (#13310) (overlookmotel) + +### ๐Ÿšœ Refactor + +- cd5a9ca ast_visit: `Utf8ToUtf16` record end offset of multi-byte chars (#13339) (overlookmotel) + + diff --git a/crates/oxc_ast_visit/Cargo.toml b/crates/oxc_ast_visit/Cargo.toml index 18f8595782565..67842eb2cf065 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.82.3" +version = "0.83.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 c5335b4595db5..53efd31e03897 100644 --- a/crates/oxc_cfg/CHANGELOG.md +++ b/crates/oxc_cfg/CHANGELOG.md @@ -7,6 +7,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 779a2ca799a72..95ea4ac5db2f7 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.82.3" +version = "0.83.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 2c898272fcb4d..a81f1026f1409 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/CHANGELOG.md @@ -4,6 +4,18 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.83.0] - 2025-08-29 + +### ๐Ÿ› Bug Fixes + +- b53a294 codegen: Add end sourcemaps for arguments (#13355) (sapphi-red) +- 1044566 codegen: Add end sourcemaps for array literals and object literals (#13354) (sapphi-red) + +### ๐Ÿงช Testing + +- f547c94 codegen: Add test that verifies stack traces are correct (#13351) (sapphi-red) + + ## [0.82.3] - 2025-08-20 ### ๐Ÿ› Bug Fixes diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index 305ded0bc2c2b..648b6f72a07d0 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.82.3" +version = "0.83.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 d740830b36e21..83712f8f43359 100644 --- a/crates/oxc_data_structures/CHANGELOG.md +++ b/crates/oxc_data_structures/CHANGELOG.md @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.82.0] - 2025-08-12 ### ๐Ÿ’ฅ BREAKING CHANGES diff --git a/crates/oxc_data_structures/Cargo.toml b/crates/oxc_data_structures/Cargo.toml index 0b5ce54c863cf..12e96da9cd564 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.82.3" +version = "0.83.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 dc3acfb27ca8c..197f17ba69398 100644 --- a/crates/oxc_diagnostics/CHANGELOG.md +++ b/crates/oxc_diagnostics/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.80.0] - 2025-08-03 ### ๐Ÿšœ Refactor diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index 40277bc2040d3..1b30bacec131e 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.82.3" +version = "0.83.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 385b971a87d65..806ed9707c2cd 100644 --- a/crates/oxc_ecmascript/CHANGELOG.md +++ b/crates/oxc_ecmascript/CHANGELOG.md @@ -4,6 +4,27 @@ 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.83.0] - 2025-08-29 + +### ๐Ÿ’ฅ BREAKING CHANGES + +- e459866 ecmascript: [**BREAKING**] Remove `PropertyReadSideEffects::OnlyMemberPropertyAccess` (#13348) (sapphi-red) + +### ๐Ÿš€ Features + +- ac2067b ecmascript: Examine and improve `is_literal_value` (#13363) (sapphi-red) +- 8e34656 ecmascript: Implement MayHaveSideEffects for AssignmentTarget (#13279) (sapphi-red) +- a1b6ad4 minifier: Implement known methods `Math.clz32` and `Math.imul` (#12405) (Ethan Wu) + +### ๐Ÿ› Bug Fixes + +- 5d898e8 ecmascript: Treat shadowed global calls correctly (#13292) (sapphi-red) + +### ๐Ÿšœ Refactor + +- 66a5673 ecmascript: Add `ToUint32` trait (#13272) (sapphi-red) + + ## [0.82.3] - 2025-08-20 ### ๐Ÿ› Bug Fixes diff --git a/crates/oxc_ecmascript/Cargo.toml b/crates/oxc_ecmascript/Cargo.toml index 967d835b1fdff..a1aae32a8baea 100644 --- a/crates/oxc_ecmascript/Cargo.toml +++ b/crates/oxc_ecmascript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ecmascript" -version = "0.82.3" +version = "0.83.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 b363991b801af..80900bef50bf0 100644 --- a/crates/oxc_estree/CHANGELOG.md +++ b/crates/oxc_estree/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.82.3] - 2025-08-20 ### ๐Ÿšœ Refactor diff --git a/crates/oxc_estree/Cargo.toml b/crates/oxc_estree/Cargo.toml index 04626e1ef9a54..8053c15898707 100644 --- a/crates/oxc_estree/Cargo.toml +++ b/crates/oxc_estree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_estree" -version = "0.82.3" +version = "0.83.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 2cad2733be147..3cc5da0afa7e7 100644 --- a/crates/oxc_isolated_declarations/CHANGELOG.md +++ b/crates/oxc_isolated_declarations/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.83.0] - 2025-08-29 + +### ๐Ÿšœ Refactor + +- 66a5673 ecmascript: Add `ToUint32` trait (#13272) (sapphi-red) + + ## [0.82.3] - 2025-08-20 ### ๐Ÿ› Bug Fixes diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index 0650287817cb7..ea01b169ed9d1 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.82.3" +version = "0.83.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 4a406d5b9dbb7..b457781271c9a 100644 --- a/crates/oxc_mangler/CHANGELOG.md +++ b/crates/oxc_mangler/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.80.0] - 2025-08-03 ### ๐Ÿšœ Refactor diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index 70aa79ca52816..8ce16d493a667 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.82.3" +version = "0.83.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 43977820e0b73..b6c339656af18 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/CHANGELOG.md @@ -4,6 +4,47 @@ 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.83.0] - 2025-08-29 + +### ๐Ÿ’ฅ BREAKING CHANGES + +- e459866 ecmascript: [**BREAKING**] Remove `PropertyReadSideEffects::OnlyMemberPropertyAccess` (#13348) (sapphi-red) + +### ๐Ÿš€ Features + +- a40140a minifier: Use `is_literal_value` in `substitute_single_use_symbol_in_expression` (#13364) (sapphi-red) +- ac2067b ecmascript: Examine and improve `is_literal_value` (#13363) (sapphi-red) +- 56d2da3 minifier: Inline top-level variables for module scripts (#13361) (sapphi-red) +- 593f54c minifier: Add `--max-iterations` for debugging (#13291) (sapphi-red) +- a08dd5a minifier: Merge assignments in sequence exprs to variable declaration (#13270) (sapphi-red) +- a19e84f minifier: Merge assignment to variable declaration (#13269) (sapphi-red) +- 07afa70 minifier: Support remaining expressions for single use variable inlining (#13280) (sapphi-red) +- 8e34656 ecmascript: Implement MayHaveSideEffects for AssignmentTarget (#13279) (sapphi-red) +- a951eee minifier: Support more statements for single use variable inlining (#13277) (sapphi-red) +- dcda3a2 minifier: Support more expressions for single use variable inlining (#13276) (sapphi-red) +- 66d6005 minifier: Implement basic single use variable inlining (#13275) (sapphi-red) +- 53f55a4 minifier: Remove unnecessary parenthesis from nested optional chaining (#13268) (sapphi-red) +- 8ca9909 minifier: Remove unused assignments for vars (#13231) (sapphi-red) +- cae222c minifier: Compress `return void foo()` => `foo(); return` (#13271) (sapphi-red) +- a1b6ad4 minifier: Implement known methods `Math.clz32` and `Math.imul` (#12405) (Ethan Wu) + +### ๐Ÿ› Bug Fixes + +- 72468f9 minifier: Keep variables that are modified by `typeof foo === 'object' && foo !== null` compression (2) (#13362) (sapphi-red) +- 5d898e8 ecmascript: Treat shadowed global calls correctly (#13292) (sapphi-red) +- 87e68b5 minifier: Keep variables that are modified by `typeof foo === 'object' && foo !== null` compression (#13290) (sapphi-red) +- 0e804aa minifier: Keep variables that are modified by combined assignments made by minification (#13267) (sapphi-red) +- 6003285 minifier: Keep property access before call expressions as-is to preserve `this` value (#13278) (sapphi-red) + +### โšก Performance + +- d7c9169 minifier: Exit early in `is_closest_function_scope_an_async_generator` (#13273) (sapphi-red) + +### ๐Ÿงช Testing + +- d0f1d63 minifier: Share test helper functions between unit tests and integration tests (#13360) (sapphi-red) + + ## [0.82.3] - 2025-08-20 ### ๐Ÿ› Bug Fixes diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index e3421207c8f2a..74b55d05a77cd 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.82.3" +version = "0.83.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 7d4ff0b6470d6..01e1872f4e442 100644 --- a/crates/oxc_napi/CHANGELOG.md +++ b/crates/oxc_napi/CHANGELOG.md @@ -9,6 +9,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 ff63d06f77883..abae6bc8b1394 100644 --- a/crates/oxc_napi/Cargo.toml +++ b/crates/oxc_napi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_napi" -version = "0.82.3" +version = "0.83.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 c654aa127545f..fc3413ec4b0ab 100644 --- a/crates/oxc_parser/CHANGELOG.md +++ b/crates/oxc_parser/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.83.0] - 2025-08-29 + +### ๐Ÿš€ Features + +- 903a150 parser: Report more invalid modifier locations (#13368) (Ulrich Stark) + + ## [0.82.3] - 2025-08-20 ### ๐Ÿ› Bug Fixes diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index d806e362044ba..2b6f366a896c1 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.82.3" +version = "0.83.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 bf5ce75d0dc70..7e84cf44c92f3 100644 --- a/crates/oxc_regular_expression/CHANGELOG.md +++ b/crates/oxc_regular_expression/CHANGELOG.md @@ -9,6 +9,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_regular_expression/Cargo.toml b/crates/oxc_regular_expression/Cargo.toml index 60c9bf17a355f..1d996abae3f38 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.82.3" +version = "0.83.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 4de7ab69f9cdb..eaf9e2e93a707 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/CHANGELOG.md @@ -4,6 +4,21 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.83.0] - 2025-08-29 + +### ๐Ÿš€ Features + +- 9a828de semantic: Derive `Default` for `Semantic` (#13343) (overlookmotel) + +### ๐Ÿ› Bug Fixes + +- 8a43068 semantic: Allow `super` in object method in js but not in ts (#13318) (Boshen) + +### ๐Ÿšœ Refactor + +- d787517 semantic: Store comments as a slice instead of `&Vec` (#13336) (overlookmotel) + + ## [0.82.3] - 2025-08-20 ### ๐Ÿšœ Refactor diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index 4ebea229aa5d3..643b7c996399f 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.82.3" +version = "0.83.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 3c0d214f1ade3..889d891475a5e 100644 --- a/crates/oxc_span/CHANGELOG.md +++ b/crates/oxc_span/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.80.0] - 2025-08-03 ### ๐Ÿš€ Features diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index 1b75746d033e0..4cb9f12c1c8ea 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.82.3" +version = "0.83.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 185645c73829c..8035257400b6c 100644 --- a/crates/oxc_syntax/CHANGELOG.md +++ b/crates/oxc_syntax/CHANGELOG.md @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.82.0] - 2025-08-12 ### ๐Ÿš€ Features diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index 6a26e88a7d2fa..3c8f3bf7b97c1 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.82.3" +version = "0.83.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 04f217623bed8..6611799653c54 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/CHANGELOG.md @@ -4,6 +4,27 @@ 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.83.0] - 2025-08-29 + +### ๐Ÿ› Bug Fixes + +- c900b3e transformer/styled-components: Remove more escaped line breaks in CSS minification (#13380) (overlookmotel) +- 6dc5b70 transformer/styled-components: Remove unnecessary whitespace around block comments in CSS minification (#13379) (overlookmotel) +- 5a25c06 transformer/legacy-decorator: Simplify enum type inference (#13357) (overlookmotel) +- 1fca9b8 transformer/styled-components: Remove trailing whitespace in CSS minification (#13376) (overlookmotel) +- df38b2c transformer/styled-components: Remove space before line comment in CSS minification (#13371) (overlookmotel) +- a7a06b7 transformer/styled-components: Fix block comment containing expression in CSS minification (#13370) (overlookmotel) +- 35d83ca transformer/styled-components: Remove repeat whitespace in CSS minification (#13369) (overlookmotel) +- 7aff3b6 transformer/styled-components: Preserve spaces between consecutive interpolations in CSS minification (#13346) (Dunqing) +- 24fee15 transformer/legacy-decorator: Emit correct metadata types for enum (#13327) (Dunqing) + +### ๐Ÿšœ Refactor + +- be6677e transformer/styled-components: Clarify whitespace removal logic in CSS minification (#13375) (overlookmotel) +- e7a49ed transformer/legacy-decorator: Eliminate unreliable identification of metadata (#13227) (Dunqing) +- 66a5673 ecmascript: Add `ToUint32` trait (#13272) (sapphi-red) + + ## [0.82.3] - 2025-08-20 ### ๐Ÿ› Bug Fixes diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index cc18b62e89322..504cd006081c4 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.82.3" +version = "0.83.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 7ae16cda5e30d..a8a03cfa6962c 100644 --- a/crates/oxc_transformer_plugins/CHANGELOG.md +++ b/crates/oxc_transformer_plugins/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.83.0] - 2025-08-29 + +### ๐Ÿ› Bug Fixes + +- b53a294 codegen: Add end sourcemaps for arguments (#13355) (sapphi-red) +- 45e0cd9 oxc_transformer_plugins: Replace_global_define plugin `postfix_wildcard` should only match one property (#13307) (IWANABETHATGUY) + + ## [0.82.3] - 2025-08-20 ### ๐Ÿ› Bug Fixes diff --git a/crates/oxc_transformer_plugins/Cargo.toml b/crates/oxc_transformer_plugins/Cargo.toml index aad548c85bfe6..2a431bcb982cf 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.82.3" +version = "0.83.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 ead0e6b5992af..30968ac626a96 100644 --- a/crates/oxc_traverse/CHANGELOG.md +++ b/crates/oxc_traverse/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.82.3] - 2025-08-20 ### ๐Ÿ› Bug Fixes diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 9c51be57a5906..096df3bce4e83 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.82.3" +version = "0.83.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/minify/CHANGELOG.md b/napi/minify/CHANGELOG.md index 4157b9c79a56e..0605d9b320f5b 100644 --- a/napi/minify/CHANGELOG.md +++ b/napi/minify/CHANGELOG.md @@ -4,6 +4,30 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.83.0] - 2025-08-29 + +### ๐Ÿ’ฅ BREAKING CHANGES + +- 34d0a01 napi/minify,transform: [**BREAKING**] Change module type to ESM (#13349) (Boshen) + +### ๐Ÿš€ Features + +- 593f54c minifier: Add `--max-iterations` for debugging (#13291) (sapphi-red) +- a0e0a91 oxc_minify_napi: Expose `CodeGenOptions` (#13288) (sapphi-red) + + +## [0.83.0] - 2025-08-29 + +### ๐Ÿ’ฅ BREAKING CHANGES + +- 34d0a01 napi/minify,transform: [**BREAKING**] Change module type to ESM (#13349) (Boshen) + +### ๐Ÿš€ Features + +- 593f54c minifier: Add `--max-iterations` for debugging (#13291) (sapphi-red) +- a0e0a91 oxc_minify_napi: Expose `CodeGenOptions` (#13288) (sapphi-red) + + ## [0.82.3] - 2025-08-20 ### ๐Ÿ› Bug Fixes diff --git a/napi/minify/Cargo.toml b/napi/minify/Cargo.toml index 385840e0f0779..a2a286b16a176 100644 --- a/napi/minify/Cargo.toml +++ b/napi/minify/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minify_napi" -version = "0.82.3" +version = "0.83.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/minify/package.json b/napi/minify/package.json index 3f787be6e7ca0..63cbce6da75b2 100644 --- a/napi/minify/package.json +++ b/napi/minify/package.json @@ -1,6 +1,6 @@ { "name": "oxc-minify", - "version": "0.82.3", + "version": "0.83.0", "type": "module", "main": "index.js", "browser": "browser.js", diff --git a/napi/parser/CHANGELOG.md b/napi/parser/CHANGELOG.md index 812b8552d5723..b23cd279b9b18 100644 --- a/napi/parser/CHANGELOG.md +++ b/napi/parser/CHANGELOG.md @@ -4,6 +4,8 @@ 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.82.3] - 2025-08-20 ### ๐Ÿšœ Refactor diff --git a/napi/parser/Cargo.toml b/napi/parser/Cargo.toml index 48900dc4d6989..b51552645ee22 100644 --- a/napi/parser/Cargo.toml +++ b/napi/parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser_napi" -version = "0.82.3" +version = "0.83.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/parser/package.json b/napi/parser/package.json index 7b11749c36dd7..104257560f5d4 100644 --- a/napi/parser/package.json +++ b/napi/parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.82.3", + "version": "0.83.0", "type": "commonjs", "main": "index.js", "browser": "wasm.mjs", diff --git a/napi/transform/CHANGELOG.md b/napi/transform/CHANGELOG.md index 98950ffabf79b..ac28a99e46f30 100644 --- a/napi/transform/CHANGELOG.md +++ b/napi/transform/CHANGELOG.md @@ -4,6 +4,20 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.83.0] - 2025-08-29 + +### ๐Ÿ’ฅ BREAKING CHANGES + +- 34d0a01 napi/minify,transform: [**BREAKING**] Change module type to ESM (#13349) (Boshen) + + +## [0.83.0] - 2025-08-29 + +### ๐Ÿ’ฅ BREAKING CHANGES + +- 34d0a01 napi/minify,transform: [**BREAKING**] Change module type to ESM (#13349) (Boshen) + + ## [0.82.3] - 2025-08-20 ### ๐Ÿ› Bug Fixes diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index 5ba313036ee88..737c08389dedc 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.82.3" +version = "0.83.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/transform/package.json b/napi/transform/package.json index ec3bdcc68e75b..42c446cd36457 100644 --- a/napi/transform/package.json +++ b/napi/transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.82.3", + "version": "0.83.0", "type": "module", "main": "index.js", "browser": "browser.js", diff --git a/npm/oxc-types/CHANGELOG.md b/npm/oxc-types/CHANGELOG.md index 435f27ccd0e26..4e49a99160946 100644 --- a/npm/oxc-types/CHANGELOG.md +++ b/npm/oxc-types/CHANGELOG.md @@ -7,6 +7,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/npm/oxc-types/package.json b/npm/oxc-types/package.json index 30f373ea3f076..11ed38927b50e 100644 --- a/npm/oxc-types/package.json +++ b/npm/oxc-types/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/types", - "version": "0.82.3", + "version": "0.83.0", "description": "Types for Oxc AST nodes", "type": "commonjs", "keywords": [ diff --git a/npm/runtime/CHANGELOG.md b/npm/runtime/CHANGELOG.md index 149912a328bac..2bdfe788b6282 100644 --- a/npm/runtime/CHANGELOG.md +++ b/npm/runtime/CHANGELOG.md @@ -22,6 +22,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + # Changelog diff --git a/npm/runtime/package.json b/npm/runtime/package.json index 3880d5bbabc7c..12d14f8e21f98 100644 --- a/npm/runtime/package.json +++ b/npm/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/runtime", - "version": "0.82.3", + "version": "0.83.0", "description": "Oxc's modular runtime helpers", "license": "MIT", "repository": {