Skip to content

Commit

Permalink
release(crates): v0.46.0 (#8487)
Browse files Browse the repository at this point in the history
## [0.46.0] - 2025-01-14

- 7eb6ccd ast: [**BREAKING**] Remove unused and not useful `ContentHash`
(#8483) (Boshen)

### Features

- 8accfef minifier: Minify `var x; void x` -> `void 0` (#8466) (Boshen)
- 870a583 minifier: Fold `false['toString']` (#8447) (Boshen)
- 4ad695d napi/minify: Implement napi (#8478) (Boshen)
- 9d550aa span: Add `Atom::r#static` (#8479) (_Kerman)

### Bug Fixes

- 4071878 isolated-declarations: Retain `declare` declarations when they
are exported (#8477) (Dunqing)
- 7ee7634 isolated-declarations: Import statement disappears when import
binding is referenced in nested `typeof` (#8476) (Dunqing)
- 7252cb0 isolated-declarations: Unexpected error when global `Symbol`
as property key (#8475) (Dunqing)
- 4c6675c minifier: Do not convert while to fors in DCE (#8484) (Boshen)
- 1d6e84d minifier: Fix incorrect `null.toString()` and `1n.toString()`
(#8464) (Boshen)
- 25d4bf9 minifier: Remove usage of empty spans (#8462) (Boshen)
- dd64340 minifier: Keep `return undefined` in async generator function
(#8439) (Boshen)
- c444de8 transformer/arrow-functions: Transform `this` and `super`
incorrectly in async arrow function (#8435) (Dunqing)
- 270245f transformer/typescript: Correct the semantic for
TSImportEqualsDeclaration transformation (#8463) (Dunqing)
- 2a400d6 transformer/typescript: Retain TSImportEqualsDeclaration when
it is exported (Dunqing)
- ab694b0 transformer/typescript: Retain `TSImportEqualsDeclaration` in
`namespace` when its binding has been referenced or
`onlyRemoveTypeImports` is true (#8458) (Dunqing)

### Performance

- 7a8200c mangler: Allocate base54 name without heap allocation (#8472)
(Boshen)
- 31dac22 mangler: Allocate data in arena (#8471) (Boshen)
- 8fc238a minifier: Merge `Normalize` and `RemoveSyntax` pass (#8467)
(Boshen)
- 372eb09 minifier: Preallocate mangler's semantic data (#8451) (Boshen)

### Refactor

- 6e64eef codegen: Remove `match_expression!` (#8450) (Boshen)
- de5b288 span: Rename `Atom::new_const` method (#8480) (overlookmotel)
- c83ce5c transformer/typescript: Improve transforming namespace (#8459)
(Dunqing)

Co-authored-by: Boshen <[email protected]>
  • Loading branch information
oxc-bot and Boshen authored Jan 14, 2025
1 parent 270245f commit 3e05055
Show file tree
Hide file tree
Showing 40 changed files with 171 additions and 73 deletions.
46 changes: 23 additions & 23 deletions Cargo.lock

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

46 changes: 23 additions & 23 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,29 +79,29 @@ doc_lazy_continuation = "allow" # FIXME

[workspace.dependencies]
# publish = true
oxc = { version = "0.45.0", path = "crates/oxc" }
oxc_allocator = { version = "0.45.0", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.45.0", path = "crates/oxc_ast" }
oxc_ast_macros = { version = "0.45.0", path = "crates/oxc_ast_macros" }
oxc_cfg = { version = "0.45.0", path = "crates/oxc_cfg" }
oxc_codegen = { version = "0.45.0", path = "crates/oxc_codegen" }
oxc_data_structures = { version = "0.45.0", path = "crates/oxc_data_structures" }
oxc_diagnostics = { version = "0.45.0", path = "crates/oxc_diagnostics" }
oxc_ecmascript = { version = "0.45.0", path = "crates/oxc_ecmascript" }
oxc_estree = { version = "0.45.0", path = "crates/oxc_estree" }
oxc_isolated_declarations = { version = "0.45.0", path = "crates/oxc_isolated_declarations" }
oxc_mangler = { version = "0.45.0", path = "crates/oxc_mangler" }
oxc_minifier = { version = "0.45.0", path = "crates/oxc_minifier" }
oxc_napi = { version = "0.45.0", path = "crates/oxc_napi" }
oxc_parser = { version = "0.45.0", path = "crates/oxc_parser" }
oxc_parser_napi = { version = "0.45.0", path = "napi/parser" }
oxc_regular_expression = { version = "0.45.0", path = "crates/oxc_regular_expression" }
oxc_semantic = { version = "0.45.0", path = "crates/oxc_semantic" }
oxc_span = { version = "0.45.0", path = "crates/oxc_span" }
oxc_syntax = { version = "0.45.0", path = "crates/oxc_syntax" }
oxc_transform_napi = { version = "0.45.0", path = "napi/transform" }
oxc_transformer = { version = "0.45.0", path = "crates/oxc_transformer" }
oxc_traverse = { version = "0.45.0", path = "crates/oxc_traverse" }
oxc = { version = "0.46.0", path = "crates/oxc" }
oxc_allocator = { version = "0.46.0", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.46.0", path = "crates/oxc_ast" }
oxc_ast_macros = { version = "0.46.0", path = "crates/oxc_ast_macros" }
oxc_cfg = { version = "0.46.0", path = "crates/oxc_cfg" }
oxc_codegen = { version = "0.46.0", path = "crates/oxc_codegen" }
oxc_data_structures = { version = "0.46.0", path = "crates/oxc_data_structures" }
oxc_diagnostics = { version = "0.46.0", path = "crates/oxc_diagnostics" }
oxc_ecmascript = { version = "0.46.0", path = "crates/oxc_ecmascript" }
oxc_estree = { version = "0.46.0", path = "crates/oxc_estree" }
oxc_isolated_declarations = { version = "0.46.0", path = "crates/oxc_isolated_declarations" }
oxc_mangler = { version = "0.46.0", path = "crates/oxc_mangler" }
oxc_minifier = { version = "0.46.0", path = "crates/oxc_minifier" }
oxc_napi = { version = "0.46.0", path = "crates/oxc_napi" }
oxc_parser = { version = "0.46.0", path = "crates/oxc_parser" }
oxc_parser_napi = { version = "0.46.0", path = "napi/parser" }
oxc_regular_expression = { version = "0.46.0", path = "crates/oxc_regular_expression" }
oxc_semantic = { version = "0.46.0", path = "crates/oxc_semantic" }
oxc_span = { version = "0.46.0", path = "crates/oxc_span" }
oxc_syntax = { version = "0.46.0", path = "crates/oxc_syntax" }
oxc_transform_napi = { version = "0.46.0", path = "napi/transform" }
oxc_transformer = { version = "0.46.0", path = "crates/oxc_transformer" }
oxc_traverse = { version = "0.46.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.45.0"
version = "0.46.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.45.0"
version = "0.46.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
7 changes: 7 additions & 0 deletions crates/oxc_ast/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.46.0] - 2025-01-14

- 7eb6ccd ast: [**BREAKING**] Remove unused and not useful `ContentHash` (#8483) (Boshen)

### Features


## [0.45.0] - 2025-01-11

- 7f69561 ast: [**BREAKING**] `oxc_ast` do not export `BigUint` (#8428) (overlookmotel)
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.45.0"
version = "0.46.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.45.0"
version = "0.46.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.45.0"
version = "0.46.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
6 changes: 6 additions & 0 deletions crates/oxc_codegen/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.46.0] - 2025-01-14

### Refactor

- 6e64eef codegen: Remove `match_expression!` (#8450) (Boshen)

## [0.45.0] - 2025-01-11

### Features
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.45.0"
version = "0.46.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.45.0"
version = "0.46.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.45.0"
version = "0.46.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.46.0] - 2025-01-14

### Bug Fixes

- 1d6e84d minifier: Fix incorrect `null.toString()` and `1n.toString()` (#8464) (Boshen)

## [0.45.0] - 2025-01-11

### 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.45.0"
version = "0.46.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_estree/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_estree"
version = "0.45.0"
version = "0.46.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
8 changes: 8 additions & 0 deletions crates/oxc_isolated_declarations/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.46.0] - 2025-01-14

### Bug Fixes

- 4071878 isolated-declarations: Retain `declare` declarations when they are exported (#8477) (Dunqing)
- 7ee7634 isolated-declarations: Import statement disappears when import binding is referenced in nested `typeof` (#8476) (Dunqing)
- 7252cb0 isolated-declarations: Unexpected error when global `Symbol` as property key (#8475) (Dunqing)

## [0.45.0] - 2025-01-11

### Refactor
Expand Down
Loading

0 comments on commit 3e05055

Please sign in to comment.