From 60d02a61f904ef593bbb0f6a6381644e9e935f84 Mon Sep 17 00:00:00 2001 From: oxc-bot Date: Fri, 27 Sep 2024 13:28:12 +0800 Subject: [PATCH] release(crates): v0.30.2 (#6100) ## [0.30.2] - 2024-09-27 ### Features - 60c52ba ast: Allow passing span to `void_0` method (#6065) (Dunqing) - cca433f codegen: Print `vite` / `webpack` special comments (#6021) (Dunqing) - 8d026e1 regular_expression: Implement `GetSpan` for RegExp AST nodes (#6056) (camchenry) - 7764793 regular_expression: Implement visitor pattern trait for regex AST (#6055) (camchenry) - f866781 semantic: Check for type annotations on left side of `for..in` and `for..of` iterators (#6043) (DonIsaac) - 8b2e9aa semantic: Check for JSDoc types in TS type annotations (#6042) (DonIsaac) - 28da771 transformer: Do not transform `**` with bigint literals (#6023) (Boshen) ### Bug Fixes - a88504c diagnostics: Check for terminal when displaying links (#6018) (Boshen) - 418ae25 isolated-declarations: Report uninferrable types in arrays (#6084) (michaelm) - e0a8959 minifier: Compute `void number` as `undefined` (#6028) (Boshen) - 0658576 paresr: Do not report missing initializer error in ambient context (#6020) (Boshen) - b1af73d semantic: Do not create a `global` symbol for `declare global {}` (#6040) (DonIsaac) - c8682e9 semantic,codegen,transformer: Handle definite `!` operator in variable declarator (#6019) (Boshen) ### Performance - 6b7d3ed isolated-declarations: Should clone transformed AST rather than original AST (#6078) (Dunqing) - 85aff19 transformer: Introduce `Stack` (#6093) (overlookmotel) - ad4ef31 transformer: Introduce `NonEmptyStack` (#6092) (overlookmotel) ### Documentation - 3099709 allocator: Document `oxc_allocator` crate (#6037) (DonIsaac) - d60ceb4 oxc: Add README.md and crate-level docs (#6035) (DonIsaac) - efabfc8 semantic: Improve doc comments on `Reference` methods (#6076) (overlookmotel) ### Refactor - 1fc80d1 ast: Move all ts ast related impl methods to `ast_impl` (#6015) (Dunqing) - fe696f0 codegen: Simplify printing annotation comments (#6027) (Dunqing) - e60ce50 transformer: Add `SparseStack::with_capacity` method (#6094) (overlookmotel) - 1399d2c transformer: Move `SparseStack` definition into folder (#6091) (overlookmotel) - 6bd29dd transformer: Add more debug assertions (#6090) (overlookmotel) - c90b9bf transformer: Rename `SparseStack` methods (#6089) (overlookmotel) - 2b380c8 transformer: Remove unsued `self.ctx` (#6022) (Boshen) ### Testing - 93575cd semantic: Add comprehensive regression test suite (#5976) (DonIsaac) - a4cec75 transformer: Enable tests (#6032) (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> --- Cargo.lock | 42 +++++++++---------- Cargo.toml | 42 +++++++++---------- crates/oxc/CHANGELOG.md | 6 +++ crates/oxc/Cargo.toml | 2 +- crates/oxc_allocator/CHANGELOG.md | 6 +++ crates/oxc_allocator/Cargo.toml | 2 +- crates/oxc_ast/CHANGELOG.md | 15 +++++++ crates/oxc_ast/Cargo.toml | 2 +- crates/oxc_ast_macros/Cargo.toml | 2 +- crates/oxc_cfg/Cargo.toml | 2 +- crates/oxc_codegen/CHANGELOG.md | 14 +++++++ 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_isolated_declarations/CHANGELOG.md | 11 +++++ crates/oxc_isolated_declarations/Cargo.toml | 2 +- crates/oxc_mangler/Cargo.toml | 2 +- crates/oxc_minifier/CHANGELOG.md | 10 +++++ crates/oxc_minifier/Cargo.toml | 2 +- crates/oxc_module_lexer/Cargo.toml | 2 +- crates/oxc_parser/CHANGELOG.md | 6 +++ crates/oxc_parser/Cargo.toml | 2 +- crates/oxc_regular_expression/CHANGELOG.md | 7 ++++ crates/oxc_regular_expression/Cargo.toml | 2 +- crates/oxc_semantic/CHANGELOG.md | 20 +++++++++ crates/oxc_semantic/Cargo.toml | 2 +- crates/oxc_sourcemap/Cargo.toml | 2 +- crates/oxc_span/Cargo.toml | 2 +- crates/oxc_syntax/CHANGELOG.md | 6 +++ crates/oxc_syntax/Cargo.toml | 2 +- crates/oxc_transformer/CHANGELOG.md | 28 +++++++++++++ crates/oxc_transformer/Cargo.toml | 2 +- crates/oxc_traverse/Cargo.toml | 2 +- napi/transform/Cargo.toml | 2 +- npm/oxc-parser/package.json | 2 +- npm/oxc-transform/package.json | 2 +- wasm/parser/package.json | 2 +- 38 files changed, 201 insertions(+), 66 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7c876b6ab3b0b..958244392eba6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1398,7 +1398,7 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.30.1" +version = "0.30.2" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1437,7 +1437,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.30.1" +version = "0.30.2" dependencies = [ "allocator-api2", "bumpalo", @@ -1447,7 +1447,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.30.1" +version = "0.30.2" dependencies = [ "bitflags 2.6.0", "num-bigint", @@ -1464,7 +1464,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.30.1" +version = "0.30.2" dependencies = [ "proc-macro2", "quote", @@ -1512,7 +1512,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.30.1" +version = "0.30.2" dependencies = [ "bitflags 2.6.0", "itertools", @@ -1523,7 +1523,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.30.1" +version = "0.30.2" dependencies = [ "base64", "bitflags 2.6.0", @@ -1571,7 +1571,7 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.30.1" +version = "0.30.2" dependencies = [ "miette", "owo-colors", @@ -1582,7 +1582,7 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.30.1" +version = "0.30.2" dependencies = [ "rayon", "serde", @@ -1590,7 +1590,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.30.1" +version = "0.30.2" dependencies = [ "bitflags 2.6.0", "insta", @@ -1685,7 +1685,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.30.1" +version = "0.30.2" dependencies = [ "itertools", "oxc_ast", @@ -1696,7 +1696,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.30.1" +version = "0.30.2" dependencies = [ "cow-utils", "insta", @@ -1732,7 +1732,7 @@ dependencies = [ [[package]] name = "oxc_module_lexer" -version = "0.30.1" +version = "0.30.2" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1742,7 +1742,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.30.1" +version = "0.30.2" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -1821,7 +1821,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.30.1" +version = "0.30.2" dependencies = [ "oxc_allocator", "oxc_ast_macros", @@ -1855,7 +1855,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.30.1" +version = "0.30.2" dependencies = [ "assert-unchecked", "indexmap", @@ -1879,7 +1879,7 @@ dependencies = [ [[package]] name = "oxc_sourcemap" -version = "0.30.1" +version = "0.30.2" dependencies = [ "base64-simd", "cfg-if", @@ -1892,7 +1892,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.30.1" +version = "0.30.2" dependencies = [ "compact_str", "miette", @@ -1906,7 +1906,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.30.1" +version = "0.30.2" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -1950,7 +1950,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.30.1" +version = "0.30.2" dependencies = [ "napi", "napi-build", @@ -1969,7 +1969,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.30.1" +version = "0.30.2" dependencies = [ "assert-unchecked", "base64", @@ -1996,7 +1996,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.30.1" +version = "0.30.2" dependencies = [ "compact_str", "itoa", diff --git a/Cargo.toml b/Cargo.toml index af159408d083d..ea095fabce788 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -76,27 +76,27 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.30.1", path = "crates/oxc" } -oxc_allocator = { version = "0.30.1", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.30.1", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.30.1", path = "crates/oxc_ast_macros" } -oxc_cfg = { version = "0.30.1", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.30.1", path = "crates/oxc_codegen" } -oxc_diagnostics = { version = "0.30.1", path = "crates/oxc_diagnostics" } -oxc_index = { version = "0.30.1", path = "crates/oxc_index" } -oxc_isolated_declarations = { version = "0.30.1", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.30.1", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.30.1", path = "crates/oxc_minifier" } -oxc_module_lexer = { version = "0.30.1", path = "crates/oxc_module_lexer" } -oxc_parser = { version = "0.30.1", path = "crates/oxc_parser" } -oxc_regular_expression = { version = "0.30.1", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.30.1", path = "crates/oxc_semantic" } -oxc_sourcemap = { version = "0.30.1", path = "crates/oxc_sourcemap" } -oxc_span = { version = "0.30.1", path = "crates/oxc_span" } -oxc_syntax = { version = "0.30.1", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.30.1", path = "napi/transform" } -oxc_transformer = { version = "0.30.1", path = "crates/oxc_transformer" } -oxc_traverse = { version = "0.30.1", path = "crates/oxc_traverse" } +oxc = { version = "0.30.2", path = "crates/oxc" } +oxc_allocator = { version = "0.30.2", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.30.2", path = "crates/oxc_ast" } +oxc_ast_macros = { version = "0.30.2", path = "crates/oxc_ast_macros" } +oxc_cfg = { version = "0.30.2", path = "crates/oxc_cfg" } +oxc_codegen = { version = "0.30.2", path = "crates/oxc_codegen" } +oxc_diagnostics = { version = "0.30.2", path = "crates/oxc_diagnostics" } +oxc_index = { version = "0.30.2", path = "crates/oxc_index" } +oxc_isolated_declarations = { version = "0.30.2", path = "crates/oxc_isolated_declarations" } +oxc_mangler = { version = "0.30.2", path = "crates/oxc_mangler" } +oxc_minifier = { version = "0.30.2", path = "crates/oxc_minifier" } +oxc_module_lexer = { version = "0.30.2", path = "crates/oxc_module_lexer" } +oxc_parser = { version = "0.30.2", path = "crates/oxc_parser" } +oxc_regular_expression = { version = "0.30.2", path = "crates/oxc_regular_expression" } +oxc_semantic = { version = "0.30.2", path = "crates/oxc_semantic" } +oxc_sourcemap = { version = "0.30.2", path = "crates/oxc_sourcemap" } +oxc_span = { version = "0.30.2", path = "crates/oxc_span" } +oxc_syntax = { version = "0.30.2", path = "crates/oxc_syntax" } +oxc_transform_napi = { version = "0.30.2", path = "napi/transform" } +oxc_transformer = { version = "0.30.2", path = "crates/oxc_transformer" } +oxc_traverse = { version = "0.30.2", path = "crates/oxc_traverse" } # publish = false oxc_linter = { path = "crates/oxc_linter" } diff --git a/crates/oxc/CHANGELOG.md b/crates/oxc/CHANGELOG.md index cc75597c9e256..346b58f1090c4 100644 --- a/crates/oxc/CHANGELOG.md +++ b/crates/oxc/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.30.2] - 2024-09-27 + +### Documentation + +- d60ceb4 oxc: Add README.md and crate-level docs (#6035) (DonIsaac) + ## [0.30.1] - 2024-09-24 ### Documentation diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 080e35f5abfac..024f761841e2d 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_allocator/CHANGELOG.md b/crates/oxc_allocator/CHANGELOG.md index be184199c17ef..b543884940664 100644 --- a/crates/oxc_allocator/CHANGELOG.md +++ b/crates/oxc_allocator/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.30.2] - 2024-09-27 + +### Documentation + +- 3099709 allocator: Document `oxc_allocator` crate (#6037) (DonIsaac) + ## [0.27.0] - 2024-09-06 ### Features diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index c50ead342c788..9371649a18937 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast/CHANGELOG.md b/crates/oxc_ast/CHANGELOG.md index 4b116ae915dd4..914ff6d5c4bbc 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/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.30.2] - 2024-09-27 + +### Features + +- 60c52ba ast: Allow passing span to `void_0` method (#6065) (Dunqing) +- 28da771 transformer: Do not transform `**` with bigint literals (#6023) (Boshen) + +### Bug Fixes + +- b1af73d semantic: Do not create a `global` symbol for `declare global {}` (#6040) (DonIsaac) + +### Refactor + +- 1fc80d1 ast: Move all ts ast related impl methods to `ast_impl` (#6015) (Dunqing) + ## [0.30.1] - 2024-09-24 ### Documentation diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index 27b3caa490d02..c83c583af6fa5 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index cf26a8afdf628..73179856d82a9 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.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_cfg/Cargo.toml b/crates/oxc_cfg/Cargo.toml index 5a8ff54216591..a950bed74f7ae 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_codegen/CHANGELOG.md b/crates/oxc_codegen/CHANGELOG.md index 5c8928182f31d..c0a9731ea98ee 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/CHANGELOG.md @@ -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.30.2] - 2024-09-27 + +### Features + +- cca433f codegen: Print `vite` / `webpack` special comments (#6021) (Dunqing) + +### Bug Fixes + +- c8682e9 semantic,codegen,transformer: Handle definite `!` operator in variable declarator (#6019) (Boshen) + +### Refactor + +- fe696f0 codegen: Simplify printing annotation comments (#6027) (Dunqing) + ## [0.30.1] - 2024-09-24 ### Bug Fixes diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index 5ff27b638bb8d..f0472997bff57 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_diagnostics/CHANGELOG.md b/crates/oxc_diagnostics/CHANGELOG.md index e652d0cf6ccd3..dbcabe48edc98 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.30.2] - 2024-09-27 + +### Bug Fixes + +- a88504c diagnostics: Check for terminal when displaying links (#6018) (Boshen) + ## [0.30.1] - 2024-09-24 ### Performance diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index 0c074f6ecedab..06bd7c088643f 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_index/Cargo.toml b/crates/oxc_index/Cargo.toml index 93309d9d880dc..63da17106a108 100644 --- a/crates/oxc_index/Cargo.toml +++ b/crates/oxc_index/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_index" -version = "0.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_isolated_declarations/CHANGELOG.md b/crates/oxc_isolated_declarations/CHANGELOG.md index 020b935d954cf..a1d4b8e69ef5e 100644 --- a/crates/oxc_isolated_declarations/CHANGELOG.md +++ b/crates/oxc_isolated_declarations/CHANGELOG.md @@ -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.30.2] - 2024-09-27 + +### Bug Fixes + +- 418ae25 isolated-declarations: Report uninferrable types in arrays (#6084) (michaelm) +- c8682e9 semantic,codegen,transformer: Handle definite `!` operator in variable declarator (#6019) (Boshen) + +### Performance + +- 6b7d3ed isolated-declarations: Should clone transformed AST rather than original AST (#6078) (Dunqing) + ## [0.30.1] - 2024-09-24 ### Bug Fixes diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index d72c3e6e9243e..adb8e8bd912dd 100644 --- a/crates/oxc_isolated_declarations/Cargo.toml +++ b/crates/oxc_isolated_declarations/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_isolated_declarations" -version = "0.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index decb9cc64d2da..d1db0151d0b79 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_minifier/CHANGELOG.md b/crates/oxc_minifier/CHANGELOG.md index 4ef1bb721bcc6..796b5916a5d8e 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/CHANGELOG.md @@ -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.30.2] - 2024-09-27 + +### Features + +- 60c52ba ast: Allow passing span to `void_0` method (#6065) (Dunqing) + +### Bug Fixes + +- e0a8959 minifier: Compute `void number` as `undefined` (#6028) (Boshen) + ## [0.30.1] - 2024-09-24 ### Features diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index 0c64e05ff8703..5b8eb1bdd5f94 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_module_lexer/Cargo.toml b/crates/oxc_module_lexer/Cargo.toml index 6fd7795a9ee5e..ffaf61d0ecd5e 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.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_parser/CHANGELOG.md b/crates/oxc_parser/CHANGELOG.md index 0503073d5a272..f3e59da24e780 100644 --- a/crates/oxc_parser/CHANGELOG.md +++ b/crates/oxc_parser/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.30.2] - 2024-09-27 + +### Bug Fixes + +- 0658576 paresr: Do not report missing initializer error in ambient context (#6020) (Boshen) + ## [0.30.0] - 2024-09-23 ### Features diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index a21b2c33ebe71..dfbe4d497124a 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_regular_expression/CHANGELOG.md b/crates/oxc_regular_expression/CHANGELOG.md index 6172eb8e49cb4..fd4a4bad524fc 100644 --- a/crates/oxc_regular_expression/CHANGELOG.md +++ b/crates/oxc_regular_expression/CHANGELOG.md @@ -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. +## [0.30.2] - 2024-09-27 + +### Features + +- 8d026e1 regular_expression: Implement `GetSpan` for RegExp AST nodes (#6056) (camchenry) +- 7764793 regular_expression: Implement visitor pattern trait for regex AST (#6055) (camchenry) + ## [0.28.0] - 2024-09-11 ### Bug Fixes diff --git a/crates/oxc_regular_expression/Cargo.toml b/crates/oxc_regular_expression/Cargo.toml index de2de6b958c57..af418f1076aed 100644 --- a/crates/oxc_regular_expression/Cargo.toml +++ b/crates/oxc_regular_expression/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_regular_expression" -version = "0.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_semantic/CHANGELOG.md b/crates/oxc_semantic/CHANGELOG.md index d356e990d457e..13980c3c20a2c 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/CHANGELOG.md @@ -4,6 +4,26 @@ 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.30.2] - 2024-09-27 + +### Features + +- f866781 semantic: Check for type annotations on left side of `for..in` and `for..of` iterators (#6043) (DonIsaac) +- 8b2e9aa semantic: Check for JSDoc types in TS type annotations (#6042) (DonIsaac) + +### Bug Fixes + +- b1af73d semantic: Do not create a `global` symbol for `declare global {}` (#6040) (DonIsaac) +- c8682e9 semantic,codegen,transformer: Handle definite `!` operator in variable declarator (#6019) (Boshen) + +### Documentation + +- efabfc8 semantic: Improve doc comments on `Reference` methods (#6076) (overlookmotel) + +### Testing + +- 93575cd semantic: Add comprehensive regression test suite (#5976) (DonIsaac) + ## [0.30.1] - 2024-09-24 ### Performance diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index ece23c2fb61ba..d473a30344d13 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_sourcemap/Cargo.toml b/crates/oxc_sourcemap/Cargo.toml index 13e84c9cec3b4..e4d19d4807e52 100644 --- a/crates/oxc_sourcemap/Cargo.toml +++ b/crates/oxc_sourcemap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_sourcemap" -version = "0.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index 839cf57578cdf..33a3858245685 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_syntax/CHANGELOG.md b/crates/oxc_syntax/CHANGELOG.md index 7a0c03d141c2c..11472b4b5df3c 100644 --- a/crates/oxc_syntax/CHANGELOG.md +++ b/crates/oxc_syntax/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.30.2] - 2024-09-27 + +### Bug Fixes + +- e0a8959 minifier: Compute `void number` as `undefined` (#6028) (Boshen) + ## [0.30.0] - 2024-09-23 - c96b712 syntax: [**BREAKING**] Remove `SymbolFlags::ArrowFunction` (#5857) (overlookmotel) diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index ca9288a0b7236..b086f65186b83 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_transformer/CHANGELOG.md b/crates/oxc_transformer/CHANGELOG.md index 4c709721ae7a8..c78210ac29ab2 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/CHANGELOG.md @@ -4,6 +4,34 @@ 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.30.2] - 2024-09-27 + +### Features + +- 60c52ba ast: Allow passing span to `void_0` method (#6065) (Dunqing) +- 28da771 transformer: Do not transform `**` with bigint literals (#6023) (Boshen) + +### Bug Fixes + +- c8682e9 semantic,codegen,transformer: Handle definite `!` operator in variable declarator (#6019) (Boshen) + +### Performance + +- 85aff19 transformer: Introduce `Stack` (#6093) (overlookmotel) +- ad4ef31 transformer: Introduce `NonEmptyStack` (#6092) (overlookmotel) + +### Refactor + +- e60ce50 transformer: Add `SparseStack::with_capacity` method (#6094) (overlookmotel) +- 1399d2c transformer: Move `SparseStack` definition into folder (#6091) (overlookmotel) +- 6bd29dd transformer: Add more debug assertions (#6090) (overlookmotel) +- c90b9bf transformer: Rename `SparseStack` methods (#6089) (overlookmotel) +- 2b380c8 transformer: Remove unsued `self.ctx` (#6022) (Boshen) + +### Testing + +- a4cec75 transformer: Enable tests (#6032) (overlookmotel) + ## [0.30.1] - 2024-09-24 ### Performance diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index b88c6fbfb4aeb..80eb839ff75eb 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 9368baffa9a19..8f5e1ebb2cbd0 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index bf1396333b39c..3af1ffd1b561d 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.30.1" +version = "0.30.2" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/npm/oxc-parser/package.json b/npm/oxc-parser/package.json index a840e92c6bc81..38df35a6bbbec 100644 --- a/npm/oxc-parser/package.json +++ b/npm/oxc-parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.30.1", + "version": "0.30.2", "description": "Oxc Parser Node API", "keywords": [ "Parser" diff --git a/npm/oxc-transform/package.json b/npm/oxc-transform/package.json index 62291411ccf74..ff81e20a343f7 100644 --- a/npm/oxc-transform/package.json +++ b/npm/oxc-transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.30.1", + "version": "0.30.2", "description": "Oxc transform Node API", "keywords": [ "transform" diff --git a/wasm/parser/package.json b/wasm/parser/package.json index 53d9c86f4ed70..d88bb6532dcec 100644 --- a/wasm/parser/package.json +++ b/wasm/parser/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-parser/wasm", - "version": "0.30.1", + "version": "0.30.2", "description": "Wasm target for the oxc parser.", "packageManager": "pnpm@9.9.0", "keywords": [