Release crates v0.19.0 (#4137)

## [0.19.0] - 2024-07-09

- b936162 ast/ast_builder: [**BREAKING**] Shorter allocator utility
method names. (#4122) (rzvxa)

### Features

- 485c871 ast: Allow conversion from `Expression` into `Statement` with
`FromIn` trait. (#4124) (rzvxa)

### Refactor

Co-authored-by: Boshen <Boshen@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2024-07-09 20:32:06 +08:00 committed by GitHub
parent 485c871e8d
commit 714bf1dd7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 99 additions and 60 deletions

38
Cargo.lock generated
View file

@ -1272,7 +1272,7 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
[[package]] [[package]]
name = "oxc" name = "oxc"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"oxc_allocator", "oxc_allocator",
"oxc_ast", "oxc_ast",
@ -1308,7 +1308,7 @@ dependencies = [
[[package]] [[package]]
name = "oxc_allocator" name = "oxc_allocator"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"allocator-api2", "allocator-api2",
"bumpalo", "bumpalo",
@ -1318,7 +1318,7 @@ dependencies = [
[[package]] [[package]]
name = "oxc_ast" name = "oxc_ast"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"bitflags 2.6.0", "bitflags 2.6.0",
"num-bigint", "num-bigint",
@ -1352,7 +1352,7 @@ dependencies = [
[[package]] [[package]]
name = "oxc_ast_macros" name = "oxc_ast_macros"
version = "0.18.0" version = "0.19.0"
[[package]] [[package]]
name = "oxc_benchmark" name = "oxc_benchmark"
@ -1377,7 +1377,7 @@ dependencies = [
[[package]] [[package]]
name = "oxc_cfg" name = "oxc_cfg"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"bitflags 2.6.0", "bitflags 2.6.0",
"itertools 0.13.0", "itertools 0.13.0",
@ -1388,7 +1388,7 @@ dependencies = [
[[package]] [[package]]
name = "oxc_codegen" name = "oxc_codegen"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"base64", "base64",
"bitflags 2.6.0", "bitflags 2.6.0",
@ -1440,7 +1440,7 @@ dependencies = [
[[package]] [[package]]
name = "oxc_diagnostics" name = "oxc_diagnostics"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"miette", "miette",
"owo-colors", "owo-colors",
@ -1450,14 +1450,14 @@ dependencies = [
[[package]] [[package]]
name = "oxc_index" name = "oxc_index"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"serde", "serde",
] ]
[[package]] [[package]]
name = "oxc_isolated_declarations" name = "oxc_isolated_declarations"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"insta", "insta",
"oxc_allocator", "oxc_allocator",
@ -1552,7 +1552,7 @@ dependencies = [
[[package]] [[package]]
name = "oxc_minifier" name = "oxc_minifier"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"insta", "insta",
"itertools 0.13.0", "itertools 0.13.0",
@ -1587,7 +1587,7 @@ dependencies = [
[[package]] [[package]]
name = "oxc_module_lexer" name = "oxc_module_lexer"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"oxc_allocator", "oxc_allocator",
"oxc_ast", "oxc_ast",
@ -1597,7 +1597,7 @@ dependencies = [
[[package]] [[package]]
name = "oxc_parser" name = "oxc_parser"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"assert-unchecked", "assert-unchecked",
"bitflags 2.6.0", "bitflags 2.6.0",
@ -1690,7 +1690,7 @@ dependencies = [
[[package]] [[package]]
name = "oxc_semantic" name = "oxc_semantic"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"indexmap", "indexmap",
"insta", "insta",
@ -1712,7 +1712,7 @@ dependencies = [
[[package]] [[package]]
name = "oxc_sourcemap" name = "oxc_sourcemap"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"base64-simd", "base64-simd",
"cfg-if", "cfg-if",
@ -1724,7 +1724,7 @@ dependencies = [
[[package]] [[package]]
name = "oxc_span" name = "oxc_span"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"compact_str", "compact_str",
"miette", "miette",
@ -1736,7 +1736,7 @@ dependencies = [
[[package]] [[package]]
name = "oxc_syntax" name = "oxc_syntax"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"bitflags 2.6.0", "bitflags 2.6.0",
"dashmap 6.0.1", "dashmap 6.0.1",
@ -1780,7 +1780,7 @@ dependencies = [
[[package]] [[package]]
name = "oxc_transform_napi" name = "oxc_transform_napi"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"napi", "napi",
"napi-build", "napi-build",
@ -1796,7 +1796,7 @@ dependencies = [
[[package]] [[package]]
name = "oxc_transformer" name = "oxc_transformer"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"dashmap 6.0.1", "dashmap 6.0.1",
"indexmap", "indexmap",
@ -1818,7 +1818,7 @@ dependencies = [
[[package]] [[package]]
name = "oxc_traverse" name = "oxc_traverse"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"compact_str", "compact_str",
"memoffset", "memoffset",

View file

@ -74,25 +74,25 @@ cargo_common_metadata = "allow" # TODO: fix this
[workspace.dependencies] [workspace.dependencies]
# publish = true # publish = true
oxc = { version = "0.18.0", path = "crates/oxc" } oxc = { version = "0.19.0", path = "crates/oxc" }
oxc_allocator = { version = "0.18.0", path = "crates/oxc_allocator" } oxc_allocator = { version = "0.19.0", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.18.0", path = "crates/oxc_ast" } oxc_ast = { version = "0.19.0", path = "crates/oxc_ast" }
oxc_codegen = { version = "0.18.0", path = "crates/oxc_codegen" } oxc_codegen = { version = "0.19.0", path = "crates/oxc_codegen" }
oxc_diagnostics = { version = "0.18.0", path = "crates/oxc_diagnostics" } oxc_diagnostics = { version = "0.19.0", path = "crates/oxc_diagnostics" }
oxc_index = { version = "0.18.0", path = "crates/oxc_index" } oxc_index = { version = "0.19.0", path = "crates/oxc_index" }
oxc_minifier = { version = "0.18.0", path = "crates/oxc_minifier" } oxc_minifier = { version = "0.19.0", path = "crates/oxc_minifier" }
oxc_parser = { version = "0.18.0", path = "crates/oxc_parser" } oxc_parser = { version = "0.19.0", path = "crates/oxc_parser" }
oxc_semantic = { version = "0.18.0", path = "crates/oxc_semantic" } oxc_semantic = { version = "0.19.0", path = "crates/oxc_semantic" }
oxc_span = { version = "0.18.0", path = "crates/oxc_span" } oxc_span = { version = "0.19.0", path = "crates/oxc_span" }
oxc_syntax = { version = "0.18.0", path = "crates/oxc_syntax" } oxc_syntax = { version = "0.19.0", path = "crates/oxc_syntax" }
oxc_transformer = { version = "0.18.0", path = "crates/oxc_transformer" } oxc_transformer = { version = "0.19.0", path = "crates/oxc_transformer" }
oxc_sourcemap = { version = "0.18.0", path = "crates/oxc_sourcemap" } oxc_sourcemap = { version = "0.19.0", path = "crates/oxc_sourcemap" }
oxc_ast_macros = { version = "0.18.0", path = "crates/oxc_ast_macros" } oxc_ast_macros = { version = "0.19.0", path = "crates/oxc_ast_macros" }
oxc_traverse = { version = "0.18.0", path = "crates/oxc_traverse" } oxc_traverse = { version = "0.19.0", path = "crates/oxc_traverse" }
oxc_module_lexer = { version = "0.18.0", path = "crates/oxc_module_lexer" } oxc_module_lexer = { version = "0.19.0", path = "crates/oxc_module_lexer" }
oxc_cfg = { version = "0.18.0", path = "crates/oxc_cfg" } oxc_cfg = { version = "0.19.0", path = "crates/oxc_cfg" }
oxc_isolated_declarations = { version = "0.18.0", path = "crates/oxc_isolated_declarations" } oxc_isolated_declarations = { version = "0.19.0", path = "crates/oxc_isolated_declarations" }
oxc_transform_napi = { version = "0.18.0", path = "napi/transform" } oxc_transform_napi = { version = "0.19.0", path = "napi/transform" }
# publish = false # publish = false
oxc_macros = { path = "crates/oxc_macros" } oxc_macros = { path = "crates/oxc_macros" }

View file

@ -1,6 +1,6 @@
[package] [package]
name = "oxc" name = "oxc"
version = "0.18.0" version = "0.19.0"
publish = true publish = true
authors.workspace = true authors.workspace = true
description.workspace = true description.workspace = true

View file

@ -1,6 +1,6 @@
[package] [package]
name = "oxc_allocator" name = "oxc_allocator"
version = "0.18.0" version = "0.19.0"
authors.workspace = true authors.workspace = true
description.workspace = true description.workspace = true
edition.workspace = true edition.workspace = true

View file

@ -4,6 +4,17 @@ 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. 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.19.0] - 2024-07-09
- b936162 ast/ast_builder: [**BREAKING**] Shorter allocator utility method names. (#4122) (rzvxa)
### Features
- 485c871 ast: Allow conversion from `Expression` into `Statement` with `FromIn` trait. (#4124) (rzvxa)
### Refactor
## [0.18.0] - 2024-07-09 ## [0.18.0] - 2024-07-09
- d347aed ast: [**BREAKING**] Generate `ast_builder.rs`. (#3890) (rzvxa) - d347aed ast: [**BREAKING**] Generate `ast_builder.rs`. (#3890) (rzvxa)

View file

@ -1,6 +1,6 @@
[package] [package]
name = "oxc_ast" name = "oxc_ast"
version = "0.18.0" version = "0.19.0"
authors.workspace = true authors.workspace = true
description.workspace = true description.workspace = true
edition.workspace = true edition.workspace = true

View file

@ -1,6 +1,6 @@
[package] [package]
name = "oxc_ast_macros" name = "oxc_ast_macros"
version = "0.18.0" version = "0.19.0"
publish = true publish = true
authors.workspace = true authors.workspace = true
description.workspace = true description.workspace = true

View file

@ -1,6 +1,6 @@
[package] [package]
name = "oxc_cfg" name = "oxc_cfg"
version = "0.18.0" version = "0.19.0"
publish = true publish = true
authors.workspace = true authors.workspace = true
description.workspace = true description.workspace = true

View file

@ -1,6 +1,6 @@
[package] [package]
name = "oxc_codegen" name = "oxc_codegen"
version = "0.18.0" version = "0.19.0"
publish = true publish = true
authors.workspace = true authors.workspace = true
description.workspace = true description.workspace = true

View file

@ -1,6 +1,6 @@
[package] [package]
name = "oxc_diagnostics" name = "oxc_diagnostics"
version = "0.18.0" version = "0.19.0"
authors.workspace = true authors.workspace = true
description.workspace = true description.workspace = true
edition.workspace = true edition.workspace = true

View file

@ -1,6 +1,6 @@
[package] [package]
name = "oxc_index" name = "oxc_index"
version = "0.18.0" version = "0.19.0"
publish = true publish = true
authors.workspace = true authors.workspace = true
description.workspace = true description.workspace = true

View file

@ -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. 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.19.0] - 2024-07-09
- b936162 ast/ast_builder: [**BREAKING**] Shorter allocator utility method names. (#4122) (rzvxa)
### Refactor
## [0.18.0] - 2024-07-09 ## [0.18.0] - 2024-07-09
- d347aed ast: [**BREAKING**] Generate `ast_builder.rs`. (#3890) (rzvxa) - d347aed ast: [**BREAKING**] Generate `ast_builder.rs`. (#3890) (rzvxa)

View file

@ -1,6 +1,6 @@
[package] [package]
name = "oxc_isolated_declarations" name = "oxc_isolated_declarations"
version = "0.18.0" version = "0.19.0"
publish = true publish = true
authors.workspace = true authors.workspace = true
description.workspace = true description.workspace = true

View file

@ -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. 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.19.0] - 2024-07-09
- b936162 ast/ast_builder: [**BREAKING**] Shorter allocator utility method names. (#4122) (rzvxa)
### Refactor
## [0.18.0] - 2024-07-09 ## [0.18.0] - 2024-07-09
- d347aed ast: [**BREAKING**] Generate `ast_builder.rs`. (#3890) (rzvxa) - d347aed ast: [**BREAKING**] Generate `ast_builder.rs`. (#3890) (rzvxa)

View file

@ -1,6 +1,6 @@
[package] [package]
name = "oxc_minifier" name = "oxc_minifier"
version = "0.18.0" version = "0.19.0"
publish = true publish = true
authors.workspace = true authors.workspace = true
description.workspace = true description.workspace = true

View file

@ -1,6 +1,6 @@
[package] [package]
name = "oxc_module_lexer" name = "oxc_module_lexer"
version = "0.18.0" version = "0.19.0"
publish = true publish = true
authors.workspace = true authors.workspace = true
description.workspace = true description.workspace = true

View file

@ -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. 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.19.0] - 2024-07-09
- b936162 ast/ast_builder: [**BREAKING**] Shorter allocator utility method names. (#4122) (rzvxa)
### Refactor
## [0.18.0] - 2024-07-09 ## [0.18.0] - 2024-07-09
- d347aed ast: [**BREAKING**] Generate `ast_builder.rs`. (#3890) (rzvxa) - d347aed ast: [**BREAKING**] Generate `ast_builder.rs`. (#3890) (rzvxa)

View file

@ -1,6 +1,6 @@
[package] [package]
name = "oxc_parser" name = "oxc_parser"
version = "0.18.0" version = "0.19.0"
authors.workspace = true authors.workspace = true
description.workspace = true description.workspace = true
edition.workspace = true edition.workspace = true

View file

@ -1,6 +1,6 @@
[package] [package]
name = "oxc_semantic" name = "oxc_semantic"
version = "0.18.0" version = "0.19.0"
authors.workspace = true authors.workspace = true
description.workspace = true description.workspace = true
edition.workspace = true edition.workspace = true

View file

@ -1,6 +1,6 @@
[package] [package]
name = "oxc_sourcemap" name = "oxc_sourcemap"
version = "0.18.0" version = "0.19.0"
authors.workspace = true authors.workspace = true
description.workspace = true description.workspace = true
edition.workspace = true edition.workspace = true

View file

@ -1,6 +1,6 @@
[package] [package]
name = "oxc_span" name = "oxc_span"
version = "0.18.0" version = "0.19.0"
publish = true publish = true
authors.workspace = true authors.workspace = true
description.workspace = true description.workspace = true

View file

@ -1,6 +1,6 @@
[package] [package]
name = "oxc_syntax" name = "oxc_syntax"
version = "0.18.0" version = "0.19.0"
publish = true publish = true
authors.workspace = true authors.workspace = true
description.workspace = true description.workspace = true

View file

@ -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. 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.19.0] - 2024-07-09
- b936162 ast/ast_builder: [**BREAKING**] Shorter allocator utility method names. (#4122) (rzvxa)
### Refactor
## [0.18.0] - 2024-07-09 ## [0.18.0] - 2024-07-09
- d347aed ast: [**BREAKING**] Generate `ast_builder.rs`. (#3890) (rzvxa) - d347aed ast: [**BREAKING**] Generate `ast_builder.rs`. (#3890) (rzvxa)

View file

@ -1,6 +1,6 @@
[package] [package]
name = "oxc_transformer" name = "oxc_transformer"
version = "0.18.0" version = "0.19.0"
publish = true publish = true
authors.workspace = true authors.workspace = true
description.workspace = true description.workspace = true

View file

@ -1,6 +1,6 @@
[package] [package]
name = "oxc_traverse" name = "oxc_traverse"
version = "0.18.0" version = "0.19.0"
publish = true publish = true
authors.workspace = true authors.workspace = true
description.workspace = true description.workspace = true

View file

@ -1,6 +1,6 @@
[package] [package]
name = "oxc_transform_napi" name = "oxc_transform_napi"
version = "0.18.0" version = "0.19.0"
publish = true publish = true
authors.workspace = true authors.workspace = true
description.workspace = true description.workspace = true

View file

@ -1,6 +1,6 @@
{ {
"name": "oxc-parser", "name": "oxc-parser",
"version": "0.18.0", "version": "0.19.0",
"description": "Oxc Parser Node API", "description": "Oxc Parser Node API",
"keywords": [ "keywords": [
"Parser" "Parser"

View file

@ -1,6 +1,6 @@
{ {
"name": "oxc-transform", "name": "oxc-transform",
"version": "0.18.0", "version": "0.19.0",
"description": "Oxc transform Node API", "description": "Oxc transform Node API",
"keywords": [ "keywords": [
"transform" "transform"

View file

@ -1,6 +1,6 @@
{ {
"name": "@oxc-parser/wasm", "name": "@oxc-parser/wasm",
"version": "0.18.0", "version": "0.19.0",
"description": "Wasm target for the oxc parser.", "description": "Wasm target for the oxc parser.",
"keywords": [ "keywords": [
"JavaScript", "JavaScript",