From 95e0571c2e4a9be220c35f25f402d0553ed1e106 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 12 Jun 2024 17:52:41 +0800 Subject: [PATCH] Release crates v0.14.0 (#3643) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [0.14.0] - 2024-06-12 ### Breaking * fix(codegen)!: remove the unecessary 4th argument from `Codegen::new` (#3640) * feat(ast)!: make `Trivias` clonable by adding `Arc` (#3638) ### Features - f6d9ca6 linter: Add `eslint/sort-imports` rule (#3568) (Wang Wenzhe) - 129f91e span: Port over more methods from TextRange (#3592) (Don Isaac) ### Bug Fixes - f8f6d33 ast: Correct `visited_node` attr for strict mode of arrow fns (#3635) (overlookmotel) - e6ad3fb diagnostics: Do not print ansi color codes in non-TTYs (#3624) (Boshen) - d65202d span: Correct doc comments (#3608) (overlookmotel) - 35e267b transformer: Arrow function transform use UIDs for `_this` vars (#3634) (overlookmotel) - 39bdebc transformer: Arrow func transform maintain scope ID (#3633) (overlookmotel) - 5cb7e6a transformer: Arrow func transform use correct spans (#3630) (overlookmotel) - 0c4ccb4 transformer: Arrow function transform alter `` (#3627) (overlookmotel) - 8d237c4 transformer: JSX source calculate correct column when Unicode chars (#3615) (overlookmotel) - 9e8f4d6 transformer: Do not add `__source` for generated nodes (#3614) (overlookmotel) - 0fb4c35 transformer: Use UID for JSX source filename var (#3612) (overlookmotel) ### Performance - 3a59294 transformer: React display name transform reduce Atom allocations (#3616) (overlookmotel) - f4c1389 transformer: Create `Vec` with capacity (#3613) (overlookmotel) ### Refactor - 0f92521 ast: Replace recursion with loop (#3626) (overlookmotel) - 08f1010 ast: Make `AstBuilder` `Copy` (#3602) (overlookmotel) - 84304b4 linter: Add a `ctx.module_record()` method (#3637) (Boshen) - f98f777 linter: Add rule fixer (#3589) (Don Isaac) - e90e6a2 minifier: Make `Prepass` `Copy` (#3603) (overlookmotel) - 7d61832 semantic: Pass `Rc` by value (#3586) (overlookmotel) - 89bcbd5 transformer: Move `BoundIdentifier` into helpers (#3610) (overlookmotel) - 5793ff1 transformer: Replace `&’a Trivias` with `Rc` (#3580) (Dunqing) - 509871f transformer: Comment for unimplemented `spec` option in arrow fns transform (#3618) (overlookmotel) - 4b2e3a7 transformer: Fix indentation (#3617) (overlookmotel) - 3467e3d transformer: Remove outdated comment (#3606) (overlookmotel) - a799225 transformer: Flatten file structure for React transform (#3604) (overlookmotel) - 70f31a8 transformer: Reduce branching in JSX transform (#3596) (overlookmotel) - 3ae567d transformer: Remove dead code (#3588) (overlookmotel) - 60cbdec traverse: `generate_uid_in_root_scope` method (#3611) (overlookmotel) Co-authored-by: Boshen --- Cargo.lock | 32 ++++++++++++++--------------- Cargo.toml | 32 ++++++++++++++--------------- crates/oxc/Cargo.toml | 2 +- crates/oxc_allocator/Cargo.toml | 2 +- crates/oxc_ast/CHANGELOG.md | 21 +++++++++++++++++++ crates/oxc_ast/Cargo.toml | 2 +- crates/oxc_ast_macros/Cargo.toml | 2 +- crates/oxc_codegen/CHANGELOG.md | 6 ++++++ crates/oxc_codegen/Cargo.toml | 2 +- crates/oxc_diagnostics/CHANGELOG.md | 6 ++++++ crates/oxc_diagnostics/Cargo.toml | 2 +- crates/oxc_index/Cargo.toml | 2 +- crates/oxc_minifier/CHANGELOG.md | 6 ++++++ crates/oxc_minifier/Cargo.toml | 2 +- crates/oxc_module_lexer/Cargo.toml | 2 +- crates/oxc_parser/Cargo.toml | 2 +- crates/oxc_semantic/CHANGELOG.md | 9 ++++++++ crates/oxc_semantic/Cargo.toml | 2 +- crates/oxc_sourcemap/Cargo.toml | 2 +- crates/oxc_span/CHANGELOG.md | 15 ++++++++++++++ crates/oxc_span/Cargo.toml | 2 +- crates/oxc_syntax/Cargo.toml | 2 +- crates/oxc_transformer/CHANGELOG.md | 30 +++++++++++++++++++++++++++ crates/oxc_transformer/Cargo.toml | 2 +- crates/oxc_traverse/CHANGELOG.md | 6 ++++++ crates/oxc_traverse/Cargo.toml | 2 +- npm/oxc-parser/package.json | 2 +- wasm/parser/package.json | 2 +- 28 files changed, 149 insertions(+), 50 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3537a2cc2910a..8827d957b581c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1264,7 +1264,7 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.13.5" +version = "0.14.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1299,7 +1299,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.13.5" +version = "0.14.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1309,7 +1309,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.13.5" +version = "0.14.0" dependencies = [ "bitflags 2.5.0", "num-bigint", @@ -1326,7 +1326,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.13.5" +version = "0.14.0" [[package]] name = "oxc_benchmark" @@ -1350,7 +1350,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.13.5" +version = "0.14.0" dependencies = [ "base64", "bitflags 2.5.0", @@ -1401,7 +1401,7 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.13.5" +version = "0.14.0" dependencies = [ "miette", "owo-colors", @@ -1411,7 +1411,7 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.13.5" +version = "0.14.0" dependencies = [ "serde", ] @@ -1497,7 +1497,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.13.5" +version = "0.14.0" dependencies = [ "insta", "itertools 0.13.0", @@ -1531,7 +1531,7 @@ dependencies = [ [[package]] name = "oxc_module_lexer" -version = "0.13.5" +version = "0.14.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1541,7 +1541,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.13.5" +version = "0.14.0" dependencies = [ "assert-unchecked", "bitflags 2.5.0", @@ -1635,7 +1635,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.13.5" +version = "0.14.0" dependencies = [ "bitflags 2.5.0", "indexmap", @@ -1658,7 +1658,7 @@ dependencies = [ [[package]] name = "oxc_sourcemap" -version = "0.13.5" +version = "0.14.0" dependencies = [ "base64-simd", "cfg-if", @@ -1670,7 +1670,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.13.5" +version = "0.14.0" dependencies = [ "compact_str", "miette", @@ -1681,7 +1681,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.13.5" +version = "0.14.0" dependencies = [ "bitflags 2.5.0", "dashmap", @@ -1725,7 +1725,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.13.5" +version = "0.14.0" dependencies = [ "dashmap", "indexmap", @@ -1746,7 +1746,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.13.5" +version = "0.14.0" dependencies = [ "compact_str", "memoffset", diff --git a/Cargo.toml b/Cargo.toml index fe29385623b27..00422621c1ff4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -72,22 +72,22 @@ cargo_common_metadata = "allow" # TODO: fix this [workspace.dependencies] # publish = true -oxc = { version = "0.13.5", path = "crates/oxc" } -oxc_allocator = { version = "0.13.5", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.13.5", path = "crates/oxc_ast" } -oxc_codegen = { version = "0.13.5", path = "crates/oxc_codegen" } -oxc_diagnostics = { version = "0.13.5", path = "crates/oxc_diagnostics" } -oxc_index = { version = "0.13.5", path = "crates/oxc_index" } -oxc_minifier = { version = "0.13.5", path = "crates/oxc_minifier" } -oxc_parser = { version = "0.13.5", path = "crates/oxc_parser" } -oxc_semantic = { version = "0.13.5", path = "crates/oxc_semantic" } -oxc_span = { version = "0.13.5", path = "crates/oxc_span" } -oxc_syntax = { version = "0.13.5", path = "crates/oxc_syntax" } -oxc_transformer = { version = "0.13.5", path = "crates/oxc_transformer" } -oxc_sourcemap = { version = "0.13.5", path = "crates/oxc_sourcemap" } -oxc_ast_macros = { version = "0.13.5", path = "crates/oxc_ast_macros" } -oxc_traverse = { version = "0.13.5", path = "crates/oxc_traverse" } -oxc_module_lexer = { version = "0.13.5", path = "crates/oxc_module_lexer" } +oxc = { version = "0.14.0", path = "crates/oxc" } +oxc_allocator = { version = "0.14.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.14.0", path = "crates/oxc_ast" } +oxc_codegen = { version = "0.14.0", path = "crates/oxc_codegen" } +oxc_diagnostics = { version = "0.14.0", path = "crates/oxc_diagnostics" } +oxc_index = { version = "0.14.0", path = "crates/oxc_index" } +oxc_minifier = { version = "0.14.0", path = "crates/oxc_minifier" } +oxc_parser = { version = "0.14.0", path = "crates/oxc_parser" } +oxc_semantic = { version = "0.14.0", path = "crates/oxc_semantic" } +oxc_span = { version = "0.14.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.14.0", path = "crates/oxc_syntax" } +oxc_transformer = { version = "0.14.0", path = "crates/oxc_transformer" } +oxc_sourcemap = { version = "0.14.0", path = "crates/oxc_sourcemap" } +oxc_ast_macros = { version = "0.14.0", path = "crates/oxc_ast_macros" } +oxc_traverse = { version = "0.14.0", path = "crates/oxc_traverse" } +oxc_module_lexer = { version = "0.14.0", path = "crates/oxc_module_lexer" } # publish = false oxc_macros = { path = "crates/oxc_macros" } diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 9ece21955d6b9..6c68d74d138bf 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.13.5" +version = "0.14.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index d92b90865de25..8e7d2c945eb5b 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.13.5" +version = "0.14.0" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_ast/CHANGELOG.md b/crates/oxc_ast/CHANGELOG.md index 178e130167f84..4a1608e9cc10a 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/CHANGELOG.md @@ -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.14.0] - 2024-06-12 + +### Features + +- f6d9ca6 linter: Add `eslint/sort-imports` rule (#3568) (Wang Wenzhe) + +### Bug Fixes + +- f8f6d33 ast: Correct `visited_node` attr for strict mode of arrow fns (#3635) (overlookmotel) + +### Performance + +- 3a59294 transformer: React display name transform reduce Atom allocations (#3616) (overlookmotel) + +### Refactor + +- 0f92521 ast: Replace recursion with loop (#3626) (overlookmotel) +- 08f1010 ast: Make `AstBuilder` `Copy` (#3602) (overlookmotel) +- f98f777 linter: Add rule fixer (#3589) (Don Isaac) +- 89bcbd5 transformer: Move `BoundIdentifier` into helpers (#3610) (overlookmotel) + ## [0.13.4] - 2024-06-07 ### Features diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index 95e16734256cb..c5fb741132616 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.13.5" +version = "0.14.0" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index c40870b6095f3..85fb82aeaeda5 100644 --- a/crates/oxc_ast_macros/Cargo.toml +++ b/crates/oxc_ast_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast_macros" -version = "0.13.5" +version = "0.14.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_codegen/CHANGELOG.md b/crates/oxc_codegen/CHANGELOG.md index 24d3d1ec16db8..38691a30dd96f 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/CHANGELOG.md @@ -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.14.0] - 2024-06-12 + +### Refactor + +- f98f777 linter: Add rule fixer (#3589) (Don Isaac) + ## [0.13.4] - 2024-06-07 ### Features diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index ecbb700ad603f..7c987ea2e97c9 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.13.5" +version = "0.14.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_diagnostics/CHANGELOG.md b/crates/oxc_diagnostics/CHANGELOG.md index 19db4205547f8..d669bc10426f7 100644 --- a/crates/oxc_diagnostics/CHANGELOG.md +++ b/crates/oxc_diagnostics/CHANGELOG.md @@ -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.14.0] - 2024-06-12 + +### Bug Fixes + +- e6ad3fb diagnostics: Do not print ansi color codes in non-TTYs (#3624) (Boshen) + ## [0.13.1] - 2024-05-22 ### Features diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index 5cf81177436aa..32ddee59e5e2d 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.13.5" +version = "0.14.0" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_index/Cargo.toml b/crates/oxc_index/Cargo.toml index 9541ac0b1d06a..9f87fa149a675 100644 --- a/crates/oxc_index/Cargo.toml +++ b/crates/oxc_index/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_index" -version = "0.13.5" +version = "0.14.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_minifier/CHANGELOG.md b/crates/oxc_minifier/CHANGELOG.md index 1cef06fc0e84e..dde90ec712202 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/CHANGELOG.md @@ -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.14.0] - 2024-06-12 + +### Refactor + +- e90e6a2 minifier: Make `Prepass` `Copy` (#3603) (overlookmotel) + ## [0.13.4] - 2024-06-07 ### Bug Fixes diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index d79c793fb595c..6f39abe2779e7 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.13.5" +version = "0.14.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_module_lexer/Cargo.toml b/crates/oxc_module_lexer/Cargo.toml index 3ec60725f53db..a2721c050a435 100644 --- a/crates/oxc_module_lexer/Cargo.toml +++ b/crates/oxc_module_lexer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_module_lexer" -version = "0.13.5" +version = "0.14.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index b0cebe5b0ea77..4de6be711e654 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.13.5" +version = "0.14.0" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_semantic/CHANGELOG.md b/crates/oxc_semantic/CHANGELOG.md index 8a232329bb008..6bdc332716bca 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/CHANGELOG.md @@ -4,6 +4,15 @@ 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.14.0] - 2024-06-12 + +### Refactor + +- 84304b4 linter: Add a `ctx.module_record()` method (#3637) (Boshen) +- 7d61832 semantic: Pass `Rc` by value (#3586) (overlookmotel) +- 5793ff1 transformer: Replace `&’a Trivias` with `Rc` (#3580) (Dunqing) +- 60cbdec traverse: `generate_uid_in_root_scope` method (#3611) (overlookmotel) + ## [0.13.4] - 2024-06-07 ### Bug Fixes diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index 35841315c6816..940328a1257f4 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.13.5" +version = "0.14.0" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_sourcemap/Cargo.toml b/crates/oxc_sourcemap/Cargo.toml index 7ad0126e7455b..a7efdd23f98ed 100644 --- a/crates/oxc_sourcemap/Cargo.toml +++ b/crates/oxc_sourcemap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_sourcemap" -version = "0.13.5" +version = "0.14.0" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_span/CHANGELOG.md b/crates/oxc_span/CHANGELOG.md index 358be73fc7f13..6ff943657cd2c 100644 --- a/crates/oxc_span/CHANGELOG.md +++ b/crates/oxc_span/CHANGELOG.md @@ -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.14.0] - 2024-06-12 + +### Features + +- 129f91e span: Port over more methods from TextRange (#3592) (Don Isaac) + +### Bug Fixes + +- d65202d span: Correct doc comments (#3608) (overlookmotel) +- 9e8f4d6 transformer: Do not add `__source` for generated nodes (#3614) (overlookmotel) + +### Refactor + +- f98f777 linter: Add rule fixer (#3589) (Don Isaac) + ## [0.13.4] - 2024-06-07 ### Performance diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index a2e7d38f01ac3..53e48e09b9613 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.13.5" +version = "0.14.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index 3cca5955ba58f..2ff37097c5a21 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.13.5" +version = "0.14.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_transformer/CHANGELOG.md b/crates/oxc_transformer/CHANGELOG.md index 6215d82380bdb..eb47171d5d6c3 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/CHANGELOG.md @@ -4,6 +4,36 @@ 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.14.0] - 2024-06-12 + +### Bug Fixes + +- 35e267b transformer: Arrow function transform use UIDs for `_this` vars (#3634) (overlookmotel) +- 39bdebc transformer: Arrow func transform maintain scope ID (#3633) (overlookmotel) +- 5cb7e6a transformer: Arrow func transform use correct spans (#3630) (overlookmotel) +- 0c4ccb4 transformer: Arrow function transform alter `` (#3627) (overlookmotel) +- 8d237c4 transformer: JSX source calculate correct column when Unicode chars (#3615) (overlookmotel) +- 9e8f4d6 transformer: Do not add `__source` for generated nodes (#3614) (overlookmotel) +- 0fb4c35 transformer: Use UID for JSX source filename var (#3612) (overlookmotel) + +### Performance + +- 3a59294 transformer: React display name transform reduce Atom allocations (#3616) (overlookmotel) +- f4c1389 transformer: Create `Vec` with capacity (#3613) (overlookmotel) + +### Refactor + +- 08f1010 ast: Make `AstBuilder` `Copy` (#3602) (overlookmotel) +- 89bcbd5 transformer: Move `BoundIdentifier` into helpers (#3610) (overlookmotel) +- 5793ff1 transformer: Replace `&’a Trivias` with `Rc` (#3580) (Dunqing) +- 509871f transformer: Comment for unimplemented `spec` option in arrow fns transform (#3618) (overlookmotel) +- 4b2e3a7 transformer: Fix indentation (#3617) (overlookmotel) +- 3467e3d transformer: Remove outdated comment (#3606) (overlookmotel) +- a799225 transformer: Flatten file structure for React transform (#3604) (overlookmotel) +- 70f31a8 transformer: Reduce branching in JSX transform (#3596) (overlookmotel) +- 3ae567d transformer: Remove dead code (#3588) (overlookmotel) +- 60cbdec traverse: `generate_uid_in_root_scope` method (#3611) (overlookmotel) + ## [0.13.4] - 2024-06-07 ### Features diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index 595ebb930f2b5..bc9c2e50b5f40 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.13.5" +version = "0.14.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_traverse/CHANGELOG.md b/crates/oxc_traverse/CHANGELOG.md index e637b70661ac9..21b524b243c04 100644 --- a/crates/oxc_traverse/CHANGELOG.md +++ b/crates/oxc_traverse/CHANGELOG.md @@ -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.14.0] - 2024-06-12 + +### Refactor + +- 60cbdec traverse: `generate_uid_in_root_scope` method (#3611) (overlookmotel) + ## [0.13.5] - 2024-06-08 ### Bug Fixes diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 2b4e740388308..814984eefc65f 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.13.5" +version = "0.14.0" publish = true authors.workspace = true description.workspace = true diff --git a/npm/oxc-parser/package.json b/npm/oxc-parser/package.json index 68f7dcb15e527..471a497fec26d 100644 --- a/npm/oxc-parser/package.json +++ b/npm/oxc-parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.13.5", + "version": "0.14.0", "description": "Oxc Parser Node API", "keywords": [ "Parser" diff --git a/wasm/parser/package.json b/wasm/parser/package.json index 4e31b38ef33be..67fa52487b3c9 100644 --- a/wasm/parser/package.json +++ b/wasm/parser/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-parser/wasm", - "version": "0.13.5", + "version": "0.14.0", "description": "Wasm target for the oxc parser.", "keywords": [ "JavaScript",