Skip to content

Commit bd48dfb

Browse files
oxc-botBoshen
andauthored
release(crates): v0.29.0 (#5763)
## [0.29.0] - 2024-09-13 - 71116a1 index: [**BREAKING**] Remove ability to index `IndexVec` with `usize` (#5733) (overlookmotel) - c3dd2a0 ast: [**BREAKING**] Revert: reduce byte size of `TaggedTemplateExpression::quasi` by `Boxing` it (#5679) (#5715) (overlookmotel) ### Features - 953fe17 ast: Provide `NONE` type for AST builder calls (#5737) (overlookmotel) - a362f51 index: Add `IndexVec::shrink_to` (#5713) (overlookmotel) - e968e9f minifier: Constant fold nullish coalescing operator (#5761) (Boshen) - 6bc13f6 minifier: Add `MinimizeConditions` pass (#5747) (Boshen) - 805fbac oxc_cfg: Better control flow graph dot dot repr (#5731) (IWANABETHATGUY) - f3baa49 semantic: Add `SemanticBuilder::with_stats` (#5757) (overlookmotel) - 7fa0cb3 semantic: Expose `Stats` (#5755) (overlookmotel) ### Bug Fixes - 8ff013a minifier: Handle dce CallExpression::callee (#5752) (Boshen) - 608b7d3 napi/transformer: Refresh plugin doesn't work even after passing the refresh option (#5702) (Dunqing) - 042afa9 syntax: Correctly check for valid `RedeclarationId`s (#5759) (overlookmotel) - 77d9170 transformer/react: IsStaticChildren should be false when there is only one child (#5745) (Dunqing) ### Performance - 333e2e0 index: Remove `Idx` bounds-checks from `first` + `last` methods (#5726) (overlookmotel) - d18c896 rust: Use `cow_utils` instead (#5664) (dalaoshu) ### Refactor - 2890c98 minifier: Add tests for `remove_syntax` (#5749) (Boshen) - 9a9d8f6 minifier: Replace `self.ast` with `ctx.ast` (#5748) (Boshen) - 746f7b3 minifier: Align code with closure compiler (#5717) (Boshen) - 21e2df5 minifier: Replace `VisitMut` with `Traverse` for inject and define plugins (#5705) (Boshen) - 4bdc202 rust: Remove some #[allow(unused)] (#5716) (Boshen) - a35fb14 semantic: `Stats::assert_accurate` take `self` (#5758) (overlookmotel) - 4b896f1 semantic: Make `Stats` `Copy` (#5756) (overlookmotel) - b4b460f semantic: `Stats` store counts as `u32` (#5754) (overlookmotel) - 667170c semantic: Rename `Counts` to `Stats` (#5753) (overlookmotel) - cc0408b semantic: S/AstNodeId/NodeId (#5740) (Boshen) - 7dfcdfc semantic: Remove `more-asserts` dependency (#5739) (overlookmotel) - 6436524 semantic: Fix dead code warning in release mode (#5728) (overlookmotel) - e02621d semantic: Re-order use statements (#5712) (overlookmotel) - ac6203c semantic: Move `Counts` code into counter module (#5710) (overlookmotel) - 339fcfc semantic: Rename `Counts` in transform checker (#5709) (overlookmotel) - d8ec781 semantic: Remove `record_ast_node` call for `Program` (#5701) (overlookmotel) ### Styling - 1857ff0 semantic: Rename vars for node IDs (#5699) (overlookmotel) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
1 parent e968e9f commit bd48dfb

File tree

39 files changed

+218
-69
lines changed

39 files changed

+218
-69
lines changed

Cargo.lock

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

Cargo.toml

+21-21
Original file line numberDiff line numberDiff line change
@@ -76,27 +76,27 @@ doc_lazy_continuation = "allow" # FIXME
7676

7777
[workspace.dependencies]
7878
# publish = true
79-
oxc = { version = "0.28.0", path = "crates/oxc" }
80-
oxc_allocator = { version = "0.28.0", path = "crates/oxc_allocator" }
81-
oxc_ast = { version = "0.28.0", path = "crates/oxc_ast" }
82-
oxc_ast_macros = { version = "0.28.0", path = "crates/oxc_ast_macros" }
83-
oxc_cfg = { version = "0.28.0", path = "crates/oxc_cfg" }
84-
oxc_codegen = { version = "0.28.0", path = "crates/oxc_codegen" }
85-
oxc_diagnostics = { version = "0.28.0", path = "crates/oxc_diagnostics" }
86-
oxc_index = { version = "0.28.0", path = "crates/oxc_index" }
87-
oxc_isolated_declarations = { version = "0.28.0", path = "crates/oxc_isolated_declarations" }
88-
oxc_mangler = { version = "0.28.0", path = "crates/oxc_mangler" }
89-
oxc_minifier = { version = "0.28.0", path = "crates/oxc_minifier" }
90-
oxc_module_lexer = { version = "0.28.0", path = "crates/oxc_module_lexer" }
91-
oxc_parser = { version = "0.28.0", path = "crates/oxc_parser" }
92-
oxc_regular_expression = { version = "0.28.0", path = "crates/oxc_regular_expression" }
93-
oxc_semantic = { version = "0.28.0", path = "crates/oxc_semantic" }
94-
oxc_sourcemap = { version = "0.28.0", path = "crates/oxc_sourcemap" }
95-
oxc_span = { version = "0.28.0", path = "crates/oxc_span" }
96-
oxc_syntax = { version = "0.28.0", path = "crates/oxc_syntax" }
97-
oxc_transform_napi = { version = "0.28.0", path = "napi/transform" }
98-
oxc_transformer = { version = "0.28.0", path = "crates/oxc_transformer" }
99-
oxc_traverse = { version = "0.28.0", path = "crates/oxc_traverse" }
79+
oxc = { version = "0.29.0", path = "crates/oxc" }
80+
oxc_allocator = { version = "0.29.0", path = "crates/oxc_allocator" }
81+
oxc_ast = { version = "0.29.0", path = "crates/oxc_ast" }
82+
oxc_ast_macros = { version = "0.29.0", path = "crates/oxc_ast_macros" }
83+
oxc_cfg = { version = "0.29.0", path = "crates/oxc_cfg" }
84+
oxc_codegen = { version = "0.29.0", path = "crates/oxc_codegen" }
85+
oxc_diagnostics = { version = "0.29.0", path = "crates/oxc_diagnostics" }
86+
oxc_index = { version = "0.29.0", path = "crates/oxc_index" }
87+
oxc_isolated_declarations = { version = "0.29.0", path = "crates/oxc_isolated_declarations" }
88+
oxc_mangler = { version = "0.29.0", path = "crates/oxc_mangler" }
89+
oxc_minifier = { version = "0.29.0", path = "crates/oxc_minifier" }
90+
oxc_module_lexer = { version = "0.29.0", path = "crates/oxc_module_lexer" }
91+
oxc_parser = { version = "0.29.0", path = "crates/oxc_parser" }
92+
oxc_regular_expression = { version = "0.29.0", path = "crates/oxc_regular_expression" }
93+
oxc_semantic = { version = "0.29.0", path = "crates/oxc_semantic" }
94+
oxc_sourcemap = { version = "0.29.0", path = "crates/oxc_sourcemap" }
95+
oxc_span = { version = "0.29.0", path = "crates/oxc_span" }
96+
oxc_syntax = { version = "0.29.0", path = "crates/oxc_syntax" }
97+
oxc_transform_napi = { version = "0.29.0", path = "napi/transform" }
98+
oxc_transformer = { version = "0.29.0", path = "crates/oxc_transformer" }
99+
oxc_traverse = { version = "0.29.0", path = "crates/oxc_traverse" }
100100

101101
# publish = false
102102
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.28.0"
3+
version = "0.29.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.28.0"
3+
version = "0.29.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.29.0] - 2024-09-13
8+
9+
- c3dd2a0 ast: [**BREAKING**] Revert: reduce byte size of `TaggedTemplateExpression::quasi` by `Boxing` it (#5679) (#5715) (overlookmotel)
10+
11+
### Features
12+
13+
- 953fe17 ast: Provide `NONE` type for AST builder calls (#5737) (overlookmotel)
14+
15+
### Performance
16+
17+
718
## [0.28.0] - 2024-09-11
819

920
- afc4548 ast: [**BREAKING**] Educe byte size of `TaggedTemplateExpression::quasi` by `Boxing` it (#5679) (Boshen)

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.28.0"
3+
version = "0.29.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.28.0"
3+
version = "0.29.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

crates/oxc_cfg/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.29.0] - 2024-09-13
8+
9+
### Refactor
10+
11+
- cc0408b semantic: S/AstNodeId/NodeId (#5740) (Boshen)
12+
713
## [0.21.0] - 2024-07-18
814

915
### Refactor

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.28.0"
3+
version = "0.29.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

crates/oxc_codegen/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.29.0] - 2024-09-13
8+
9+
### Performance
10+
11+
- d18c896 rust: Use `cow_utils` instead (#5664) (dalaoshu)
12+
713
## [0.28.0] - 2024-09-11
814

915
- ee4fb42 ast: [**BREAKING**] Reduce size of `WithClause` by `Box`ing it (#5677) (Boshen)

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.28.0"
3+
version = "0.29.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.28.0"
3+
version = "0.29.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

crates/oxc_index/CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ 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.29.0] - 2024-09-13
8+
9+
- 71116a1 index: [**BREAKING**] Remove ability to index `IndexVec` with `usize` (#5733) (overlookmotel)
10+
11+
### Features
12+
13+
- a362f51 index: Add `IndexVec::shrink_to` (#5713) (overlookmotel)
14+
15+
### Performance
16+
17+
- 333e2e0 index: Remove `Idx` bounds-checks from `first` + `last` methods (#5726) (overlookmotel)
18+
719
## [0.28.0] - 2024-09-11
820

921
### Refactor

crates/oxc_index/Cargo.toml

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

crates/oxc_isolated_declarations/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.29.0] - 2024-09-13
8+
9+
### Features
10+
11+
- 953fe17 ast: Provide `NONE` type for AST builder calls (#5737) (overlookmotel)
12+
713
## [0.28.0] - 2024-09-11
814

915
- ee4fb42 ast: [**BREAKING**] Reduce size of `WithClause` by `Box`ing it (#5677) (Boshen)

crates/oxc_isolated_declarations/Cargo.toml

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

crates/oxc_mangler/Cargo.toml

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

0 commit comments

Comments
 (0)