From 38ce4d8f4cebba969991aeafa15c09fb911d3d6e Mon Sep 17 00:00:00 2001 From: Boshen <1430279+Boshen@users.noreply.github.com> Date: Sun, 18 Aug 2024 06:02:45 +0000 Subject: [PATCH] Release crates --- Cargo.lock | 40 +++++++++---------- Cargo.toml | 40 +++++++++---------- crates/oxc/Cargo.toml | 2 +- crates/oxc_allocator/CHANGELOG.md | 7 ++++ crates/oxc_allocator/Cargo.toml | 2 +- crates/oxc_ast/CHANGELOG.md | 22 ++++++++++ crates/oxc_ast/Cargo.toml | 2 +- crates/oxc_ast_macros/CHANGELOG.md | 6 +++ crates/oxc_ast_macros/Cargo.toml | 2 +- crates/oxc_cfg/Cargo.toml | 2 +- crates/oxc_codegen/CHANGELOG.md | 17 ++++++++ crates/oxc_codegen/Cargo.toml | 2 +- crates/oxc_diagnostics/Cargo.toml | 2 +- crates/oxc_index/CHANGELOG.md | 6 +++ crates/oxc_index/Cargo.toml | 2 +- crates/oxc_isolated_declarations/CHANGELOG.md | 14 +++++++ crates/oxc_isolated_declarations/Cargo.toml | 2 +- crates/oxc_mangler/Cargo.toml | 2 +- crates/oxc_minifier/CHANGELOG.md | 8 ++++ crates/oxc_minifier/Cargo.toml | 2 +- crates/oxc_module_lexer/Cargo.toml | 2 +- crates/oxc_parser/CHANGELOG.md | 7 ++++ crates/oxc_parser/Cargo.toml | 2 +- crates/oxc_semantic/CHANGELOG.md | 15 +++++++ crates/oxc_semantic/Cargo.toml | 2 +- crates/oxc_sourcemap/CHANGELOG.md | 6 +++ crates/oxc_sourcemap/Cargo.toml | 2 +- crates/oxc_span/CHANGELOG.md | 6 +++ crates/oxc_span/Cargo.toml | 2 +- crates/oxc_syntax/CHANGELOG.md | 14 +++++++ crates/oxc_syntax/Cargo.toml | 2 +- crates/oxc_transformer/CHANGELOG.md | 29 ++++++++++++++ crates/oxc_transformer/Cargo.toml | 2 +- crates/oxc_traverse/CHANGELOG.md | 7 ++++ 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 +- 39 files changed, 227 insertions(+), 63 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f1334dd1e2a81..5754bb0421bcb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1366,7 +1366,7 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.24.2" +version = "0.24.3" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1403,7 +1403,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.24.2" +version = "0.24.3" dependencies = [ "allocator-api2", "bumpalo", @@ -1413,7 +1413,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.24.2" +version = "0.24.3" dependencies = [ "bitflags 2.6.0", "num-bigint", @@ -1429,7 +1429,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.24.2" +version = "0.24.3" dependencies = [ "proc-macro2", "quote", @@ -1476,7 +1476,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.24.2" +version = "0.24.3" dependencies = [ "bitflags 2.6.0", "itertools", @@ -1487,7 +1487,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.24.2" +version = "0.24.3" dependencies = [ "base64", "bitflags 2.6.0", @@ -1533,7 +1533,7 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.24.2" +version = "0.24.3" dependencies = [ "miette", "owo-colors", @@ -1543,14 +1543,14 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.24.2" +version = "0.24.3" dependencies = [ "serde", ] [[package]] name = "oxc_isolated_declarations" -version = "0.24.2" +version = "0.24.3" dependencies = [ "insta", "oxc_allocator", @@ -1647,7 +1647,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.24.2" +version = "0.24.3" dependencies = [ "itertools", "oxc_ast", @@ -1658,7 +1658,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.24.2" +version = "0.24.3" dependencies = [ "insta", "num-bigint", @@ -1692,7 +1692,7 @@ dependencies = [ [[package]] name = "oxc_module_lexer" -version = "0.24.2" +version = "0.24.3" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1702,7 +1702,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.24.2" +version = "0.24.3" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -1793,7 +1793,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.24.2" +version = "0.24.3" dependencies = [ "assert-unchecked", "indexmap", @@ -1817,7 +1817,7 @@ dependencies = [ [[package]] name = "oxc_sourcemap" -version = "0.24.2" +version = "0.24.3" dependencies = [ "base64-simd", "cfg-if", @@ -1829,7 +1829,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.24.2" +version = "0.24.3" dependencies = [ "compact_str", "miette", @@ -1843,7 +1843,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.24.2" +version = "0.24.3" dependencies = [ "bitflags 2.6.0", "dashmap 6.0.1", @@ -1892,7 +1892,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.24.2" +version = "0.24.3" dependencies = [ "napi", "napi-build", @@ -1910,7 +1910,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.24.2" +version = "0.24.3" dependencies = [ "dashmap 6.0.1", "indexmap", @@ -1932,7 +1932,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.24.2" +version = "0.24.3" dependencies = [ "compact_str", "memoffset", diff --git a/Cargo.toml b/Cargo.toml index 5cb80d324980d..c3e80d6272315 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -75,26 +75,26 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.24.2", path = "crates/oxc" } -oxc_allocator = { version = "0.24.2", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.24.2", path = "crates/oxc_ast" } -oxc_codegen = { version = "0.24.2", path = "crates/oxc_codegen" } -oxc_diagnostics = { version = "0.24.2", path = "crates/oxc_diagnostics" } -oxc_index = { version = "0.24.2", path = "crates/oxc_index" } -oxc_minifier = { version = "0.24.2", path = "crates/oxc_minifier" } -oxc_mangler = { version = "0.24.2", path = "crates/oxc_mangler" } -oxc_parser = { version = "0.24.2", path = "crates/oxc_parser" } -oxc_semantic = { version = "0.24.2", path = "crates/oxc_semantic" } -oxc_span = { version = "0.24.2", path = "crates/oxc_span" } -oxc_syntax = { version = "0.24.2", path = "crates/oxc_syntax" } -oxc_transformer = { version = "0.24.2", path = "crates/oxc_transformer" } -oxc_sourcemap = { version = "0.24.2", path = "crates/oxc_sourcemap" } -oxc_ast_macros = { version = "0.24.2", path = "crates/oxc_ast_macros" } -oxc_traverse = { version = "0.24.2", path = "crates/oxc_traverse" } -oxc_module_lexer = { version = "0.24.2", path = "crates/oxc_module_lexer" } -oxc_cfg = { version = "0.24.2", path = "crates/oxc_cfg" } -oxc_isolated_declarations = { version = "0.24.2", path = "crates/oxc_isolated_declarations" } -oxc_transform_napi = { version = "0.24.2", path = "napi/transform" } +oxc = { version = "0.24.3", path = "crates/oxc" } +oxc_allocator = { version = "0.24.3", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.24.3", path = "crates/oxc_ast" } +oxc_codegen = { version = "0.24.3", path = "crates/oxc_codegen" } +oxc_diagnostics = { version = "0.24.3", path = "crates/oxc_diagnostics" } +oxc_index = { version = "0.24.3", path = "crates/oxc_index" } +oxc_minifier = { version = "0.24.3", path = "crates/oxc_minifier" } +oxc_mangler = { version = "0.24.3", path = "crates/oxc_mangler" } +oxc_parser = { version = "0.24.3", path = "crates/oxc_parser" } +oxc_semantic = { version = "0.24.3", path = "crates/oxc_semantic" } +oxc_span = { version = "0.24.3", path = "crates/oxc_span" } +oxc_syntax = { version = "0.24.3", path = "crates/oxc_syntax" } +oxc_transformer = { version = "0.24.3", path = "crates/oxc_transformer" } +oxc_sourcemap = { version = "0.24.3", path = "crates/oxc_sourcemap" } +oxc_ast_macros = { version = "0.24.3", path = "crates/oxc_ast_macros" } +oxc_traverse = { version = "0.24.3", path = "crates/oxc_traverse" } +oxc_module_lexer = { version = "0.24.3", path = "crates/oxc_module_lexer" } +oxc_cfg = { version = "0.24.3", path = "crates/oxc_cfg" } +oxc_isolated_declarations = { version = "0.24.3", path = "crates/oxc_isolated_declarations" } +oxc_transform_napi = { version = "0.24.3", path = "napi/transform" } # publish = false oxc_macros = { path = "crates/oxc_macros" } diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 420e5c6c8c879..798b6292b3a30 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.24.2" +version = "0.24.3" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_allocator/CHANGELOG.md b/crates/oxc_allocator/CHANGELOG.md index af4377d924651..191cc189a382a 100644 --- a/crates/oxc_allocator/CHANGELOG.md +++ b/crates/oxc_allocator/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.24.3] - 2024-08-18 + +### Refactor + +- a6967b3 allocator: Correct code comment (#4904) (overlookmotel) +- 90d0b2b allocator, ast, span, ast_tools: Use `allocator` as var name for `Allocator` (#4900) (overlookmotel) + ## [0.24.2] - 2024-08-12 ### Features diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index 40a3db5edfab2..d8c190555471a 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.24.2" +version = "0.24.3" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_ast/CHANGELOG.md b/crates/oxc_ast/CHANGELOG.md index 90bba59ffe37e..6be47b5c7fae0 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/CHANGELOG.md @@ -4,6 +4,28 @@ 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.24.3] - 2024-08-18 + +### Features + +- fd34640 traverse: Support `generate_uid_based_on_node` method in `TraverseCtx` (#4940) (Dunqing) + +### Bug Fixes + +- c0b26f4 ast: Do not include `scope_id` fields in JSON AST (#4858) (overlookmotel) +- 879a271 minifier: Do not join `require` calls for `cjs-module-lexer` (#4875) (Boshen) +- 248a757 transformer/typescript: Typescript syntax within `SimpleAssignmentTarget` with `MemberExpressions` is not stripped (#4920) (Dunqing) + +### Documentation + +- 47c9552 ast, ast_macros, ast_tools: Better documentation for `Ast` helper attributes. (#4856) (rzvxa) + +### Refactor + +- 90d0b2b allocator, ast, span, ast_tools: Use `allocator` as var name for `Allocator` (#4900) (overlookmotel) +- 1eb59d2 ast, isolated_declarations, transformer: Mark `AstBuilder::copy` as an unsafe function (#4907) (overlookmotel) +- 8e8fcd0 ast_tools: Rename `oxc_ast_codegen` to `oxc_ast_tools`. (#4846) (rzvxa) + ## [0.24.2] - 2024-08-12 ### Documentation diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index dbe469e833091..a7a0d4aa9d14e 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.24.2" +version = "0.24.3" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_macros/CHANGELOG.md b/crates/oxc_ast_macros/CHANGELOG.md index 358aa581cc530..2febe874bec6d 100644 --- a/crates/oxc_ast_macros/CHANGELOG.md +++ b/crates/oxc_ast_macros/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.24.3] - 2024-08-18 + +### Documentation + +- 47c9552 ast, ast_macros, ast_tools: Better documentation for `Ast` helper attributes. (#4856) (rzvxa) + ## [0.24.2] - 2024-08-12 ### Refactor diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index 36f524fe845fa..1b2818d9c2a0e 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.24.2" +version = "0.24.3" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_cfg/Cargo.toml b/crates/oxc_cfg/Cargo.toml index 45f9d269e954c..762b47ff68bc1 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.24.2" +version = "0.24.3" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_codegen/CHANGELOG.md b/crates/oxc_codegen/CHANGELOG.md index fc22c87d1f94a..420bd745d339c 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/CHANGELOG.md @@ -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.24.3] - 2024-08-18 + +### Features + +- d49fb16 oxc_codegen: Support generate range leading comments (#4898) (IWANABETHATGUY) + +### Bug Fixes + +- bbf9ec0 codegen: Add missing `declare` to `PropertyDefinition` (#4937) (Boshen) +- f210cf7 codegen: Print `TSSatisfiesExpression` and `TSInstantiationExpression` (#4936) (Boshen) +- 21f5762 codegen: Minify large numbers (#4889) (Boshen) +- e8de4bd codegen: Fix whitespace issue when minifying `x in new Error()` (#4886) (Boshen) +- a226962 codegen: Print `TSNonNullExpression` (#4869) (Boshen) +- 3da33d3 codegen: Missing parenthesis for `PrivateInExpression` (#4865) (Boshen) +- 1808529 codegen: Dedupe pure annotation comments (#4862) (IWANABETHATGUY) +- 508644a linter/tree-shaking: Correct the calculation of `>>`, `<<` and `>>>` (#4932) (mysteryven) + ## [0.24.0] - 2024-08-08 ### Bug Fixes diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index 4934764f74c8d..f49dc584e98db 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.24.2" +version = "0.24.3" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index 33a91fc3847c4..874f40e952e4d 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.24.2" +version = "0.24.3" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_index/CHANGELOG.md b/crates/oxc_index/CHANGELOG.md index 54b4f30f69707..426258bf098fc 100644 --- a/crates/oxc_index/CHANGELOG.md +++ b/crates/oxc_index/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.24.3] - 2024-08-18 + +### Refactor + +- 786bf07 index: Shorten code and correct comment (#4905) (overlookmotel) + ## [0.13.0] - 2024-05-14 ### Bug Fixes diff --git a/crates/oxc_index/Cargo.toml b/crates/oxc_index/Cargo.toml index 7c0c0455ac674..ba5f9b11752e3 100644 --- a/crates/oxc_index/Cargo.toml +++ b/crates/oxc_index/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_index" -version = "0.24.2" +version = "0.24.3" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_isolated_declarations/CHANGELOG.md b/crates/oxc_isolated_declarations/CHANGELOG.md index f589183c78e9f..0a89295119e9a 100644 --- a/crates/oxc_isolated_declarations/CHANGELOG.md +++ b/crates/oxc_isolated_declarations/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.24.3] - 2024-08-18 + +### Bug Fixes + +- d3bbc62 isolated-declarations: Declare modifier of PropertyDefinition should not be retained (#4941) (Dunqing) +- 8e80f59 isolated_declarations: Class properties should still be lifted from private constructors (#4934) (michaelm) +- b3ec9e5 isolated_declarations: Always emit module declarations that perform augmentation (#4919) (michaelm) +- 0fb0b71 isolated_declarations: Always emit module declarations (#4911) (michaelm) +- 4a16916 isolated_declarations: Support expando functions (#4910) (michaelm) + +### Refactor + +- 1eb59d2 ast, isolated_declarations, transformer: Mark `AstBuilder::copy` as an unsafe function (#4907) (overlookmotel) + ## [0.24.0] - 2024-08-08 ### Features diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index a2296f9109917..8f3ed202123c2 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.24.2" +version = "0.24.3" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index 0179eafbf9503..b2f734efa1a27 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.24.2" +version = "0.24.3" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_minifier/CHANGELOG.md b/crates/oxc_minifier/CHANGELOG.md index 6f5d118e7d194..fc368152f9eb4 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/CHANGELOG.md @@ -4,6 +4,14 @@ 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.24.3] - 2024-08-18 + +### Bug Fixes + +- 46cb1c1 minifier: Handle `Object.definedPropert(exports` for @babel/types/lib/index.js (#4933) (Boshen) +- 81fd637 minifier: Do not fold `0 && (module.exports = {})` for `cjs-module-lexer` (#4878) (Boshen) +- 879a271 minifier: Do not join `require` calls for `cjs-module-lexer` (#4875) (Boshen) + ## [0.24.2] - 2024-08-12 ### Performance diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index 52d0dcd7ed736..e62cd08d61424 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.24.2" +version = "0.24.3" 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 613cf494d54be..9a8cba5558524 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.24.2" +version = "0.24.3" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_parser/CHANGELOG.md b/crates/oxc_parser/CHANGELOG.md index 47a6e1324796f..eeca7c0bf6b42 100644 --- a/crates/oxc_parser/CHANGELOG.md +++ b/crates/oxc_parser/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.24.3] - 2024-08-18 + +### Bug Fixes + +- 21f5762 codegen: Minify large numbers (#4889) (Boshen) +- 1bdde2c parser: Detect @flow in `/** @flow */ comment (#4861) (Boshen) + ## [0.24.2] - 2024-08-12 ### Documentation diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index 8e5f95e98abea..b0380bf587438 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.24.2" +version = "0.24.3" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_semantic/CHANGELOG.md b/crates/oxc_semantic/CHANGELOG.md index ec727953a97b5..a0dbbfc755125 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/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.24.3] - 2024-08-18 + +### Features + +- 80d0d1f semantic: Check for invalid interface heritage clauses (#4928) (DonIsaac) +- 48821c0 semantic,syntax: Add SymbolFlags::ArrowFunction (#4946) (DonIsaac) + +### Documentation + +- 0a01a47 semantic: Improve documentation (#4850) (DonIsaac) + +### Refactor + +- ea1e64a semantic: Make SemanticBuilder opaque (#4851) (DonIsaac) + ## [0.24.0] - 2024-08-08 ### Features diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index b9fc7775e38bc..bef0e7cf31dcf 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.24.2" +version = "0.24.3" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_sourcemap/CHANGELOG.md b/crates/oxc_sourcemap/CHANGELOG.md index ce336d2c2fd3a..331d32d167ff0 100644 --- a/crates/oxc_sourcemap/CHANGELOG.md +++ b/crates/oxc_sourcemap/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.24.3] - 2024-08-18 + +### Refactor + +- 5fd1701 sourcemap: Lower the `msrv`. (#4873) (rzvxa) + ## [0.24.0] - 2024-08-08 ### Features diff --git a/crates/oxc_sourcemap/Cargo.toml b/crates/oxc_sourcemap/Cargo.toml index 188527e7e8fa0..0bdbdc8e4e1b2 100644 --- a/crates/oxc_sourcemap/Cargo.toml +++ b/crates/oxc_sourcemap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_sourcemap" -version = "0.24.2" +version = "0.24.3" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_span/CHANGELOG.md b/crates/oxc_span/CHANGELOG.md index a9bb30c1149c3..feb63e11a9197 100644 --- a/crates/oxc_span/CHANGELOG.md +++ b/crates/oxc_span/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.24.3] - 2024-08-18 + +### Refactor + +- 90d0b2b allocator, ast, span, ast_tools: Use `allocator` as var name for `Allocator` (#4900) (overlookmotel) + ## [0.24.2] - 2024-08-12 ### Refactor diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index ad985c6f0e5b3..0ee8df21e433d 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.24.2" +version = "0.24.3" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_syntax/CHANGELOG.md b/crates/oxc_syntax/CHANGELOG.md index c1b48d8e6f34c..f16372da196be 100644 --- a/crates/oxc_syntax/CHANGELOG.md +++ b/crates/oxc_syntax/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.24.3] - 2024-08-18 + +### Features + +- 48821c0 semantic,syntax: Add SymbolFlags::ArrowFunction (#4946) (DonIsaac) + +### Documentation + +- 0a01a47 semantic: Improve documentation (#4850) (DonIsaac) + +### Refactor + +- 48a1c32 syntax: Inline trivial bitflags methods (#4877) (overlookmotel) + ## [0.24.0] - 2024-08-08 ### Features diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index a10789ca214a3..264473e63a527 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.24.2" +version = "0.24.3" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_transformer/CHANGELOG.md b/crates/oxc_transformer/CHANGELOG.md index f80cc36365d87..f75c6994e10b6 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/CHANGELOG.md @@ -4,6 +4,35 @@ 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.24.3] - 2024-08-18 + +### Features + +- d49fb16 oxc_codegen: Support generate range leading comments (#4898) (IWANABETHATGUY) +- f1fcdde transformer: Support react fast refresh (#4587) (Dunqing) +- 0d79122 transformer: Support logical-assignment-operators plugin (#4890) (Dunqing) +- ab1d08c transformer: Support `optional-catch-binding` plugin (#4885) (Dunqing) +- 69da9fd transformer: Support nullish-coalescing-operator plugin (#4884) (Dunqing) +- 3a66e58 transformer: Support exponentiation operator plugin (#4876) (Dunqing) +- f88cbcd transformer: Add `BoundIdentifier::new_uid_in_current_scope` method (#4903) (overlookmotel) +- 1e6d0fe transformer: Add methods to `BoundIdentifier` (#4897) (overlookmotel) + +### Bug Fixes + +- 2476dce transformer: Remove an `ast.copy` from `NullishCoalescingOperator` transform (#4913) (overlookmotel) +- 248a757 transformer/typescript: Typescript syntax within `SimpleAssignmentTarget` with `MemberExpressions` is not stripped (#4920) (Dunqing) + +### Documentation + +- 9c700ed transformer: Add README including style guide (#4899) (overlookmotel) + +### Refactor + +- 1eb59d2 ast, isolated_declarations, transformer: Mark `AstBuilder::copy` as an unsafe function (#4907) (overlookmotel) +- 452187a transformer: Rename `BoundIdentifier::new_uid_in_root_scope` (#4902) (overlookmotel) +- 707a01f transformer: Re-order `BoundIdentifier` methods (#4896) (overlookmotel) +- 117dff2 transformer: Improve comments for `BoundIdentifier` helper (#4895) (overlookmotel) + ## [0.24.2] - 2024-08-12 ### Bug Fixes diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index de6564338a01c..e239717a50fe4 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.24.2" +version = "0.24.3" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_traverse/CHANGELOG.md b/crates/oxc_traverse/CHANGELOG.md index a1a5b9abf856f..77a37ef140529 100644 --- a/crates/oxc_traverse/CHANGELOG.md +++ b/crates/oxc_traverse/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.24.3] - 2024-08-18 + +### Features + +- fd34640 traverse: Support `generate_uid_based_on_node` method in `TraverseCtx` (#4940) (Dunqing) +- 72a37fc traverse: Support `clone_identifier_reference` method in `TraverseCtx` (#4880) (Dunqing) + ## [0.24.0] - 2024-08-08 - 75f2207 traverse: [**BREAKING**] Replace `find_scope` with `ancestor_scopes` returning iterator (#4693) (overlookmotel) diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 519f8508d1799..be15579f2af7c 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.24.2" +version = "0.24.3" publish = true authors.workspace = true description.workspace = true diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index c907311de7232..7fafd98fb35fe 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.24.2" +version = "0.24.3" publish = true authors.workspace = true description.workspace = true diff --git a/npm/oxc-parser/package.json b/npm/oxc-parser/package.json index 3e8b0253d5f55..61c207a6a570a 100644 --- a/npm/oxc-parser/package.json +++ b/npm/oxc-parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.24.2", + "version": "0.24.3", "description": "Oxc Parser Node API", "keywords": [ "Parser" diff --git a/npm/oxc-transform/package.json b/npm/oxc-transform/package.json index 6989f76afaf46..2db8b6fdb9738 100644 --- a/npm/oxc-transform/package.json +++ b/npm/oxc-transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.24.2", + "version": "0.24.3", "description": "Oxc transform Node API", "keywords": [ "transform" diff --git a/wasm/parser/package.json b/wasm/parser/package.json index 52fde1673e5d7..ee4cd5a83e252 100644 --- a/wasm/parser/package.json +++ b/wasm/parser/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-parser/wasm", - "version": "0.24.2", + "version": "0.24.3", "description": "Wasm target for the oxc parser.", "keywords": [ "JavaScript",