diff --git a/Cargo.lock b/Cargo.lock index 0fa92f1035171..ab6073a05b374 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1505,7 +1505,7 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56" [[package]] name = "oxc" -version = "0.54.0" +version = "0.55.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1568,7 +1568,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.54.0" +version = "0.55.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1582,7 +1582,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.54.0" +version = "0.55.0" dependencies = [ "bitflags 2.8.0", "cow-utils", @@ -1597,7 +1597,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.54.0" +version = "0.55.0" dependencies = [ "proc-macro2", "quote", @@ -1629,7 +1629,7 @@ dependencies = [ [[package]] name = "oxc_ast_visit" -version = "0.54.0" +version = "0.55.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1662,7 +1662,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.54.0" +version = "0.55.0" dependencies = [ "bitflags 2.8.0", "itertools", @@ -1675,7 +1675,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.54.0" +version = "0.55.0" dependencies = [ "base64", "bitflags 2.8.0", @@ -1738,7 +1738,7 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.54.0" +version = "0.55.0" dependencies = [ "assert-unchecked", "ropey", @@ -1746,7 +1746,7 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.54.0" +version = "0.55.0" dependencies = [ "cow-utils", "oxc-miette", @@ -1754,7 +1754,7 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.54.0" +version = "0.55.0" dependencies = [ "cow-utils", "num-bigint", @@ -1766,7 +1766,7 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.54.0" +version = "0.55.0" dependencies = [ "itoa", "oxc_data_structures", @@ -1784,7 +1784,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.54.0" +version = "0.55.0" dependencies = [ "bitflags 2.8.0", "insta", @@ -1885,7 +1885,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.54.0" +version = "0.55.0" dependencies = [ "fixedbitset", "itertools", @@ -1900,7 +1900,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.54.0" +version = "0.55.0" dependencies = [ "cow-utils", "insta", @@ -1957,7 +1957,7 @@ dependencies = [ [[package]] name = "oxc_napi" -version = "0.54.0" +version = "0.55.0" dependencies = [ "napi", "napi-build", @@ -1967,7 +1967,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.54.0" +version = "0.55.0" dependencies = [ "assert-unchecked", "bitflags 2.8.0", @@ -1990,7 +1990,7 @@ dependencies = [ [[package]] name = "oxc_parser_napi" -version = "0.54.0" +version = "0.55.0" dependencies = [ "napi", "napi-build", @@ -2048,7 +2048,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.54.0" +version = "0.55.0" dependencies = [ "oxc_allocator", "oxc_ast_macros", @@ -2082,7 +2082,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.54.0" +version = "0.55.0" dependencies = [ "assert-unchecked", "insta", @@ -2124,7 +2124,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.54.0" +version = "0.55.0" dependencies = [ "compact_str", "oxc-miette", @@ -2137,7 +2137,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.54.0" +version = "0.55.0" dependencies = [ "assert-unchecked", "bitflags 2.8.0", @@ -2197,7 +2197,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.54.0" +version = "0.55.0" dependencies = [ "napi", "napi-build", @@ -2210,7 +2210,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.54.0" +version = "0.55.0" dependencies = [ "base64", "compact_str", @@ -2244,7 +2244,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.54.0" +version = "0.55.0" dependencies = [ "compact_str", "itoa", diff --git a/Cargo.toml b/Cargo.toml index 3294e336c6429..20230d6e11f7e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -101,30 +101,30 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.54.0", path = "crates/oxc" } -oxc_allocator = { version = "0.54.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.54.0", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.54.0", path = "crates/oxc_ast_macros" } -oxc_ast_visit = { version = "0.54.0", path = "crates/oxc_ast_visit" } -oxc_cfg = { version = "0.54.0", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.54.0", path = "crates/oxc_codegen" } -oxc_data_structures = { version = "0.54.0", path = "crates/oxc_data_structures" } -oxc_diagnostics = { version = "0.54.0", path = "crates/oxc_diagnostics" } -oxc_ecmascript = { version = "0.54.0", path = "crates/oxc_ecmascript" } -oxc_estree = { version = "0.54.0", path = "crates/oxc_estree" } -oxc_isolated_declarations = { version = "0.54.0", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.54.0", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.54.0", path = "crates/oxc_minifier" } -oxc_napi = { version = "0.54.0", path = "crates/oxc_napi" } -oxc_parser = { version = "0.54.0", path = "crates/oxc_parser" } -oxc_parser_napi = { version = "0.54.0", path = "napi/parser" } -oxc_regular_expression = { version = "0.54.0", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.54.0", path = "crates/oxc_semantic" } -oxc_span = { version = "0.54.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.54.0", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.54.0", path = "napi/transform" } -oxc_transformer = { version = "0.54.0", path = "crates/oxc_transformer" } -oxc_traverse = { version = "0.54.0", path = "crates/oxc_traverse" } +oxc = { version = "0.55.0", path = "crates/oxc" } +oxc_allocator = { version = "0.55.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.55.0", path = "crates/oxc_ast" } +oxc_ast_macros = { version = "0.55.0", path = "crates/oxc_ast_macros" } +oxc_ast_visit = { version = "0.55.0", path = "crates/oxc_ast_visit" } +oxc_cfg = { version = "0.55.0", path = "crates/oxc_cfg" } +oxc_codegen = { version = "0.55.0", path = "crates/oxc_codegen" } +oxc_data_structures = { version = "0.55.0", path = "crates/oxc_data_structures" } +oxc_diagnostics = { version = "0.55.0", path = "crates/oxc_diagnostics" } +oxc_ecmascript = { version = "0.55.0", path = "crates/oxc_ecmascript" } +oxc_estree = { version = "0.55.0", path = "crates/oxc_estree" } +oxc_isolated_declarations = { version = "0.55.0", path = "crates/oxc_isolated_declarations" } +oxc_mangler = { version = "0.55.0", path = "crates/oxc_mangler" } +oxc_minifier = { version = "0.55.0", path = "crates/oxc_minifier" } +oxc_napi = { version = "0.55.0", path = "crates/oxc_napi" } +oxc_parser = { version = "0.55.0", path = "crates/oxc_parser" } +oxc_parser_napi = { version = "0.55.0", path = "napi/parser" } +oxc_regular_expression = { version = "0.55.0", path = "crates/oxc_regular_expression" } +oxc_semantic = { version = "0.55.0", path = "crates/oxc_semantic" } +oxc_span = { version = "0.55.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.55.0", path = "crates/oxc_syntax" } +oxc_transform_napi = { version = "0.55.0", path = "napi/transform" } +oxc_transformer = { version = "0.55.0", path = "crates/oxc_transformer" } +oxc_traverse = { version = "0.55.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 d864b431d70ef..0b2bb6f7a05cf 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.55.0] - 2025-03-05 + +### Features + +- d55dbe2 ast/estree: Raw transfer (experimental) (#9516) (overlookmotel) + ## [0.54.0] - 2025-03-04 - a5cde10 visit_ast: [**BREAKING**] Add `oxc_visit_ast` crate (#9428) (Boshen) diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 49c30654393c5..1a3f5e64efad1 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.54.0" +version = "0.55.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 b398b6e37271b..f73b73036fe1c 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.55.0] - 2025-03-05 + +### Features + +- d55dbe2 ast/estree: Raw transfer (experimental) (#9516) (overlookmotel) + ## [0.53.0] - 2025-02-26 ### Refactor diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index 2bb8b7c13d842..f39e9b36a530c 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.54.0" +version = "0.55.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 2e542a165e291..d203773610274 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.55.0] - 2025-03-05 + +- 4056560 ast/estree: [**BREAKING**] Option to return JS-only AST (#9520) (overlookmotel) + +### Features + +- 59a9f1d ast: Add `AstBuilder::*_with_pure` etc methods (#9417) (Dunqing) +- af02a87 ast/estree: `Property` have consistent field order (#9547) (overlookmotel) +- 3e4f909 ast/estree: ESTree AST `ExportNamedDeclaration` always have `attributes` field (#9546) (overlookmotel) +- d55dbe2 ast/estree: Raw transfer (experimental) (#9516) (overlookmotel) + +### Performance + +- 6b4a8c6 ast, codegen, transformer: Avoid allocations when converting `RegExpFlags` to string (#9550) (overlookmotel) + +### Refactor + +- 734b6b6 ast: `RegExpFlags::to_string` return flags in alphabetical order (#9548) (overlookmotel) +- c1a8cea ast/estree: Simplify serializing `RegExpLiteral`s (#9551) (overlookmotel) + ## [0.54.0] - 2025-03-04 - 098f652 codegen: [**BREAKING**] Add `CommentAnnotation` to avoid parsing comments again (#9506) (Boshen) diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index 5bdae2175d3bd..2a67cb961d0a6 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.54.0" +version = "0.55.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 446b69d2dc3c7..c74a791f8e016 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.54.0" +version = "0.55.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 887c6dd4fb8df..06d5a69aa02c9 100644 --- a/crates/oxc_ast_visit/CHANGELOG.md +++ b/crates/oxc_ast_visit/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.55.0] - 2025-03-05 + +### Features + +- d55dbe2 ast/estree: Raw transfer (experimental) (#9516) (overlookmotel) + ## [0.54.0] - 2025-03-04 - a5cde10 visit_ast: [**BREAKING**] Add `oxc_visit_ast` crate (#9428) (Boshen) diff --git a/crates/oxc_ast_visit/Cargo.toml b/crates/oxc_ast_visit/Cargo.toml index 28ff7dd60e322..332e883a4ade0 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.54.0" +version = "0.55.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 6a470705e0437..680f763321909 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.54.0" +version = "0.55.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 41918f91119ce..ece4b49f7f971 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/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.55.0] - 2025-03-05 + +### Features + +- 2326cef parser: Apply `pure` to argument of unary expression (#9530) (Dunqing) + +### Performance + +- 6b4a8c6 ast, codegen, transformer: Avoid allocations when converting `RegExpFlags` to string (#9550) (overlookmotel) + ## [0.54.0] - 2025-03-04 - 098f652 codegen: [**BREAKING**] Add `CommentAnnotation` to avoid parsing comments again (#9506) (Boshen) diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index fbd9c4e902a51..34049d10268de 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.54.0" +version = "0.55.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 d2245c1a4dde7..2393ade332096 100644 --- a/crates/oxc_data_structures/CHANGELOG.md +++ b/crates/oxc_data_structures/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.55.0] - 2025-03-05 + +### Features + +- 29041fb data_structures: Move `InlineString` into `oxc_data_structures` crate (#9549) (overlookmotel) + ## [0.53.0] - 2025-02-26 ### Features diff --git a/crates/oxc_data_structures/Cargo.toml b/crates/oxc_data_structures/Cargo.toml index 5ad45e87069b1..31a3dd1845fb9 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.54.0" +version = "0.55.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 73c7a6ce8b6e0..8e5575c29ec48 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.54.0" +version = "0.55.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 89691b699de13..17de00968c20f 100644 --- a/crates/oxc_ecmascript/Cargo.toml +++ b/crates/oxc_ecmascript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ecmascript" -version = "0.54.0" +version = "0.55.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 f30f0d764c8ed..123fe8901b48d 100644 --- a/crates/oxc_estree/Cargo.toml +++ b/crates/oxc_estree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_estree" -version = "0.54.0" +version = "0.55.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index de50dddf4d9e5..c500819b906cd 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.54.0" +version = "0.55.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 56ae4a38915e7..909d0994b16fa 100644 --- a/crates/oxc_mangler/CHANGELOG.md +++ b/crates/oxc_mangler/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.55.0] - 2025-03-05 + +### Features + +- 29041fb data_structures: Move `InlineString` into `oxc_data_structures` crate (#9549) (overlookmotel) + +### Performance + +- bc14ee5 mangler: Use shorter `InlineString` (#9552) (overlookmotel) + ## [0.53.0] - 2025-02-26 ### Refactor diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index 0d3d675cd6fb5..9d2dc74366ea5 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.54.0" +version = "0.55.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 39f21d6ef2259..9573ada99bbee 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/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.55.0] - 2025-03-05 + +### Features + +- 9321439 minifier: Merge throw statements at the end (#9539) (sapphi-red) +- 803f061 minifier: Apply `__NO_SIDE_EFFECTS__` (#9533) (Boshen) + +### Testing + +- dc1465e minifier: Enable some tests in minimize_conditions (#9543) (sapphi-red) +- 0a5c73b minifier: Enable some tests in peephole directory (#9542) (sapphi-red) +- 55e7ee9 minifier: Enable some esbuild tests (#9540) (sapphi-red) + ## [0.54.0] - 2025-03-04 - a5cde10 visit_ast: [**BREAKING**] Add `oxc_visit_ast` crate (#9428) (Boshen) diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index 587d8d00a5835..e9f4dfc32cf20 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.54.0" +version = "0.55.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 d3b4aa40ccf01..cf91412461817 100644 --- a/crates/oxc_napi/Cargo.toml +++ b/crates/oxc_napi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_napi" -version = "0.54.0" +version = "0.55.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 7af3cd66f26e9..de4b36dce54a5 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.55.0] - 2025-03-05 + +### Features + +- 2326cef parser: Apply `pure` to argument of unary expression (#9530) (Dunqing) + +### Bug Fixes + +- a88eb56 parser: Parsing errors occur when type parameters are followed by `as` or `satisfies` (#9553) (Dunqing) +- 2c6e3f1 parser: Fix false positive parsing optional member expr (#9534) (camc314) + ## [0.54.0] - 2025-03-04 - 098f652 codegen: [**BREAKING**] Add `CommentAnnotation` to avoid parsing comments again (#9506) (Boshen) diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index d04f333a2a06d..ae8c45693577f 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.54.0" +version = "0.55.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 4c050531d3ea1..04cbe096a3356 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.54.0" +version = "0.55.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 525886073b217..ddf08a40089ed 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/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.55.0] - 2025-03-05 + +### Features + +- 803f061 minifier: Apply `__NO_SIDE_EFFECTS__` (#9533) (Boshen) + ## [0.54.0] - 2025-03-04 - 098f652 codegen: [**BREAKING**] Add `CommentAnnotation` to avoid parsing comments again (#9506) (Boshen) diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index 2b263d3115345..25cc460e48adf 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.54.0" +version = "0.55.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 0b7604162b584..fe9b17dfd9554 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.54.0" +version = "0.55.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 21f078584f989..4501118ea53db 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.55.0] - 2025-03-05 + +### Features + +- d55dbe2 ast/estree: Raw transfer (experimental) (#9516) (overlookmotel) + ## [0.54.0] - 2025-03-04 ### Performance diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index a9a527a0bc9b6..81d8605e4c5e8 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.54.0" +version = "0.55.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 e25d54886e89a..788728a6c5d00 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/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.55.0] - 2025-03-05 + +### Features + +- 45ace44 transformer: Add `/* @_PURE__ */` annotation for pure calls (#9424) (Dunqing) +- ffd485c transformer, napi/transform: Expose `moduleRunnerTransform` function (#9532) (Dunqing) + +### Bug Fixes + +- cead38d transformer/optional-chaining: Fix context of optional chain call (#9526) (hi-ogawa) + +### Performance + +- 6b4a8c6 ast, codegen, transformer: Avoid allocations when converting `RegExpFlags` to string (#9550) (overlookmotel) + +### Refactor + +- fb4d0b6 transformer: Shorten code for using `*_with_scope_id` methods (#9538) (Dunqing) +- 0c46f2a transformer/object-rest-spread: Use `helper_call` instead of `helper_load` + `call_expression` (#9536) (Dunqing) + ## [0.54.0] - 2025-03-04 - 098f652 codegen: [**BREAKING**] Add `CommentAnnotation` to avoid parsing comments again (#9506) (Boshen) diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index d2188d111bde3..4f1bb0ab6449d 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.54.0" +version = "0.55.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index f3a33a70abf87..bc0b94c15cf26 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.54.0" +version = "0.55.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/parser/CHANGELOG.md b/napi/parser/CHANGELOG.md index 5e9000f70db33..4e12f67119cac 100644 --- a/napi/parser/CHANGELOG.md +++ b/napi/parser/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.55.0] - 2025-03-05 + +- 4056560 ast/estree: [**BREAKING**] Option to return JS-only AST (#9520) (overlookmotel) + +### Features + +- af02a87 ast/estree: `Property` have consistent field order (#9547) (overlookmotel) +- 3e4f909 ast/estree: ESTree AST `ExportNamedDeclaration` always have `attributes` field (#9546) (overlookmotel) +- d55dbe2 ast/estree: Raw transfer (experimental) (#9516) (overlookmotel) + +### Bug Fixes + +- a0f6f37 ast/estree: Raw transfer support `showSemanticErrors` option (#9522) (overlookmotel) + +### Refactor + +- c1a8cea ast/estree: Simplify serializing `RegExpLiteral`s (#9551) (overlookmotel) + +### Testing + +- 4378a66 ast/estree: Speed up raw transfer tests (#9521) (overlookmotel) + ## [0.54.0] - 2025-03-04 - 355a4db napi/parser: [**BREAKING**] Remove `parse_without_return` API (#9455) (Boshen) diff --git a/napi/parser/Cargo.toml b/napi/parser/Cargo.toml index 1f4759a71cfdd..76317261f044b 100644 --- a/napi/parser/Cargo.toml +++ b/napi/parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser_napi" -version = "0.54.0" +version = "0.55.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/transform/CHANGELOG.md b/napi/transform/CHANGELOG.md index 832a058237f73..f2ea0dc4affd9 100644 --- a/napi/transform/CHANGELOG.md +++ b/napi/transform/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.55.0] - 2025-03-05 + +### Features + +- 45ace44 transformer: Add `/* @_PURE__ */` annotation for pure calls (#9424) (Dunqing) +- ffd485c transformer, napi/transform: Expose `moduleRunnerTransform` function (#9532) (Dunqing) + ## [0.54.0] - 2025-03-04 ### Bug Fixes diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index e14e33ed21b4e..87f460054594f 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.54.0" +version = "0.55.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/npm/oxc-minify/package.json b/npm/oxc-minify/package.json index b8f98132aea0e..30b2a748f5bd6 100644 --- a/npm/oxc-minify/package.json +++ b/npm/oxc-minify/package.json @@ -1,6 +1,6 @@ { "name": "oxc-minify", - "version": "0.54.0", + "version": "0.55.0", "description": "Oxc minify Node API", "keywords": [ "minify" diff --git a/npm/oxc-parser/CHANGELOG.md b/npm/oxc-parser/CHANGELOG.md index bddb468cf5f7d..cfaa40b36f921 100644 --- a/npm/oxc-parser/CHANGELOG.md +++ b/npm/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.55.0] - 2025-03-05 + +- 4056560 ast/estree: [**BREAKING**] Option to return JS-only AST (#9520) (overlookmotel) + +### Features + + +### Documentation + +- a453f0b npm/oxc-parser: Update README (Boshen) + ## [0.54.0] - 2025-03-04 ### Features diff --git a/npm/oxc-parser/package.json b/npm/oxc-parser/package.json index 8e86c02c547c0..518cdd55a73c6 100644 --- a/npm/oxc-parser/package.json +++ b/npm/oxc-parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.54.0", + "version": "0.55.0", "description": "Oxc Parser Node API", "keywords": [ "Parser" diff --git a/npm/oxc-transform/package.json b/npm/oxc-transform/package.json index 7716d9cb78bfb..6e9cb135bd1ef 100644 --- a/npm/oxc-transform/package.json +++ b/npm/oxc-transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.54.0", + "version": "0.55.0", "description": "Oxc transform Node API", "keywords": [ "transform" diff --git a/npm/oxc-types/CHANGELOG.md b/npm/oxc-types/CHANGELOG.md index ace81f460c96d..5f5fae16386ff 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.55.0] - 2025-03-05 + +### Features + +- af02a87 ast/estree: `Property` have consistent field order (#9547) (overlookmotel) + ## [0.54.0] - 2025-03-04 ### Features diff --git a/npm/oxc-types/package.json b/npm/oxc-types/package.json index 1433d77267141..38cb3ff0f9a7e 100644 --- a/npm/oxc-types/package.json +++ b/npm/oxc-types/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/types", - "version": "0.54.0", + "version": "0.55.0", "description": "Types for Oxc AST nodes", "keywords": [ "AST", diff --git a/npm/runtime/package.json b/npm/runtime/package.json index 90fea1a5c69c1..49492f3ad60ad 100644 --- a/npm/runtime/package.json +++ b/npm/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/runtime", - "version": "0.54.0", + "version": "0.55.0", "description": "Oxc's modular runtime helpers", "license": "MIT", "repository": { diff --git a/wasm/parser/package.json b/wasm/parser/package.json index 5ae14b7088b2b..5483c71a4d0a3 100644 --- a/wasm/parser/package.json +++ b/wasm/parser/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-parser/wasm", - "version": "0.54.0", + "version": "0.55.0", "description": "Wasm target for the oxc parser.", "keywords": [ "JavaScript",