Skip to content

Commit

Permalink
release(crates): v0.48.1 (#8738)
Browse files Browse the repository at this point in the history
## [0.48.1] - 2025-01-26

### Features

- b7f13e6 ast: Implement utf8 to utf16 span converter (#8687) (Boshen)
- 6589c3b mangler: Reuse variable names (#8562) (翠 / green)
- 29bd215 minifier: Minimize `Infinity.toString(radix)` to `'Infinity'`
(#8732) (Boshen)
- e0117db minifier: Replace `const` with `let` for non-exported
read-only variables (#8733) (sapphi-red)
- 9e32f55 minifier: Evaluate `Math.sqrt` and `Math.cbrt` (#8731)
(sapphi-red)
- 360d49e minifier: Replace `Math.pow` with `**` (#8730) (sapphi-red)
- 2e9a560 minifier: `NaN.toString(radix)` is always `NaN` (#8727)
(Boshen)
- cbe0e82 minifier: Minimize `foo(...[])` -> `foo()` (#8726) (Boshen)
- e9fb5fe minifier: Dce pure expressions such as `new Map()` (#8725)
(Boshen)

### Bug Fixes

- 0944758 codegen: Remove parens from `new (import(''), function() {})`
(#8707) (Boshen)
- 33de70a mangler: Handle cases where a var is declared in a block scope
(#8706) (翠 / green)
- d982cdb minifier: `Unknown.fromCharCode` should not be treated as
`String.fromCharCode` (#8709) (sapphi-red)
- e7ab96c transformer/jsx: Incorrect `isStaticChildren` argument for
`Fragment` with multiple children (#8713) (Dunqing)
- 3e509e1 transformer/typescript: Enum merging when same name declared
in outer scope (#8691) (branchseer)

### Performance

- dc0b0f2 manger: Remove useless `tmp_bindings` (#8735) (Dunqing)
- e472ced mangler: Optimize handling of collecting lived scope ids
(#8724) (Dunqing)
- 8587965 minifier: Normalize `undefined` to `void 0` before everything
else (#8699) (Boshen)

### Refactor

- 58002e2 ecmascript: Remove the lifetime annotation on
`MayHaveSideEffects` (#8717) (Boshen)
- 10e5920 linter: Move finishing default diagnostic message to
`GraphicalReporter` (#8683) (Sysix)
- 52a37d0 mangler: Simplify initialization of `slots` (#8734) (Dunqing)
- 6bc906c minifier: Allow mutating arguments in methods called from
`try_fold_known_string_methods` (#8729) (sapphi-red)
- bf8be23 minifier: Use `Ctx` (#8716) (Boshen)
- 0af0267 minifier: Side effect detection needs symbols resolution
(#8715) (Boshen)
- 32e0e47 minifier: Clean up `Normalize` (#8700) (Boshen)
- c792068 semantic: Simplify `ScopeTree::iter_bindings` (#8723)
(Dunqing)

### Testing

- 03229c5 minifier: Fix broken tests (#8722) (Boshen)

Co-authored-by: Boshen <[email protected]>
  • Loading branch information
oxc-bot and Boshen authored Jan 26, 2025
1 parent 29bd215 commit 2fb08b9
Show file tree
Hide file tree
Showing 39 changed files with 181 additions and 74 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.48.0", path = "crates/oxc" }
oxc_allocator = { version = "0.48.0", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.48.0", path = "crates/oxc_ast" }
oxc_ast_macros = { version = "0.48.0", path = "crates/oxc_ast_macros" }
oxc_cfg = { version = "0.48.0", path = "crates/oxc_cfg" }
oxc_codegen = { version = "0.48.0", path = "crates/oxc_codegen" }
oxc_data_structures = { version = "0.48.0", path = "crates/oxc_data_structures" }
oxc_diagnostics = { version = "0.48.0", path = "crates/oxc_diagnostics" }
oxc_ecmascript = { version = "0.48.0", path = "crates/oxc_ecmascript" }
oxc_estree = { version = "0.48.0", path = "crates/oxc_estree" }
oxc_isolated_declarations = { version = "0.48.0", path = "crates/oxc_isolated_declarations" }
oxc_mangler = { version = "0.48.0", path = "crates/oxc_mangler" }
oxc_minifier = { version = "0.48.0", path = "crates/oxc_minifier" }
oxc_napi = { version = "0.48.0", path = "crates/oxc_napi" }
oxc_parser = { version = "0.48.0", path = "crates/oxc_parser" }
oxc_parser_napi = { version = "0.48.0", path = "napi/parser" }
oxc_regular_expression = { version = "0.48.0", path = "crates/oxc_regular_expression" }
oxc_semantic = { version = "0.48.0", path = "crates/oxc_semantic" }
oxc_span = { version = "0.48.0", path = "crates/oxc_span" }
oxc_syntax = { version = "0.48.0", path = "crates/oxc_syntax" }
oxc_transform_napi = { version = "0.48.0", path = "napi/transform" }
oxc_transformer = { version = "0.48.0", path = "crates/oxc_transformer" }
oxc_traverse = { version = "0.48.0", path = "crates/oxc_traverse" }
oxc = { version = "0.48.1", path = "crates/oxc" }
oxc_allocator = { version = "0.48.1", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.48.1", path = "crates/oxc_ast" }
oxc_ast_macros = { version = "0.48.1", path = "crates/oxc_ast_macros" }
oxc_cfg = { version = "0.48.1", path = "crates/oxc_cfg" }
oxc_codegen = { version = "0.48.1", path = "crates/oxc_codegen" }
oxc_data_structures = { version = "0.48.1", path = "crates/oxc_data_structures" }
oxc_diagnostics = { version = "0.48.1", path = "crates/oxc_diagnostics" }
oxc_ecmascript = { version = "0.48.1", path = "crates/oxc_ecmascript" }
oxc_estree = { version = "0.48.1", path = "crates/oxc_estree" }
oxc_isolated_declarations = { version = "0.48.1", path = "crates/oxc_isolated_declarations" }
oxc_mangler = { version = "0.48.1", path = "crates/oxc_mangler" }
oxc_minifier = { version = "0.48.1", path = "crates/oxc_minifier" }
oxc_napi = { version = "0.48.1", path = "crates/oxc_napi" }
oxc_parser = { version = "0.48.1", path = "crates/oxc_parser" }
oxc_parser_napi = { version = "0.48.1", path = "napi/parser" }
oxc_regular_expression = { version = "0.48.1", path = "crates/oxc_regular_expression" }
oxc_semantic = { version = "0.48.1", path = "crates/oxc_semantic" }
oxc_span = { version = "0.48.1", path = "crates/oxc_span" }
oxc_syntax = { version = "0.48.1", path = "crates/oxc_syntax" }
oxc_transform_napi = { version = "0.48.1", path = "napi/transform" }
oxc_transformer = { version = "0.48.1", path = "crates/oxc_transformer" }
oxc_traverse = { version = "0.48.1", 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.48.0"
version = "0.48.1"
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.48.0"
version = "0.48.1"
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.48.1] - 2025-01-26

### Features

- b7f13e6 ast: Implement utf8 to utf16 span converter (#8687) (Boshen)
- e0117db minifier: Replace `const` with `let` for non-exported read-only variables (#8733) (sapphi-red)

## [0.48.0] - 2025-01-24

### Refactor
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.48.0"
version = "0.48.1"
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.48.0"
version = "0.48.1"
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.48.0"
version = "0.48.1"
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.48.1] - 2025-01-26

### Bug Fixes

- 0944758 codegen: Remove parens from `new (import(''), function() {})` (#8707) (Boshen)

## [0.48.0] - 2025-01-24

### 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.48.0"
version = "0.48.1"
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.48.0"
version = "0.48.1"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
6 changes: 6 additions & 0 deletions crates/oxc_diagnostics/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.48.1] - 2025-01-26

### Refactor

- 10e5920 linter: Move finishing default diagnostic message to `GraphicalReporter` (#8683) (Sysix)

## [0.48.0] - 2025-01-24

### Features
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.48.0"
version = "0.48.1"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
11 changes: 11 additions & 0 deletions crates/oxc_ecmascript/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.48.1] - 2025-01-26

### Refactor

- 58002e2 ecmascript: Remove the lifetime annotation on `MayHaveSideEffects` (#8717) (Boshen)
- 0af0267 minifier: Side effect detection needs symbols resolution (#8715) (Boshen)

### Testing

- 03229c5 minifier: Fix broken tests (#8722) (Boshen)

## [0.48.0] - 2025-01-24

### Bug Fixes
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.48.0"
version = "0.48.1"
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.48.0"
version = "0.48.1"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
Loading

0 comments on commit 2fb08b9

Please sign in to comment.