Skip to content

Commit 1b3cd6c

Browse files
Release crates v0.15.0 (#3743)
## [0.15.0] - 2024-06-18 - 0537d29 cfg: [**BREAKING**] Move control flow to its own crate. (#3728) (rzvxa) - 5c38a0f codegen: [**BREAKING**] New code gen API (#3740) (Boshen) - 4bce59d semantic/cfg: [**BREAKING**] Re-export `petgraph` as `control_flow::graph`. (#3722) (rzvxa) - 534242a codegen: [**BREAKING**] Remove `CodegenOptions::enable_typescript` (#3674) (Boshen) - 0578ece ast: [**BREAKING**] Remove `ExportDefaultDeclarationKind::TSEnumDeclaration` (#3666) (Dunqing) ### Features - 5a99d30 codegen: Improve codegen formatting (#3735) (Boshen) - bf9b38a codegen: Improve codegen formatting (#3731) (Boshen) - 4a004e2 codegen: Print TSImport remaining fields (#3695) (Dunqing) - a56cb1b codegen: Print accessibility for MethodDefinition (#3690) (Dunqing) - 38a75e5 coverage: Improve codegen (#3729) (Boshen) - 750a534 coverage: Transformer idempotency test (#3691) (Boshen) - ee627c3 isolated-declarations: Create unique name for `_default` (#3730) (Dunqing) - 81e9526 isolated-declarations: Inferring set accessor parameter type from get accessor return type (#3725) (Dunqing) - 77d5533 isolated-declarations: Report errors that are consistent with typescript. (#3720) (Dunqing) - 8f5655d linter: Add eslint/no-useless-constructor (#3594) (Don Isaac) - 046ff3f linter/eslint: Add `no_unreachable` rule. (#3238) (rzvxa) - 0b8098a napi: Isolated-declaration (#3718) (Boshen) - 527bfc8 npm/oxc-transform: Setup npm/oxc-transform and publish (Boshen) - d65c652 parser: Display jsx mismatch error, e.g. `<Foo></Bar>` (#3696) (Boshen) - 9c31ed9 semantic/cfg: Propagate unreachable edges through subgraphs. (#3648) (rzvxa) - d9c5b33 semantic/cfg: Add `Condition` instruction. (#3567) (Ali Rezvani) - f2dfd66 semantic/cfg: Add iteration instructions. (#3566) (rzvxa) - 910193e transformer-dts: Report error for super class (#3711) (Dunqing) - 413d7be transformer-dts: Transform enum support (#3710) (Dunqing) - 35c382e transformer-dts: Remove type annotation from private field (#3689) (Dunqing) - 0e6d3ce transformer-dts: Report error for async function and generator (#3688) (Dunqing) - b22b59a transformer-dts: Transform namespace support (#3683) (Dunqing) - 4f2db46 transformer-dts: `--isolatedDeclarations` dts transform (#3664) (Dunqing) ### Bug Fixes - 2158268 ast: Incorrect visit order in function (#3681) (Dunqing) - da1e2d0 codegen: Improve typescript codegen (#3708) (Boshen) - f1b793f isolated-declarations: Function overloads reaching unreachable (#3739) (Dunqing) - 0fbecdc isolated-declarations: Should be added to references, not bindings (#3726) (Dunqing) - 8f64d99 minifier: Respect `join_vars: false` option (#3724) (mysteryven) - 70fc69b semantic: Add Eq to CtxFlags (#3651) (Yuji Sugiura) - 7a58fec semantic/cfg: Issue in unlabeled `Ctx`s. (#3678) (rzvxa) - abd6ac8 semantic/cfg: Discrete finalization path after `NewFunction`s. (#3671) (rzvxa) - e148a32 semantic/cfg: Correct unreachability propagation in try-finally. (#3667) (Ali Rezvani) - 59666e0 transformer: Do not rename accessible identifier references (#3623) (Dunqing) - 90743e2 traverse: Change visit order for `Function` (#3685) (overlookmotel) ### Performance - 2717a1a semantic/cfg: Lower the visits in `neighbors_filtered_by_edge_weight`. (#3676) (rzvxa) ### Refactor - fa7a6ba codegen: Add `gen` method to ast nodes (#3687) (Boshen) - 09b92b6 codegen: Move `gen_ts` into `gen` to make searching things easier (#3680) (Boshen) - 3c59735 isolated-declarations: Remove `TransformDtsCtx` (#3719) (Boshen) - 815260e isolated-declarations: Decouple codegen (#3715) (Boshen) - 7ec44f8 semantic: Rename `cfg` macro to `control_flow`. (#3742) (rzvxa) - d8ad321 semantic: Make control flow generation optional. (#3737) (rzvxa) - a94a72d semantic: Expose 1 checker function instead of 2 (#3694) (Boshen) - bd8d115 semantic/cfg: Remove unused types. (#3677) (rzvxa) - f702fb9 semantic/cfg: Cleanup control flow and it's builder. (#3650) (rzvxa) - 4f16664 transformer_dts: Create a `Program` for codegen (#3679) (Boshen) Co-authored-by: Boshen <Boshen@users.noreply.github.com>
1 parent 9e14c75 commit 1b3cd6c

File tree

34 files changed

+253
-58
lines changed

34 files changed

+253
-58
lines changed

Cargo.lock

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

Cargo.toml

+18-18
Original file line numberDiff line numberDiff line change
@@ -74,24 +74,24 @@ cargo_common_metadata = "allow" # TODO: fix this
7474

7575
[workspace.dependencies]
7676
# publish = true
77-
oxc = { version = "0.14.0", path = "crates/oxc" }
78-
oxc_allocator = { version = "0.14.0", path = "crates/oxc_allocator" }
79-
oxc_ast = { version = "0.14.0", path = "crates/oxc_ast" }
80-
oxc_codegen = { version = "0.14.0", path = "crates/oxc_codegen" }
81-
oxc_diagnostics = { version = "0.14.0", path = "crates/oxc_diagnostics" }
82-
oxc_index = { version = "0.14.0", path = "crates/oxc_index" }
83-
oxc_minifier = { version = "0.14.0", path = "crates/oxc_minifier" }
84-
oxc_parser = { version = "0.14.0", path = "crates/oxc_parser" }
85-
oxc_semantic = { version = "0.14.0", path = "crates/oxc_semantic" }
86-
oxc_span = { version = "0.14.0", path = "crates/oxc_span" }
87-
oxc_syntax = { version = "0.14.0", path = "crates/oxc_syntax" }
88-
oxc_transformer = { version = "0.14.0", path = "crates/oxc_transformer" }
89-
oxc_sourcemap = { version = "0.14.0", path = "crates/oxc_sourcemap" }
90-
oxc_ast_macros = { version = "0.14.0", path = "crates/oxc_ast_macros" }
91-
oxc_traverse = { version = "0.14.0", path = "crates/oxc_traverse" }
92-
oxc_module_lexer = { version = "0.14.0", path = "crates/oxc_module_lexer" }
93-
oxc_cfg = { version = "0.0.0", path = "crates/oxc_cfg" }
94-
oxc_isolated_declarations = { version = "0.14.0", path = "crates/oxc_isolated_declarations" }
77+
oxc = { version = "0.15.0", path = "crates/oxc" }
78+
oxc_allocator = { version = "0.15.0", path = "crates/oxc_allocator" }
79+
oxc_ast = { version = "0.15.0", path = "crates/oxc_ast" }
80+
oxc_codegen = { version = "0.15.0", path = "crates/oxc_codegen" }
81+
oxc_diagnostics = { version = "0.15.0", path = "crates/oxc_diagnostics" }
82+
oxc_index = { version = "0.15.0", path = "crates/oxc_index" }
83+
oxc_minifier = { version = "0.15.0", path = "crates/oxc_minifier" }
84+
oxc_parser = { version = "0.15.0", path = "crates/oxc_parser" }
85+
oxc_semantic = { version = "0.15.0", path = "crates/oxc_semantic" }
86+
oxc_span = { version = "0.15.0", path = "crates/oxc_span" }
87+
oxc_syntax = { version = "0.15.0", path = "crates/oxc_syntax" }
88+
oxc_transformer = { version = "0.15.0", path = "crates/oxc_transformer" }
89+
oxc_sourcemap = { version = "0.15.0", path = "crates/oxc_sourcemap" }
90+
oxc_ast_macros = { version = "0.15.0", path = "crates/oxc_ast_macros" }
91+
oxc_traverse = { version = "0.15.0", path = "crates/oxc_traverse" }
92+
oxc_module_lexer = { version = "0.15.0", path = "crates/oxc_module_lexer" }
93+
oxc_cfg = { version = "0.15.0", path = "crates/oxc_cfg" }
94+
oxc_isolated_declarations = { version = "0.15.0", path = "crates/oxc_isolated_declarations" }
9595

9696
# publish = false
9797
oxc_macros = { path = "crates/oxc_macros" }

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.14.0"
3+
version = "0.15.0"
44
publish = true
55
authors.workspace = true
66
description.workspace = true

crates/oxc_allocator/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.15.0] - 2024-06-18
8+
9+
### Features
10+
11+
- 8f5655d linter: Add eslint/no-useless-constructor (#3594) (Don Isaac)
12+
713
## [0.13.0] - 2024-05-14
814

915
### Refactor

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.14.0"
3+
version = "0.15.0"
44
authors.workspace = true
55
description.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.15.0] - 2024-06-18
8+
9+
- 0578ece ast: [**BREAKING**] Remove `ExportDefaultDeclarationKind::TSEnumDeclaration` (#3666) (Dunqing)
10+
11+
### Features
12+
13+
- 81e9526 isolated-declarations: Inferring set accessor parameter type from get accessor return type (#3725) (Dunqing)
14+
- 8f5655d linter: Add eslint/no-useless-constructor (#3594) (Don Isaac)
15+
- 046ff3f linter/eslint: Add `no_unreachable` rule. (#3238) (rzvxa)
16+
- 910193e transformer-dts: Report error for super class (#3711) (Dunqing)
17+
- 413d7be transformer-dts: Transform enum support (#3710) (Dunqing)
18+
- 35c382e transformer-dts: Remove type annotation from private field (#3689) (Dunqing)
19+
- 0e6d3ce transformer-dts: Report error for async function and generator (#3688) (Dunqing)
20+
- b22b59a transformer-dts: Transform namespace support (#3683) (Dunqing)
21+
- 4f2db46 transformer-dts: `--isolatedDeclarations` dts transform (#3664) (Dunqing)
22+
23+
### Bug Fixes
24+
25+
- 2158268 ast: Incorrect visit order in function (#3681) (Dunqing)
26+
- da1e2d0 codegen: Improve typescript codegen (#3708) (Boshen)
27+
- 90743e2 traverse: Change visit order for `Function` (#3685) (overlookmotel)
28+
29+
### Refactor
30+
31+
- fa7a6ba codegen: Add `gen` method to ast nodes (#3687) (Boshen)
32+
733
## [0.14.0] - 2024-06-12
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.14.0"
3+
version = "0.15.0"
44
authors.workspace = true
55
description.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.14.0"
3+
version = "0.15.0"
44
publish = true
55
authors.workspace = true
66
description.workspace = true

crates/oxc_cfg/CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Changelog
2+
3+
All notable changes to this package will be documented in this file.
4+
5+
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.
6+
7+
## [0.15.0] - 2024-06-18
8+
9+
- 0537d29 cfg: [**BREAKING**] Move control flow to its own crate. (#3728) (rzvxa)
10+
11+
### Refactor
12+
13+
- d8ad321 semantic: Make control flow generation optional. (#3737) (rzvxa)
14+

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.0.0"
3+
version = "0.15.0"
44
publish = true
55
authors.workspace = true
66
description.workspace = true

crates/oxc_codegen/CHANGELOG.md

+28
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,34 @@ 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.15.0] - 2024-06-18
8+
9+
- 5c38a0f codegen: [**BREAKING**] New code gen API (#3740) (Boshen)
10+
11+
- 534242a codegen: [**BREAKING**] Remove `CodegenOptions::enable_typescript` (#3674) (Boshen)
12+
13+
- 0578ece ast: [**BREAKING**] Remove `ExportDefaultDeclarationKind::TSEnumDeclaration` (#3666) (Dunqing)
14+
15+
### Features
16+
17+
- 5a99d30 codegen: Improve codegen formatting (#3735) (Boshen)
18+
- bf9b38a codegen: Improve codegen formatting (#3731) (Boshen)
19+
- 4a004e2 codegen: Print TSImport remaining fields (#3695) (Dunqing)
20+
- a56cb1b codegen: Print accessibility for MethodDefinition (#3690) (Dunqing)
21+
- 38a75e5 coverage: Improve codegen (#3729) (Boshen)
22+
- 4f2db46 transformer-dts: `--isolatedDeclarations` dts transform (#3664) (Dunqing)
23+
24+
### Bug Fixes
25+
26+
- da1e2d0 codegen: Improve typescript codegen (#3708) (Boshen)
27+
28+
### Refactor
29+
30+
- fa7a6ba codegen: Add `gen` method to ast nodes (#3687) (Boshen)
31+
- 09b92b6 codegen: Move `gen_ts` into `gen` to make searching things easier (#3680) (Boshen)
32+
- 815260e isolated-declarations: Decouple codegen (#3715) (Boshen)
33+
- 4f16664 transformer_dts: Create a `Program` for codegen (#3679) (Boshen)
34+
735
## [0.14.0] - 2024-06-12
836

937
### Refactor

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.14.0"
3+
version = "0.15.0"
44
publish = true
55
authors.workspace = true
66
description.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.14.0"
3+
version = "0.15.0"
44
authors.workspace = true
55
description.workspace = true
66
edition.workspace = true

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.14.0"
3+
version = "0.15.0"
44
publish = true
55
authors.workspace = true
66
description.workspace = true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Changelog
2+
3+
All notable changes to this package will be documented in this file.
4+
5+
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.
6+
7+
## [0.15.0] - 2024-06-18
8+
9+
- 5c38a0f codegen: [**BREAKING**] New code gen API (#3740) (Boshen)
10+
11+
### Features
12+
13+
- ee627c3 isolated-declarations: Create unique name for `_default` (#3730) (Dunqing)
14+
- 81e9526 isolated-declarations: Inferring set accessor parameter type from get accessor return type (#3725) (Dunqing)
15+
- 77d5533 isolated-declarations: Report errors that are consistent with typescript. (#3720) (Dunqing)
16+
- 0b8098a napi: Isolated-declaration (#3718) (Boshen)
17+
18+
### Bug Fixes
19+
20+
- f1b793f isolated-declarations: Function overloads reaching unreachable (#3739) (Dunqing)
21+
- 0fbecdc isolated-declarations: Should be added to references, not bindings (#3726) (Dunqing)
22+
23+
### Refactor
24+
25+
- 3c59735 isolated-declarations: Remove `TransformDtsCtx` (#3719) (Boshen)
26+
- 815260e isolated-declarations: Decouple codegen (#3715) (Boshen)
27+

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.14.0"
3+
version = "0.15.0"
44
publish = true
55
authors.workspace = true
66
description.workspace = true

0 commit comments

Comments
 (0)