Skip to content

Commit 836fe9d

Browse files
BoshenDunqing
andauthored
release(crates): oxc v0.126.0 (#21471)
### 💥 BREAKING CHANGES - 24fb7eb allocator: [**BREAKING**] Rename `Box` and `Vec` methods (#21395) (overlookmotel) ### 🚀 Features - ce5072d parser: Support `turbopack` magic comments (#20803) (Kane Wang) - f5deb55 napi/transform: Expose `optimizeConstEnums` and `optimizeEnums` options (#21388) (Dunqing) - 24b03de data_structures: Introduce `NonNullConst` and `NonNullMut` pointer types (#21425) (overlookmotel) ### 🐛 Bug Fixes - d7a359a ecmascript: Treat update expressions as unconditionally side-effectful (#21456) (Dunqing) - 56af2f4 transformer/async-to-generator: Correct scope of inferred named FE in async-to-generator (#21458) (Dunqing) - b3ed467 minifier: Avoid illegal `var;` when folding unused arguments copy loop (#21421) (fazba) - b0e8f13 minifier: Preserve `var` inside `catch` with same-named parameter (#21366) (Dunqing) - 4fb73a7 transformer/typescript: Preserve execution order for accessor with `useDefineForClassFields: false` (#21369) (Dunqing) ### ⚡ Performance - da3cc16 parser: Refactor out `LexerContext` (#21275) (Ulrich Stark) ### 📚 Documentation - c5b19bb allocator: Reformat comments in `Arena` (#21448) (overlookmotel) - 091e88e lexer: Update doc comment about perf benefit of reading through references (#21423) (overlookmotel) - 922cbee allocator: Remove references to "bump" from comments (#21397) (overlookmotel) Co-authored-by: Dunqing <29533304+Dunqing@users.noreply.github.com>
1 parent 5900d23 commit 836fe9d

File tree

48 files changed

+315
-251
lines changed

Some content is hidden

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

48 files changed

+315
-251
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -105,38 +105,38 @@ multiple_crate_versions = "allow"
105105

106106
[workspace.dependencies]
107107
# publish = true
108-
oxc = { version = "0.125.0", path = "crates/oxc" } # Main entry point
109-
oxc_allocator = { version = "0.125.0", path = "crates/oxc_allocator" } # Memory management
110-
oxc_ast = { version = "0.125.0", path = "crates/oxc_ast" } # AST definitions
111-
oxc_ast_macros = { version = "0.125.0", path = "crates/oxc_ast_macros" } # AST proc macros
112-
oxc_ast_visit = { version = "0.125.0", path = "crates/oxc_ast_visit" } # AST visitor pattern
113-
oxc_cfg = { version = "0.125.0", path = "crates/oxc_cfg" } # Control flow graph
114-
oxc_codegen = { version = "0.125.0", path = "crates/oxc_codegen", default-features = false } # Code generation
115-
oxc_compat = { version = "0.125.0", path = "crates/oxc_compat" } # Browser compatibility
116-
oxc_data_structures = { version = "0.125.0", path = "crates/oxc_data_structures" } # Shared data structures
117-
oxc_diagnostics = { version = "0.125.0", path = "crates/oxc_diagnostics" } # Error reporting
118-
oxc_ecmascript = { version = "0.125.0", path = "crates/oxc_ecmascript" } # ECMAScript operations
119-
oxc_estree = { version = "0.125.0", path = "crates/oxc_estree" } # ESTree format
120-
oxc_estree_tokens = { version = "0.125.0", path = "crates/oxc_estree_tokens" } # ESTree token conversion
121-
oxc_isolated_declarations = { version = "0.125.0", path = "crates/oxc_isolated_declarations" } # TS declaration generation
122-
oxc_jsdoc = { version = "0.125.0", path = "crates/oxc_jsdoc" } # JSDoc parsing
123-
oxc_mangler = { version = "0.125.0", path = "crates/oxc_mangler" } # Name mangling
124-
oxc_minifier = { version = "0.125.0", path = "crates/oxc_minifier" } # Code minification
125-
oxc_minify_napi = { version = "0.125.0", path = "napi/minify" } # Node.js minifier binding
126-
oxc_napi = { version = "0.125.0", path = "crates/oxc_napi" } # NAPI utilities
127-
oxc_parser = { version = "0.125.0", path = "crates/oxc_parser", features = [
108+
oxc = { version = "0.126.0", path = "crates/oxc" } # Main entry point
109+
oxc_allocator = { version = "0.126.0", path = "crates/oxc_allocator" } # Memory management
110+
oxc_ast = { version = "0.126.0", path = "crates/oxc_ast" } # AST definitions
111+
oxc_ast_macros = { version = "0.126.0", path = "crates/oxc_ast_macros" } # AST proc macros
112+
oxc_ast_visit = { version = "0.126.0", path = "crates/oxc_ast_visit" } # AST visitor pattern
113+
oxc_cfg = { version = "0.126.0", path = "crates/oxc_cfg" } # Control flow graph
114+
oxc_codegen = { version = "0.126.0", path = "crates/oxc_codegen", default-features = false } # Code generation
115+
oxc_compat = { version = "0.126.0", path = "crates/oxc_compat" } # Browser compatibility
116+
oxc_data_structures = { version = "0.126.0", path = "crates/oxc_data_structures" } # Shared data structures
117+
oxc_diagnostics = { version = "0.126.0", path = "crates/oxc_diagnostics" } # Error reporting
118+
oxc_ecmascript = { version = "0.126.0", path = "crates/oxc_ecmascript" } # ECMAScript operations
119+
oxc_estree = { version = "0.126.0", path = "crates/oxc_estree" } # ESTree format
120+
oxc_estree_tokens = { version = "0.126.0", path = "crates/oxc_estree_tokens" } # ESTree token conversion
121+
oxc_isolated_declarations = { version = "0.126.0", path = "crates/oxc_isolated_declarations" } # TS declaration generation
122+
oxc_jsdoc = { version = "0.126.0", path = "crates/oxc_jsdoc" } # JSDoc parsing
123+
oxc_mangler = { version = "0.126.0", path = "crates/oxc_mangler" } # Name mangling
124+
oxc_minifier = { version = "0.126.0", path = "crates/oxc_minifier" } # Code minification
125+
oxc_minify_napi = { version = "0.126.0", path = "napi/minify" } # Node.js minifier binding
126+
oxc_napi = { version = "0.126.0", path = "crates/oxc_napi" } # NAPI utilities
127+
oxc_parser = { version = "0.126.0", path = "crates/oxc_parser", features = [
128128
"regular_expression",
129129
] } # JS/TS parser
130-
oxc_parser_napi = { version = "0.125.0", path = "napi/parser" } # Node.js parser binding
131-
oxc_regular_expression = { version = "0.125.0", path = "crates/oxc_regular_expression" } # Regex parser
132-
oxc_semantic = { version = "0.125.0", path = "crates/oxc_semantic" } # Semantic analysis
133-
oxc_span = { version = "0.125.0", path = "crates/oxc_span" } # Source positions
134-
oxc_str = { version = "0.125.0", path = "crates/oxc_str" } # String types
135-
oxc_syntax = { version = "0.125.0", path = "crates/oxc_syntax" } # Syntax utilities
136-
oxc_transform_napi = { version = "0.125.0", path = "napi/transform" } # Node.js transformer binding
137-
oxc_transformer = { version = "0.125.0", path = "crates/oxc_transformer" } # Code transformation
138-
oxc_transformer_plugins = { version = "0.125.0", path = "crates/oxc_transformer_plugins" } # Transformer plugins
139-
oxc_traverse = { version = "0.125.0", path = "crates/oxc_traverse" } # AST traversal
130+
oxc_parser_napi = { version = "0.126.0", path = "napi/parser" } # Node.js parser binding
131+
oxc_regular_expression = { version = "0.126.0", path = "crates/oxc_regular_expression" } # Regex parser
132+
oxc_semantic = { version = "0.126.0", path = "crates/oxc_semantic" } # Semantic analysis
133+
oxc_span = { version = "0.126.0", path = "crates/oxc_span" } # Source positions
134+
oxc_str = { version = "0.126.0", path = "crates/oxc_str" } # String types
135+
oxc_syntax = { version = "0.126.0", path = "crates/oxc_syntax" } # Syntax utilities
136+
oxc_transform_napi = { version = "0.126.0", path = "napi/transform" } # Node.js transformer binding
137+
oxc_transformer = { version = "0.126.0", path = "crates/oxc_transformer" } # Code transformation
138+
oxc_transformer_plugins = { version = "0.126.0", path = "crates/oxc_transformer_plugins" } # Transformer plugins
139+
oxc_traverse = { version = "0.126.0", path = "crates/oxc_traverse" } # AST traversal
140140

141141
# publish = false
142142
oxc_formatter = { path = "crates/oxc_formatter" } # Code formatting

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

crates/oxc_allocator/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
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).
66

7+
## [0.126.0] - 2026-04-15
8+
9+
### 💥 BREAKING CHANGES
10+
11+
- 24fb7eb allocator: [**BREAKING**] Rename `Box` and `Vec` methods (#21395) (overlookmotel)
12+
13+
### 📚 Documentation
14+
15+
- c5b19bb allocator: Reformat comments in `Arena` (#21448) (overlookmotel)
16+
- 922cbee allocator: Remove references to "bump" from comments (#21397) (overlookmotel)
17+
718
## [0.125.0] - 2026-04-13
819

920
### 🐛 Bug Fixes

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

crates/oxc_ast/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).
66

7+
## [0.126.0] - 2026-04-15
8+
9+
### 🚀 Features
10+
11+
- ce5072d parser: Support `turbopack` magic comments (#20803) (Kane Wang)
12+
713
## [0.125.0] - 2026-04-13
814

915
### 💥 BREAKING CHANGES

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

0 commit comments

Comments
 (0)