diff --git a/Cargo.lock b/Cargo.lock index a8635013a7473..3a5d0f3b880f5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1272,7 +1272,7 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.17.0" +version = "0.17.1" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1308,7 +1308,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.17.0" +version = "0.17.1" dependencies = [ "allocator-api2", "bumpalo", @@ -1318,7 +1318,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.17.0" +version = "0.17.1" dependencies = [ "bitflags 2.6.0", "num-bigint", @@ -1350,7 +1350,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.17.0" +version = "0.17.1" [[package]] name = "oxc_benchmark" @@ -1374,7 +1374,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.17.0" +version = "0.17.1" dependencies = [ "bitflags 2.6.0", "itertools 0.13.0", @@ -1385,7 +1385,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.17.0" +version = "0.17.1" dependencies = [ "base64", "bitflags 2.6.0", @@ -1437,7 +1437,7 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.17.0" +version = "0.17.1" dependencies = [ "miette", "owo-colors", @@ -1447,14 +1447,14 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.17.0" +version = "0.17.1" dependencies = [ "serde", ] [[package]] name = "oxc_isolated_declarations" -version = "0.17.0" +version = "0.17.1" dependencies = [ "insta", "oxc_allocator", @@ -1549,7 +1549,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.17.0" +version = "0.17.1" dependencies = [ "insta", "itertools 0.13.0", @@ -1584,7 +1584,7 @@ dependencies = [ [[package]] name = "oxc_module_lexer" -version = "0.17.0" +version = "0.17.1" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1594,7 +1594,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.17.0" +version = "0.17.1" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -1687,7 +1687,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.17.0" +version = "0.17.1" dependencies = [ "indexmap", "insta", @@ -1709,7 +1709,7 @@ dependencies = [ [[package]] name = "oxc_sourcemap" -version = "0.17.0" +version = "0.17.1" dependencies = [ "base64-simd", "cfg-if", @@ -1721,7 +1721,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.17.0" +version = "0.17.1" dependencies = [ "compact_str", "miette", @@ -1732,7 +1732,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.17.0" +version = "0.17.1" dependencies = [ "bitflags 2.6.0", "dashmap 6.0.1", @@ -1776,7 +1776,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.17.0" +version = "0.17.1" dependencies = [ "napi", "napi-build", @@ -1792,7 +1792,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.17.0" +version = "0.17.1" dependencies = [ "dashmap 6.0.1", "indexmap", @@ -1814,7 +1814,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.17.0" +version = "0.17.1" dependencies = [ "compact_str", "memoffset", diff --git a/Cargo.toml b/Cargo.toml index 084effb7ed8dd..d7e128a83d72b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -74,25 +74,25 @@ cargo_common_metadata = "allow" # TODO: fix this [workspace.dependencies] # publish = true -oxc = { version = "0.17.0", path = "crates/oxc" } -oxc_allocator = { version = "0.17.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.17.0", path = "crates/oxc_ast" } -oxc_codegen = { version = "0.17.0", path = "crates/oxc_codegen" } -oxc_diagnostics = { version = "0.17.0", path = "crates/oxc_diagnostics" } -oxc_index = { version = "0.17.0", path = "crates/oxc_index" } -oxc_minifier = { version = "0.17.0", path = "crates/oxc_minifier" } -oxc_parser = { version = "0.17.0", path = "crates/oxc_parser" } -oxc_semantic = { version = "0.17.0", path = "crates/oxc_semantic" } -oxc_span = { version = "0.17.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.17.0", path = "crates/oxc_syntax" } -oxc_transformer = { version = "0.17.0", path = "crates/oxc_transformer" } -oxc_sourcemap = { version = "0.17.0", path = "crates/oxc_sourcemap" } -oxc_ast_macros = { version = "0.17.0", path = "crates/oxc_ast_macros" } -oxc_traverse = { version = "0.17.0", path = "crates/oxc_traverse" } -oxc_module_lexer = { version = "0.17.0", path = "crates/oxc_module_lexer" } -oxc_cfg = { version = "0.17.0", path = "crates/oxc_cfg" } -oxc_isolated_declarations = { version = "0.17.0", path = "crates/oxc_isolated_declarations" } -oxc_transform_napi = { version = "0.17.0", path = "napi/transform" } +oxc = { version = "0.17.1", path = "crates/oxc" } +oxc_allocator = { version = "0.17.1", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.17.1", path = "crates/oxc_ast" } +oxc_codegen = { version = "0.17.1", path = "crates/oxc_codegen" } +oxc_diagnostics = { version = "0.17.1", path = "crates/oxc_diagnostics" } +oxc_index = { version = "0.17.1", path = "crates/oxc_index" } +oxc_minifier = { version = "0.17.1", path = "crates/oxc_minifier" } +oxc_parser = { version = "0.17.1", path = "crates/oxc_parser" } +oxc_semantic = { version = "0.17.1", path = "crates/oxc_semantic" } +oxc_span = { version = "0.17.1", path = "crates/oxc_span" } +oxc_syntax = { version = "0.17.1", path = "crates/oxc_syntax" } +oxc_transformer = { version = "0.17.1", path = "crates/oxc_transformer" } +oxc_sourcemap = { version = "0.17.1", path = "crates/oxc_sourcemap" } +oxc_ast_macros = { version = "0.17.1", path = "crates/oxc_ast_macros" } +oxc_traverse = { version = "0.17.1", path = "crates/oxc_traverse" } +oxc_module_lexer = { version = "0.17.1", path = "crates/oxc_module_lexer" } +oxc_cfg = { version = "0.17.1", path = "crates/oxc_cfg" } +oxc_isolated_declarations = { version = "0.17.1", path = "crates/oxc_isolated_declarations" } +oxc_transform_napi = { version = "0.17.1", path = "napi/transform" } # publish = false oxc_macros = { path = "crates/oxc_macros" } diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index be80d82265474..4c24aef3700c4 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.17.0" +version = "0.17.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index 2e0973f799748..6ad55dc932bf4 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.17.0" +version = "0.17.1" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_ast/CHANGELOG.md b/crates/oxc_ast/CHANGELOG.md index f736350345c7e..64f1245bacf3f 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/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.17.1] - 2024-07-06 + +### Bug Fixes + +- aa585d3 ast_codegen, ast: Visit `ExpressionArrayElement` as `Expression`. (#4061) (rzvxa) + +### Refactor + +- 8fa98e0 ast: Inline trivial functions and shorten code (#4066) (overlookmotel) + ## [0.17.0] - 2024-07-05 - e32b4bc ast: [**BREAKING**] Store trivia comments in a sorted slice (#4045) (Luca Bruno) diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index 7911f8d1ce2df..12a8d386f9a82 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.17.0" +version = "0.17.1" 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 adc7d22ca64a1..b793e7eb75b57 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.17.0" +version = "0.17.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_cfg/Cargo.toml b/crates/oxc_cfg/Cargo.toml index 45344c697834b..55be6681a47b6 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.17.0" +version = "0.17.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_codegen/CHANGELOG.md b/crates/oxc_codegen/CHANGELOG.md index 9322c2404a249..6028d3948c6d1 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.17.1] - 2024-07-06 + +### Bug Fixes + +- 564a75a codegen: Missing TypeParameters in TSConstructSignature (#4063) (michaelm) + ## [0.17.0] - 2024-07-05 ### Features diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index f4716c2b151d7..c23f07d90de64 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.17.0" +version = "0.17.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index 98e927edb37a9..0f040d456a3c0 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.17.0" +version = "0.17.1" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_index/Cargo.toml b/crates/oxc_index/Cargo.toml index 0831320249ade..32f2696e3e98f 100644 --- a/crates/oxc_index/Cargo.toml +++ b/crates/oxc_index/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_index" -version = "0.17.0" +version = "0.17.1" 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 d0205c8b03376..361b4dd7f5706 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.17.1] - 2024-07-06 + +### Bug Fixes + +- adee728 isolated_declarations: Don't report an error for parameters if they are ObjectPattern or ArrayPattern with an explicit type (#4065) (michaelm) +- 1b8f208 isolated_declarations: Correct emit for private static methods (#4064) (michaelm) + +### Refactor + +- 65aee19 isolated-declarations: Reorganize scope tree (#4070) (Luca Bruno) + ## [0.17.0] - 2024-07-05 - c98d8aa ast: [**BREAKING**] Rename `visit_arrow_expression` to `visit_arrow_function_expression`. (#3995) (rzvxa) diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index 4323d762a4a6a..a28613d03e1ed 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.17.0" +version = "0.17.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_minifier/CHANGELOG.md b/crates/oxc_minifier/CHANGELOG.md index c87f96021a751..27263aff6d06d 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.17.1] - 2024-07-06 + +### Bug Fixes + +- 719fb96 minifier: Omit dce `undefined` which can be a shadowed variable (#4073) (Boshen) + ## [0.17.0] - 2024-07-05 ### Features diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index faea2cb3c41ea..d49dbc8a60a54 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.17.0" +version = "0.17.1" 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 3702b847e7465..77d5ab8663863 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.17.0" +version = "0.17.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_parser/CHANGELOG.md b/crates/oxc_parser/CHANGELOG.md index eb2173e8968a3..c26c05c1af247 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.17.1] - 2024-07-06 + +### Performance + +- 7fe2a2f parser: Do not copy comments (#4067) (overlookmotel) + ## [0.17.0] - 2024-07-05 - e32b4bc ast: [**BREAKING**] Store trivia comments in a sorted slice (#4045) (Luca Bruno) diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index a5b5a7b46a736..c2997f998dbc5 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.17.0" +version = "0.17.1" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index b7ea34300852f..2168d7e3f61ce 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.17.0" +version = "0.17.1" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_sourcemap/Cargo.toml b/crates/oxc_sourcemap/Cargo.toml index 1e3753f1da1ab..9cc36cfbdff86 100644 --- a/crates/oxc_sourcemap/Cargo.toml +++ b/crates/oxc_sourcemap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_sourcemap" -version = "0.17.0" +version = "0.17.1" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index c9c143ad7bc9a..2e7f15e1ba431 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.17.0" +version = "0.17.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index e2e65d8531e28..9cae550291218 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.17.0" +version = "0.17.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index 57044e68ee11b..7e38e6152c420 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.17.0" +version = "0.17.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 5bc24d1208db1..ca3301c0a46fa 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.17.0" +version = "0.17.1" publish = true authors.workspace = true description.workspace = true diff --git a/napi/transform/CHANGELOG.md b/napi/transform/CHANGELOG.md index 9662aced2b75c..d5adb08028ec9 100644 --- a/napi/transform/CHANGELOG.md +++ b/napi/transform/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.17.1] - 2024-07-06 + +### Bug Fixes + +- 150f4d9 napi/transform: Display error with spanned messages (Boshen) + ## [0.16.2] - 2024-06-30 ### Refactor diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index d2099b42370e2..79b237fe6639d 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.17.0" +version = "0.17.1" publish = true authors.workspace = true description.workspace = true diff --git a/npm/oxc-parser/package.json b/npm/oxc-parser/package.json index 490a453f318b7..88936b2c4891c 100644 --- a/npm/oxc-parser/package.json +++ b/npm/oxc-parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.17.0", + "version": "0.17.1", "description": "Oxc Parser Node API", "keywords": [ "Parser" diff --git a/npm/oxc-transform/package.json b/npm/oxc-transform/package.json index c671450815219..5d375b9bf5ae9 100644 --- a/npm/oxc-transform/package.json +++ b/npm/oxc-transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.17.0", + "version": "0.17.1", "description": "Oxc transform Node API", "keywords": [ "transform" diff --git a/wasm/parser/package.json b/wasm/parser/package.json index ea75adf773205..b1403eb8277f3 100644 --- a/wasm/parser/package.json +++ b/wasm/parser/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-parser/wasm", - "version": "0.17.0", + "version": "0.17.1", "description": "Wasm target for the oxc parser.", "keywords": [ "JavaScript",