Skip to content

Commit

Permalink
release(crates): v0.34.0 (#6908)
Browse files Browse the repository at this point in the history
## [0.34.0] - 2024-10-26

- 4618aa2 transformer: [**BREAKING**] Rename `TransformerOptions::react`
to `jsx` (#6888) (Boshen)

- 90c786c regular_expression: [**BREAKING**] Support ES2025 Duplicated
named capture groups (#6847) (leaysgur)

- 67a7bde napi/parser: [**BREAKING**] Add typings to napi/parser (#6796)
(ottomated)

### Features

- 1145341 ast_tools: Output typescript to a separate package (#6755)
(ottomated)
- 4429754 ecmascript: Constant eval `null` to number (#6879) (Boshen)
- fd57e00 ecmascript: Add abstract_relational_comparison to dce (#6846)
(Boshen)
- 8bcaf59 minifier: Late peeophole optimization (#6882) (Boshen)
- 860cbca minifier: Implement folding simple arrow fns (#6875) (camc314)
- c26020e minifier: Implement folding String.prototype.replaceAll
(#6871) (camc314)
- 50744f3 minifier: Implement folding String.prototype.replace (#6870)
(camc314)
- fccf82e minifier: Implement folding `substring` string fns (#6869)
(camc314)
- e6a5a1b minifier: Implement folding `charCodeAt` string fns (#6475)
(camc314)
- 0d0bb17 transformer: Complete the async-to-generator plugin (#6658)
(Dunqing)
- 419343b traverse: Implement `GetAddress` for `Ancestor` (#6877)
(overlookmotel)

### Bug Fixes

- a47c70e minifier: Fix remaining runtime bugs (#6855) (Boshen)
- 686727f minifier: Reference read has side effect (#6851) (Boshen)
- c658d93 minifier: Keep template literals with expressions (#6849)
(Boshen)
- 4dc5e51 transformer: Only run typescript plugin for typescript source
(#6889) (Boshen)
- 076f5c3 transformer/typescript: Retain ExportNamedDeclaration without
specifiers and declaration (#6848) (Dunqing)
- b075982 types: Change @oxc/types package name (#6874) (ottomated)

### Documentation

- 6eeb0e6 ast: Mention typescript-eslint, field ordering and shape
(#6863) (Boshen)
- 99e3b32 napi: Remove JSON.parse from example (#6836) (ottomated)

### Refactor

- adb5039 allocator: Add `impl GetAddress for Address` (#6891)
(overlookmotel)
- 3e7507f ast_tools: Reduce macro usage (#6895) (overlookmotel)
- 423d54c rust: Remove the annoying `clippy::wildcard_imports` (#6860)
(Boshen)
- 2d95009 transformer: Implement `Debug` on `StatementInjector` internal
types (#6886) (overlookmotel)
- c383c34 transformer: Make `StatementInjectorStore` methods generic
over `GetAddress` (#6885) (overlookmotel)
- 1f29523 transformer: Rename ReactJsx to Jsx (#6883) (Boshen)
- 333b758 transformer: `StatementInjectorStore` methods take
`&Statement` as target (#6858) (overlookmotel)
- c19996c transformer: Add `StatementInjectorStore::insert_many_before`
method (#6857) (overlookmotel)
- 7339dde transformer: `StatementInjectorStore::insert_many_after` take
an iterator (#6856) (overlookmotel)
- 4348eae transformer/typescript: Re-order visitor methods (#6864)
(overlookmotel)
- 3a56d59 transformer/typescript: Insert assignments after super by
`StatementInjector` (#6654) (Dunqing)
- a366fae traverse: Rename
`TraverseScoping::generate_binding_in_current_scope` (#6832)
(overlookmotel)
- 3b99fe6 traverse: Move `generate_binding` to `TraverseScoping` (#6831)
(overlookmotel)
- 60f487a traverse: `TraverseCtx::generate_binding` take an `Atom`
(#6830) (overlookmotel)

### Styling

- 262b2ed ast: Move crate doc comment to top of file (#6890)
(overlookmotel)

---------

Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 26, 2024
1 parent 741571f commit 238e086
Show file tree
Hide file tree
Showing 49 changed files with 321 additions and 78 deletions.
48 changes: 24 additions & 24 deletions Cargo.lock

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

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

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

# publish = false
oxc_linter = { path = "crates/oxc_linter" }
Expand Down
17 changes: 17 additions & 0 deletions crates/oxc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@ 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.34.0] - 2024-10-26

- 4618aa2 transformer: [**BREAKING**] Rename `TransformerOptions::react` to `jsx` (#6888) (Boshen)

- 67a7bde napi/parser: [**BREAKING**] Add typings to napi/parser (#6796) (ottomated)

### Features


### Bug Fixes

- 4dc5e51 transformer: Only run typescript plugin for typescript source (#6889) (Boshen)
- b075982 types: Change @oxc/types package name (#6874) (ottomated)

### Refactor


## [0.32.0] - 2024-10-19

- 91c87dd codegen: [**BREAKING**] Remove `Codegen::enableSourceMap` API (#6452) (Boshen)
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.33.0"
version = "0.34.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
10 changes: 10 additions & 0 deletions crates/oxc_allocator/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.34.0] - 2024-10-26

### Features

- 419343b traverse: Implement `GetAddress` for `Ancestor` (#6877) (overlookmotel)

### Refactor

- adb5039 allocator: Add `impl GetAddress for Address` (#6891) (overlookmotel)

## [0.33.0] - 2024-10-24

- e1c2d30 allocator: [**BREAKING**] Make `Vec` non-drop (#6623) (overlookmotel)
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.33.0"
version = "0.34.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
24 changes: 24 additions & 0 deletions crates/oxc_ast/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,30 @@ 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.34.0] - 2024-10-26

### Features

- 1145341 ast_tools: Output typescript to a separate package (#6755) (ottomated)
- 0d0bb17 transformer: Complete the async-to-generator plugin (#6658) (Dunqing)

### Bug Fixes

- a47c70e minifier: Fix remaining runtime bugs (#6855) (Boshen)

### Documentation

- 6eeb0e6 ast: Mention typescript-eslint, field ordering and shape (#6863) (Boshen)

### Refactor

- 3e7507f ast_tools: Reduce macro usage (#6895) (overlookmotel)
- 423d54c rust: Remove the annoying `clippy::wildcard_imports` (#6860) (Boshen)

### Styling

- 262b2ed ast: Move crate doc comment to top of file (#6890) (overlookmotel)

## [0.33.0] - 2024-10-24

- 718ccde ast: [**BREAKING**] Remove unused `new` methods (#6789) (overlookmotel)
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.33.0"
version = "0.34.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.33.0"
version = "0.34.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.33.0"
version = "0.34.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
6 changes: 6 additions & 0 deletions crates/oxc_codegen/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.34.0] - 2024-10-26

### Refactor

- 423d54c rust: Remove the annoying `clippy::wildcard_imports` (#6860) (Boshen)

## [0.33.0] - 2024-10-24

### 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.33.0"
version = "0.34.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
Loading

0 comments on commit 238e086

Please sign in to comment.