From 426016d1d69c79582f9dbe2053a4cef3a5a137ac Mon Sep 17 00:00:00 2001 From: Dunqing Date: Tue, 23 Jul 2024 15:51:01 +0800 Subject: [PATCH] Revert "Release crates v0.22.0" (#4418) Still release failed. Reverts oxc-project/oxc#4417 --- Cargo.lock | 40 +++++++++---------- Cargo.toml | 40 +++++++++---------- crates/oxc/Cargo.toml | 2 +- crates/oxc_allocator/Cargo.toml | 2 +- crates/oxc_ast/CHANGELOG.md | 25 ------------ crates/oxc_ast/Cargo.toml | 2 +- crates/oxc_ast_macros/CHANGELOG.md | 7 ---- crates/oxc_ast_macros/Cargo.toml | 2 +- crates/oxc_cfg/Cargo.toml | 2 +- crates/oxc_codegen/CHANGELOG.md | 8 ---- crates/oxc_codegen/Cargo.toml | 2 +- crates/oxc_diagnostics/CHANGELOG.md | 10 ----- crates/oxc_diagnostics/Cargo.toml | 2 +- crates/oxc_index/Cargo.toml | 2 +- crates/oxc_isolated_declarations/CHANGELOG.md | 10 ----- crates/oxc_isolated_declarations/Cargo.toml | 2 +- crates/oxc_mangler/CHANGELOG.md | 6 --- crates/oxc_mangler/Cargo.toml | 2 +- crates/oxc_minifier/CHANGELOG.md | 11 ----- crates/oxc_minifier/Cargo.toml | 2 +- crates/oxc_module_lexer/Cargo.toml | 2 +- crates/oxc_parser/CHANGELOG.md | 12 ------ crates/oxc_parser/Cargo.toml | 2 +- crates/oxc_semantic/CHANGELOG.md | 28 ------------- crates/oxc_semantic/Cargo.toml | 2 +- crates/oxc_sourcemap/CHANGELOG.md | 6 --- crates/oxc_sourcemap/Cargo.toml | 2 +- crates/oxc_span/CHANGELOG.md | 8 ---- crates/oxc_span/Cargo.toml | 2 +- crates/oxc_syntax/CHANGELOG.md | 6 --- crates/oxc_syntax/Cargo.toml | 2 +- crates/oxc_transformer/CHANGELOG.md | 7 ---- crates/oxc_transformer/Cargo.toml | 2 +- crates/oxc_traverse/CHANGELOG.md | 19 --------- 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, 63 insertions(+), 226 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 97300a1cc9c74..1c37b43f79237 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1276,7 +1276,7 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.22.0" +version = "0.21.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1313,7 +1313,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.22.0" +version = "0.21.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1323,7 +1323,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.22.0" +version = "0.21.0" dependencies = [ "bitflags 2.6.0", "num-bigint", @@ -1357,7 +1357,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.22.0" +version = "0.21.0" [[package]] name = "oxc_benchmark" @@ -1382,7 +1382,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.22.0" +version = "0.21.0" dependencies = [ "bitflags 2.6.0", "itertools 0.13.0", @@ -1393,7 +1393,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.22.0" +version = "0.21.0" dependencies = [ "base64", "bitflags 2.6.0", @@ -1448,7 +1448,7 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.22.0" +version = "0.21.0" dependencies = [ "miette", "owo-colors", @@ -1458,14 +1458,14 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.22.0" +version = "0.21.0" dependencies = [ "serde", ] [[package]] name = "oxc_isolated_declarations" -version = "0.22.0" +version = "0.21.0" dependencies = [ "insta", "oxc_allocator", @@ -1561,7 +1561,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.22.0" +version = "0.21.0" dependencies = [ "insta", "itertools 0.13.0", @@ -1576,7 +1576,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.22.0" +version = "0.21.0" dependencies = [ "insta", "num-bigint", @@ -1610,7 +1610,7 @@ dependencies = [ [[package]] name = "oxc_module_lexer" -version = "0.22.0" +version = "0.21.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1620,7 +1620,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.22.0" +version = "0.21.0" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -1713,7 +1713,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.22.0" +version = "0.21.0" dependencies = [ "assert-unchecked", "indexmap", @@ -1737,7 +1737,7 @@ dependencies = [ [[package]] name = "oxc_sourcemap" -version = "0.22.0" +version = "0.21.0" dependencies = [ "base64-simd", "cfg-if", @@ -1749,7 +1749,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.22.0" +version = "0.21.0" dependencies = [ "compact_str", "miette", @@ -1761,7 +1761,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.22.0" +version = "0.21.0" dependencies = [ "bitflags 2.6.0", "dashmap 6.0.1", @@ -1805,7 +1805,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.22.0" +version = "0.21.0" dependencies = [ "napi", "napi-build", @@ -1821,7 +1821,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.22.0" +version = "0.21.0" dependencies = [ "dashmap 6.0.1", "indexmap", @@ -1843,7 +1843,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.22.0" +version = "0.21.0" dependencies = [ "compact_str", "memoffset", diff --git a/Cargo.toml b/Cargo.toml index a6e59dd4beb75..9dc6e822dbdb0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -73,26 +73,26 @@ cargo_common_metadata = "allow" # TODO: fix this [workspace.dependencies] # publish = true -oxc = { version = "0.22.0", path = "crates/oxc" } -oxc_allocator = { version = "0.22.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.22.0", path = "crates/oxc_ast" } -oxc_codegen = { version = "0.22.0", path = "crates/oxc_codegen" } -oxc_diagnostics = { version = "0.22.0", path = "crates/oxc_diagnostics" } -oxc_index = { version = "0.22.0", path = "crates/oxc_index" } -oxc_minifier = { version = "0.22.0", path = "crates/oxc_minifier" } -oxc_mangler = { version = "0.22.0", path = "crates/oxc_mangler" } -oxc_parser = { version = "0.22.0", path = "crates/oxc_parser" } -oxc_semantic = { version = "0.22.0", path = "crates/oxc_semantic" } -oxc_span = { version = "0.22.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.22.0", path = "crates/oxc_syntax" } -oxc_transformer = { version = "0.22.0", path = "crates/oxc_transformer" } -oxc_sourcemap = { version = "0.22.0", path = "crates/oxc_sourcemap" } -oxc_ast_macros = { version = "0.22.0", path = "crates/oxc_ast_macros" } -oxc_traverse = { version = "0.22.0", path = "crates/oxc_traverse" } -oxc_module_lexer = { version = "0.22.0", path = "crates/oxc_module_lexer" } -oxc_cfg = { version = "0.22.0", path = "crates/oxc_cfg" } -oxc_isolated_declarations = { version = "0.22.0", path = "crates/oxc_isolated_declarations" } -oxc_transform_napi = { version = "0.22.0", path = "napi/transform" } +oxc = { version = "0.21.0", path = "crates/oxc" } +oxc_allocator = { version = "0.21.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.21.0", path = "crates/oxc_ast" } +oxc_codegen = { version = "0.21.0", path = "crates/oxc_codegen" } +oxc_diagnostics = { version = "0.21.0", path = "crates/oxc_diagnostics" } +oxc_index = { version = "0.21.0", path = "crates/oxc_index" } +oxc_minifier = { version = "0.21.0", path = "crates/oxc_minifier" } +oxc_mangler = { version = "0.21.0", path = "crates/oxc_mangler" } +oxc_parser = { version = "0.21.0", path = "crates/oxc_parser" } +oxc_semantic = { version = "0.21.0", path = "crates/oxc_semantic" } +oxc_span = { version = "0.21.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.21.0", path = "crates/oxc_syntax" } +oxc_transformer = { version = "0.21.0", path = "crates/oxc_transformer" } +oxc_sourcemap = { version = "0.21.0", path = "crates/oxc_sourcemap" } +oxc_ast_macros = { version = "0.21.0", path = "crates/oxc_ast_macros" } +oxc_traverse = { version = "0.21.0", path = "crates/oxc_traverse" } +oxc_module_lexer = { version = "0.21.0", path = "crates/oxc_module_lexer" } +oxc_cfg = { version = "0.21.0", path = "crates/oxc_cfg" } +oxc_isolated_declarations = { version = "0.21.0", path = "crates/oxc_isolated_declarations" } +oxc_transform_napi = { version = "0.21.0", path = "napi/transform" } # publish = false oxc_macros = { path = "crates/oxc_macros" } diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 9a34692b0b2d1..141fe72585905 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.22.0" +version = "0.21.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index cef37bd57af29..e4684adc2fabc 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.22.0" +version = "0.21.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 bf16001018593..aecdf7b0c349d 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/CHANGELOG.md @@ -4,31 +4,6 @@ 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.22.0] - 2024-07-23 - -- f68b659 ast: [**BREAKING**] Reorder fields of `ArrowFunctionExpression` (#4364) (Dunqing) - -### Features - -- d345b84 ast: Add `#[ast]` attribute to non-visited AST types. (#4309) (rzvxa) -- 3c0c709 linter: Add typescript-eslint/no-extraneous-class (#4357) (Jaden Rodriguez) -- 68efcd4 linter/react-perf: Handle new objects and arrays in prop assignment patterns (#4396) (DonIsaac) - -### Bug Fixes - -- aece1df ast: Visit `Program`s `hashbang` field first (#4368) (overlookmotel) - -### Performance -- a207923 Replace some CompactStr usages with Cows (#4377) (DonIsaac) - -### Refactor - -- d213773 ast: Replace serde rename "lowercase" with "camelCase" (#4376) (overlookmotel) -- abfccbd ast: Reduce `#[cfg_attr]` boilerplate in AST type defs (#4375) (overlookmotel) -- 5f1c7ec ast: Rename the `visited_node` marker to `ast`. (#4289) (rzvxa) -- 59aea73 ast: Scope is created only if CatchClause has param (#4346) (Dunqing) -- 7a3e925 ast_codegen: Better visit marker parsing. (#4371) (rzvxa) - ## [0.21.0] - 2024-07-18 ### Features diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index 4df93f1876bb4..cf342c036b877 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.22.0" +version = "0.21.0" 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 537688aaceb0d..bbe183637e1ca 100644 --- a/crates/oxc_ast_macros/CHANGELOG.md +++ b/crates/oxc_ast_macros/CHANGELOG.md @@ -4,13 +4,6 @@ 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.22.0] - 2024-07-23 - -### Refactor - -- abfccbd ast: Reduce `#[cfg_attr]` boilerplate in AST type defs (#4375) (overlookmotel) -- 5f1c7ec ast: Rename the `visited_node` marker to `ast`. (#4289) (rzvxa) - ## [0.17.0] - 2024-07-05 ### Features diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index 1f79a789f2337..e90b8753db725 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.22.0" +version = "0.21.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_cfg/Cargo.toml b/crates/oxc_cfg/Cargo.toml index f9c0aa0e1c33c..c2d9ad04aecb7 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.22.0" +version = "0.21.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_codegen/CHANGELOG.md b/crates/oxc_codegen/CHANGELOG.md index 6e47b8c00e3b9..a566bbf7c4def 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/CHANGELOG.md @@ -4,14 +4,6 @@ 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.22.0] - 2024-07-23 - -### Bug Fixes - -- 44a10c4 codegen: Object shorthand with parens `({x: (x)})` -> `({ x })` (#4391) (Boshen) -- 3d88f20 codegen: Print shorthand for all `{ x }` variants (#4374) (Boshen) -- e624dff codegen,mangler: Do not print shorthand for `ObjectProperty` (#4350) (Boshen) - ## [0.21.0] - 2024-07-18 ### Features diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index 356b8474d82da..42e478207228f 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.22.0" +version = "0.21.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_diagnostics/CHANGELOG.md b/crates/oxc_diagnostics/CHANGELOG.md index 7cfff5e24dab8..57152bee02b88 100644 --- a/crates/oxc_diagnostics/CHANGELOG.md +++ b/crates/oxc_diagnostics/CHANGELOG.md @@ -4,16 +4,6 @@ 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.22.0] - 2024-07-23 - -### Features -- 6068e6b Add error codes to OxcDiagnostic (#4334) (DonIsaac) - -### Refactor - -- 7a75e0f linter: Use diagnostic codes in lint rules (#4349) (DonIsaac) -- a2eabe1 parser: Use error codes for ts diagnostics (#4335) (DonIsaac) - ## [0.20.0] - 2024-07-11 ### Performance diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index c9ce81b53c5d1..06d0eb7de8d15 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.22.0" +version = "0.21.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 502eb23415164..07922699c92c1 100644 --- a/crates/oxc_index/Cargo.toml +++ b/crates/oxc_index/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_index" -version = "0.22.0" +version = "0.21.0" 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 34493019f07f4..8773b5fb11249 100644 --- a/crates/oxc_isolated_declarations/CHANGELOG.md +++ b/crates/oxc_isolated_declarations/CHANGELOG.md @@ -4,16 +4,6 @@ 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.22.0] - 2024-07-23 - -### Bug Fixes - -- aece1df ast: Visit `Program`s `hashbang` field first (#4368) (overlookmotel) -- 3d88f20 codegen: Print shorthand for all `{ x }` variants (#4374) (Boshen) - -### Performance -- a207923 Replace some CompactStr usages with Cows (#4377) (DonIsaac) - ## [0.21.0] - 2024-07-18 ### Features diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index 7b444fac77456..0cf6716d4babf 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.22.0" +version = "0.21.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_mangler/CHANGELOG.md b/crates/oxc_mangler/CHANGELOG.md index b4bb8aadfb154..499c3ec5cba3b 100644 --- a/crates/oxc_mangler/CHANGELOG.md +++ b/crates/oxc_mangler/CHANGELOG.md @@ -4,12 +4,6 @@ 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.22.0] - 2024-07-23 - -### Bug Fixes - -- 3d88f20 codegen: Print shorthand for all `{ x }` variants (#4374) (Boshen) - ## [0.21.0] - 2024-07-18 ### Features diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index 9db3fdccb3e4f..b808906b9a024 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.22.0" +version = "0.21.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_minifier/CHANGELOG.md b/crates/oxc_minifier/CHANGELOG.md index 1f7202cc21dcc..17774eadab79a 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/CHANGELOG.md @@ -4,17 +4,6 @@ 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.22.0] - 2024-07-23 - -### Features - -- 0deb027 minfier: Dce `if (xxx) else if (false) { REMOVE }` (#4407) (Boshen) -- e33ec18 minifier: Compress `typeof foo == "undefined"` into `typeof foo > "u"` (#4412) (Boshen) - -### Bug Fixes - -- 267f7c4 minifier: Skip `Object.defineProperty(exports, ...)` for `cjs-module-lexer` (#4409) (Boshen) - ## [0.21.0] - 2024-07-18 ### Features diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index 5675e5415cd7a..ccbcf2fd08893 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.22.0" +version = "0.21.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 35fb4d2ef6642..6a0f63bfc0543 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.22.0" +version = "0.21.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_parser/CHANGELOG.md b/crates/oxc_parser/CHANGELOG.md index 85a9391579173..2a1b48e106a79 100644 --- a/crates/oxc_parser/CHANGELOG.md +++ b/crates/oxc_parser/CHANGELOG.md @@ -4,18 +4,6 @@ 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.22.0] - 2024-07-23 - -- f68b659 ast: [**BREAKING**] Reorder fields of `ArrowFunctionExpression` (#4364) (Dunqing) - -### Bug Fixes - -- aece1df ast: Visit `Program`s `hashbang` field first (#4368) (overlookmotel) - -### Refactor - -- a2eabe1 parser: Use error codes for ts diagnostics (#4335) (DonIsaac) - ## [0.21.0] - 2024-07-18 ### Features diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index ddc12dafc4860..6f0da1efdcb3f 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.22.0" +version = "0.21.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 ef8b1f309c4d0..031edefad4100 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/CHANGELOG.md @@ -4,34 +4,6 @@ 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.22.0] - 2024-07-23 - -- 85a7cea semantic: [**BREAKING**] Remove name from `reference` (#4329) (Dunqing) - -### Bug Fixes - -- ac08de8 linter/react_perf: Allow new objects, array, fns, etc in top scope (#4395) (DonIsaac) -- bc8d4e5 semantic: Correct comment (#4410) (overlookmotel) -- 6ffce86 semantic: Align `visit_arrow_function_expression` field visit order with ast (#4366) (Dunqing) -- f8565ae transformer/typescript: Unexpectedly removed class binding from ExportNamedDeclaration (#4351) (Dunqing) - -### Performance - -- 1b51511 semantic: Use `Atom` instead of `CompactStr` for `UnresolvedReferencesStack` (#4401) (Dunqing) -- 40f9356 semantic: Calculate number of nodes, scopes, symbols, references before visiting AST (#4367) (Dunqing) -- da13d93 semantic: Remove bounds checks on unresolved references stack (#4390) (overlookmotel) -- e70c67b semantic: Remove a branch from `add_scope` (#4384) (overlookmotel) -- 402006f semantic: Simplify logic in `enter_scope` + `leave_scope` (#4383) (overlookmotel) -- 7469e01 semantic: Remove branch from `Nodes::add_node` (#4361) (overlookmotel)- a207923 Replace some CompactStr usages with Cows (#4377) (DonIsaac) - -### Refactor - -- 58f6ec2 ast: Enter node before scope (#4347) (Dunqing) -- 5d77b36 semantic: `visit_program` visit `hashbang` field (#4370) (overlookmotel) -- f7b9ada semantic: `Program` visitor leave scope before node (#4369) (overlookmotel) -- 729b288 semantic: Shorten code (#4358) (overlookmotel) -- 21d0eee semantic: Use error codes for ts diagnostics (#4336) (DonIsaac) - ## [0.21.0] - 2024-07-18 - d7ab0b8 semantic: [**BREAKING**] Simplify node creation (#4226) (lucab) diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index d935effd46c86..9b7fbbd9746bc 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.22.0" +version = "0.21.0" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_sourcemap/CHANGELOG.md b/crates/oxc_sourcemap/CHANGELOG.md index 644014d53bfd9..1380191430386 100644 --- a/crates/oxc_sourcemap/CHANGELOG.md +++ b/crates/oxc_sourcemap/CHANGELOG.md @@ -4,12 +4,6 @@ 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.22.0] - 2024-07-23 - -### Bug Fixes - -- 4cd5df0 sourcemap: Avoid negative line if token_chunks has same prev_dst_line (#4348) (underfin) - ## [0.21.0] - 2024-07-18 ### Features diff --git a/crates/oxc_sourcemap/Cargo.toml b/crates/oxc_sourcemap/Cargo.toml index 229873235270a..8f01017cc8cc6 100644 --- a/crates/oxc_sourcemap/Cargo.toml +++ b/crates/oxc_sourcemap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_sourcemap" -version = "0.22.0" +version = "0.21.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 cf91524fcb6c1..7b52ba1da62d8 100644 --- a/crates/oxc_span/CHANGELOG.md +++ b/crates/oxc_span/CHANGELOG.md @@ -4,14 +4,6 @@ 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.22.0] - 2024-07-23 - -### Bug Fixes -- ea33f94 Impl PartialEq for CompactStr (#4352) (DonIsaac) - -### Performance -- a207923 Replace some CompactStr usages with Cows (#4377) (DonIsaac) - ## [0.18.0] - 2024-07-09 ### Features diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index 91d7a65463291..83fbcdb4ee2dc 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.22.0" +version = "0.21.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_syntax/CHANGELOG.md b/crates/oxc_syntax/CHANGELOG.md index f8bbed50fac53..30f812575fbe6 100644 --- a/crates/oxc_syntax/CHANGELOG.md +++ b/crates/oxc_syntax/CHANGELOG.md @@ -4,12 +4,6 @@ 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.22.0] - 2024-07-23 - -### Bug Fixes - -- f8565ae transformer/typescript: Unexpectedly removed class binding from ExportNamedDeclaration (#4351) (Dunqing) - ## [0.21.0] - 2024-07-18 ### Features diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index cb880b3c78954..177c96377e316 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.22.0" +version = "0.21.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_transformer/CHANGELOG.md b/crates/oxc_transformer/CHANGELOG.md index 0a4e1443bfd2d..391e327e71e39 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/CHANGELOG.md @@ -4,13 +4,6 @@ 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.22.0] - 2024-07-23 - -- 85a7cea semantic: [**BREAKING**] Remove name from `reference` (#4329) (Dunqing) - -### Refactor - - ## [0.21.0] - 2024-07-18 ### Features diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index f77aa1ae6bbba..098d98892d891 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.22.0" +version = "0.21.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_traverse/CHANGELOG.md b/crates/oxc_traverse/CHANGELOG.md index 6bbdc87f966ef..0087298ce7a34 100644 --- a/crates/oxc_traverse/CHANGELOG.md +++ b/crates/oxc_traverse/CHANGELOG.md @@ -4,25 +4,6 @@ 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.22.0] - 2024-07-23 - -- 85a7cea semantic: [**BREAKING**] Remove name from `reference` (#4329) (Dunqing) - -- f68b659 ast: [**BREAKING**] Reorder fields of `ArrowFunctionExpression` (#4364) (Dunqing) - -### Bug Fixes - -- aece1df ast: Visit `Program`s `hashbang` field first (#4368) (overlookmotel) - -### Performance - -- e70c67b semantic: Remove a branch from `add_scope` (#4384) (overlookmotel) -- 7eb2864 traverse: Speed up finding UID binding name (#4356) (overlookmotel) - -### Refactor - -- 5f1c7ec ast: Rename the `visited_node` marker to `ast`. (#4289) (rzvxa) - ## [0.21.0] - 2024-07-18 ### Features diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 1a7a0b3d671eb..46413c3c4c531 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.22.0" +version = "0.21.0" publish = true authors.workspace = true description.workspace = true diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index 9b5dd6f0583fc..78ffe40109c2f 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.22.0" +version = "0.21.0" publish = true authors.workspace = true description.workspace = true diff --git a/npm/oxc-parser/package.json b/npm/oxc-parser/package.json index ce037d9d67652..6d11154c46114 100644 --- a/npm/oxc-parser/package.json +++ b/npm/oxc-parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.22.0", + "version": "0.21.0", "description": "Oxc Parser Node API", "keywords": [ "Parser" diff --git a/npm/oxc-transform/package.json b/npm/oxc-transform/package.json index 7d5150aaca306..6500f2eb17b1d 100644 --- a/npm/oxc-transform/package.json +++ b/npm/oxc-transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.22.0", + "version": "0.21.0", "description": "Oxc transform Node API", "keywords": [ "transform" diff --git a/wasm/parser/package.json b/wasm/parser/package.json index c7ad2a740f188..3f5683f2f52d5 100644 --- a/wasm/parser/package.json +++ b/wasm/parser/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-parser/wasm", - "version": "0.22.0", + "version": "0.21.0", "description": "Wasm target for the oxc parser.", "keywords": [ "JavaScript",