release(crates): v0.38.0 (#7490)

This commit is contained in:
oxc-bot 2024-11-26 14:38:47 +08:00 committed by GitHub
parent 45ef3eb2be
commit 00a7372eaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
40 changed files with 218 additions and 73 deletions

46
Cargo.lock generated
View file

@ -1391,7 +1391,7 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
[[package]]
name = "oxc"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"napi",
"napi-derive",
@ -1457,7 +1457,7 @@ dependencies = [
[[package]]
name = "oxc_allocator"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"allocator-api2",
"bumpalo",
@ -1467,7 +1467,7 @@ dependencies = [
[[package]]
name = "oxc_ast"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"bitflags 2.6.0",
"cow-utils",
@ -1485,7 +1485,7 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"proc-macro2",
"quote",
@ -1534,7 +1534,7 @@ dependencies = [
[[package]]
name = "oxc_cfg"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"bitflags 2.6.0",
"itertools",
@ -1547,7 +1547,7 @@ dependencies = [
[[package]]
name = "oxc_codegen"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"assert-unchecked",
"base64",
@ -1608,14 +1608,14 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"assert-unchecked",
]
[[package]]
name = "oxc_diagnostics"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"oxc-miette",
"rustc-hash",
@ -1623,7 +1623,7 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"num-bigint",
"num-traits",
@ -1636,7 +1636,7 @@ dependencies = [
[[package]]
name = "oxc_estree"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"serde",
]
@ -1652,7 +1652,7 @@ dependencies = [
[[package]]
name = "oxc_isolated_declarations"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"bitflags 2.6.0",
"insta",
@ -1753,7 +1753,7 @@ dependencies = [
[[package]]
name = "oxc_mangler"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"itertools",
"oxc_ast",
@ -1764,7 +1764,7 @@ dependencies = [
[[package]]
name = "oxc_minifier"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"cow-utils",
"insta",
@ -1812,7 +1812,7 @@ dependencies = [
[[package]]
name = "oxc_module_lexer"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"oxc_allocator",
"oxc_ast",
@ -1823,7 +1823,7 @@ dependencies = [
[[package]]
name = "oxc_parser"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"assert-unchecked",
"bitflags 2.6.0",
@ -1898,7 +1898,7 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"oxc_allocator",
"oxc_ast_macros",
@ -1932,7 +1932,7 @@ dependencies = [
[[package]]
name = "oxc_semantic"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"assert-unchecked",
"indexmap",
@ -1957,7 +1957,7 @@ dependencies = [
[[package]]
name = "oxc_sourcemap"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"base64-simd",
"cfg-if",
@ -1971,7 +1971,7 @@ dependencies = [
[[package]]
name = "oxc_span"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"compact_str",
"oxc-miette",
@ -1984,7 +1984,7 @@ dependencies = [
[[package]]
name = "oxc_syntax"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"assert-unchecked",
"bitflags 2.6.0",
@ -2043,7 +2043,7 @@ dependencies = [
[[package]]
name = "oxc_transform_napi"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"napi",
"napi-build",
@ -2053,7 +2053,7 @@ dependencies = [
[[package]]
name = "oxc_transformer"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"base64",
"compact_str",
@ -2086,7 +2086,7 @@ dependencies = [
[[package]]
name = "oxc_traverse"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"compact_str",
"itoa",

View file

@ -78,29 +78,29 @@ doc_lazy_continuation = "allow" # FIXME
[workspace.dependencies]
# publish = true
oxc = { version = "0.37.0", path = "crates/oxc" }
oxc_allocator = { version = "0.37.0", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.37.0", path = "crates/oxc_ast" }
oxc_ast_macros = { version = "0.37.0", path = "crates/oxc_ast_macros" }
oxc_cfg = { version = "0.37.0", path = "crates/oxc_cfg" }
oxc_codegen = { version = "0.37.0", path = "crates/oxc_codegen" }
oxc_data_structures = { version = "0.37.0", path = "crates/oxc_data_structures" }
oxc_diagnostics = { version = "0.37.0", path = "crates/oxc_diagnostics" }
oxc_ecmascript = { version = "0.37.0", path = "crates/oxc_ecmascript" }
oxc_estree = { version = "0.37.0", path = "crates/oxc_estree" }
oxc_isolated_declarations = { version = "0.37.0", path = "crates/oxc_isolated_declarations" }
oxc_mangler = { version = "0.37.0", path = "crates/oxc_mangler" }
oxc_minifier = { version = "0.37.0", path = "crates/oxc_minifier" }
oxc_module_lexer = { version = "0.37.0", path = "crates/oxc_module_lexer" }
oxc_parser = { version = "0.37.0", path = "crates/oxc_parser" }
oxc_regular_expression = { version = "0.37.0", path = "crates/oxc_regular_expression" }
oxc_semantic = { version = "0.37.0", path = "crates/oxc_semantic" }
oxc_sourcemap = { version = "0.37.0", path = "crates/oxc_sourcemap" }
oxc_span = { version = "0.37.0", path = "crates/oxc_span" }
oxc_syntax = { version = "0.37.0", path = "crates/oxc_syntax" }
oxc_transform_napi = { version = "0.37.0", path = "napi/transform" }
oxc_transformer = { version = "0.37.0", path = "crates/oxc_transformer" }
oxc_traverse = { version = "0.37.0", path = "crates/oxc_traverse" }
oxc = { version = "0.38.0", path = "crates/oxc" }
oxc_allocator = { version = "0.38.0", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.38.0", path = "crates/oxc_ast" }
oxc_ast_macros = { version = "0.38.0", path = "crates/oxc_ast_macros" }
oxc_cfg = { version = "0.38.0", path = "crates/oxc_cfg" }
oxc_codegen = { version = "0.38.0", path = "crates/oxc_codegen" }
oxc_data_structures = { version = "0.38.0", path = "crates/oxc_data_structures" }
oxc_diagnostics = { version = "0.38.0", path = "crates/oxc_diagnostics" }
oxc_ecmascript = { version = "0.38.0", path = "crates/oxc_ecmascript" }
oxc_estree = { version = "0.38.0", path = "crates/oxc_estree" }
oxc_isolated_declarations = { version = "0.38.0", path = "crates/oxc_isolated_declarations" }
oxc_mangler = { version = "0.38.0", path = "crates/oxc_mangler" }
oxc_minifier = { version = "0.38.0", path = "crates/oxc_minifier" }
oxc_module_lexer = { version = "0.38.0", path = "crates/oxc_module_lexer" }
oxc_parser = { version = "0.38.0", path = "crates/oxc_parser" }
oxc_regular_expression = { version = "0.38.0", path = "crates/oxc_regular_expression" }
oxc_semantic = { version = "0.38.0", path = "crates/oxc_semantic" }
oxc_sourcemap = { version = "0.38.0", path = "crates/oxc_sourcemap" }
oxc_span = { version = "0.38.0", path = "crates/oxc_span" }
oxc_syntax = { version = "0.38.0", path = "crates/oxc_syntax" }
oxc_transform_napi = { version = "0.38.0", path = "napi/transform" }
oxc_transformer = { version = "0.38.0", path = "crates/oxc_transformer" }
oxc_traverse = { version = "0.38.0", path = "crates/oxc_traverse" }
# publish = false
oxc_linter = { path = "crates/oxc_linter" }

View file

@ -4,6 +4,19 @@ 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.38.0] - 2024-11-26
- 5d65656 oxc_index: [**BREAKING**] Move to own repo github.com/oxc-project/oxc-index-vec (#7464) (Boshen)
- bb2c0c2 transformer: [**BREAKING**] Return `String` as error instead of OxcDiagnostic (#7424) (Boshen)
### Features
- 59e7e46 napi/transform: Add `TransformOptions::target` API (#7426) (Boshen)
### Refactor
## [0.36.0] - 2024-11-09
- 846711c transformer: [**BREAKING**] Change API to take a `&TransformOptions` instead of `TransformOptions` (#7213) (Boshen)

View file

@ -1,6 +1,6 @@
[package]
name = "oxc"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_allocator"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -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.38.0] - 2024-11-26
### Features
- eb70219 ast: Derive `GetAddress` on all enum types (#7472) (overlookmotel)
## [0.37.0] - 2024-11-21
- f059b0e ast: [**BREAKING**] Add missing `ChainExpression` from `TSNonNullExpression` (#7377) (Boshen)

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_ast"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -4,6 +4,21 @@ 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.38.0] - 2024-11-26
### Features
- eb70219 ast: Derive `GetAddress` on all enum types (#7472) (overlookmotel)
### Documentation
- 63f4d6c ast_tools: Reformat docs for `#[ast]` proc macro (#7437) (overlookmotel)
- bc0e8bc ast_tools: Update and reformat docs for `#[ast]` proc macro (#7436) (overlookmotel)
### Refactor
- cf0b3bc ast_tools: Remove `tsify` helper attr from `Ast` derive macro (#7435) (overlookmotel)
## [0.35.0] - 2024-11-04
### Features

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_ast_macros"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_cfg"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -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.38.0] - 2024-11-26
### Bug Fixes
- d5df615 oxc_codegen: Don't emit empty span mapping (#7448) (Hiroshi Ogawa)
## [0.37.0] - 2024-11-21
- f059b0e ast: [**BREAKING**] Add missing `ChainExpression` from `TSNonNullExpression` (#7377) (Boshen)

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_codegen"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_data_structures"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_diagnostics"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_ecmascript"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_estree"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -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.38.0] - 2024-11-26
### Refactor
- 0ff94fa isolated-declarations: Use `CloneIn` instead of `ast.copy` (#7459) (Dunqing)
## [0.37.0] - 2024-11-21
- 44375a5 ast: [**BREAKING**] Rename `TSEnumMemberName` enum variants (#7250) (overlookmotel)

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_isolated_declarations"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_mangler"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_minifier"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_module_lexer"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_parser"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -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.38.0] - 2024-11-26
### Features
- eb70219 ast: Derive `GetAddress` on all enum types (#7472) (overlookmotel)
## [0.36.0] - 2024-11-09
### Features

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_regular_expression"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -4,6 +4,18 @@ 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.38.0] - 2024-11-26
- 27b2268 semantic: [**BREAKING**] Remove `SymbolFlags::Export` (#7414) (Dunqing)
- 6f0fe38 semantic: [**BREAKING**] Correct all `ReferenceFlags::Write` according to the spec (#7388) (Dunqing)
### Bug Fixes
### Refactor
## [0.37.0] - 2024-11-21
### Features

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_semantic"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_sourcemap"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_span"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -4,6 +4,19 @@ 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.38.0] - 2024-11-26
- 27b2268 semantic: [**BREAKING**] Remove `SymbolFlags::Export` (#7414) (Dunqing)
- 6f0fe38 semantic: [**BREAKING**] Correct all `ReferenceFlags::Write` according to the spec (#7388) (Dunqing)
### Bug Fixes
### Refactor
- d7d0735 semantic: Remove `SymbolFlags::TypeLiteral` (#7415) (Dunqing)
## [0.37.0] - 2024-11-21
### Features

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_syntax"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -4,6 +4,49 @@ 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.38.0] - 2024-11-26
- bb2c0c2 transformer: [**BREAKING**] Return `String` as error instead of OxcDiagnostic (#7424) (Boshen)
### Features
- 59e7e46 napi/transform: Add `TransformOptions::target` API (#7426) (Boshen)
- e9f9e82 oxc_transformer: Replace_global_define ThisExpression (#7443) (IWANABETHATGUY)
- 8797849 oxc_transformer: Replace_global_define destructuring assignment optimization (#7449) (IWANABETHATGUY)
- 4bb1dca oxc_transformer: ReplaceGlobalDefines for ChainExpr (#7433) (IWANABETHATGUY)
- d8c0931 oxc_transformer: Use better diagnostic message for `ReplaceGlobalDefinesPlugin` (#7439) (dalaoshu)
- 21614f2 oxc_transformer: ReplaceGlobalDefinesPlugin for ComputedMemberExpr (#7431) (IWANABETHATGUY)
- 9778298 transformer: Class properties transform (#7011) (overlookmotel)
### Bug Fixes
- 7ff9f13 transformer: Correct all ReferenceFlags (#7410) (Dunqing)
- 4d6bd07 transformer/async-generator-functions: Correct all binding scope id (#7425) (Dunqing)
- 97de0b7 transformer/class-properties: Transform `this` in static prop initializers (#7481) (overlookmotel)
- d2745df transformer/class-properties: Stop searching for `super()` in `TSModuleBlock`s (#7480) (overlookmotel)
### Performance
- e26916c transformer/optional-chaining: Mark `enter_expression` as inline (#7390) (Dunqing)
### Documentation
- 2a5954a transformer/class-properties: Document transform options (#7478) (overlookmotel)
### Refactor
- e5d49db transformer/class-properties: Placeholder method for transforming private field assignment patterns (#7482) (overlookmotel)
- abb0e0e transformer/class-properties: Rename var (#7477) (overlookmotel)
- 25823c8 transformer/class-properties: Safer use of `GetAddress` (#7474) (overlookmotel)
- 3396b69 transformer/exponentiation-operator: Correct comment (#7476) (overlookmotel)
- eb39a50 transformer/logic-assignment: Shorten code (#7419) (overlookmotel)
- 6fd0fcb transformer/object-rest-spread: Avoid multiple symbol lookups (#7420) (overlookmotel)
- 52784d2 transformer/optional-chaining: Avoid multiple symbol lookups (#7421) (overlookmotel)
### Styling
- 111d722 transformer/optional-chaining: Code style nit (#7468) (overlookmotel)
## [0.37.0] - 2024-11-21
- f059b0e ast: [**BREAKING**] Add missing `ChainExpression` from `TSNonNullExpression` (#7377) (Boshen)

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_transformer"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

@ -4,6 +4,20 @@ 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.38.0] - 2024-11-26
### Features
- 971c91a traverse: Add methods to `BoundIdentifier` + `MaybeBoundIdentifier` to create `SimpleAssignmentTarget`s (#7418) (overlookmotel)
### Documentation
- be5f843 traverse: Fix docs for `BoundIdentifier` + `MaybeBoundIdentifier` (#7417) (overlookmotel)
### Styling
- 10ea830 traverse: Fix indentation in codegen (#7475) (overlookmotel)
## [0.37.0] - 2024-11-21
- f059b0e ast: [**BREAKING**] Add missing `ChainExpression` from `TSNonNullExpression` (#7377) (Boshen)

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_traverse"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.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.
## [0.38.0] - 2024-11-26
- bb2c0c2 transformer: [**BREAKING**] Return `String` as error instead of OxcDiagnostic (#7424) (Boshen)
### Features
- 59e7e46 napi/transform: Add `TransformOptions::target` API (#7426) (Boshen)
### Refactor
## [0.36.0] - 2024-11-09
- 846711c transformer: [**BREAKING**] Change API to take a `&TransformOptions` instead of `TransformOptions` (#7213) (Boshen)

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_transform_napi"
version = "0.37.0"
version = "0.38.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true

View file

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

View file

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

View file

@ -1,6 +1,6 @@
{
"name": "@oxc-project/types",
"version": "0.37.0",
"version": "0.38.0",
"description": "Types for Oxc AST nodes",
"keywords": [
"AST",

View file

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