diff --git a/Cargo.lock b/Cargo.lock index c51ca8a4653bd..96feb41229830 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1459,7 +1459,7 @@ checksum = "26995317201fa17f3656c36716aed4a7c81743a9634ac4c99c0eeda495db0cec" [[package]] name = "oxc" -version = "0.71.0" +version = "0.72.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1533,7 +1533,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.71.0" +version = "0.72.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1547,7 +1547,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.71.0" +version = "0.72.0" dependencies = [ "bitflags 2.9.1", "cow-utils", @@ -1562,7 +1562,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.71.0" +version = "0.72.0" dependencies = [ "phf", "proc-macro2", @@ -1595,7 +1595,7 @@ dependencies = [ [[package]] name = "oxc_ast_visit" -version = "0.71.0" +version = "0.72.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1630,7 +1630,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.71.0" +version = "0.72.0" dependencies = [ "bitflags 2.9.1", "itertools", @@ -1643,7 +1643,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.71.0" +version = "0.72.0" dependencies = [ "base64", "bitflags 2.9.1", @@ -1706,7 +1706,7 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.71.0" +version = "0.72.0" dependencies = [ "ropey", "rustversion", @@ -1714,7 +1714,7 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.71.0" +version = "0.72.0" dependencies = [ "cow-utils", "oxc-miette", @@ -1722,7 +1722,7 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.71.0" +version = "0.72.0" dependencies = [ "cow-utils", "num-bigint", @@ -1734,7 +1734,7 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.71.0" +version = "0.72.0" dependencies = [ "itoa", "oxc_data_structures", @@ -1768,7 +1768,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.71.0" +version = "0.72.0" dependencies = [ "bitflags 2.9.1", "insta", @@ -1868,7 +1868,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.71.0" +version = "0.72.0" dependencies = [ "fixedbitset", "itertools", @@ -1884,7 +1884,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.71.0" +version = "0.72.0" dependencies = [ "cow-utils", "insta", @@ -1942,7 +1942,7 @@ dependencies = [ [[package]] name = "oxc_napi" -version = "0.71.0" +version = "0.72.0" dependencies = [ "napi", "napi-build", @@ -1956,7 +1956,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.71.0" +version = "0.72.0" dependencies = [ "bitflags 2.9.1", "cow-utils", @@ -1979,7 +1979,7 @@ dependencies = [ [[package]] name = "oxc_parser_napi" -version = "0.71.0" +version = "0.72.0" dependencies = [ "mimalloc-safe", "napi", @@ -2029,7 +2029,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.71.0" +version = "0.72.0" dependencies = [ "bitflags 2.9.1", "oxc_allocator", @@ -2074,7 +2074,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.71.0" +version = "0.72.0" dependencies = [ "insta", "itertools", @@ -2115,7 +2115,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.71.0" +version = "0.72.0" dependencies = [ "compact_str", "oxc-miette", @@ -2128,7 +2128,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.71.0" +version = "0.72.0" dependencies = [ "bitflags 2.9.1", "cow-utils", @@ -2188,7 +2188,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.71.0" +version = "0.72.0" dependencies = [ "mimalloc-safe", "napi", @@ -2202,7 +2202,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.71.0" +version = "0.72.0" dependencies = [ "base64", "compact_str", @@ -2234,7 +2234,7 @@ dependencies = [ [[package]] name = "oxc_transformer_plugins" -version = "0.71.0" +version = "0.72.0" dependencies = [ "cow-utils", "insta", @@ -2260,7 +2260,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.71.0" +version = "0.72.0" dependencies = [ "itoa", "oxc_allocator", diff --git a/Cargo.toml b/Cargo.toml index 0aa93caf17e70..35bd74b6cd373 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -104,31 +104,31 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.71.0", path = "crates/oxc" } -oxc_allocator = { version = "0.71.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.71.0", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.71.0", path = "crates/oxc_ast_macros" } -oxc_ast_visit = { version = "0.71.0", path = "crates/oxc_ast_visit" } -oxc_cfg = { version = "0.71.0", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.71.0", path = "crates/oxc_codegen" } -oxc_data_structures = { version = "0.71.0", path = "crates/oxc_data_structures" } -oxc_diagnostics = { version = "0.71.0", path = "crates/oxc_diagnostics" } -oxc_ecmascript = { version = "0.71.0", path = "crates/oxc_ecmascript" } -oxc_estree = { version = "0.71.0", path = "crates/oxc_estree" } -oxc_isolated_declarations = { version = "0.71.0", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.71.0", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.71.0", path = "crates/oxc_minifier" } -oxc_napi = { version = "0.71.0", path = "crates/oxc_napi" } -oxc_parser = { version = "0.71.0", path = "crates/oxc_parser", features = ["regular_expression"] } -oxc_parser_napi = { version = "0.71.0", path = "napi/parser" } -oxc_regular_expression = { version = "0.71.0", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.71.0", path = "crates/oxc_semantic" } -oxc_span = { version = "0.71.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.71.0", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.71.0", path = "napi/transform" } -oxc_transformer = { version = "0.71.0", path = "crates/oxc_transformer" } -oxc_transformer_plugins = { version = "0.71.0", path = "crates/oxc_transformer_plugins" } -oxc_traverse = { version = "0.71.0", path = "crates/oxc_traverse" } +oxc = { version = "0.72.0", path = "crates/oxc" } +oxc_allocator = { version = "0.72.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.72.0", path = "crates/oxc_ast" } +oxc_ast_macros = { version = "0.72.0", path = "crates/oxc_ast_macros" } +oxc_ast_visit = { version = "0.72.0", path = "crates/oxc_ast_visit" } +oxc_cfg = { version = "0.72.0", path = "crates/oxc_cfg" } +oxc_codegen = { version = "0.72.0", path = "crates/oxc_codegen" } +oxc_data_structures = { version = "0.72.0", path = "crates/oxc_data_structures" } +oxc_diagnostics = { version = "0.72.0", path = "crates/oxc_diagnostics" } +oxc_ecmascript = { version = "0.72.0", path = "crates/oxc_ecmascript" } +oxc_estree = { version = "0.72.0", path = "crates/oxc_estree" } +oxc_isolated_declarations = { version = "0.72.0", path = "crates/oxc_isolated_declarations" } +oxc_mangler = { version = "0.72.0", path = "crates/oxc_mangler" } +oxc_minifier = { version = "0.72.0", path = "crates/oxc_minifier" } +oxc_napi = { version = "0.72.0", path = "crates/oxc_napi" } +oxc_parser = { version = "0.72.0", path = "crates/oxc_parser", features = ["regular_expression"] } +oxc_parser_napi = { version = "0.72.0", path = "napi/parser" } +oxc_regular_expression = { version = "0.72.0", path = "crates/oxc_regular_expression" } +oxc_semantic = { version = "0.72.0", path = "crates/oxc_semantic" } +oxc_span = { version = "0.72.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.72.0", path = "crates/oxc_syntax" } +oxc_transform_napi = { version = "0.72.0", path = "napi/transform" } +oxc_transformer = { version = "0.72.0", path = "crates/oxc_transformer" } +oxc_transformer_plugins = { version = "0.72.0", path = "crates/oxc_transformer_plugins" } +oxc_traverse = { version = "0.72.0", path = "crates/oxc_traverse" } # publish = false oxc_formatter = { path = "crates/oxc_formatter" } diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 1a2adc8d3e57a..562d084d52363 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.71.0" +version = "0.72.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 3535221831245..e0914dfb1fa10 100644 --- a/crates/oxc_allocator/CHANGELOG.md +++ b/crates/oxc_allocator/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/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.72.0] - 2025-05-24 + +- c16ea02 allocator: [**BREAKING**] Remove `String` (#11262) (overlookmotel) + +### Features + +- c901b5b allocator: Introduce `StringBuilder` (#11257) (overlookmotel) +- 03390ad allocator: `TakeIn` trait with `AllocatorAccessor` (#11201) (Boshen) +- 4feeeee span: Add `Atom::from_strs_array_in` method (#11261) (overlookmotel) + +### Bug Fixes + +- 250e56f allocator/vec: Fix unsoundness in `Vec::extend_from_slices_copy` (#11200) (overlookmotel) + +### Refactor + +- ddcf248 allocator: Use type alias for `InnerVec` (#11209) (overlookmotel) +- cef5452 allocator: `TakeIn::take_in_box` accept any `AllocatorAccessor` (#11216) (overlookmotel) +- 6827543 allocator: `InnerVec` use `Alloc` trait (#11199) (overlookmotel) +- a2ab84b allocator: Introduce `Alloc` trait (#11198) (overlookmotel) +- 8ec0c74 allocator/vec: Access `len` and `cap` fields via getters/setters (#11081) (overlookmotel) + ## [0.71.0] - 2025-05-20 ### Features diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index b9b6163ef7e84..15740e4f73048 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.71.0" +version = "0.72.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 1b974e89b5f2c..71fd8a422894b 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/CHANGELOG.md @@ -4,6 +4,19 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.72.0] - 2025-05-24 + +### Features + +- 03390ad allocator: `TakeIn` trait with `AllocatorAccessor` (#11201) (Boshen) +- 23182b8 ast/estree: Add `phase` field to `ImportExpression` in TS-ESTree AST (#11193) (overlookmotel) +- 4feeeee span: Add `Atom::from_strs_array_in` method (#11261) (overlookmotel) +- c2c0268 syntax: Introduce `CommentNodeId` (#11214) (overlookmotel) + +### Refactor + +- f05c506 ast: Move `AstBuilder` type definition (#11238) (overlookmotel) + ## [0.71.0] - 2025-05-20 - 1a4fec0 codegen: [**BREAKING**] A legal comment can also be a jsdoc comment (#11158) (Boshen) diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index 66565198037fc..ea2cf0b698ce7 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.71.0" +version = "0.72.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 c8cfe9c98859c..b9de36e33e764 100644 --- a/crates/oxc_ast_macros/CHANGELOG.md +++ b/crates/oxc_ast_macros/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.72.0] - 2025-05-24 + +### Features + +- c2c0268 syntax: Introduce `CommentNodeId` (#11214) (overlookmotel) + ## [0.71.0] - 2025-05-20 ### Features diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index f7cfa824709cd..9cc99ae2a2775 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.71.0" +version = "0.72.0" 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 168dfc556477f..8cffe35799992 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.71.0" +version = "0.72.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_cfg/Cargo.toml b/crates/oxc_cfg/Cargo.toml index 264af64cad329..330bd8580d44b 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.71.0" +version = "0.72.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index ad5130b4c7950..77981cf4535e5 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.71.0" +version = "0.72.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_data_structures/Cargo.toml b/crates/oxc_data_structures/Cargo.toml index 3be706d0962b2..d81a7727bc868 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.71.0" +version = "0.72.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index fd736bd08892b..088176ae1279a 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.71.0" +version = "0.72.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ecmascript/Cargo.toml b/crates/oxc_ecmascript/Cargo.toml index 7a1b093931d46..05fe9232e6e62 100644 --- a/crates/oxc_ecmascript/Cargo.toml +++ b/crates/oxc_ecmascript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ecmascript" -version = "0.71.0" +version = "0.72.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_estree/Cargo.toml b/crates/oxc_estree/Cargo.toml index fb4b6503d445d..0547043b6cb28 100644 --- a/crates/oxc_estree/Cargo.toml +++ b/crates/oxc_estree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_estree" -version = "0.71.0" +version = "0.72.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 9430fdb0ceb30..19a1c6eddbfe1 100644 --- a/crates/oxc_isolated_declarations/CHANGELOG.md +++ b/crates/oxc_isolated_declarations/CHANGELOG.md @@ -4,6 +4,19 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.72.0] - 2025-05-24 + +### Features + +- 03390ad allocator: `TakeIn` trait with `AllocatorAccessor` (#11201) (Boshen) +- 123e63c isolated-declarations: Report an error for object methods whose return type cannot be inferred (#11230) (Dunqing) + +### Bug Fixes + +- 7126adb isolated-declarations: Type of class setter/getter cannot be inferred when the key is a global `Symbol.xxx` expression (#11236) (Dunqing) +- ac9638e isolated-declarations: Object property key was generated incorrectly (#11231) (Dunqing) +- 9ec8500 isolated-declarations: Incorrect type of object property accessor (#11229) (Dunqing) + ## [0.71.0] - 2025-05-20 - 5d9344f rust: [**BREAKING**] Clippy avoid-breaking-exported-api = false (#11088) (Boshen) diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index dc139a4d865b4..65ece5e2e075e 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.71.0" +version = "0.72.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index 19c4ec14b8d65..fa926e7068f03 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.71.0" +version = "0.72.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 42d89dd6d02e7..073de6d8542fd 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/CHANGELOG.md @@ -4,6 +4,16 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.72.0] - 2025-05-24 + +### Features + +- 03390ad allocator: `TakeIn` trait with `AllocatorAccessor` (#11201) (Boshen) + +### Refactor + +- cef5452 allocator: `TakeIn::take_in_box` accept any `AllocatorAccessor` (#11216) (overlookmotel) + ## [0.71.0] - 2025-05-20 - 65a6419 mangler: [**BREAKING**] `Mangler::build_with_semantic` take mut ref to `Semantic` (#11132) (overlookmotel) diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index 4dd9a34bdbec0..720190f6f595d 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.71.0" +version = "0.72.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_napi/Cargo.toml b/crates/oxc_napi/Cargo.toml index ae3400043d6f1..a6f421061ca9e 100644 --- a/crates/oxc_napi/Cargo.toml +++ b/crates/oxc_napi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_napi" -version = "0.71.0" +version = "0.72.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 49c7708e9e1a2..03bdecb9480ed 100644 --- a/crates/oxc_parser/CHANGELOG.md +++ b/crates/oxc_parser/CHANGELOG.md @@ -4,6 +4,37 @@ 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.72.0] - 2025-05-24 + +### Features + +- 03390ad allocator: `TakeIn` trait with `AllocatorAccessor` (#11201) (Boshen) +- 2398906 parser: Check mixed coalesce and new exponential with `preserveParens:false` (#11264) (Boshen) + +### Bug Fixes + +- aa510cf parser: Produce syntax error for `({}) = x` when `preserveParens:false` (#11263) (Boshen) +- dcdcf12 parser: Parse `new (import("x"))` with `preserveParens: false` (#11251) (Boshen) +- 8e8dea5 parser: Fix incorrect token start in `re_lex_right_angle` (#11204) (Boshen) + +### Performance + +- 254048d lexer: Remove string allocation (#11255) (overlookmotel) +- 14fcf89 parser: Remove redundant checks (#11207) (Ulrich Stark) + +### Refactor + +- 02d3bb7 parser: Use `StringBuilder` instead of `String` (#11259) (overlookmotel) +- b99749c parser: Remove lexer lookahead in parsing TS statements (#11253) (camchenry) +- 4e12796 parser: Remove Lexer peeking for js/class (#11243) (leaysgur) +- 6ddf7a8 parser: Remove token lookahead in type parsing (#11241) (camchenry) +- 86e753d parser: Remove Lexer peeking for jsx (#11232) (leaysgur) +- 07e6ae0 parser: Remove Lexer peeking for modifiers (#11228) (leaysgur) +- 62f7184 parser: Replace peek in `parse_rest_binding` with checkpoint (#11225) (camchenry) +- def05bc parser: Remove lookahead usage in parsing arrow function expressions (#11220) (camchenry) +- a9dbf0a parser: Use checkpoints instead of `peek_at` in `is_un_parenthesized_async_arrow_function_worker` (#11218) (camchenry) +- a4e2eb1 parser: Make lexer code slightly more readable (#11212) (Ulrich Stark) + ## [0.71.0] - 2025-05-20 - 1a4fec0 codegen: [**BREAKING**] A legal comment can also be a jsdoc comment (#11158) (Boshen) diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index 7bd1ddcac10a8..0ab9df089d119 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.71.0" +version = "0.72.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_regular_expression/Cargo.toml b/crates/oxc_regular_expression/Cargo.toml index 67b9d51dc27f6..f3681590b5b73 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.71.0" +version = "0.72.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 bedfb7efb43c8..9f1dce5a0ac84 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/CHANGELOG.md @@ -4,6 +4,16 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.72.0] - 2025-05-24 + +### Features + +- 2398906 parser: Check mixed coalesce and new exponential with `preserveParens:false` (#11264) (Boshen) + +### Bug Fixes + +- c4f8690 parser: Fix "Enum member must have initializer." false positive (#11265) (Boshen) + ## [0.71.0] - 2025-05-20 - 65a6419 mangler: [**BREAKING**] `Mangler::build_with_semantic` take mut ref to `Semantic` (#11132) (overlookmotel) diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index 71fdcc829729a..e56a68f5ba035 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.71.0" +version = "0.72.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 ab05dc239a7dc..acd13120d65af 100644 --- a/crates/oxc_span/CHANGELOG.md +++ b/crates/oxc_span/CHANGELOG.md @@ -4,6 +4,18 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.72.0] - 2025-05-24 + +- c16ea02 allocator: [**BREAKING**] Remove `String` (#11262) (overlookmotel) + +### Features + +- 4feeeee span: Add `Atom::from_strs_array_in` method (#11261) (overlookmotel) + +### Refactor + +- f406202 ast, span: Use `StringBuilder` instead of `String` (#11258) (overlookmotel) + ## [0.71.0] - 2025-05-20 - 5d9344f rust: [**BREAKING**] Clippy avoid-breaking-exported-api = false (#11088) (Boshen) diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index d41d2a59cbe17..c954e0b3efadf 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.71.0" +version = "0.72.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 5c66bade0cef1..803fc5bc632d7 100644 --- a/crates/oxc_syntax/CHANGELOG.md +++ b/crates/oxc_syntax/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.72.0] - 2025-05-24 + +### Features + +- 3eb027b formatter: Support printing binary like expression (#11185) (Dunqing) +- c2c0268 syntax: Introduce `CommentNodeId` (#11214) (overlookmotel) + ## [0.71.0] - 2025-05-20 - 5d9344f rust: [**BREAKING**] Clippy avoid-breaking-exported-api = false (#11088) (Boshen) diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index 6a75d3b085aee..21bd98539d55c 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.71.0" +version = "0.72.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 3f7c38caeaa81..80f7e79e38024 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/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/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.72.0] - 2025-05-24 + +### Features + +- 03390ad allocator: `TakeIn` trait with `AllocatorAccessor` (#11201) (Boshen) +- 4feeeee span: Add `Atom::from_strs_array_in` method (#11261) (overlookmotel) + +### Performance + +- 3281e99 transformer/react-refresh: Faster base64 encoding (#11254) (overlookmotel) + +### Refactor + +- cef5452 allocator: `TakeIn::take_in_box` accept any `AllocatorAccessor` (#11216) (overlookmotel) +- 202ffd2 transformer: Use `StringBuilder` instead of `String` (#11260) (overlookmotel) + ## [0.71.0] - 2025-05-20 - 5d9344f rust: [**BREAKING**] Clippy avoid-breaking-exported-api = false (#11088) (Boshen) diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index 046257d29b893..8cf6d2443e296 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.71.0" +version = "0.72.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 24667555cb7d2..5428205f56c97 100644 --- a/crates/oxc_transformer_plugins/CHANGELOG.md +++ b/crates/oxc_transformer_plugins/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.72.0] - 2025-05-24 + +### Features + +- 03390ad allocator: `TakeIn` trait with `AllocatorAccessor` (#11201) (Boshen) + ## [0.71.0] - 2025-05-20 - 5d9344f rust: [**BREAKING**] Clippy avoid-breaking-exported-api = false (#11088) (Boshen) diff --git a/crates/oxc_transformer_plugins/Cargo.toml b/crates/oxc_transformer_plugins/Cargo.toml index 00d312ca1b3b0..7ea9586f293a0 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.71.0" +version = "0.72.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 2441c1a5e5448..0bf6327c37f95 100644 --- a/crates/oxc_traverse/CHANGELOG.md +++ b/crates/oxc_traverse/CHANGELOG.md @@ -4,6 +4,17 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.72.0] - 2025-05-24 + +### Features + +- 4feeeee span: Add `Atom::from_strs_array_in` method (#11261) (overlookmotel) +- c2c0268 syntax: Introduce `CommentNodeId` (#11214) (overlookmotel) + +### Refactor + +- 202ffd2 transformer: Use `StringBuilder` instead of `String` (#11260) (overlookmotel) + ## [0.71.0] - 2025-05-20 - 5d9344f rust: [**BREAKING**] Clippy avoid-breaking-exported-api = false (#11088) (Boshen) diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 881b96fb25643..e86914fb63c91 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.71.0" +version = "0.72.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/minify/package.json b/napi/minify/package.json index 73488195ffc31..5815bdf10e38f 100644 --- a/napi/minify/package.json +++ b/napi/minify/package.json @@ -1,6 +1,6 @@ { "name": "oxc-minify", - "version": "0.71.0", + "version": "0.72.0", "main": "index.js", "browser": "browser.js", "scripts": { diff --git a/napi/parser/CHANGELOG.md b/napi/parser/CHANGELOG.md index b0890a90acac2..0d4f573db0cf5 100644 --- a/napi/parser/CHANGELOG.md +++ b/napi/parser/CHANGELOG.md @@ -4,6 +4,18 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.72.0] - 2025-05-24 + +### Features + +- 23182b8 ast/estree: Add `phase` field to `ImportExpression` in TS-ESTree AST (#11193) (overlookmotel) + +## [0.72.0] - 2025-05-24 + +### Features + +- 23182b8 ast/estree: Add `phase` field to `ImportExpression` in TS-ESTree AST (#11193) (overlookmotel) + ## [0.71.0] - 2025-05-20 ### Features diff --git a/napi/parser/Cargo.toml b/napi/parser/Cargo.toml index 786c5d5c54b76..632c1d8a6b036 100644 --- a/napi/parser/Cargo.toml +++ b/napi/parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser_napi" -version = "0.71.0" +version = "0.72.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/parser/package.json b/napi/parser/package.json index f33a3018718fb..25cce9b0d24c9 100644 --- a/napi/parser/package.json +++ b/napi/parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.71.0", + "version": "0.72.0", "main": "index.js", "browser": "wasm.mjs", "scripts": { diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index b63eb6881faa3..db15a4bf5fd86 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.71.0" +version = "0.72.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/transform/package.json b/napi/transform/package.json index b1632a8aecce5..06753eb1980c5 100644 --- a/napi/transform/package.json +++ b/napi/transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.71.0", + "version": "0.72.0", "main": "index.js", "browser": "browser.js", "scripts": { diff --git a/npm/oxc-types/CHANGELOG.md b/npm/oxc-types/CHANGELOG.md index acaddaf1b1f56..29cb9eeaa283c 100644 --- a/npm/oxc-types/CHANGELOG.md +++ b/npm/oxc-types/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.72.0] - 2025-05-24 + +### Features + +- 23182b8 ast/estree: Add `phase` field to `ImportExpression` in TS-ESTree AST (#11193) (overlookmotel) + ## [0.71.0] - 2025-05-20 ### Features diff --git a/npm/oxc-types/package.json b/npm/oxc-types/package.json index 1d16a6236fb28..9908615447900 100644 --- a/npm/oxc-types/package.json +++ b/npm/oxc-types/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/types", - "version": "0.71.0", + "version": "0.72.0", "description": "Types for Oxc AST nodes", "keywords": [ "AST", diff --git a/npm/runtime/package.json b/npm/runtime/package.json index fa4541c475859..aa76bc592aa5c 100644 --- a/npm/runtime/package.json +++ b/npm/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/runtime", - "version": "0.71.0", + "version": "0.72.0", "description": "Oxc's modular runtime helpers", "license": "MIT", "repository": {