Skip to content

Commit

Permalink
Release crates v0.20.0 (#4189)
Browse files Browse the repository at this point in the history
## [0.20.0] - 2024-07-11

- 5731e39 ast: [**BREAKING**] Store span details inside comment struct
(#4132) (Luca Bruno)

### Features

- 67fe75e ast, ast_codegen: Pass the `scope_id` to the `enter_scope`
event. (#4168) (rzvxa)
- 54cd04a minifier: Implement dce with var hoisting (#4160) (Boshen)
- 44a894a minifier: Implement return statement dce (#4155) (Boshen)
- 725571a napi/transformer: Add `jsx` option to force parsing with jsx
(#4133) (Boshen)

### Bug Fixes

- 48947a2 ast: Put `decorators` before everything else. (#4143) (rzvxa)
- 7a059ab cfg: Double resolution of labeled statements. (#4177) (rzvxa)
- 4a656c3 lexer: Incorrect lexing of large hex/octal/binary literals
(#4072) (DonIsaac)
- 28eeee0 parser: Fix asi error diagnostic pointing at invalid text
causing crash (#4163) (Boshen)

### Performance

- ddfa343 diagnostic: Use `Cow<'static, str>` over `String` (#4175)
(DonIsaac)
- 2203143 semantic: Store unresolved refs in a stack (#4162) (lucab)
- fca9706 semantic: Faster search for leading comments (#4140) (Boshen)

### Documentation

- bdcc298 ast: Update the note regarding the `ast_codegen` markers.
(#4149) (rzvxa)

### Refactor

- 03ad1e3 semantic: Tweak comment argument type (#4157) (lucab)

Co-authored-by: Boshen <Boshen@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and Boshen committed Jul 11, 2024
1 parent 8c54a2f commit 2a169d1
Show file tree
Hide file tree
Showing 35 changed files with 168 additions and 60 deletions.
38 changes: 19 additions & 19 deletions Cargo.lock

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

38 changes: 19 additions & 19 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,25 +74,25 @@ cargo_common_metadata = "allow" # TODO: fix this

[workspace.dependencies]
# publish = true
oxc = { version = "0.19.0", path = "crates/oxc" }
oxc_allocator = { version = "0.19.0", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.19.0", path = "crates/oxc_ast" }
oxc_codegen = { version = "0.19.0", path = "crates/oxc_codegen" }
oxc_diagnostics = { version = "0.19.0", path = "crates/oxc_diagnostics" }
oxc_index = { version = "0.19.0", path = "crates/oxc_index" }
oxc_minifier = { version = "0.19.0", path = "crates/oxc_minifier" }
oxc_parser = { version = "0.19.0", path = "crates/oxc_parser" }
oxc_semantic = { version = "0.19.0", path = "crates/oxc_semantic" }
oxc_span = { version = "0.19.0", path = "crates/oxc_span" }
oxc_syntax = { version = "0.19.0", path = "crates/oxc_syntax" }
oxc_transformer = { version = "0.19.0", path = "crates/oxc_transformer" }
oxc_sourcemap = { version = "0.19.0", path = "crates/oxc_sourcemap" }
oxc_ast_macros = { version = "0.19.0", path = "crates/oxc_ast_macros" }
oxc_traverse = { version = "0.19.0", path = "crates/oxc_traverse" }
oxc_module_lexer = { version = "0.19.0", path = "crates/oxc_module_lexer" }
oxc_cfg = { version = "0.19.0", path = "crates/oxc_cfg" }
oxc_isolated_declarations = { version = "0.19.0", path = "crates/oxc_isolated_declarations" }
oxc_transform_napi = { version = "0.19.0", path = "napi/transform" }
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_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" }

# publish = false
oxc_macros = { path = "crates/oxc_macros" }
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.19.0"
version = "0.20.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.19.0"
version = "0.20.0"
authors.workspace = true
description.workspace = true
edition.workspace = true
Expand Down
19 changes: 19 additions & 0 deletions crates/oxc_ast/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,25 @@ 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.20.0] - 2024-07-11

- 5731e39 ast: [**BREAKING**] Store span details inside comment struct (#4132) (Luca Bruno)

### Features

- 67fe75e ast, ast_codegen: Pass the `scope_id` to the `enter_scope` event. (#4168) (rzvxa)

### Bug Fixes

- 48947a2 ast: Put `decorators` before everything else. (#4143) (rzvxa)

### Documentation

- bdcc298 ast: Update the note regarding the `ast_codegen` markers. (#4149) (rzvxa)

### Refactor


## [0.19.0] - 2024-07-09

- b936162 ast/ast_builder: [**BREAKING**] Shorter allocator utility method names. (#4122) (rzvxa)
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.19.0"
version = "0.20.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.19.0"
version = "0.20.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.20.0] - 2024-07-11

### Bug Fixes

- 7a059ab cfg: Double resolution of labeled statements. (#4177) (rzvxa)

## [0.16.0] - 2024-06-26

### Features
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.19.0"
version = "0.20.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
7 changes: 7 additions & 0 deletions crates/oxc_codegen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ 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.20.0] - 2024-07-11

- 5731e39 ast: [**BREAKING**] Store span details inside comment struct (#4132) (Luca Bruno)

### Refactor


## [0.18.0] - 2024-07-09

### Features
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.19.0"
version = "0.20.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
6 changes: 6 additions & 0 deletions crates/oxc_diagnostics/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.20.0] - 2024-07-11

### Performance

- ddfa343 diagnostic: Use `Cow<'static, str>` over `String` (#4175) (DonIsaac)

## [0.16.1] - 2024-06-29

### Refactor
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.19.0"
version = "0.20.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.19.0"
version = "0.20.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
10 changes: 10 additions & 0 deletions crates/oxc_isolated_declarations/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ 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.20.0] - 2024-07-11

### Features

- 67fe75e ast, ast_codegen: Pass the `scope_id` to the `enter_scope` event. (#4168) (rzvxa)

### Bug Fixes

- 48947a2 ast: Put `decorators` before everything else. (#4143) (rzvxa)

## [0.19.0] - 2024-07-09

- b936162 ast/ast_builder: [**BREAKING**] Shorter allocator utility method names. (#4122) (rzvxa)
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_isolated_declarations/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_isolated_declarations"
version = "0.19.0"
version = "0.20.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
7 changes: 7 additions & 0 deletions crates/oxc_minifier/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ 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.20.0] - 2024-07-11

### Features

- 54cd04a minifier: Implement dce with var hoisting (#4160) (Boshen)
- 44a894a minifier: Implement return statement dce (#4155) (Boshen)

## [0.19.0] - 2024-07-09

- b936162 ast/ast_builder: [**BREAKING**] Shorter allocator utility method names. (#4122) (rzvxa)
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_minifier/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_minifier"
version = "0.19.0"
version = "0.20.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_module_lexer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_module_lexer"
version = "0.19.0"
version = "0.20.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
Loading

0 comments on commit 2a169d1

Please sign in to comment.