From ab1a2eb6b9d9370f02149629ae2f809736f31ff4 Mon Sep 17 00:00:00 2001 From: Boshen <1430279+Boshen@users.noreply.github.com> Date: Wed, 25 Dec 2024 12:49:02 +0000 Subject: [PATCH] release(crates): v0.44.0 --- Cargo.lock | 44 ++++++++++----------- Cargo.toml | 44 ++++++++++----------- crates/oxc/Cargo.toml | 2 +- crates/oxc_allocator/Cargo.toml | 2 +- crates/oxc_ast/CHANGELOG.md | 11 ++++++ crates/oxc_ast/Cargo.toml | 2 +- crates/oxc_ast_macros/Cargo.toml | 2 +- crates/oxc_cfg/Cargo.toml | 2 +- crates/oxc_codegen/CHANGELOG.md | 34 ++++++++++++++++ crates/oxc_codegen/Cargo.toml | 2 +- crates/oxc_data_structures/Cargo.toml | 2 +- crates/oxc_diagnostics/Cargo.toml | 2 +- crates/oxc_ecmascript/CHANGELOG.md | 6 +++ crates/oxc_ecmascript/Cargo.toml | 2 +- crates/oxc_estree/Cargo.toml | 2 +- crates/oxc_isolated_declarations/Cargo.toml | 2 +- crates/oxc_mangler/Cargo.toml | 2 +- crates/oxc_minifier/CHANGELOG.md | 18 +++++++++ crates/oxc_minifier/Cargo.toml | 2 +- crates/oxc_napi/Cargo.toml | 2 +- crates/oxc_parser/CHANGELOG.md | 9 +++++ crates/oxc_parser/Cargo.toml | 2 +- crates/oxc_regular_expression/Cargo.toml | 2 +- crates/oxc_semantic/CHANGELOG.md | 11 ++++++ crates/oxc_semantic/Cargo.toml | 2 +- crates/oxc_span/CHANGELOG.md | 6 +++ crates/oxc_span/Cargo.toml | 2 +- crates/oxc_syntax/CHANGELOG.md | 6 +++ crates/oxc_syntax/Cargo.toml | 2 +- crates/oxc_transformer/CHANGELOG.md | 18 +++++++++ crates/oxc_transformer/Cargo.toml | 2 +- crates/oxc_traverse/CHANGELOG.md | 11 ++++++ crates/oxc_traverse/Cargo.toml | 2 +- napi/transform/Cargo.toml | 2 +- npm/oxc-parser/package.json | 2 +- npm/oxc-transform/package.json | 2 +- npm/oxc-types/CHANGELOG.md | 7 ++++ npm/oxc-types/package.json | 2 +- wasm/parser/package.json | 2 +- 39 files changed, 207 insertions(+), 70 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d1d2be451c726..886f7c39b7980 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1384,7 +1384,7 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56" [[package]] name = "oxc" -version = "0.43.0" +version = "0.44.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1446,7 +1446,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.43.0" +version = "0.44.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1457,7 +1457,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.43.0" +version = "0.44.0" dependencies = [ "bitflags 2.6.0", "cow-utils", @@ -1475,7 +1475,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.43.0" +version = "0.44.0" dependencies = [ "proc-macro2", "quote", @@ -1523,7 +1523,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.43.0" +version = "0.44.0" dependencies = [ "bitflags 2.6.0", "itertools", @@ -1536,7 +1536,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.43.0" +version = "0.44.0" dependencies = [ "assert-unchecked", "base64", @@ -1597,7 +1597,7 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.43.0" +version = "0.44.0" dependencies = [ "assert-unchecked", "ropey", @@ -1605,7 +1605,7 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.43.0" +version = "0.44.0" dependencies = [ "oxc-miette", "rustc-hash", @@ -1613,7 +1613,7 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.43.0" +version = "0.44.0" dependencies = [ "num-bigint", "num-traits", @@ -1624,7 +1624,7 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.43.0" +version = "0.44.0" dependencies = [ "serde", ] @@ -1641,7 +1641,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.43.0" +version = "0.44.0" dependencies = [ "bitflags 2.6.0", "insta", @@ -1741,7 +1741,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.43.0" +version = "0.44.0" dependencies = [ "itertools", "oxc_ast", @@ -1752,7 +1752,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.43.0" +version = "0.44.0" dependencies = [ "cow-utils", "insta", @@ -1800,7 +1800,7 @@ dependencies = [ [[package]] name = "oxc_napi" -version = "0.43.0" +version = "0.44.0" dependencies = [ "napi", "napi-derive", @@ -1809,7 +1809,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.43.0" +version = "0.44.0" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -1890,7 +1890,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.43.0" +version = "0.44.0" dependencies = [ "oxc_allocator", "oxc_ast_macros", @@ -1924,7 +1924,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.43.0" +version = "0.44.0" dependencies = [ "assert-unchecked", "hashbrown 0.15.2", @@ -1965,7 +1965,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.43.0" +version = "0.44.0" dependencies = [ "compact_str", "oxc-miette", @@ -1978,7 +1978,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.43.0" +version = "0.44.0" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -2036,7 +2036,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.43.0" +version = "0.44.0" dependencies = [ "napi", "napi-build", @@ -2049,7 +2049,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.43.0" +version = "0.44.0" dependencies = [ "base64", "compact_str", @@ -2082,7 +2082,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.43.0" +version = "0.44.0" dependencies = [ "compact_str", "itoa", diff --git a/Cargo.toml b/Cargo.toml index 8c41dff011293..1bd59663b3e21 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -78,28 +78,28 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.43.0", path = "crates/oxc" } -oxc_allocator = { version = "0.43.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.43.0", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.43.0", path = "crates/oxc_ast_macros" } -oxc_cfg = { version = "0.43.0", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.43.0", path = "crates/oxc_codegen" } -oxc_data_structures = { version = "0.43.0", path = "crates/oxc_data_structures" } -oxc_diagnostics = { version = "0.43.0", path = "crates/oxc_diagnostics" } -oxc_ecmascript = { version = "0.43.0", path = "crates/oxc_ecmascript" } -oxc_estree = { version = "0.43.0", path = "crates/oxc_estree" } -oxc_isolated_declarations = { version = "0.43.0", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.43.0", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.43.0", path = "crates/oxc_minifier" } -oxc_napi = { version = "0.43.0", path = "crates/oxc_napi" } -oxc_parser = { version = "0.43.0", path = "crates/oxc_parser" } -oxc_regular_expression = { version = "0.43.0", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.43.0", path = "crates/oxc_semantic" } -oxc_span = { version = "0.43.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.43.0", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.43.0", path = "napi/transform" } -oxc_transformer = { version = "0.43.0", path = "crates/oxc_transformer" } -oxc_traverse = { version = "0.43.0", path = "crates/oxc_traverse" } +oxc = { version = "0.44.0", path = "crates/oxc" } +oxc_allocator = { version = "0.44.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.44.0", path = "crates/oxc_ast" } +oxc_ast_macros = { version = "0.44.0", path = "crates/oxc_ast_macros" } +oxc_cfg = { version = "0.44.0", path = "crates/oxc_cfg" } +oxc_codegen = { version = "0.44.0", path = "crates/oxc_codegen" } +oxc_data_structures = { version = "0.44.0", path = "crates/oxc_data_structures" } +oxc_diagnostics = { version = "0.44.0", path = "crates/oxc_diagnostics" } +oxc_ecmascript = { version = "0.44.0", path = "crates/oxc_ecmascript" } +oxc_estree = { version = "0.44.0", path = "crates/oxc_estree" } +oxc_isolated_declarations = { version = "0.44.0", path = "crates/oxc_isolated_declarations" } +oxc_mangler = { version = "0.44.0", path = "crates/oxc_mangler" } +oxc_minifier = { version = "0.44.0", path = "crates/oxc_minifier" } +oxc_napi = { version = "0.44.0", path = "crates/oxc_napi" } +oxc_parser = { version = "0.44.0", path = "crates/oxc_parser" } +oxc_regular_expression = { version = "0.44.0", path = "crates/oxc_regular_expression" } +oxc_semantic = { version = "0.44.0", path = "crates/oxc_semantic" } +oxc_span = { version = "0.44.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.44.0", path = "crates/oxc_syntax" } +oxc_transform_napi = { version = "0.44.0", path = "napi/transform" } +oxc_transformer = { version = "0.44.0", path = "crates/oxc_transformer" } +oxc_traverse = { version = "0.44.0", path = "crates/oxc_traverse" } # publish = false oxc_linter = { path = "crates/oxc_linter" } diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 8b72f7782a120..e7a1af65ca711 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.43.0" +version = "0.44.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index 7949cdcd32a3e..21596de120bd2 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.43.0" +version = "0.44.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 3a82de3741aa8..e194520cc56c3 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/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.44.0] - 2024-12-25 + +- ad2a620 ast: [**BREAKING**] Add missing `AssignmentTargetProperty::computed` (#8097) (Boshen) + +### Features + +- c2daa20 ast: Add `Expression::into_inner_expression` (#8048) (overlookmotel) + +### Bug Fixes + + ## [0.43.0] - 2024-12-21 ### Features diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index bef862fbe6fd7..d4a7e8524c19e 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.43.0" +version = "0.44.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 ec2058aa62b35..f9990fde6f5d5 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.43.0" +version = "0.44.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 2f98dc83cfb52..a9d8bfd45af19 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.43.0" +version = "0.44.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 09385c7ead209..beb04a0289974 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/CHANGELOG.md @@ -4,6 +4,40 @@ 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.44.0] - 2024-12-25 + +- ad2a620 ast: [**BREAKING**] Add missing `AssignmentTargetProperty::computed` (#8097) (Boshen) + +### Features + +- 618b6aa codege: Minify whitespace in object getter / setter (#8080) (Boshen) +- 4727667 codegen: Minify arrow expr `(x) => y` -> `x => y` (#8078) (Boshen) +- 0562830 codegen: Minify string with backtick when needed (#8095) (Boshen) +- 6237c05 codegen: Minify more whitespace (#8089) (Boshen) +- 6355b7c codegen: Minify `export { 's' as 's' }` -> `export { 's' }` (#8093) (Boshen) +- fccfda9 codegen: Minify `class{static[computed]}` (#8088) (Boshen) +- f873139 codegen: Minify `for (_ of [])` -> `for(_ of[])` (#8086) (Boshen) +- 8b8cbcd codegen: Minify `case "foo"` -> `case"foo"` (#8085) (Boshen) +- 414c118 codegen: Minify `yield "s"` -> `yield"s"` (#8084) (Boshen) +- f8f067b codegen: Minify class method `async*fn(){}` (#8083) (Boshen) +- 1d5ae81 codegen: Minify `const [foo] = bar` -> `const[foo]=bar` (#8079) (Boshen) +- e3f78fb codegen: `new Foo()` -> `new Foo` when minify (#8077) (Boshen) +- d84d60a codegen: Minify numbers with large exponents (#8074) (Boshen) +- 373279b codegen: Balance string quotes when minify whitespace (#8072) (Boshen) + +### Bug Fixes + +- bdc241d codegen: Disallow template literals in object property key (#8108) (Boshen) +- 728ed20 codegen: Print `yield * ident` correctly (Boshen) + +### Performance + +- 78d2e83 sourcemap: Improve perf of `search_original_line_and_column` (#7926) (Cameron) + +### Refactor + +- 7110c7b codegen: Add `print_quoted_utf16` and `print_unquoted_utf16` methods (#8107) (Boshen) + ## [0.43.0] - 2024-12-21 ### Performance diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index 8f589f63126cf..734bd3c470cc8 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.43.0" +version = "0.44.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 68cc03592a3f3..c6b852140b18f 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.43.0" +version = "0.44.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 066668e3fa2af..c03673ba61547 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.43.0" +version = "0.44.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ecmascript/CHANGELOG.md b/crates/oxc_ecmascript/CHANGELOG.md index 92d6f3c50003b..f0b101c074a1e 100644 --- a/crates/oxc_ecmascript/CHANGELOG.md +++ b/crates/oxc_ecmascript/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.44.0] - 2024-12-25 + +### Features + +- 5397fe9 minifier: Constant fold `undefined?.bar` -> `undefined` (#8075) (Boshen) + ## [0.42.0] - 2024-12-18 ### Features diff --git a/crates/oxc_ecmascript/Cargo.toml b/crates/oxc_ecmascript/Cargo.toml index 9ad61b109d81c..b943cb987b392 100644 --- a/crates/oxc_ecmascript/Cargo.toml +++ b/crates/oxc_ecmascript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ecmascript" -version = "0.43.0" +version = "0.44.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 b374b90e9cefa..cd081a349ebe0 100644 --- a/crates/oxc_estree/Cargo.toml +++ b/crates/oxc_estree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_estree" -version = "0.43.0" +version = "0.44.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 fdaa95e0e8796..0bac7463a7699 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.43.0" +version = "0.44.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 6119fd9aa6bcd..af04d0d49fd81 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.43.0" +version = "0.44.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 1c62e5f2b1b3d..afbf0ffbdde96 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/CHANGELOG.md @@ -4,6 +4,24 @@ 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.44.0] - 2024-12-25 + +### Features + +- 5397fe9 minifier: Constant fold `undefined?.bar` -> `undefined` (#8075) (Boshen) +- 1932f1e minifier: Fold `foo === undefined || foo === null` (#8063) (翠 / green) + +### Bug Fixes + +- b605baa minifier: Constant fold strings with tab char (#8096) (Boshen) + +### Refactor + +- 8b54d89 minifier: Remove parens must happen on enter (#8060) (Boshen) +- 7cb84f3 minifier: Only minify on ast node exit (#8059) (Boshen) +- 77d845a minifier: Fuse DCE AST passes (#8058) (Boshen) +- 6123f5e minifier: Fold statements on exit (#8057) (Boshen) + ## [0.42.0] - 2024-12-18 ### Features diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index f5a3ef76a2c1a..07d6f5fa2a0c3 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.43.0" +version = "0.44.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 4cff316a4c8f2..11e4a892b1f7c 100644 --- a/crates/oxc_napi/Cargo.toml +++ b/crates/oxc_napi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_napi" -version = "0.43.0" +version = "0.44.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 e8fd0016088d4..68005f30abde7 100644 --- a/crates/oxc_parser/CHANGELOG.md +++ b/crates/oxc_parser/CHANGELOG.md @@ -4,6 +4,15 @@ 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.44.0] - 2024-12-25 + +- ad2a620 ast: [**BREAKING**] Add missing `AssignmentTargetProperty::computed` (#8097) (Boshen) + +### Bug Fixes + +- 55d6eb9 parser: Disallow type parameters on class constructors (#8071) (injuly) +- be2c60d parser: Parse `import source from from 'mod'` (#8056) (Boshen) + ## [0.42.0] - 2024-12-18 ### Features diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index 01c66f867f436..186c8c9687057 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.43.0" +version = "0.44.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 4842f7566696f..2923805449c29 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.43.0" +version = "0.44.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 d11a6c9918c35..1c5e31e92bd92 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/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.44.0] - 2024-12-25 + +### Features + +- e632a7b transformer: Remove typescript symbols after transform (#8069) (Boshen) + +### Bug Fixes + +- de82492 parser: Report syntax errors for missing constructor implementations (#8081) (camc314) +- 708e9cf semantic: Report errors for missing class method impls (#8082) (camc314) + ## [0.43.0] - 2024-12-21 - ed75e42 semantic: [**BREAKING**] Make SymbolTable fields `pub(crate)` instead of `pub` (#7999) (Boshen) diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index 4d77bab61bb95..2c5039f4603b0 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.43.0" +version = "0.44.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 ed85108217b47..6b43a2795a520 100644 --- a/crates/oxc_span/CHANGELOG.md +++ b/crates/oxc_span/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.44.0] - 2024-12-25 + +### Features + +- 11c4bd8 span: Implement source type `{file basename}.d.{extension}.ts` (#8109) (Boshen) + ## [0.42.0] - 2024-12-18 ### Features diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index cd5b6670aadce..7eb7166789706 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.43.0" +version = "0.44.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 1dbd6924035e8..d1f2e7a96d08d 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.44.0] - 2024-12-25 + +### Features + +- be4feb4 syntax: Add `SymbolId::new` method (#8041) (overlookmotel) + ## [0.43.0] - 2024-12-21 ### Refactor diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index 58cf0e511e6fd..f0fc82c6eba1d 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.43.0" +version = "0.44.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 dcbc406cba4b1..eccc09d431081 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/CHANGELOG.md @@ -4,6 +4,24 @@ 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.44.0] - 2024-12-25 + +### Features + +- e632a7b transformer: Remove typescript symbols after transform (#8069) (Boshen) + +### Bug Fixes + +- 3057686 transformer/class-properties: Unwrap parenthesised expressions (#8049) (overlookmotel) +- e67cd05 transformer/class-properties: Correctly resolve private fields pointing to private accessors (#8047) (overlookmotel) +- 6b08c6e transformer/class-properties: Correctly resolve private fields pointing to private methods (#8042) (overlookmotel) +- 274f117 transformer/nullish-coalescing: Use correct scope id for binding (#8053) (camc314) + +### Refactor + +- cbd5169 transformer/class-properties: Do not recreate private field if not transforming it (#8044) (overlookmotel) +- 98e8a72 transformer/class-properties: Do not take mut ref when immut ref will do (#8040) (overlookmotel) + ## [0.43.0] - 2024-12-21 - de4c772 traverse: [**BREAKING**] Rename `Ancestor::is_via_*` methods to `is_parent_of_*` (#8031) (overlookmotel) diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index cd71689681bd5..93107bb4a531d 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.43.0" +version = "0.44.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 8a6c9af3598ae..5169c8cfb502e 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.44.0] - 2024-12-25 + +- ad2a620 ast: [**BREAKING**] Add missing `AssignmentTargetProperty::computed` (#8097) (Boshen) + +### Features + +- e632a7b transformer: Remove typescript symbols after transform (#8069) (Boshen) + +### Bug Fixes + + ## [0.43.0] - 2024-12-21 - de4c772 traverse: [**BREAKING**] Rename `Ancestor::is_via_*` methods to `is_parent_of_*` (#8031) (overlookmotel) diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 4b7e0dcadea87..7b9d752a837ea 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.43.0" +version = "0.44.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index af3e3995d8c0a..a3f1275770d4f 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.43.0" +version = "0.44.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/npm/oxc-parser/package.json b/npm/oxc-parser/package.json index febdc43390ce0..bdbd64e11151d 100644 --- a/npm/oxc-parser/package.json +++ b/npm/oxc-parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.43.0", + "version": "0.44.0", "description": "Oxc Parser Node API", "keywords": [ "Parser" diff --git a/npm/oxc-transform/package.json b/npm/oxc-transform/package.json index 2e30f577fc978..ddefdac67e79a 100644 --- a/npm/oxc-transform/package.json +++ b/npm/oxc-transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.43.0", + "version": "0.44.0", "description": "Oxc transform Node API", "keywords": [ "transform" diff --git a/npm/oxc-types/CHANGELOG.md b/npm/oxc-types/CHANGELOG.md index 3c0fd025b03ad..fda0c301cb417 100644 --- a/npm/oxc-types/CHANGELOG.md +++ b/npm/oxc-types/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.44.0] - 2024-12-25 + +- ad2a620 ast: [**BREAKING**] Add missing `AssignmentTargetProperty::computed` (#8097) (Boshen) + +### Bug Fixes + + ## [0.40.0] - 2024-12-10 - 72eab6c parser: [**BREAKING**] Stage 3 `import source` and `import defer` (#7706) (Boshen) diff --git a/npm/oxc-types/package.json b/npm/oxc-types/package.json index 9905ae4ab936b..35709820b3b7e 100644 --- a/npm/oxc-types/package.json +++ b/npm/oxc-types/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/types", - "version": "0.43.0", + "version": "0.44.0", "description": "Types for Oxc AST nodes", "keywords": [ "AST", diff --git a/wasm/parser/package.json b/wasm/parser/package.json index 6e04776bd7dbf..715a30a7942ac 100644 --- a/wasm/parser/package.json +++ b/wasm/parser/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-parser/wasm", - "version": "0.43.0", + "version": "0.44.0", "description": "Wasm target for the oxc parser.", "keywords": [ "JavaScript",