diff --git a/Cargo.lock b/Cargo.lock index 56388adba9f6c..f316e749dde5b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1272,7 +1272,7 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.17.2" +version = "0.18.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1308,7 +1308,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.17.2" +version = "0.18.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1318,7 +1318,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.17.2" +version = "0.18.0" dependencies = [ "bitflags 2.6.0", "num-bigint", @@ -1352,7 +1352,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.17.2" +version = "0.18.0" [[package]] name = "oxc_benchmark" @@ -1377,7 +1377,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.17.2" +version = "0.18.0" dependencies = [ "bitflags 2.6.0", "itertools 0.13.0", @@ -1388,7 +1388,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.17.2" +version = "0.18.0" dependencies = [ "base64", "bitflags 2.6.0", @@ -1440,7 +1440,7 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.17.2" +version = "0.18.0" dependencies = [ "miette", "owo-colors", @@ -1450,14 +1450,14 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.17.2" +version = "0.18.0" dependencies = [ "serde", ] [[package]] name = "oxc_isolated_declarations" -version = "0.17.2" +version = "0.18.0" dependencies = [ "insta", "oxc_allocator", @@ -1552,7 +1552,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.17.2" +version = "0.18.0" dependencies = [ "insta", "itertools 0.13.0", @@ -1587,7 +1587,7 @@ dependencies = [ [[package]] name = "oxc_module_lexer" -version = "0.17.2" +version = "0.18.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1597,7 +1597,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.17.2" +version = "0.18.0" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -1690,7 +1690,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.17.2" +version = "0.18.0" dependencies = [ "indexmap", "insta", @@ -1712,7 +1712,7 @@ dependencies = [ [[package]] name = "oxc_sourcemap" -version = "0.17.2" +version = "0.18.0" dependencies = [ "base64-simd", "cfg-if", @@ -1724,7 +1724,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.17.2" +version = "0.18.0" dependencies = [ "compact_str", "miette", @@ -1736,7 +1736,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.17.2" +version = "0.18.0" dependencies = [ "bitflags 2.6.0", "dashmap 6.0.1", @@ -1780,7 +1780,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.17.2" +version = "0.18.0" dependencies = [ "napi", "napi-build", @@ -1796,7 +1796,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.17.2" +version = "0.18.0" dependencies = [ "dashmap 6.0.1", "indexmap", @@ -1818,7 +1818,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.17.2" +version = "0.18.0" dependencies = [ "compact_str", "memoffset", diff --git a/Cargo.toml b/Cargo.toml index 83e012b31bab8..33511068ba027 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.2", path = "crates/oxc" } -oxc_allocator = { version = "0.17.2", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.17.2", path = "crates/oxc_ast" } -oxc_codegen = { version = "0.17.2", path = "crates/oxc_codegen" } -oxc_diagnostics = { version = "0.17.2", path = "crates/oxc_diagnostics" } -oxc_index = { version = "0.17.2", path = "crates/oxc_index" } -oxc_minifier = { version = "0.17.2", path = "crates/oxc_minifier" } -oxc_parser = { version = "0.17.2", path = "crates/oxc_parser" } -oxc_semantic = { version = "0.17.2", path = "crates/oxc_semantic" } -oxc_span = { version = "0.17.2", path = "crates/oxc_span" } -oxc_syntax = { version = "0.17.2", path = "crates/oxc_syntax" } -oxc_transformer = { version = "0.17.2", path = "crates/oxc_transformer" } -oxc_sourcemap = { version = "0.17.2", path = "crates/oxc_sourcemap" } -oxc_ast_macros = { version = "0.17.2", path = "crates/oxc_ast_macros" } -oxc_traverse = { version = "0.17.2", path = "crates/oxc_traverse" } -oxc_module_lexer = { version = "0.17.2", path = "crates/oxc_module_lexer" } -oxc_cfg = { version = "0.17.2", path = "crates/oxc_cfg" } -oxc_isolated_declarations = { version = "0.17.2", path = "crates/oxc_isolated_declarations" } -oxc_transform_napi = { version = "0.17.2", path = "napi/transform" } +oxc = { version = "0.18.0", path = "crates/oxc" } +oxc_allocator = { version = "0.18.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.18.0", path = "crates/oxc_ast" } +oxc_codegen = { version = "0.18.0", path = "crates/oxc_codegen" } +oxc_diagnostics = { version = "0.18.0", path = "crates/oxc_diagnostics" } +oxc_index = { version = "0.18.0", path = "crates/oxc_index" } +oxc_minifier = { version = "0.18.0", path = "crates/oxc_minifier" } +oxc_parser = { version = "0.18.0", path = "crates/oxc_parser" } +oxc_semantic = { version = "0.18.0", path = "crates/oxc_semantic" } +oxc_span = { version = "0.18.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.18.0", path = "crates/oxc_syntax" } +oxc_transformer = { version = "0.18.0", path = "crates/oxc_transformer" } +oxc_sourcemap = { version = "0.18.0", path = "crates/oxc_sourcemap" } +oxc_ast_macros = { version = "0.18.0", path = "crates/oxc_ast_macros" } +oxc_traverse = { version = "0.18.0", path = "crates/oxc_traverse" } +oxc_module_lexer = { version = "0.18.0", path = "crates/oxc_module_lexer" } +oxc_cfg = { version = "0.18.0", path = "crates/oxc_cfg" } +oxc_isolated_declarations = { version = "0.18.0", path = "crates/oxc_isolated_declarations" } +oxc_transform_napi = { version = "0.18.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 0a0434a238d79..ad4edb3e050e8 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.17.2" +version = "0.18.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index 6ec5d9b1043ef..a3023a8c7a10c 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.17.2" +version = "0.18.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 252dea35ace2e..90fdd3a580725 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/CHANGELOG.md @@ -4,6 +4,15 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.18.0] - 2024-07-09 + +- d347aed ast: [**BREAKING**] Generate `ast_builder.rs`. (#3890) (rzvxa) + +### Features + +- 2f53bdf semantic: Check for abstract ClassElements in non-abstract classes (#4127) (DonIsaac) +- c4ee9f8 semantic: Check for abstract initializations and implementations (#4125) (Don Isaac) + ## [0.17.2] - 2024-07-08 ### Features diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index 81fc116950587..2c4497164f47e 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.17.2" +version = "0.18.0" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index 0c904bb7442d1..cca08f498210e 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.2" +version = "0.18.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_cfg/Cargo.toml b/crates/oxc_cfg/Cargo.toml index 79bf9ee756180..4e023165e0b3b 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.17.2" +version = "0.18.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_codegen/CHANGELOG.md b/crates/oxc_codegen/CHANGELOG.md index a406bb7937287..1371c3a81e56d 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.18.0] - 2024-07-09 + +### Features + +- 365d9ba oxc_codegen: Generate annotation comments before `CallExpression` and `NewExpression` (#4119) (IWANABETHATGUY) + ## [0.17.2] - 2024-07-08 ### Bug Fixes diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index 13cc4e4790e48..cc6a06b5590d2 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.17.2" +version = "0.18.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index e2da3a2f5648d..b6ac2cf0eab5c 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.17.2" +version = "0.18.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 531a615c4e121..33763722d4067 100644 --- a/crates/oxc_index/Cargo.toml +++ b/crates/oxc_index/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_index" -version = "0.17.2" +version = "0.18.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 dd4d66e5347a1..d15449b0cbdfd 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.18.0] - 2024-07-09 + +- d347aed ast: [**BREAKING**] Generate `ast_builder.rs`. (#3890) (rzvxa) + +### Features + + +### Bug Fixes + +- cb1af04 isolated-declarations: Remove the `async` and `generator` keywords from `MethodDefinition` (#4130) (Dunqing) + ## [0.17.2] - 2024-07-08 ### Bug Fixes diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index feaf3125df765..149ff5aa062e1 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.2" +version = "0.18.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_minifier/CHANGELOG.md b/crates/oxc_minifier/CHANGELOG.md index 27263aff6d06d..f20ed5a586d42 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.18.0] - 2024-07-09 + +- d347aed ast: [**BREAKING**] Generate `ast_builder.rs`. (#3890) (rzvxa) + +### Features + +- c6c16a5 minifier: Dce all conditional expressions (#4135) (Boshen) + ## [0.17.1] - 2024-07-06 ### Bug Fixes diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index f1926c4691a82..85688700c13bc 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.17.2" +version = "0.18.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 582fc54720f99..3209556d18936 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.2" +version = "0.18.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_parser/CHANGELOG.md b/crates/oxc_parser/CHANGELOG.md index c26c05c1af247..dfb6c19c2bada 100644 --- a/crates/oxc_parser/CHANGELOG.md +++ b/crates/oxc_parser/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.18.0] - 2024-07-09 + +- d347aed ast: [**BREAKING**] Generate `ast_builder.rs`. (#3890) (rzvxa) + +### Features + +- 3a0f2aa parser: Check for illegal modifiers in modules and namespaces (#4126) (DonIsaac) + ## [0.17.1] - 2024-07-06 ### Performance diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index ab61ccdcab3e7..494f29a028692 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.17.2" +version = "0.18.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 01ef36b8c1d7a..ddaaf389c4134 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/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.18.0] - 2024-07-09 + +### Features + +- 2f53bdf semantic: Check for abstract ClassElements in non-abstract classes (#4127) (DonIsaac) +- c4ee9f8 semantic: Check for abstract initializations and implementations (#4125) (Don Isaac) + ## [0.17.2] - 2024-07-08 ### Features diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index e803a0e9cc0b1..a4049bd31553b 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.17.2" +version = "0.18.0" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_sourcemap/Cargo.toml b/crates/oxc_sourcemap/Cargo.toml index 5fa519950dc87..fdaeb4650aa06 100644 --- a/crates/oxc_sourcemap/Cargo.toml +++ b/crates/oxc_sourcemap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_sourcemap" -version = "0.17.2" +version = "0.18.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 fa505e2d219a7..7b52ba1da62d8 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.18.0] - 2024-07-09 + +### Features + +- 44c7fe3 span: Add various implementations of `FromIn` for `Atom`. (#4090) (rzvxa) + ## [0.16.1] - 2024-06-29 ### Refactor diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index 903ded3571d9f..72d94c84f192c 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.17.2" +version = "0.18.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index 9011766985d2d..03312fed3fdad 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.17.2" +version = "0.18.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_transformer/CHANGELOG.md b/crates/oxc_transformer/CHANGELOG.md index e432c50507586..838fec5ada282 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/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.18.0] - 2024-07-09 + +- d347aed ast: [**BREAKING**] Generate `ast_builder.rs`. (#3890) (rzvxa) + +### Features + + ## [0.17.2] - 2024-07-08 ### Bug Fixes diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index e083eb10b567c..fae23603a97bc 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.17.2" +version = "0.18.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 56c7931103d54..d6c730f8a9260 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.17.2" +version = "0.18.0" publish = true authors.workspace = true description.workspace = true diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index 4a5311cc1f298..60c17d0b3826f 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.17.2" +version = "0.18.0" publish = true authors.workspace = true description.workspace = true diff --git a/npm/oxc-parser/package.json b/npm/oxc-parser/package.json index 7e4212b4906be..e82f4633d919a 100644 --- a/npm/oxc-parser/package.json +++ b/npm/oxc-parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.17.2", + "version": "0.18.0", "description": "Oxc Parser Node API", "keywords": [ "Parser" diff --git a/npm/oxc-transform/package.json b/npm/oxc-transform/package.json index f83b160ce6f4e..637b90611275b 100644 --- a/npm/oxc-transform/package.json +++ b/npm/oxc-transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.17.2", + "version": "0.18.0", "description": "Oxc transform Node API", "keywords": [ "transform" diff --git a/wasm/parser/package.json b/wasm/parser/package.json index 7b371732373ea..29c88a111f1d2 100644 --- a/wasm/parser/package.json +++ b/wasm/parser/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-parser/wasm", - "version": "0.17.2", + "version": "0.18.0", "description": "Wasm target for the oxc parser.", "keywords": [ "JavaScript",