Skip to content

Commit f23bdf9

Browse files
Dunqinggithub-actions[bot]
authored andcommitted
release(crates): v0.42.0
1 parent 2e5ffd3 commit f23bdf9

47 files changed

Lines changed: 402 additions & 70 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo.lock

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -78,28 +78,28 @@ doc_lazy_continuation = "allow" # FIXME
7878

7979
[workspace.dependencies]
8080
# publish = true
81-
oxc = { version = "0.41.0", path = "crates/oxc" }
82-
oxc_allocator = { version = "0.41.0", path = "crates/oxc_allocator" }
83-
oxc_ast = { version = "0.41.0", path = "crates/oxc_ast" }
84-
oxc_ast_macros = { version = "0.41.0", path = "crates/oxc_ast_macros" }
85-
oxc_cfg = { version = "0.41.0", path = "crates/oxc_cfg" }
86-
oxc_codegen = { version = "0.41.0", path = "crates/oxc_codegen" }
87-
oxc_data_structures = { version = "0.41.0", path = "crates/oxc_data_structures" }
88-
oxc_diagnostics = { version = "0.41.0", path = "crates/oxc_diagnostics" }
89-
oxc_ecmascript = { version = "0.41.0", path = "crates/oxc_ecmascript" }
90-
oxc_estree = { version = "0.41.0", path = "crates/oxc_estree" }
91-
oxc_isolated_declarations = { version = "0.41.0", path = "crates/oxc_isolated_declarations" }
92-
oxc_mangler = { version = "0.41.0", path = "crates/oxc_mangler" }
93-
oxc_minifier = { version = "0.41.0", path = "crates/oxc_minifier" }
94-
oxc_napi = { version = "0.41.0", path = "crates/oxc_napi" }
95-
oxc_parser = { version = "0.41.0", path = "crates/oxc_parser" }
96-
oxc_regular_expression = { version = "0.41.0", path = "crates/oxc_regular_expression" }
97-
oxc_semantic = { version = "0.41.0", path = "crates/oxc_semantic" }
98-
oxc_span = { version = "0.41.0", path = "crates/oxc_span" }
99-
oxc_syntax = { version = "0.41.0", path = "crates/oxc_syntax" }
100-
oxc_transform_napi = { version = "0.41.0", path = "napi/transform" }
101-
oxc_transformer = { version = "0.41.0", path = "crates/oxc_transformer" }
102-
oxc_traverse = { version = "0.41.0", path = "crates/oxc_traverse" }
81+
oxc = { version = "0.42.0", path = "crates/oxc" }
82+
oxc_allocator = { version = "0.42.0", path = "crates/oxc_allocator" }
83+
oxc_ast = { version = "0.42.0", path = "crates/oxc_ast" }
84+
oxc_ast_macros = { version = "0.42.0", path = "crates/oxc_ast_macros" }
85+
oxc_cfg = { version = "0.42.0", path = "crates/oxc_cfg" }
86+
oxc_codegen = { version = "0.42.0", path = "crates/oxc_codegen" }
87+
oxc_data_structures = { version = "0.42.0", path = "crates/oxc_data_structures" }
88+
oxc_diagnostics = { version = "0.42.0", path = "crates/oxc_diagnostics" }
89+
oxc_ecmascript = { version = "0.42.0", path = "crates/oxc_ecmascript" }
90+
oxc_estree = { version = "0.42.0", path = "crates/oxc_estree" }
91+
oxc_isolated_declarations = { version = "0.42.0", path = "crates/oxc_isolated_declarations" }
92+
oxc_mangler = { version = "0.42.0", path = "crates/oxc_mangler" }
93+
oxc_minifier = { version = "0.42.0", path = "crates/oxc_minifier" }
94+
oxc_napi = { version = "0.42.0", path = "crates/oxc_napi" }
95+
oxc_parser = { version = "0.42.0", path = "crates/oxc_parser" }
96+
oxc_regular_expression = { version = "0.42.0", path = "crates/oxc_regular_expression" }
97+
oxc_semantic = { version = "0.42.0", path = "crates/oxc_semantic" }
98+
oxc_span = { version = "0.42.0", path = "crates/oxc_span" }
99+
oxc_syntax = { version = "0.42.0", path = "crates/oxc_syntax" }
100+
oxc_transform_napi = { version = "0.42.0", path = "napi/transform" }
101+
oxc_transformer = { version = "0.42.0", path = "crates/oxc_transformer" }
102+
oxc_traverse = { version = "0.42.0", path = "crates/oxc_traverse" }
103103

