Skip to content

Commit dd927a6

Browse files
authored
release(crates): v0.49.0 (#9015)
1 parent f143149 commit dd927a6

56 files changed

Lines changed: 534 additions & 75 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: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 23 additions & 23 deletions
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.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" }
82+
oxc = { version = "0.49.0", path = "crates/oxc" }
83+
oxc_allocator = { version = "0.49.0", path = "crates/oxc_allocator" }
84+
oxc_ast = { version = "0.49.0", path = "crates/oxc_ast" }
85+
oxc_ast_macros = { version = "0.49.0", path = "crates/oxc_ast_macros" }
86+
oxc_cfg = { version = "0.49.0", path = "crates/oxc_cfg" }
87+
oxc_codegen = { version = "0.49.0", path = "crates/oxc_codegen" }
88+
oxc_data_structures = { version = "0.49.0", path = "crates/oxc_data_structures" }
89+
oxc_diagnostics = { version = "0.49.0", path = "crates/oxc_diagnostics" }
90+
oxc_ecmascript = { version = "0.49.0", path = "crates/oxc_ecmascript" }
91+
oxc_estree = { version = "0.49.0", path = "crates/oxc_estree" }
92+
oxc_isolated_declarations = { version = "0.49.0", path = "crates/oxc_isolated_declarations" }
93+
oxc_mangler = { version = "0.49.0", path = "crates/oxc_mangler" }
94+
oxc_minifier = { version = "0.49.0", path = "crates/oxc_minifier" }
95+
oxc_napi = { version = "0.49.0", path = "crates/oxc_napi" }
96+
oxc_parser = { version = "0.49.0", path = "crates/oxc_parser" }
97+
oxc_parser_napi = { version = "0.49.0", path = "napi/parser" }
98+
oxc_regular_expression = { version = "0.49.0", path = "crates/oxc_regular_expression" }
99+
oxc_semantic = { version = "0.49.0", path = "crates/oxc_semantic" }
100+
oxc_span = { version = "0.49.0", path = "crates/oxc_span" }
101+
oxc_syntax = { version = "0.49.0", path = "crates/oxc_syntax" }
102+
oxc_transform_napi = { version = "0.49.0", path = "napi/transform" }
103+
oxc_transformer = { version = "0.49.0", path = "crates/oxc_transformer" }
104+
oxc_traverse = { version = "0.49.0", path = "crates/oxc_traverse" }
105105

106106
# publish = false
107107
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.49.0] - 2025-02-10
8+
9+
### Styling
10+
11+
- a4a8e7d all: Replace `#[allow]` with `#[expect]` (#8930) (overlookmotel)
12+
713
## [0.48.2] - 2025-02-02
814

915
### Refactor

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

crates/oxc_allocator/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.49.0] - 2025-02-10
8+
9+
### Styling
10+
11+
- a4a8e7d all: Replace `#[allow]` with `#[expect]` (#8930) (overlookmotel)
12+
713
## [0.48.0] - 2025-01-24
814

915
### Features

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

crates/oxc_ast/CHANGELOG.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,73 @@ 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.49.0] - 2025-02-10
8+
9+
- bbb075d ast: [**BREAKING**] Name `AstBuilder` enum builders after variant name not type name (#8890) (overlookmotel)
10+
11+
- b7ff7e1 span: [**BREAKING**] Export `ContentEq` trait from root of `oxc_span` crate (#8869) (overlookmotel)
12+
13+
### Features
14+
15+
- c940826 ast_tools: Get extra params for visitor methods from `#[visit(args)]` attr (#8887) (overlookmotel)
16+
- f2d28f3 transformer: Support for transforming legacy decorator (#8614) (Dunqing)
17+
18+
### Bug Fixes
19+
20+
- 1daa8fe ast: Estree compat `AssignmentTargetPropertyProperty` (#9005) (hi-ogawa)
21+
- e0646d7 ast: Estree compat `ArrayAssignmentTarget` (#8998) (hi-ogawa)
22+
- d7802a7 ast: Serialize `ArrowFunctionExpression.body: FunctionBody | Expression` (#8988) (Hiroshi Ogawa)
23+
- 7e6a537 ast: Include `directives` in `body` (#8981) (hi-ogawa)
24+
- ec1d593 ast: Add missing estree props for `ArrowFunctionExpression` (#8980) (camchenry)
25+
- 8eccdec ast: Estree compat `CatchClause` (#8975) (hi-ogawa)
26+
- 2ee1d6c ast: Estree compat `Property` (#8974) (hi-ogawa)
27+
- 801d78e ast: Estree compat `UnaryExpression` (#8973) (hi-ogawa)
28+
- a2883b1 ast: Estree compat `Function` (#8972) (hi-ogawa)
29+
- a520986 ast: Estree compat `Program.sourceType` (#8919) (Hiroshi Ogawa)
30+
- e30cf6a ast: Estree compat `MemberExpression` (#8921) (Hiroshi Ogawa)
31+
- 315fec6 ast: Fix lifetimes on custom `Serialize` impls (#8899) (overlookmotel)
32+
- 0c55dd6 ast: Serialize `Function.params` like estree (#8772) (Hiroshi Ogawa)
33+
- 9a5a926 ecmascript: Fix may_have_side_effects for binary expressions (#8991) (sapphi-red)
34+
35+
### Performance
36+
37+
- fcfc274 ast: Assume `serde_json` output is valid UTF8 string (#8928) (overlookmotel)
38+
39+
### Documentation
40+
41+
- 705208b ast: Do not include `r#` prefix in doc comments for `AstBuilder` methods (#8873) (overlookmotel)
42+
43+
### Refactor
44+
45+
- 0929320 ast: Add `NULL` value for serializing null types (#8987) (camchenry)
46+
- a1ca2eb ast: Support `#[estree(ts_alias)]` attr on enums and use it on `RegExpPattern` and `RegExpFlags` (#8953) (overlookmotel)
47+
- 515eb52 ast: Shorten code for `impl Serialize for Elision` (#8940) (overlookmotel)
48+
- 640db88 ast: Introduce `#[estree(ts_alias)]` attr and use it on `Elision` (#8939) (overlookmotel)
49+
- a6884e4 ast: Simplify serializing literal types (#8937) (overlookmotel)
50+
- c58f785 ast: Simplify serializing `SourceType` (#8936) (overlookmotel)
51+
- 647a288 ast: Rename `#[estree(add_entry)]` to `#[estree(add_fields)]` (#8926) (overlookmotel)
52+
- cbb4e9c ast: Generated `Serialize` impls flatten struct fields (#8904) (overlookmotel)
53+
- 5cb8466 ast: Estree `via` on struct fields implement `From` (#8898) (overlookmotel)
54+
- 223eb8d ast: Override TS type defs with `#[estree(custom_ts_def)]` attribute on type (#8897) (overlookmotel)
55+
- a36bc5f ast: Generate `Visit` methods in order of type definitions (#8891) (overlookmotel)
56+
- 893339d ast: Record plural names in `#[plural]` attr (#8889) (overlookmotel)
57+
- 5f5188c ast: Shorten generated code for `GetSpan` (#8883) (overlookmotel)
58+
- 571fb70 ast: Derive `ContentEq` on literal types (#8880) (overlookmotel)
59+
- 04786ac ast: Use `=` syntax for `#[scope]` attrs (#8878) (overlookmotel)
60+
- 6628e1d ast: Move `#[estree(skip)]` to types (#8877) (overlookmotel)
61+
- 3407d47 ast: Move `#[clone_in(default)]` to types (#8876) (overlookmotel)
62+
- 6839433 ast: Communicate type of `RegExpFlags` to `oxc_ast_tools` with alias type (#8868) (overlookmotel)
63+
- abfe5bf ast: Shorten generated code for numbers (#8864) (overlookmotel)
64+
- f6f92db ast: Re-order generated code (#8863) (overlookmotel)
65+
- f69de07 ast: Remove unneeded lint attrs from generated code (#8862) (overlookmotel)
66+
- 6d1e1d8 ast: Make generated code consistent (#8872) (overlookmotel)
67+
- a5bdf32 ast_tools: Re-vamp `oxc_ast_tools` (#8844) (overlookmotel)
68+
- 768ad4f syntax: Add `#[ast]` attr to semantic ID types (#8867) (overlookmotel)
69+
70+
### Styling
71+
72+
- a4a8e7d all: Replace `#[allow]` with `#[expect]` (#8930) (overlookmotel)
73+
774
## [0.48.2] - 2025-02-02
875

976
### Features

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

0 commit comments

Comments
 (0)