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.40.0 #7775

Merged
merged 1 commit into from
Dec 10, 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
44 changes: 22 additions & 22 deletions Cargo.lock

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

44 changes: 22 additions & 22 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,28 +78,28 @@ doc_lazy_continuation = "allow" # FIXME

[workspace.dependencies]
# publish = true
oxc = { version = "0.39.0", path = "crates/oxc" }
oxc_allocator = { version = "0.39.0", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.39.0", path = "crates/oxc_ast" }
oxc_ast_macros = { version = "0.39.0", path = "crates/oxc_ast_macros" }
oxc_cfg = { version = "0.39.0", path = "crates/oxc_cfg" }
oxc_codegen = { version = "0.39.0", path = "crates/oxc_codegen" }
oxc_data_structures = { version = "0.39.0", path = "crates/oxc_data_structures" }
oxc_diagnostics = { version = "0.39.0", path = "crates/oxc_diagnostics" }
oxc_ecmascript = { version = "0.39.0", path = "crates/oxc_ecmascript" }
oxc_estree = { version = "0.39.0", path = "crates/oxc_estree" }
oxc_isolated_declarations = { version = "0.39.0", path = "crates/oxc_isolated_declarations" }
oxc_mangler = { version = "0.39.0", path = "crates/oxc_mangler" }
oxc_minifier = { version = "0.39.0", path = "crates/oxc_minifier" }
oxc_napi = { version = "0.39.0", path = "crates/oxc_napi" }
oxc_parser = { version = "0.39.0", path = "crates/oxc_parser" }
oxc_regular_expression = { version = "0.39.0", path = "crates/oxc_regular_expression" }
oxc_semantic = { version = "0.39.0", path = "crates/oxc_semantic" }
oxc_span = { version = "0.39.0", path = "crates/oxc_span" }
oxc_syntax = { version = "0.39.0", path = "crates/oxc_syntax" }
oxc_transform_napi = { version = "0.39.0", path = "napi/transform" }
oxc_transformer = { version = "0.39.0", path = "crates/oxc_transformer" }
oxc_traverse = { version = "0.39.0", path = "crates/oxc_traverse" }
oxc = { version = "0.40.0", path = "crates/oxc" }
oxc_allocator = { version = "0.40.0", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.40.0", path = "crates/oxc_ast" }
oxc_ast_macros = { version = "0.40.0", path = "crates/oxc_ast_macros" }
oxc_cfg = { version = "0.40.0", path = "crates/oxc_cfg" }
oxc_codegen = { version = "0.40.0", path = "crates/oxc_codegen" }
oxc_data_structures = { version = "0.40.0", path = "crates/oxc_data_structures" }
oxc_diagnostics = { version = "0.40.0", path = "crates/oxc_diagnostics" }
oxc_ecmascript = { version = "0.40.0", path = "crates/oxc_ecmascript" }
oxc_estree = { version = "0.40.0", path = "crates/oxc_estree" }
oxc_isolated_declarations = { version = "0.40.0", path = "crates/oxc_isolated_declarations" }
oxc_mangler = { version = "0.40.0", path = "crates/oxc_mangler" }
oxc_minifier = { version = "0.40.0", path = "crates/oxc_minifier" }
oxc_napi = { version = "0.40.0", path = "crates/oxc_napi" }
oxc_parser = { version = "0.40.0", path = "crates/oxc_parser" }
oxc_regular_expression = { version = "0.40.0", path = "crates/oxc_regular_expression" }
oxc_semantic = { version = "0.40.0", path = "crates/oxc_semantic" }
oxc_span = { version = "0.40.0", path = "crates/oxc_span" }
oxc_syntax = { version = "0.40.0", path = "crates/oxc_syntax" }
oxc_transform_napi = { version = "0.40.0", path = "napi/transform" }
oxc_transformer = { version = "0.40.0", path = "crates/oxc_transformer" }
oxc_traverse = { version = "0.40.0", path = "crates/oxc_traverse" }

# publish = false
oxc_linter = { path = "crates/oxc_linter" }
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.39.0"
version = "0.40.0"
authors.workspace = true
categories.workspace = true
edition.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.39.0"
version = "0.40.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
27 changes: 27 additions & 0 deletions crates/oxc_ast/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,33 @@ 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.40.0] - 2024-12-10

- 72eab6c parser: [**BREAKING**] Stage 3 `import source` and `import defer` (#7706) (Boshen)

- ebc80f6 ast: [**BREAKING**] Change 'raw' from &str to Option<Atom> (#7547) (Song Gao)

### Features

- 7dcf6b4 ast, transformer: Add `AstBuilder::use_strict_directive` method (#7770) (overlookmotel)
- bd9d38a linter: Implement eslint:yoda (#7559) (tbashiyy)

### Bug Fixes

- 2179b93 estree: Make type of `BigIntLiteral::raw` prop in ESTree AST optional (#7663) (overlookmotel)
- cbba26c estree: `raw: null` in ESTree AST for generated `NullLiteral`s (#7662) (overlookmotel)
- 1d59fc8 estree: `raw: null` in ESTree AST for generated `BooleanLiteral`s (#7661) (overlookmotel)

### Refactor

- 98afe65 ast: `AstBuilder` extra methods use `SPAN` (#7769) (overlookmotel)
- 8993e89 ast: Shorten code (#7659) (overlookmotel)
- 746c8aa ast: Rename vars (#7658) (overlookmotel)

### Styling

- 0c9cc48 ast: Import `Atom` (#7657) (overlookmotel)

## [0.39.0] - 2024-12-04

- b0e1c03 ast: [**BREAKING**] Add `StringLiteral::raw` field (#7393) (Boshen)
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.39.0"
version = "0.40.0"
authors.workspace = true
categories.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.39.0"
version = "0.40.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
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.39.0"
version = "0.40.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
21 changes: 21 additions & 0 deletions crates/oxc_codegen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,27 @@ 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.40.0] - 2024-12-10

- 72eab6c parser: [**BREAKING**] Stage 3 `import source` and `import defer` (#7706) (Boshen)

- ebc80f6 ast: [**BREAKING**] Change 'raw' from &str to Option<Atom> (#7547) (Song Gao)

### Features

- d0b78f7 codegen: Minify whitespace for some expressions (#7671) (Boshen)
- c523ccb codegen: Better whitespace minification for import / export statements (#7650) (Boshen)

### Bug Fixes

- a222f2b codegen: Print `delete 2e308` as `delete (0, Infinity)` (#7761) (Boshen)
- b701232 codegen: Print quote correctly for directive (#7735) (Boshen)
- 8c3a954 codegen: Missing parens for `in` in `for in` loop init (#7705) (Dunqing)
- 4afbe55 codegen: Missing parens for `in` in for loop init when it includes two binary expression (#7703) (Dunqing)

### Refactor


## [0.39.0] - 2024-12-04

### Bug Fixes
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.39.0"
version = "0.40.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
10 changes: 10 additions & 0 deletions crates/oxc_data_structures/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.40.0] - 2024-12-10

### Features

- cf2ee06 data_structures: Add rope (#7764) (Boshen)

### Styling

- e97a954 data_structures: Line breaks (#7766) (overlookmotel)

## [0.39.0] - 2024-12-04

### Features
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_data_structures/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_data_structures"
version = "0.39.0"
version = "0.40.0"
authors.workspace = true
categories.workspace = true
edition.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.40.0] - 2024-12-10

### Features

- 85eec3c napi/transform,napi/parser: Return structured error object (#7724) (Boshen)

## [0.37.0] - 2024-11-21

### Features
Expand Down
Loading
Loading