Skip to content

Commit

Permalink
release(crates): v0.53.0 (#9381)
Browse files Browse the repository at this point in the history
## [0.53.0] - 2025-02-26

- #9289
- 4a5a7cf napi/parser: [**BREAKING**] Remove magic string; enable utf16
span converter by default (#9291) (Boshen)

### Features

- 5c775ea ast/estree: Enable serialization without TS fields (#9285)
(overlookmotel)
- f21740e data_structures: Add `CodeBuffer::print_bytes_iter_unchecked`
method (#9337) (overlookmotel)
- e10fb97 ecmascript: Improve may_have_side_effects for `.length`
(#9366) (sapphi-red)
- 35e5ca9 ecmascript: Improve may_have_side_effects for `instanceof`
(#9365) (sapphi-red)
- 11012c6 ecmascript: Improve ValueType for coalesce operator (#9354)
(sapphi-red)
- b7998fd ecmascript: To_number for object without toString (#9353)
(sapphi-red)
- e51d563 minifier: Concatenate strings with template literals on right
side (#9356) (sapphi-red)
- 9d7db54 minifier: Concatenate strings with template literals (#9355)
(sapphi-red)
- 835ee95 wasm: Return estree with utf16 span offsets (#9376) (Boshen)

### Bug Fixes

- 6a8f53f ast/estree: Visit `JSXOpeningFragment` and
`JSXClosingFragment` (#9342) (overlookmotel)
- e303767 ast/estree: Fix ESTree AST for imports and exports (#9282)
(overlookmotel)
- 54d59f1 data_structures: Stack types correctly report allocation size
if allocation failure during grow (#9317) (overlookmotel)
- f5c8698 ecmascript: Correct may_have_side_effects for classes (#9367)
(sapphi-red)
- d3ed128 minifier: Do not remove `=== 0` if the lhs can be NaN (#9352)
(sapphi-red)

### Performance

- 82adab9 ast/estree: Speed up building UTF8-UTF16 translation table
with SIMD (#9359) (overlookmotel)
- 61939ca ast/estree: Faster UTF-8 to UTF-16 span conversion (#9349)
(overlookmotel)
- 1bfc459 ast/estree: Pre-allocate `CodeBuffer` for JSON output (#9340)
(overlookmotel)
- 018c523 ast/estree: `ESTree` serializer use `CodeBuffer` (#9331)
(overlookmotel)
- 35ee399 codegen: Use `iter::repeat_n` in `CodeBuffer` (#9325)
(overlookmotel)

### Documentation

- 8bd3e39 data_structures: Uppercase SAFETY comments (#9330)
(overlookmotel)

### Refactor

- d94fc15 allocator: Reduce scope of `unsafe` blocks (#9319)
(overlookmotel)
- 7427900 ast: Re-order `ExportDefaultDeclaration` fields (#9348)
(overlookmotel)
- b09249c ast/estree: Rename serializers and serialization methods
(#9284) (overlookmotel)
- 55ed1df ast/estree: Shorten `ESTree` impls for enums (#9275)
(overlookmotel)
- 9d98444 codegen, data_structures: Move `CodeBuffer` into
`oxc_data_structures` crate (#9326) (overlookmotel)
- 6a4e892 data_structures: Add debug assertion to
`CodeBuffer::peek_nth_char_back` and improve safety docs (#9336)
(overlookmotel)
- fc46218 data_structures: `CodeBuffer::print_str` use
`Vec::extend_from_slice` (#9332) (overlookmotel)
- 690bae5 data_structures: Stack types const assert `T` is not zero-size
type (#9318) (overlookmotel)
- 10ba2ea data_structures: Reduce scope of `unsafe` blocks (#9316)
(overlookmotel)
- beb8382 data_structures: `CodeBuffer::print_bytes_unchecked` take a
byte slice (#9327) (overlookmotel)
- faf966f ecmascript: Don't check side effects in constant_evaluation
(#9122) (sapphi-red)
- 2faabe1 estree: Make `itoa` dependency optional (#9338)
(overlookmotel)
- 4e9e8cf lexer: Reduce scope of `unsafe` blocks (#9320) (overlookmotel)
- c31b53f mangler: Reduce scope of `unsafe` blocks (#9321)
(overlookmotel)
- f10a6da mangler: Move base54 into seperate mod (#9278) (Cameron)
- 12e89e0 syntax: Reduce scope of `unsafe` blocks (#9322)
(overlookmotel)
- f39be5f traverse: Reduce scope of `unsafe` blocks (#9323)
(overlookmotel)

Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
  • Loading branch information
oxc-bot and Boshen authored Feb 26, 2025
1 parent 5fb4c2a commit 41b3d2b
Show file tree
Hide file tree
Showing 51 changed files with 298 additions and 75 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 @@ -101,29 +101,29 @@ doc_lazy_continuation = "allow" # FIXME

[workspace.dependencies]
# publish = true
oxc = { version = "0.52.0", path = "crates/oxc" }
oxc_allocator = { version = "0.52.0", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.52.0", path = "crates/oxc_ast" }
oxc_ast_macros = { version = "0.52.0", path = "crates/oxc_ast_macros" }
oxc_cfg = { version = "0.52.0", path = "crates/oxc_cfg" }
oxc_codegen = { version = "0.52.0", path = "crates/oxc_codegen" }
oxc_data_structures = { version = "0.52.0", path = "crates/oxc_data_structures" }
oxc_diagnostics = { version = "0.52.0", path = "crates/oxc_diagnostics" }
oxc_ecmascript = { version = "0.52.0", path = "crates/oxc_ecmascript" }
oxc_estree = { version = "0.52.0", path = "crates/oxc_estree" }
oxc_isolated_declarations = { version = "0.52.0", path = "crates/oxc_isolated_declarations" }
oxc_mangler = { version = "0.52.0", path = "crates/oxc_mangler" }
oxc_minifier = { version = "0.52.0", path = "crates/oxc_minifier" }
oxc_napi = { version = "0.52.0", path = "crates/oxc_napi" }
oxc_parser = { version = "0.52.0", path = "crates/oxc_parser" }
oxc_parser_napi = { version = "0.52.0", path = "napi/parser" }
oxc_regular_expression = { version = "0.52.0", path = "crates/oxc_regular_expression" }
oxc_semantic = { version = "0.52.0", path = "crates/oxc_semantic" }
oxc_span = { version = "0.52.0", path = "crates/oxc_span" }
oxc_syntax = { version = "0.52.0", path = "crates/oxc_syntax" }
oxc_transform_napi = { version = "0.52.0", path = "napi/transform" }
oxc_transformer = { version = "0.52.0", path = "crates/oxc_transformer" }
oxc_traverse = { version = "0.52.0", path = "crates/oxc_traverse" }
oxc = { version = "0.53.0", path = "crates/oxc" }
oxc_allocator = { version = "0.53.0", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.53.0", path = "crates/oxc_ast" }
oxc_ast_macros = { version = "0.53.0", path = "crates/oxc_ast_macros" }
oxc_cfg = { version = "0.53.0", path = "crates/oxc_cfg" }
oxc_codegen = { version = "0.53.0", path = "crates/oxc_codegen" }
oxc_data_structures = { version = "0.53.0", path = "crates/oxc_data_structures" }
oxc_diagnostics = { version = "0.53.0", path = "crates/oxc_diagnostics" }
oxc_ecmascript = { version = "0.53.0", path = "crates/oxc_ecmascript" }
oxc_estree = { version = "0.53.0", path = "crates/oxc_estree" }
oxc_isolated_declarations = { version = "0.53.0", path = "crates/oxc_isolated_declarations" }
oxc_mangler = { version = "0.53.0", path = "crates/oxc_mangler" }
oxc_minifier = { version = "0.53.0", path = "crates/oxc_minifier" }
oxc_napi = { version = "0.53.0", path = "crates/oxc_napi" }
oxc_parser = { version = "0.53.0", path = "crates/oxc_parser" }
oxc_parser_napi = { version = "0.53.0", path = "napi/parser" }
oxc_regular_expression = { version = "0.53.0", path = "crates/oxc_regular_expression" }
oxc_semantic = { version = "0.53.0", path = "crates/oxc_semantic" }
oxc_span = { version = "0.53.0", path = "crates/oxc_span" }
oxc_syntax = { version = "0.53.0", path = "crates/oxc_syntax" }
oxc_transform_napi = { version = "0.53.0", path = "napi/transform" }
oxc_transformer = { version = "0.53.0", path = "crates/oxc_transformer" }
oxc_traverse = { version = "0.53.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.52.0"
version = "0.53.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
7 changes: 7 additions & 0 deletions crates/oxc_allocator/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.53.0] - 2025-02-26

### Refactor

- d94fc15 allocator: Reduce scope of `unsafe` blocks (#9319) (overlookmotel)
- b09249c ast/estree: Rename serializers and serialization methods (#9284) (overlookmotel)

## [0.52.0] - 2025-02-21

- 216b33f ast/estree: [**BREAKING**] Replace `serde` with custom `ESTree` serializer (#9256) (overlookmotel)
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.52.0"
version = "0.53.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
23 changes: 23 additions & 0 deletions crates/oxc_ast/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,29 @@ 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.53.0] - 2025-02-26

### Features

- 5c775ea ast/estree: Enable serialization without TS fields (#9285) (overlookmotel)

### Bug Fixes

- 6a8f53f ast/estree: Visit `JSXOpeningFragment` and `JSXClosingFragment` (#9342) (overlookmotel)
- e303767 ast/estree: Fix ESTree AST for imports and exports (#9282) (overlookmotel)

### Performance

- 82adab9 ast/estree: Speed up building UTF8-UTF16 translation table with SIMD (#9359) (overlookmotel)
- 61939ca ast/estree: Faster UTF-8 to UTF-16 span conversion (#9349) (overlookmotel)
- 1bfc459 ast/estree: Pre-allocate `CodeBuffer` for JSON output (#9340) (overlookmotel)

### Refactor

- 7427900 ast: Re-order `ExportDefaultDeclaration` fields (#9348) (overlookmotel)
- b09249c ast/estree: Rename serializers and serialization methods (#9284) (overlookmotel)
- 55ed1df ast/estree: Shorten `ESTree` impls for enums (#9275) (overlookmotel)

## [0.52.0] - 2025-02-21

- 216b33f ast/estree: [**BREAKING**] Replace `serde` with custom `ESTree` serializer (#9256) (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.52.0"
version = "0.53.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.52.0"
version = "0.53.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.52.0"
version = "0.53.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
10 changes: 10 additions & 0 deletions crates/oxc_codegen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ 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.53.0] - 2025-02-26

### Performance

- 35ee399 codegen: Use `iter::repeat_n` in `CodeBuffer` (#9325) (overlookmotel)

### Refactor

- 9d98444 codegen, data_structures: Move `CodeBuffer` into `oxc_data_structures` crate (#9326) (overlookmotel)

## [0.52.0] - 2025-02-21

### Bug Fixes
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.52.0"
version = "0.53.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
23 changes: 23 additions & 0 deletions crates/oxc_data_structures/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,29 @@ 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.53.0] - 2025-02-26

### Features

- f21740e data_structures: Add `CodeBuffer::print_bytes_iter_unchecked` method (#9337) (overlookmotel)

### Bug Fixes

- 54d59f1 data_structures: Stack types correctly report allocation size if allocation failure during grow (#9317) (overlookmotel)

### Documentation

- 8bd3e39 data_structures: Uppercase SAFETY comments (#9330) (overlookmotel)

### Refactor

- 9d98444 codegen, data_structures: Move `CodeBuffer` into `oxc_data_structures` crate (#9326) (overlookmotel)
- 6a4e892 data_structures: Add debug assertion to `CodeBuffer::peek_nth_char_back` and improve safety docs (#9336) (overlookmotel)
- fc46218 data_structures: `CodeBuffer::print_str` use `Vec::extend_from_slice` (#9332) (overlookmotel)
- 690bae5 data_structures: Stack types const assert `T` is not zero-size type (#9318) (overlookmotel)
- 10ba2ea data_structures: Reduce scope of `unsafe` blocks (#9316) (overlookmotel)
- beb8382 data_structures: `CodeBuffer::print_bytes_unchecked` take a byte slice (#9327) (overlookmotel)

## [0.49.0] - 2025-02-10

- bec8fee data_structures: [**BREAKING**] Rename `Stack::last_unchecked_mut` method (#8911) (overlookmotel)
Expand Down
Loading

0 comments on commit 41b3d2b

Please sign in to comment.