Skip to content

Commit 5a1311e

Browse files
oxc-botBoshen
andauthored
release(crates): v0.44.0 (oxc-project#8110)
## [0.44.0] - 2024-12-25 - ad2a620 ast: [**BREAKING**] Add missing `AssignmentTargetProperty::computed` (oxc-project#8097) (Boshen) ### Features - c2daa20 ast: Add `Expression::into_inner_expression` (oxc-project#8048) (overlookmotel) - 618b6aa codege: Minify whitespace in object getter / setter (oxc-project#8080) (Boshen) - 4727667 codegen: Minify arrow expr `(x) => y` -> `x => y` (oxc-project#8078) (Boshen) - 0562830 codegen: Minify string with backtick when needed (oxc-project#8095) (Boshen) - 6237c05 codegen: Minify more whitespace (oxc-project#8089) (Boshen) - 6355b7c codegen: Minify `export { 's' as 's' }` -> `export { 's' }` (oxc-project#8093) (Boshen) - fccfda9 codegen: Minify `class{static[computed]}` (oxc-project#8088) (Boshen) - f873139 codegen: Minify `for (_ of [])` -> `for(_ of[])` (oxc-project#8086) (Boshen) - 8b8cbcd codegen: Minify `case "foo"` -> `case"foo"` (oxc-project#8085) (Boshen) - 414c118 codegen: Minify `yield "s"` -> `yield"s"` (oxc-project#8084) (Boshen) - f8f067b codegen: Minify class method `async*fn(){}` (oxc-project#8083) (Boshen) - 1d5ae81 codegen: Minify `const [foo] = bar` -> `const[foo]=bar` (oxc-project#8079) (Boshen) - e3f78fb codegen: `new Foo()` -> `new Foo` when minify (oxc-project#8077) (Boshen) - d84d60a codegen: Minify numbers with large exponents (oxc-project#8074) (Boshen) - 373279b codegen: Balance string quotes when minify whitespace (oxc-project#8072) (Boshen) - 5397fe9 minifier: Constant fold `undefined?.bar` -> `undefined` (oxc-project#8075) (Boshen) - 1932f1e minifier: Fold `foo === undefined || foo === null` (oxc-project#8063) (翠 / green) - 11c4bd8 span: Implement source type `{file basename}.d.{extension}.ts` (oxc-project#8109) (Boshen) - be4feb4 syntax: Add `SymbolId::new` method (oxc-project#8041) (overlookmotel) - e632a7b transformer: Remove typescript symbols after transform (oxc-project#8069) (Boshen) ### Bug Fixes - bdc241d codegen: Disallow template literals in object property key (oxc-project#8108) (Boshen) - 728ed20 codegen: Print `yield * ident` correctly (Boshen) - b605baa minifier: Constant fold strings with tab char (oxc-project#8096) (Boshen) - de82492 parser: Report syntax errors for missing constructor implementations (oxc-project#8081) (camc314) - 55d6eb9 parser: Disallow type parameters on class constructors (oxc-project#8071) (injuly) - be2c60d parser: Parse `import source from from 'mod'` (oxc-project#8056) (Boshen) - 708e9cf semantic: Report errors for missing class method impls (oxc-project#8082) (camc314) - 3057686 transformer/class-properties: Unwrap parenthesised expressions (oxc-project#8049) (overlookmotel) - e67cd05 transformer/class-properties: Correctly resolve private fields pointing to private accessors (oxc-project#8047) (overlookmotel) - 6b08c6e transformer/class-properties: Correctly resolve private fields pointing to private methods (oxc-project#8042) (overlookmotel) - 274f117 transformer/nullish-coalescing: Use correct scope id for binding (oxc-project#8053) (camc314) ### Performance - 78d2e83 sourcemap: Improve perf of `search_original_line_and_column` (oxc-project#7926) (Cameron) ### Refactor - 7110c7b codegen: Add `print_quoted_utf16` and `print_unquoted_utf16` methods (oxc-project#8107) (Boshen) - 8b54d89 minifier: Remove parens must happen on enter (oxc-project#8060) (Boshen) - 7cb84f3 minifier: Only minify on ast node exit (oxc-project#8059) (Boshen) - 77d845a minifier: Fuse DCE AST passes (oxc-project#8058) (Boshen) - 6123f5e minifier: Fold statements on exit (oxc-project#8057) (Boshen) - cbd5169 transformer/class-properties: Do not recreate private field if not transforming it (oxc-project#8044) (overlookmotel) - 98e8a72 transformer/class-properties: Do not take mut ref when immut ref will do (oxc-project#8040) (overlookmotel) Co-authored-by: Boshen <[email protected]>
1 parent 11c4bd8 commit 5a1311e

File tree

39 files changed

+207
-70
lines changed

39 files changed

+207
-70
lines changed

Cargo.lock

+22-22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+22-22
Original file line numberDiff line numberDiff line change
@@ -78,28 +78,28 @@ doc_lazy_continuation = "allow" # FIXME
7878

7979
[workspace.dependencies]
8080
# publish = true
81-
oxc = { version = "0.43.0", path = "crates/oxc" }
82-
oxc_allocator = { version = "0.43.0", path = "crates/oxc_allocator" }
83-
oxc_ast = { version = "0.43.0", path = "crates/oxc_ast" }
84-
oxc_ast_macros = { version = "0.43.0", path = "crates/oxc_ast_macros" }
85-
oxc_cfg = { version = "0.43.0", path = "crates/oxc_cfg" }
86-
oxc_codegen = { version = "0.43.0", path = "crates/oxc_codegen" }
87-
oxc_data_structures = { version = "0.43.0", path = "crates/oxc_data_structures" }
88-
oxc_diagnostics = { version = "0.43.0", path = "crates/oxc_diagnostics" }
89-
oxc_ecmascript = { version = "0.43.0", path = "crates/oxc_ecmascript" }
90-
oxc_estree = { version = "0.43.0", path = "crates/oxc_estree" }
91-
oxc_isolated_declarations = { version = "0.43.0", path = "crates/oxc_isolated_declarations" }
92-
oxc_mangler = { version = "0.43.0", path = "crates/oxc_mangler" }
93-
oxc_minifier = { version = "0.43.0", path = "crates/oxc_minifier" }
94-
oxc_napi = { version = "0.43.0", path = "crates/oxc_napi" }
95-
oxc_parser = { version = "0.43.0", path = "crates/oxc_parser" }
96-
oxc_regular_expression = { version = "0.43.0", path = "crates/oxc_regular_expression" }
97-
oxc_semantic = { version = "0.43.0", path = "crates/oxc_semantic" }
98-
oxc_span = { version = "0.43.0", path = "crates/oxc_span" }
99-
oxc_syntax = { version = "0.43.0", path = "crates/oxc_syntax" }
100-
oxc_transform_napi = { version = "0.43.0", path = "napi/transform" }
101-
oxc_transformer = { version = "0.43.0", path = "crates/oxc_transformer" }
102-
oxc_traverse = { version = "0.43.0", path = "crates/oxc_traverse" }
81+
oxc = { version = "0.44.0", path = "crates/oxc" }
82+
oxc_allocator = { version = "0.44.0", path = "crates/oxc_allocator" }
83+
oxc_ast = { version = "0.44.0", path = "crates/oxc_ast" }
84+
oxc_ast_macros = { version = "0.44.0", path = "crates/oxc_ast_macros" }
85+
oxc_cfg = { version = "0.44.0", path = "crates/oxc_cfg" }
86+
oxc_codegen = { version = "0.44.0", path = "crates/oxc_codegen" }
87+
oxc_data_structures = { version = "0.44.0", path = "crates/oxc_data_structures" }
88+
oxc_diagnostics = { version = "0.44.0", path = "crates/oxc_diagnostics" }
89+
oxc_ecmascript = { version = "0.44.0", path = "crates/oxc_ecmascript" }
90+
oxc_estree = { version = "0.44.0", path = "crates/oxc_estree" }
91+
oxc_isolated_declarations = { version = "0.44.0", path = "crates/oxc_isolated_declarations" }
92+
oxc_mangler = { version = "0.44.0", path = "crates/oxc_mangler" }
93+
oxc_minifier = { version = "0.44.0", path = "crates/oxc_minifier" }
94+
oxc_napi = { version = "0.44.0", path = "crates/oxc_napi" }
95+
oxc_parser = { version = "0.44.0", path = "crates/oxc_parser" }
96+
oxc_regular_expression = { version = "0.44.0", path = "crates/oxc_regular_expression" }
97+
oxc_semantic = { version = "0.44.0", path = "crates/oxc_semantic" }
98+
oxc_span = { version = "0.44.0", path = "crates/oxc_span" }
99+
oxc_syntax = { version = "0.44.0", path = "crates/oxc_syntax" }
100+
oxc_transform_napi = { version = "0.44.0", path = "napi/transform" }
101+
oxc_transformer = { version = "0.44.0", path = "crates/oxc_transformer" }
102+
oxc_traverse = { version = "0.44.0", path = "crates/oxc_traverse" }
103103

104104
# publish = false
105105
oxc_linter = { path = "crates/oxc_linter" }

crates/oxc/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxc"
3-
version = "0.43.0"
3+
version = "0.44.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

crates/oxc_allocator/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxc_allocator"
3-
version = "0.43.0"
3+
version = "0.44.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

crates/oxc_ast/CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ All notable changes to this package will be documented in this file.
44

55
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.
66

7+
## [0.44.0] - 2024-12-25
8+
9+
- ad2a620 ast: [**BREAKING**] Add missing `AssignmentTargetProperty::computed` (#8097) (Boshen)
10+
11+
### Features
12+
13+
- c2daa20 ast: Add `Expression::into_inner_expression` (#8048) (overlookmotel)
14+
15+
### Bug Fixes
16+
17+
718
## [0.43.0] - 2024-12-21
819

920
### Features

crates/oxc_ast/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxc_ast"
3-
version = "0.43.0"
3+
version = "0.44.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

crates/oxc_ast_macros/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxc_ast_macros"
3-
version = "0.43.0"
3+
version = "0.44.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

crates/oxc_cfg/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxc_cfg"
3-
version = "0.43.0"
3+
version = "0.44.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

crates/oxc_codegen/CHANGELOG.md

+34
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,40 @@ All notable changes to this package will be documented in this file.
44

55
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.
66

7+
## [0.44.0] - 2024-12-25
8+
9+
- ad2a620 ast: [**BREAKING**] Add missing `AssignmentTargetProperty::computed` (#8097) (Boshen)
10+
11+
### Features
12+
13+
- 618b6aa codege: Minify whitespace in object getter / setter (#8080) (Boshen)
14+
- 4727667 codegen: Minify arrow expr `(x) => y` -> `x => y` (#8078) (Boshen)
15+
- 0562830 codegen: Minify string with backtick when needed (#8095) (Boshen)
16+
- 6237c05 codegen: Minify more whitespace (#8089) (Boshen)
17+
- 6355b7c codegen: Minify `export { 's' as 's' }` -> `export { 's' }` (#8093) (Boshen)
18+
- fccfda9 codegen: Minify `class{static[computed]}` (#8088) (Boshen)
19+
- f873139 codegen: Minify `for (_ of [])` -> `for(_ of[])` (#8086) (Boshen)
20+
- 8b8cbcd codegen: Minify `case "foo"` -> `case"foo"` (#8085) (Boshen)
21+
- 414c118 codegen: Minify `yield "s"` -> `yield"s"` (#8084) (Boshen)
22+
- f8f067b codegen: Minify class method `async*fn(){}` (#8083) (Boshen)
23+
- 1d5ae81 codegen: Minify `const [foo] = bar` -> `const[foo]=bar` (#8079) (Boshen)
24+
- e3f78fb codegen: `new Foo()` -> `new Foo` when minify (#8077) (Boshen)
25+
- d84d60a codegen: Minify numbers with large exponents (#8074) (Boshen)
26+
- 373279b codegen: Balance string quotes when minify whitespace (#8072) (Boshen)
27+
28+
### Bug Fixes
29+
30+
- bdc241d codegen: Disallow template literals in object property key (#8108) (Boshen)
31+
- 728ed20 codegen: Print `yield * ident` correctly (Boshen)
32+
33+
### Performance
34+
35+
- 78d2e83 sourcemap: Improve perf of `search_original_line_and_column` (#7926) (Cameron)
36+
37+
### Refactor
38+
39+
- 7110c7b codegen: Add `print_quoted_utf16` and `print_unquoted_utf16` methods (#8107) (Boshen)
40+
741
## [0.43.0] - 2024-12-21
842

943
### Performance

crates/oxc_codegen/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxc_codegen"
3-
version = "0.43.0"
3+
version = "0.44.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

crates/oxc_data_structures/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxc_data_structures"
3-
version = "0.43.0"
3+
version = "0.44.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

crates/oxc_diagnostics/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxc_diagnostics"
3-
version = "0.43.0"
3+
version = "0.44.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

crates/oxc_ecmascript/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file.
44

55
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.
66

7+
## [0.44.0] - 2024-12-25
8+
9+
### Features
10+
11+
- 5397fe9 minifier: Constant fold `undefined?.bar` -> `undefined` (#8075) (Boshen)
12+
713
## [0.42.0] - 2024-12-18
814

915
### Features

crates/oxc_ecmascript/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxc_ecmascript"
3-
version = "0.43.0"
3+
version = "0.44.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

0 commit comments

Comments
 (0)