From dca7d7a9c1370a2475fed5a41abbe4577cd7c4c4 Mon Sep 17 00:00:00 2001 From: Boshen <1430279+Boshen@users.noreply.github.com> Date: Thu, 20 Mar 2025 12:04:35 +0000 Subject: [PATCH] release(crates): v0.61.0 --- Cargo.lock | 48 +++++++------- Cargo.toml | 48 +++++++------- crates/oxc/CHANGELOG.md | 6 ++ crates/oxc/Cargo.toml | 2 +- crates/oxc_allocator/CHANGELOG.md | 6 ++ crates/oxc_allocator/Cargo.toml | 2 +- crates/oxc_ast/CHANGELOG.md | 20 ++++++ crates/oxc_ast/Cargo.toml | 2 +- crates/oxc_ast_macros/Cargo.toml | 2 +- crates/oxc_ast_visit/CHANGELOG.md | 7 ++ crates/oxc_ast_visit/Cargo.toml | 2 +- crates/oxc_cfg/Cargo.toml | 2 +- crates/oxc_codegen/CHANGELOG.md | 8 +++ crates/oxc_codegen/Cargo.toml | 2 +- crates/oxc_data_structures/CHANGELOG.md | 10 +++ crates/oxc_data_structures/Cargo.toml | 2 +- crates/oxc_diagnostics/CHANGELOG.md | 6 ++ crates/oxc_diagnostics/Cargo.toml | 2 +- crates/oxc_ecmascript/Cargo.toml | 2 +- crates/oxc_estree/Cargo.toml | 2 +- crates/oxc_isolated_declarations/CHANGELOG.md | 6 ++ crates/oxc_isolated_declarations/Cargo.toml | 2 +- crates/oxc_mangler/CHANGELOG.md | 6 ++ crates/oxc_mangler/Cargo.toml | 2 +- crates/oxc_minifier/CHANGELOG.md | 15 +++++ crates/oxc_minifier/Cargo.toml | 2 +- crates/oxc_napi/CHANGELOG.md | 10 +++ crates/oxc_napi/Cargo.toml | 2 +- crates/oxc_parser/CHANGELOG.md | 11 ++++ crates/oxc_parser/Cargo.toml | 2 +- crates/oxc_regular_expression/Cargo.toml | 2 +- crates/oxc_semantic/CHANGELOG.md | 14 ++++ crates/oxc_semantic/Cargo.toml | 2 +- crates/oxc_span/Cargo.toml | 2 +- crates/oxc_syntax/CHANGELOG.md | 6 ++ crates/oxc_syntax/Cargo.toml | 2 +- crates/oxc_transformer/CHANGELOG.md | 11 ++++ crates/oxc_transformer/Cargo.toml | 2 +- crates/oxc_traverse/CHANGELOG.md | 7 ++ crates/oxc_traverse/Cargo.toml | 2 +- napi/minify/CHANGELOG.md | 11 ++++ napi/minify/package.json | 2 +- napi/parser/CHANGELOG.md | 66 +++++++++++++++++++ napi/parser/Cargo.toml | 2 +- napi/parser/package.json | 2 +- napi/transform/CHANGELOG.md | 30 +++++++++ napi/transform/Cargo.toml | 2 +- napi/transform/package.json | 2 +- npm/oxc-types/CHANGELOG.md | 11 ++++ npm/oxc-types/package.json | 2 +- npm/runtime/package.json | 2 +- 51 files changed, 344 insertions(+), 77 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 567529b9b79ea..46796dd6a72a0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1479,7 +1479,7 @@ checksum = "1036865bb9422d3300cf723f657c2851d0e9ab12567854b1f4eba3d77decf564" [[package]] name = "oxc" -version = "0.60.0" +version = "0.61.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1539,7 +1539,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.60.0" +version = "0.61.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1554,7 +1554,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.60.0" +version = "0.61.0" dependencies = [ "bitflags 2.9.0", "cow-utils", @@ -1569,7 +1569,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.60.0" +version = "0.61.0" dependencies = [ "proc-macro2", "quote", @@ -1601,7 +1601,7 @@ dependencies = [ [[package]] name = "oxc_ast_visit" -version = "0.60.0" +version = "0.61.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1634,7 +1634,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.60.0" +version = "0.61.0" dependencies = [ "bitflags 2.9.0", "itertools", @@ -1647,7 +1647,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.60.0" +version = "0.61.0" dependencies = [ "base64", "bitflags 2.9.0", @@ -1710,14 +1710,14 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.60.0" +version = "0.61.0" dependencies = [ "ropey", ] [[package]] name = "oxc_diagnostics" -version = "0.60.0" +version = "0.61.0" dependencies = [ "cow-utils", "oxc-miette", @@ -1725,7 +1725,7 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.60.0" +version = "0.61.0" dependencies = [ "cow-utils", "num-bigint", @@ -1737,7 +1737,7 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.60.0" +version = "0.61.0" dependencies = [ "itoa", "oxc_data_structures", @@ -1755,7 +1755,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.60.0" +version = "0.61.0" dependencies = [ "bitflags 2.9.0", "insta", @@ -1858,7 +1858,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.60.0" +version = "0.61.0" dependencies = [ "fixedbitset", "itertools", @@ -1873,7 +1873,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.60.0" +version = "0.61.0" dependencies = [ "cow-utils", "insta", @@ -1931,7 +1931,7 @@ dependencies = [ [[package]] name = "oxc_napi" -version = "0.60.0" +version = "0.61.0" dependencies = [ "napi", "napi-build", @@ -1944,7 +1944,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.60.0" +version = "0.61.0" dependencies = [ "bitflags 2.9.0", "cow-utils", @@ -1967,7 +1967,7 @@ dependencies = [ [[package]] name = "oxc_parser_napi" -version = "0.60.0" +version = "0.61.0" dependencies = [ "mimalloc-safe", "napi", @@ -2031,7 +2031,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.60.0" +version = "0.61.0" dependencies = [ "oxc_allocator", "oxc_ast_macros", @@ -2064,7 +2064,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.60.0" +version = "0.61.0" dependencies = [ "insta", "itertools", @@ -2105,7 +2105,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.60.0" +version = "0.61.0" dependencies = [ "compact_str", "oxc-miette", @@ -2118,7 +2118,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.60.0" +version = "0.61.0" dependencies = [ "bitflags 2.9.0", "cow-utils", @@ -2177,7 +2177,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.60.0" +version = "0.61.0" dependencies = [ "mimalloc-safe", "napi", @@ -2191,7 +2191,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.60.0" +version = "0.61.0" dependencies = [ "base64", "compact_str", @@ -2225,7 +2225,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.60.0" +version = "0.61.0" dependencies = [ "compact_str", "itoa", diff --git a/Cargo.toml b/Cargo.toml index beb3dade4702d..69da2cde921de 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -103,30 +103,30 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.60.0", path = "crates/oxc" } -oxc_allocator = { version = "0.60.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.60.0", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.60.0", path = "crates/oxc_ast_macros" } -oxc_ast_visit = { version = "0.60.0", path = "crates/oxc_ast_visit" } -oxc_cfg = { version = "0.60.0", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.60.0", path = "crates/oxc_codegen" } -oxc_data_structures = { version = "0.60.0", path = "crates/oxc_data_structures" } -oxc_diagnostics = { version = "0.60.0", path = "crates/oxc_diagnostics" } -oxc_ecmascript = { version = "0.60.0", path = "crates/oxc_ecmascript" } -oxc_estree = { version = "0.60.0", path = "crates/oxc_estree" } -oxc_isolated_declarations = { version = "0.60.0", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.60.0", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.60.0", path = "crates/oxc_minifier" } -oxc_napi = { version = "0.60.0", path = "crates/oxc_napi" } -oxc_parser = { version = "0.60.0", path = "crates/oxc_parser", features = ["regular_expression"] } -oxc_parser_napi = { version = "0.60.0", path = "napi/parser" } -oxc_regular_expression = { version = "0.60.0", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.60.0", path = "crates/oxc_semantic" } -oxc_span = { version = "0.60.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.60.0", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.60.0", path = "napi/transform" } -oxc_transformer = { version = "0.60.0", path = "crates/oxc_transformer" } -oxc_traverse = { version = "0.60.0", path = "crates/oxc_traverse" } +oxc = { version = "0.61.0", path = "crates/oxc" } +oxc_allocator = { version = "0.61.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.61.0", path = "crates/oxc_ast" } +oxc_ast_macros = { version = "0.61.0", path = "crates/oxc_ast_macros" } +oxc_ast_visit = { version = "0.61.0", path = "crates/oxc_ast_visit" } +oxc_cfg = { version = "0.61.0", path = "crates/oxc_cfg" } +oxc_codegen = { version = "0.61.0", path = "crates/oxc_codegen" } +oxc_data_structures = { version = "0.61.0", path = "crates/oxc_data_structures" } +oxc_diagnostics = { version = "0.61.0", path = "crates/oxc_diagnostics" } +oxc_ecmascript = { version = "0.61.0", path = "crates/oxc_ecmascript" } +oxc_estree = { version = "0.61.0", path = "crates/oxc_estree" } +oxc_isolated_declarations = { version = "0.61.0", path = "crates/oxc_isolated_declarations" } +oxc_mangler = { version = "0.61.0", path = "crates/oxc_mangler" } +oxc_minifier = { version = "0.61.0", path = "crates/oxc_minifier" } +oxc_napi = { version = "0.61.0", path = "crates/oxc_napi" } +oxc_parser = { version = "0.61.0", path = "crates/oxc_parser", features = ["regular_expression"] } +oxc_parser_napi = { version = "0.61.0", path = "napi/parser" } +oxc_regular_expression = { version = "0.61.0", path = "crates/oxc_regular_expression" } +oxc_semantic = { version = "0.61.0", path = "crates/oxc_semantic" } +oxc_span = { version = "0.61.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.61.0", path = "crates/oxc_syntax" } +oxc_transform_napi = { version = "0.61.0", path = "napi/transform" } +oxc_transformer = { version = "0.61.0", path = "crates/oxc_transformer" } +oxc_traverse = { version = "0.61.0", path = "crates/oxc_traverse" } # publish = false oxc_linter = { path = "crates/oxc_linter" } diff --git a/crates/oxc/CHANGELOG.md b/crates/oxc/CHANGELOG.md index c49028de14fc5..7f69fe2c6842f 100644 --- a/crates/oxc/CHANGELOG.md +++ b/crates/oxc/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.61.0] - 2025-03-20 + +### Features + +- a9a47a6 parser: Add regex cargo feature to oxc_parser (#9879) (Toshit) + ## [0.57.0] - 2025-03-11 - ef6e0cc semantic: [**BREAKING**] Combine `SymbolTable` and `ScopeTree` into `Scoping` (#9615) (Boshen) diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 67c5494fead59..b1c6b9240d7f5 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.60.0" +version = "0.61.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 fda74f4b27904..cb9f9c04c2147 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.61.0] - 2025-03-20 + +### Features + +- 38ad787 data_structures: Add `assert_unchecked!` macro (#9885) (overlookmotel) + ## [0.59.0] - 2025-03-18 ### Features diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index c8315f8e5b299..ee12ee93e58fa 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.60.0" +version = "0.61.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 6b45f72ebd6e7..e6e5e1f6c3354 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/CHANGELOG.md @@ -4,6 +4,26 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.61.0] - 2025-03-20 + +- c631291 parser: [**BREAKING**] Parse `TSImportAttributes` as `ObjectExpression` (#9902) (Boshen) + +### Features + +- 59c8f71 parser,codegen: Handle lone surrogate in string literal (#9918) (Boshen) + +### Bug Fixes + +- 28a2ed3 estree/ast: Fix `IdentifierName` and `IdentifierReference` (#9863) (hi-ogawa)- 68018e1 Ast changes (Boshen) + +### Performance + +- 5f97f28 ast/estree: Speed up raw deser for `JSXElement` (#9895) (overlookmotel) + +### Refactor + +- 62e2859 ast/ast_builder: Use `self.vec_from_iter` instead of `Vec::from_iter_in` for consistency (#9909) (Dunqing) + ## [0.60.0] - 2025-03-18 - b3ce925 data_structures: [**BREAKING**] Put all parts behind features (#9849) (overlookmotel) diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index d694acddb3269..9d5f42ae9a1b7 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.60.0" +version = "0.61.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index 47ff401591972..cbb22bd67342d 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.60.0" +version = "0.61.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 7cbea4c7b6ae1..ecb3bc32e1457 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/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.61.0] - 2025-03-20 + +- c631291 parser: [**BREAKING**] Parse `TSImportAttributes` as `ObjectExpression` (#9902) (Boshen) + +### Features + + ## [0.59.0] - 2025-03-18 - ce6808a parser: [**BREAKING**] Rename `type_parameters` to `type_arguments` where needed (#9815) (hi-ogawa) diff --git a/crates/oxc_ast_visit/Cargo.toml b/crates/oxc_ast_visit/Cargo.toml index 1c6cb33743571..27b2d155d215d 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.60.0" +version = "0.61.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 001600de1d17a..52ed55462b4af 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.60.0" +version = "0.61.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 08d683d11a85d..f627ed27a27e6 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.61.0] - 2025-03-20 + +- c631291 parser: [**BREAKING**] Parse `TSImportAttributes` as `ObjectExpression` (#9902) (Boshen) + +### Features + +- 59c8f71 parser,codegen: Handle lone surrogate in string literal (#9918) (Boshen) + ## [0.60.0] - 2025-03-18 - b3ce925 data_structures: [**BREAKING**] Put all parts behind features (#9849) (overlookmotel) diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index eee16fb862fda..5f38b926bd349 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.60.0" +version = "0.61.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 9f8f3c0554b05..7da028a129521 100644 --- a/crates/oxc_data_structures/CHANGELOG.md +++ b/crates/oxc_data_structures/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.61.0] - 2025-03-20 + +### Features + +- 38ad787 data_structures: Add `assert_unchecked!` macro (#9885) (overlookmotel) + +### Testing + +- 9314147 data_structures: Enable doc tests for `oxc_data_structures` crate (#9884) (overlookmotel) + ## [0.60.0] - 2025-03-18 - b3ce925 data_structures: [**BREAKING**] Put all parts behind features (#9849) (overlookmotel) diff --git a/crates/oxc_data_structures/Cargo.toml b/crates/oxc_data_structures/Cargo.toml index a4b7d3fe128e7..58d9d2ad8a0cd 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.60.0" +version = "0.61.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 9474d76a9964b..b33a0c513bf85 100644 --- a/crates/oxc_diagnostics/CHANGELOG.md +++ b/crates/oxc_diagnostics/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.61.0] - 2025-03-20 + +### Features + +- 2cedfe4 napi: Add codeframe to napi error (#9893) (Boshen) + ## [0.56.0] - 2025-03-06 ### Bug Fixes diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index e27379e72eecb..99be18333045a 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.60.0" +version = "0.61.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 3de6d2a075f2c..ca3b4b72a1fca 100644 --- a/crates/oxc_ecmascript/Cargo.toml +++ b/crates/oxc_ecmascript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ecmascript" -version = "0.60.0" +version = "0.61.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 c0b8970e01761..06cce1ad498f6 100644 --- a/crates/oxc_estree/Cargo.toml +++ b/crates/oxc_estree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_estree" -version = "0.60.0" +version = "0.61.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 f1d05e374765b..3b22c2cab4cba 100644 --- a/crates/oxc_isolated_declarations/CHANGELOG.md +++ b/crates/oxc_isolated_declarations/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.61.0] - 2025-03-20 + +### Refactor + +- b2f3d23 isolated_declarations: Remove unused `self` params (#9868) (overlookmotel) + ## [0.59.0] - 2025-03-18 - ce6808a parser: [**BREAKING**] Rename `type_parameters` to `type_arguments` where needed (#9815) (hi-ogawa) diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index 3d6ce7fd3710d..6d1e889a9c600 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.60.0" +version = "0.61.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 dfb8eff3253fc..c319ec0201336 100644 --- a/crates/oxc_mangler/CHANGELOG.md +++ b/crates/oxc_mangler/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.61.0] - 2025-03-20 + +### Performance + +- b272893 mangler, minifier: Initialize a Vec with a specific value using `Vec::from_iter_in` combined with `repeat_with` (#9908) (Dunqing) + ## [0.60.0] - 2025-03-18 - b3ce925 data_structures: [**BREAKING**] Put all parts behind features (#9849) (overlookmotel) diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index a3ac6e1bd42f5..86dac6233beec 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.60.0" +version = "0.61.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 251648310b6c5..849b825d5bd26 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/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/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.61.0] - 2025-03-20 + +- eef7eb6 minifier: [**BREAKING**] Rename `CompressOptions::all_true`/`all_false` to `smallest`/`safest` (#9866) (sapphi-red) + +### Features + +- dcd356e minifier: Support `keep_names` option (#9867) (sapphi-red) + +### Performance + +- b272893 mangler, minifier: Initialize a Vec with a specific value using `Vec::from_iter_in` combined with `repeat_with` (#9908) (Dunqing) + +### Refactor + + ## [0.60.0] - 2025-03-18 - b3ce925 data_structures: [**BREAKING**] Put all parts behind features (#9849) (overlookmotel) diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index a40e47c1a40d5..35aa7a65c058e 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.60.0" +version = "0.61.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 91abc4f76aea8..dc51d57f0e5eb 100644 --- a/crates/oxc_napi/CHANGELOG.md +++ b/crates/oxc_napi/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.61.0] - 2025-03-20 + +### Features + +- 2cedfe4 napi: Add codeframe to napi error (#9893) (Boshen) + +### Refactor + +- 961b95d napi: Move common code to `oxc_napi` (#9875) (Boshen) + ## [0.50.0] - 2025-02-12 ### Bug Fixes diff --git a/crates/oxc_napi/Cargo.toml b/crates/oxc_napi/Cargo.toml index fd59d63ca4153..f8a09e4eca793 100644 --- a/crates/oxc_napi/Cargo.toml +++ b/crates/oxc_napi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_napi" -version = "0.60.0" +version = "0.61.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 fc8864ee3ad06..1d32779962774 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/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.61.0] - 2025-03-20 + +- c631291 parser: [**BREAKING**] Parse `TSImportAttributes` as `ObjectExpression` (#9902) (Boshen) + +### Features + +- 38ad787 data_structures: Add `assert_unchecked!` macro (#9885) (overlookmotel) +- a9a47a6 parser: Add regex cargo feature to oxc_parser (#9879) (Toshit) +- d4a83ba parser: Report duplicate modifier `Accessibility modifier already seen.` (#9890) (Boshen) +- 59c8f71 parser,codegen: Handle lone surrogate in string literal (#9918) (Boshen) + ## [0.59.0] - 2025-03-18 - 3d17860 ast: [**BREAKING**] Reorder fields of `TemplateElement` (#9821) (overlookmotel) diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index 72262c08b98ad..3cd4493ab3ace 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.60.0" +version = "0.61.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 030eaf7f89920..ffa2029c590b0 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.60.0" +version = "0.61.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 9fa210e74655a..a05f8569eb72d 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/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/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.61.0] - 2025-03-20 + +### Features + +- 38ad787 data_structures: Add `assert_unchecked!` macro (#9885) (overlookmotel) + +### Bug Fixes + +- 3d4c5f3 semantic: Correctly visit `IfStmt` `test` when building cfg (#9864) (camc314) + +### Performance + +- f7d078c semantic: Use `reserve_exact` instead of `reserve` to save memory in pre-reserve (#9910) (Dunqing) + ## [0.60.0] - 2025-03-18 - b3ce925 data_structures: [**BREAKING**] Put all parts behind features (#9849) (overlookmotel) diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index 587d19e2ae003..3ffd5d9233fcb 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.60.0" +version = "0.61.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index 2246228a57afa..6883e70ddeb1c 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.60.0" +version = "0.61.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 df09d70caf66f..805253a38b18e 100644 --- a/crates/oxc_syntax/CHANGELOG.md +++ b/crates/oxc_syntax/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.61.0] - 2025-03-20 + +### Features + +- 38ad787 data_structures: Add `assert_unchecked!` macro (#9885) (overlookmotel) + ## [0.56.0] - 2025-03-06 ### Bug Fixes diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index 68b4bcdcd43b2..89bb06d71675b 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.60.0" +version = "0.61.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 cc410db04c481..3f126374d4fa2 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/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.61.0] - 2025-03-20 + +### Bug Fixes + +- 1774225 transformer/using: Incorrect scope ids for bindings (#9871) (camc314) + +### Refactor + +- dbe61c5 transformer/module-runner-transform: Remove redundant converison (#9912) (Dunqing) +- ecdfe2e transformer/using: Move work to `exit_static_block` (#9713) (camc314) + ## [0.60.0] - 2025-03-18 - b3ce925 data_structures: [**BREAKING**] Put all parts behind features (#9849) (overlookmotel) diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index 560faaca72489..5ace06d40938c 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.60.0" +version = "0.61.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 4c4edc62df40f..753ec9c375a68 100644 --- a/crates/oxc_traverse/CHANGELOG.md +++ b/crates/oxc_traverse/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.61.0] - 2025-03-20 + +- c631291 parser: [**BREAKING**] Parse `TSImportAttributes` as `ObjectExpression` (#9902) (Boshen) + +### Features + + ## [0.60.0] - 2025-03-18 - b3ce925 data_structures: [**BREAKING**] Put all parts behind features (#9849) (overlookmotel) diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 4d9ceba462dc8..405f5fc9e77f3 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.60.0" +version = "0.61.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/minify/CHANGELOG.md b/napi/minify/CHANGELOG.md index 7e9eae806846d..6b5e19962f924 100644 --- a/napi/minify/CHANGELOG.md +++ b/napi/minify/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.61.0] - 2025-03-20 + +### Features + +- dcd356e minifier: Support `keep_names` option (#9867) (sapphi-red) +- 6565fc4 napi: Feature gate allocator (#9921) (Boshen) + +### Testing + +- e637e2e napi/parser: Tweak vitest config (#9878) (Hiroshi Ogawa) + ## [0.60.0] - 2025-03-18 ### Features diff --git a/napi/minify/package.json b/napi/minify/package.json index 5610b3be62a30..69a837d313ba7 100644 --- a/napi/minify/package.json +++ b/napi/minify/package.json @@ -1,6 +1,6 @@ { "name": "oxc-minify", - "version": "0.60.0", + "version": "0.61.0", "main": "index.js", "browser": "browser.js", "scripts": { diff --git a/napi/parser/CHANGELOG.md b/napi/parser/CHANGELOG.md index e9ca6a51964eb..ea96b143ba2cf 100644 --- a/napi/parser/CHANGELOG.md +++ b/napi/parser/CHANGELOG.md @@ -4,6 +4,72 @@ 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.61.0] - 2025-03-20 + +- c631291 parser: [**BREAKING**] Parse `TSImportAttributes` as `ObjectExpression` (#9902) (Boshen) + +### Features + +- 6565fc4 napi: Feature gate allocator (#9921) (Boshen) +- 2cedfe4 napi: Add codeframe to napi error (#9893) (Boshen) +- a9a47a6 parser: Add regex cargo feature to oxc_parser (#9879) (Toshit) +- 59c8f71 parser,codegen: Handle lone surrogate in string literal (#9918) (Boshen) + +### Bug Fixes + +- 28a2ed3 estree/ast: Fix `IdentifierName` and `IdentifierReference` (#9863) (hi-ogawa) + +### Performance + +- 5f97f28 ast/estree: Speed up raw deser for `JSXElement` (#9895) (overlookmotel) + +### Documentation + +- 590a258 napi/parser: Add stackblitz link for wasm build (Boshen) + +### Refactor + +- 961b95d napi: Move common code to `oxc_napi` (#9875) (Boshen) +- 233c1fc napi/playground: Add JSON.parse wrapper (#9880) (Hiroshi Ogawa) + +### Testing + +- 040e993 napi: Refactor NAPI parser benchmarks (#9911) (overlookmotel) +- e637e2e napi/parser: Tweak vitest config (#9878) (Hiroshi Ogawa) + +## [0.61.0] - 2025-03-20 + +- c631291 parser: [**BREAKING**] Parse `TSImportAttributes` as `ObjectExpression` (#9902) (Boshen) + +### Features + +- 6565fc4 napi: Feature gate allocator (#9921) (Boshen) +- 2cedfe4 napi: Add codeframe to napi error (#9893) (Boshen) +- a9a47a6 parser: Add regex cargo feature to oxc_parser (#9879) (Toshit) +- 59c8f71 parser,codegen: Handle lone surrogate in string literal (#9918) (Boshen) + +### Bug Fixes + +- 28a2ed3 estree/ast: Fix `IdentifierName` and `IdentifierReference` (#9863) (hi-ogawa) + +### Performance + +- 5f97f28 ast/estree: Speed up raw deser for `JSXElement` (#9895) (overlookmotel) + +### Documentation + +- 590a258 napi/parser: Add stackblitz link for wasm build (Boshen) + +### Refactor + +- 961b95d napi: Move common code to `oxc_napi` (#9875) (Boshen) +- 233c1fc napi/playground: Add JSON.parse wrapper (#9880) (Hiroshi Ogawa) + +### Testing + +- 040e993 napi: Refactor NAPI parser benchmarks (#9911) (overlookmotel) +- e637e2e napi/parser: Tweak vitest config (#9878) (Hiroshi Ogawa) + ## [0.60.0] - 2025-03-18 ### Features diff --git a/napi/parser/Cargo.toml b/napi/parser/Cargo.toml index a4ca7cdb3a64f..b395f97ff49a9 100644 --- a/napi/parser/Cargo.toml +++ b/napi/parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser_napi" -version = "0.60.0" +version = "0.61.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/parser/package.json b/napi/parser/package.json index 2f16821a0647f..eed41b5506409 100644 --- a/napi/parser/package.json +++ b/napi/parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.60.0", + "version": "0.61.0", "main": "index.js", "browser": "wasm.mjs", "scripts": { diff --git a/napi/transform/CHANGELOG.md b/napi/transform/CHANGELOG.md index e7792e3ae6823..57c6a0f27908a 100644 --- a/napi/transform/CHANGELOG.md +++ b/napi/transform/CHANGELOG.md @@ -4,6 +4,36 @@ 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.61.0] - 2025-03-20 + +### Features + +- 6565fc4 napi: Feature gate allocator (#9921) (Boshen) +- 2cedfe4 napi: Add codeframe to napi error (#9893) (Boshen) + +### Refactor + +- 961b95d napi: Move common code to `oxc_napi` (#9875) (Boshen) + +### Testing + +- e637e2e napi/parser: Tweak vitest config (#9878) (Hiroshi Ogawa) + +## [0.61.0] - 2025-03-20 + +### Features + +- 6565fc4 napi: Feature gate allocator (#9921) (Boshen) +- 2cedfe4 napi: Add codeframe to napi error (#9893) (Boshen) + +### Refactor + +- 961b95d napi: Move common code to `oxc_napi` (#9875) (Boshen) + +### Testing + +- e637e2e napi/parser: Tweak vitest config (#9878) (Hiroshi Ogawa) + ## [0.60.0] - 2025-03-18 ### Features diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index 58ff2b1a39f00..bb0b19bfd32cf 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.60.0" +version = "0.61.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/transform/package.json b/napi/transform/package.json index 87608a5ffc15f..873bcef6a06c5 100644 --- a/napi/transform/package.json +++ b/napi/transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.60.0", + "version": "0.61.0", "main": "index.js", "browser": "browser.js", "scripts": { diff --git a/npm/oxc-types/CHANGELOG.md b/npm/oxc-types/CHANGELOG.md index 826ccece006cf..a9b6608779b2c 100644 --- a/npm/oxc-types/CHANGELOG.md +++ b/npm/oxc-types/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.61.0] - 2025-03-20 + +- c631291 parser: [**BREAKING**] Parse `TSImportAttributes` as `ObjectExpression` (#9902) (Boshen) + +### Features + + +### Bug Fixes + +- 28a2ed3 estree/ast: Fix `IdentifierName` and `IdentifierReference` (#9863) (hi-ogawa) + ## [0.60.0] - 2025-03-18 ### Bug Fixes diff --git a/npm/oxc-types/package.json b/npm/oxc-types/package.json index c7e2c1078c9b6..3d3f43a3e5e74 100644 --- a/npm/oxc-types/package.json +++ b/npm/oxc-types/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/types", - "version": "0.60.0", + "version": "0.61.0", "description": "Types for Oxc AST nodes", "keywords": [ "AST", diff --git a/npm/runtime/package.json b/npm/runtime/package.json index d721fba643096..58e753c68905a 100644 --- a/npm/runtime/package.json +++ b/npm/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/runtime", - "version": "0.60.0", + "version": "0.61.0", "description": "Oxc's modular runtime helpers", "license": "MIT", "repository": {