Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release crates v0.21.0 #4344

Merged
merged 1 commit into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 20 additions & 20 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,26 +73,26 @@ cargo_common_metadata = "allow" # TODO: fix this

[workspace.dependencies]
# publish = true
oxc = { version = "0.20.0", path = "crates/oxc" }
oxc_allocator = { version = "0.20.0", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.20.0", path = "crates/oxc_ast" }
oxc_codegen = { version = "0.20.0", path = "crates/oxc_codegen" }
oxc_diagnostics = { version = "0.20.0", path = "crates/oxc_diagnostics" }
oxc_index = { version = "0.20.0", path = "crates/oxc_index" }
oxc_minifier = { version = "0.20.0", path = "crates/oxc_minifier" }
oxc_mangler = { version = "0.20.0", path = "crates/oxc_mangler" }
oxc_parser = { version = "0.20.0", path = "crates/oxc_parser" }
oxc_semantic = { version = "0.20.0", path = "crates/oxc_semantic" }
oxc_span = { version = "0.20.0", path = "crates/oxc_span" }
oxc_syntax = { version = "0.20.0", path = "crates/oxc_syntax" }
oxc_transformer = { version = "0.20.0", path = "crates/oxc_transformer" }
oxc_sourcemap = { version = "0.20.0", path = "crates/oxc_sourcemap" }
oxc_ast_macros = { version = "0.20.0", path = "crates/oxc_ast_macros" }
oxc_traverse = { version = "0.20.0", path = "crates/oxc_traverse" }
oxc_module_lexer = { version = "0.20.0", path = "crates/oxc_module_lexer" }
oxc_cfg = { version = "0.20.0", path = "crates/oxc_cfg" }
oxc_isolated_declarations = { version = "0.20.0", path = "crates/oxc_isolated_declarations" }
oxc_transform_napi = { version = "0.20.0", path = "napi/transform" }
oxc = { version = "0.21.0", path = "crates/oxc" }
oxc_allocator = { version = "0.21.0", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.21.0", path = "crates/oxc_ast" }
oxc_codegen = { version = "0.21.0", path = "crates/oxc_codegen" }
oxc_diagnostics = { version = "0.21.0", path = "crates/oxc_diagnostics" }
oxc_index = { version = "0.21.0", path = "crates/oxc_index" }
oxc_minifier = { version = "0.21.0", path = "crates/oxc_minifier" }
oxc_mangler = { version = "0.21.0", path = "crates/oxc_mangler" }
oxc_parser = { version = "0.21.0", path = "crates/oxc_parser" }
oxc_semantic = { version = "0.21.0", path = "crates/oxc_semantic" }
oxc_span = { version = "0.21.0", path = "crates/oxc_span" }
oxc_syntax = { version = "0.21.0", path = "crates/oxc_syntax" }
oxc_transformer = { version = "0.21.0", path = "crates/oxc_transformer" }
oxc_sourcemap = { version = "0.21.0", path = "crates/oxc_sourcemap" }
oxc_ast_macros = { version = "0.21.0", path = "crates/oxc_ast_macros" }
oxc_traverse = { version = "0.21.0", path = "crates/oxc_traverse" }
oxc_module_lexer = { version = "0.21.0", path = "crates/oxc_module_lexer" }
oxc_cfg = { version = "0.21.0", path = "crates/oxc_cfg" }
oxc_isolated_declarations = { version = "0.21.0", path = "crates/oxc_isolated_declarations" }
oxc_transform_napi = { version = "0.21.0", path = "napi/transform" }

# publish = false
oxc_macros = { path = "crates/oxc_macros" }
Expand Down
6 changes: 6 additions & 0 deletions crates/oxc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file.

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.

## [0.21.0] - 2024-07-18

### Features

- 8a190eb oxc: Export `oxc_mangler` (Boshen)

## [0.16.0] - 2024-06-26

### Features
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc"
version = "0.20.0"
version = "0.21.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_allocator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_allocator"
version = "0.20.0"
version = "0.21.0"
authors.workspace = true
description.workspace = true
edition.workspace = true
Expand Down
22 changes: 22 additions & 0 deletions crates/oxc_ast/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,28 @@ All notable changes to this package will be documented in this file.

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.

## [0.21.0] - 2024-07-18

### Features

- af4dc01 ast: Align ts ast scope with typescript (#4253) (Dunqing)
- 20cdb1f semantic: Align class scope with typescript (#4195) (Dunqing)
- 92ee774 semantic: Add `ScopeFlags::CatchClause` for use in CatchClause (#4205) (Dunqing)

### Bug Fixes

- e167ef7 codegen: Print parenthesis properly (#4245) (Boshen)
- 1108f2a semantic: Resolve references to the incorrect symbol (#4280) (Dunqing)

### Refactor

- 2c7bb9f ast: Pass final `ScopeFlags` into `visit_function` (#4283) (overlookmotel)
- 3e099fe ast: Move `enter_scope` after `visit_binding_identifier` (#4246) (Dunqing)
- aab7aaa ast/visit: Fire node events as the outermost one. (#4203) (rzvxa)
- ace4f1f semantic: Update the order of `visit_function` and `Visit` fields in the builder to be consistent (#4248) (Dunqing)
- 7f1addd semantic: Correct scope in CatchClause (#4192) (Dunqing)
- 1458d81 visit: Add `#[inline]` to empty functions (#4330) (overlookmotel)

## [0.20.0] - 2024-07-11

- 5731e39 ast: [**BREAKING**] Store span details inside comment struct (#4132) (Luca Bruno)
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_ast"
version = "0.20.0"
version = "0.21.0"
authors.workspace = true
description.workspace = true
edition.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast_macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_ast_macros"
version = "0.20.0"
version = "0.21.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
6 changes: 6 additions & 0 deletions crates/oxc_cfg/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file.

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.

## [0.21.0] - 2024-07-18

### Refactor

- fc0b17d syntax: Turn the `AstNodeId::dummy` into a constant field. (#4308) (rzvxa)

## [0.20.0] - 2024-07-11

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_cfg/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_cfg"
version = "0.20.0"
version = "0.21.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
23 changes: 23 additions & 0 deletions crates/oxc_codegen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,29 @@ All notable changes to this package will be documented in this file.

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.

## [0.21.0] - 2024-07-18

### Features

- 83c2c62 codegen: Add option for choosing quotes; remove slow `choose_quot` method (#4219) (Boshen)
- e3e663b mangler: Initialize crate and integrate into minifier (#4197) (Boshen)

### Bug Fixes

- bf3d8d3 codegen: Print annotation comment inside parens for new and call expressions (#4290) (Boshen)
- 084ab76 codegen: Use `ryu-js` for f64 to string (Boshen)
- e167ef7 codegen: Print parenthesis properly (#4245) (Boshen)
- c65198f codegen: Choose the right quote for jsx attribute string (#4236) (Boshen)
- be82c28 codegen: Print `JSXAttributeValue::StringLiteral` directly (#4231) (Boshen)
- 3df9e69 mangler: No shorthand `BindingProperty`; handle var hoisting and export variables (#4319) (Boshen)
- 66b455a oxc_codegen: Avoid print same pure comments multiple time (#4230) (IWANABETHATGUY)- 1c117eb Avoid print extra semicolon after accessor property (#4199) (IWANABETHATGUY)

### Refactor

- d1c4be0 codegen: Clean up annotation_comment (Boshen)
- 06197b8 codegen: Separate tests (Boshen)
- aa22073 codegen: Improve print API (#4196) (Boshen)

## [0.20.0] - 2024-07-11

- 5731e39 ast: [**BREAKING**] Store span details inside comment struct (#4132) (Luca Bruno)
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_codegen"
version = "0.20.0"
version = "0.21.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_diagnostics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_diagnostics"
version = "0.20.0"
version = "0.21.0"
authors.workspace = true
description.workspace = true
edition.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_index/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_index"
version = "0.20.0"
version = "0.21.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
16 changes: 16 additions & 0 deletions crates/oxc_isolated_declarations/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ All notable changes to this package will be documented in this file.

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.

## [0.21.0] - 2024-07-18

### Features

- 83c2c62 codegen: Add option for choosing quotes; remove slow `choose_quot` method (#4219) (Boshen)
- 20cdb1f semantic: Align class scope with typescript (#4195) (Dunqing)

### Bug Fixes

- 3df9e69 mangler: No shorthand `BindingProperty`; handle var hoisting and export variables (#4319) (Boshen)

### Refactor

- 2c7bb9f ast: Pass final `ScopeFlags` into `visit_function` (#4283) (overlookmotel)
- ace4f1f semantic: Update the order of `visit_function` and `Visit` fields in the builder to be consistent (#4248) (Dunqing)

## [0.20.0] - 2024-07-11

### Features
Expand Down
Loading