104104
# publish = false
105105
oxc_linter = { path = "crates/oxc_linter" }

crates/oxc/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
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.42.0] - 2024-12-18
8+
9+
### Refactor
10+
11+
- 1314c97 minifier: Expose dce as an API instead of an option (#7957) (Boshen)
12+
713
## [0.39.0] - 2024-12-04
814

915
- 8a788b8 parser: [**BREAKING**] Build `ModuleRecord` directly in parser (#7546) (Boshen)

crates/oxc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxc"
3-
version = "0.41.0"
3+
version = "0.42.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

crates/oxc_allocator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxc_allocator"
3-
version = "0.41.0"
3+
version = "0.42.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

crates/oxc_ast/CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,35 @@ 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.42.0] - 2024-12-18
8+
9+
### Features
10+
11+
- 8b7c5ae ast: Add `AstBuilder::atom_from_cow` (#7974) (overlookmotel)
12+
- c30a982 span: Add `impl From<ArenaString> for Atom` (#7973) (overlookmotel)
13+
- 6bc530d transformer/class-properties: Transform super call expression that is inside static prop initializer (#7831) (Dunqing)
14+
15+
### Bug Fixes
16+
17+
- 3659e6d cfg: Include export default code in CFG instructions (#7862) (Jan Olaf Martin)
18+
19+
### Performance
20+
21+
- a5f04a7 ast: Faster `Comment::is_jsdoc` (#7905) (overlookmotel)
22+
23+
### Documentation
24+
25+
- e49de81 ast: Document `Expression::is_*` methods (#7853) (overlookmotel)
26+
27+
### Refactor
28+
29+
- beb982a ast: Use exhaustive match for `Argument` to `ArrayExpressionElement` conversion (#7848) (overlookmotel)
30+
- 3858221 global: Sort imports (#7883) (overlookmotel)
31+
32+
### Styling
33+
34+
- 7fb9d47 rust: `cargo +nightly fmt` (#7877) (Boshen)
35+
736
## [0.41.0] - 2024-12-13
837

938
- fb325dc ast: [**BREAKING**] `span` field must be the first element (#7821) (Boshen)

crates/oxc_ast/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxc_ast"
3-
version = "0.41.0"
3+
version = "0.42.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

crates/oxc_ast_macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxc_ast_macros"
3-
version = "0.41.0"
3+
version = "0.42.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

crates/oxc_cfg/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxc_cfg"
3-
version = "0.41.0"
3+
version = "0.42.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

crates/oxc_codegen/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,25 @@ 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.42.0] - 2024-12-18
8+
9+
### Bug Fixes
10+
11+
- 850dd43 codegen: Missing `,` when generating type parameters with jsx (#7929) (Dunqing)
12+
13+
### Performance
14+
15+
- 4b24335 codegen: Improve printing of statement comments (#7857) (Boshen)
16+
- 71a40a2 codegen: Guard comment printing comments when there are no comments (#7856) (Boshen)
17+
18+
### Refactor
19+
20+
- 3858221 global: Sort imports (#7883) (overlookmotel)
21+
22+
### Styling
23+
24+
- 7fb9d47 rust: `cargo +nightly fmt` (#7877) (Boshen)
25+
726
## [0.41.0] - 2024-12-13
827

928
### Performance

0 commit comments

Comments
 (0)