Skip to content

Commit 92891c1

Browse files
Boshengithub-actions[bot]
authored andcommitted
release(crates): v0.48.2
1 parent d553318 commit 92891c1

File tree

42 files changed

+244
-74
lines changed

Some content is hidden

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

42 files changed

+244
-74
lines changed

Cargo.lock

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

Cargo.toml

+23-23
Original file line numberDiff line numberDiff line change
@@ -79,29 +79,29 @@ doc_lazy_continuation = "allow" # FIXME
7979

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

106106
# publish = false
107107
oxc_linter = { path = "crates/oxc_linter" }

crates/oxc/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.48.2] - 2025-02-02
8+
9+
### Refactor
10+
11+
- 6aa2dde codegen: Accept SymbolTable instead of Mangler (#8829) (Daniel Bulant)
12+
713
## [0.47.0] - 2025-01-18
814

915
- 4ce6329 semantic: [**BREAKING**] Ensure program outlives semantic (#8455) (Valentinas Janeiko)

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

crates/oxc_ast/CHANGELOG.md

+26
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,32 @@ 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.48.2] - 2025-02-02
8+
9+
### Features
10+
11+
- d553318 minifier: Complete `MangleIf` (#8810) (Boshen)
12+
- e353a01 minifier: Compress `a != null ? a.b : undefined` to `a?.b` (#8802) (sapphi-red)
13+
14+
### Documentation
15+
16+
- 57b7ca8 ast: Add documentation for all remaining JS AST methods (#8820) (Cam McHenry)
17+
- b00b8c8 ast: Correct documentation for `JSXExpression::EmptyExpression` (#8816) (Dunqing)
18+
- c63291a ast: Add more docs for JS expressions, declarations, and module AST types (#8800) (Cam McHenry)
19+
- fb5b1fa ast: Reformat `AstBuilder` doc comments (#8774) (overlookmotel)
20+
21+
### Refactor
22+
23+
- 0568210 ast: Remove excess line breaks from generated code (#8830) (overlookmotel)
24+
- 30eec26 ast: Make generated code for `Visit` more understandable (#8825) (overlookmotel)
25+
- d4eee50 ast: Comments for enums with no `AstKind` in generated code for `Visit` trait (#8796) (overlookmotel)
26+
- 87a7711 ast: Shorten generated code for `VisitMut` (#8795) (overlookmotel)
27+
- 70ad879 ast: Remove unnecessary lint from generated code for `AstKind` (#8794) (overlookmotel)
28+
- beeda9a ast: Alter comments in generated `Visit` trait (#8793) (overlookmotel)
29+
- 8cf9d34 ast: Rename `#[estree(type)]` attr on struct fields to `#[estree(ts_type)]` (#8767) (overlookmotel)
30+
- a316b10 ast: Rename `#[estree(type)]` attr on types to `#[estree(rename)]` (#8766) (overlookmotel)
31+
- a861d93 minifier: Port esbuild's `mangleStmts` (#8770) (Boshen)
32+
733
## [0.48.1] - 2025-01-26
834

935
### Features

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

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

crates/oxc_codegen/CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ 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.48.2] - 2025-02-02
8+
9+
### Bug Fixes
10+
11+
- 0928a19 codegen: Emit this parameters of class methods (#8834) (michaelm)
12+
13+
### Performance
14+
15+
- d8fac6d codegen: Avoid a heap allocation when printing floats (#8807) (Boshen)
16+
17+
### Refactor
18+
19+
- 6aa2dde codegen: Accept SymbolTable instead of Mangler (#8829) (Daniel Bulant)
20+
721
## [0.48.1] - 2025-01-26
822

923
### Bug Fixes

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

crates/oxc_data_structures/Cargo.toml

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

crates/oxc_diagnostics/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.48.2] - 2025-02-02
8+
9+
### Testing
10+
11+
- ad35e82 linter: Use snapshot testing instead of LintResult (#8711) (Sysix)
12+
713
## [0.48.1] - 2025-01-26
814

915
### Refactor

0 commit comments

Comments
 (0)