Skip to content

Commit

Permalink
release(crates): v0.44.0 (#8110)
Browse files Browse the repository at this point in the history
## [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)
- 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)
- 5397fe9 minifier: Constant fold `undefined?.bar` -> `undefined`
(#8075) (Boshen)
- 1932f1e minifier: Fold `foo === undefined || foo === null` (#8063) (翠
/ green)
- 11c4bd8 span: Implement source type `{file basename}.d.{extension}.ts`
(#8109) (Boshen)
- be4feb4 syntax: Add `SymbolId::new` method (#8041) (overlookmotel)
- e632a7b transformer: Remove typescript symbols after transform (#8069)
(Boshen)

### Bug Fixes

- bdc241d codegen: Disallow template literals in object property key
(#8108) (Boshen)
- 728ed20 codegen: Print `yield * ident` correctly (Boshen)
- b605baa minifier: Constant fold strings with tab char (#8096) (Boshen)
- de82492 parser: Report syntax errors for missing constructor
implementations (#8081) (camc314)
- 55d6eb9 parser: Disallow type parameters on class constructors (#8071)
(injuly)
- be2c60d parser: Parse `import source from from 'mod'` (#8056) (Boshen)
- 708e9cf semantic: Report errors for missing class method impls (#8082)
(camc314)
- 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)

### 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)
- 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)
- 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)

Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
  • Loading branch information
oxc-bot and Boshen authored Dec 25, 2024
1 parent 11c4bd8 commit 5a1311e
Show file tree
Hide file tree
Showing 39 changed files with 207 additions and 70 deletions.
44 changes: 22 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 22 additions & 22 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc"
version = "0.43.0"
version = "0.44.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_allocator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
11 changes: 11 additions & 0 deletions crates/oxc_ast/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast_macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_cfg/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
34 changes: 34 additions & 0 deletions crates/oxc_codegen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_data_structures/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_diagnostics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 6 additions & 0 deletions crates/oxc_ecmascript/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ecmascript/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading

0 comments on commit 5a1311e

Please sign in to comment.