diff --git a/Cargo.lock b/Cargo.lock index 4e5d5417394a7..253c187f439ea 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1412,7 +1412,7 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.24.0" +version = "0.24.1" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1449,7 +1449,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.24.0" +version = "0.24.1" dependencies = [ "allocator-api2", "bumpalo", @@ -1459,7 +1459,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.24.0" +version = "0.24.1" dependencies = [ "bitflags 2.6.0", "num-bigint", @@ -1493,7 +1493,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.24.0" +version = "0.24.1" dependencies = [ "proc-macro2", "quote", @@ -1523,7 +1523,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.24.0" +version = "0.24.1" dependencies = [ "bitflags 2.6.0", "itertools 0.13.0", @@ -1534,7 +1534,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.24.0" +version = "0.24.1" dependencies = [ "base64", "bitflags 2.6.0", @@ -1591,7 +1591,7 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.24.0" +version = "0.24.1" dependencies = [ "miette", "owo-colors", @@ -1601,14 +1601,14 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.24.0" +version = "0.24.1" dependencies = [ "serde", ] [[package]] name = "oxc_isolated_declarations" -version = "0.24.0" +version = "0.24.1" dependencies = [ "insta", "oxc_allocator", @@ -1706,7 +1706,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.24.0" +version = "0.24.1" dependencies = [ "itertools 0.13.0", "oxc_ast", @@ -1717,7 +1717,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.24.0" +version = "0.24.1" dependencies = [ "insta", "num-bigint", @@ -1751,7 +1751,7 @@ dependencies = [ [[package]] name = "oxc_module_lexer" -version = "0.24.0" +version = "0.24.1" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1761,7 +1761,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.24.0" +version = "0.24.1" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -1854,7 +1854,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.24.0" +version = "0.24.1" dependencies = [ "assert-unchecked", "indexmap", @@ -1878,7 +1878,7 @@ dependencies = [ [[package]] name = "oxc_sourcemap" -version = "0.24.0" +version = "0.24.1" dependencies = [ "base64-simd", "cfg-if", @@ -1890,7 +1890,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.24.0" +version = "0.24.1" dependencies = [ "compact_str", "miette", @@ -1904,7 +1904,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.24.0" +version = "0.24.1" dependencies = [ "bitflags 2.6.0", "dashmap 6.0.1", @@ -1953,7 +1953,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.24.0" +version = "0.24.1" dependencies = [ "napi", "napi-build", @@ -1971,7 +1971,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.24.0" +version = "0.24.1" dependencies = [ "dashmap 6.0.1", "indexmap", @@ -1993,7 +1993,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.24.0" +version = "0.24.1" dependencies = [ "compact_str", "memoffset", diff --git a/Cargo.toml b/Cargo.toml index 3f9dfe4432dd4..18424a0ea5fd7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -75,26 +75,26 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.24.0", path = "crates/oxc" } -oxc_allocator = { version = "0.24.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.24.0", path = "crates/oxc_ast" } -oxc_codegen = { version = "0.24.0", path = "crates/oxc_codegen" } -oxc_diagnostics = { version = "0.24.0", path = "crates/oxc_diagnostics" } -oxc_index = { version = "0.24.0", path = "crates/oxc_index" } -oxc_minifier = { version = "0.24.0", path = "crates/oxc_minifier" } -oxc_mangler = { version = "0.24.0", path = "crates/oxc_mangler" } -oxc_parser = { version = "0.24.0", path = "crates/oxc_parser" } -oxc_semantic = { version = "0.24.0", path = "crates/oxc_semantic" } -oxc_span = { version = "0.24.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.24.0", path = "crates/oxc_syntax" } -oxc_transformer = { version = "0.24.0", path = "crates/oxc_transformer" } -oxc_sourcemap = { version = "0.24.0", path = "crates/oxc_sourcemap" } -oxc_ast_macros = { version = "0.24.0", path = "crates/oxc_ast_macros" } -oxc_traverse = { version = "0.24.0", path = "crates/oxc_traverse" } -oxc_module_lexer = { version = "0.24.0", path = "crates/oxc_module_lexer" } -oxc_cfg = { version = "0.24.0", path = "crates/oxc_cfg" } -oxc_isolated_declarations = { version = "0.24.0", path = "crates/oxc_isolated_declarations" } -oxc_transform_napi = { version = "0.24.0", path = "napi/transform" } +oxc = { version = "0.24.1", path = "crates/oxc" } +oxc_allocator = { version = "0.24.1", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.24.1", path = "crates/oxc_ast" } +oxc_codegen = { version = "0.24.1", path = "crates/oxc_codegen" } +oxc_diagnostics = { version = "0.24.1", path = "crates/oxc_diagnostics" } +oxc_index = { version = "0.24.1", path = "crates/oxc_index" } +oxc_minifier = { version = "0.24.1", path = "crates/oxc_minifier" } +oxc_mangler = { version = "0.24.1", path = "crates/oxc_mangler" } +oxc_parser = { version = "0.24.1", path = "crates/oxc_parser" } +oxc_semantic = { version = "0.24.1", path = "crates/oxc_semantic" } +oxc_span = { version = "0.24.1", path = "crates/oxc_span" } +oxc_syntax = { version = "0.24.1", path = "crates/oxc_syntax" } +oxc_transformer = { version = "0.24.1", path = "crates/oxc_transformer" } +oxc_sourcemap = { version = "0.24.1", path = "crates/oxc_sourcemap" } +oxc_ast_macros = { version = "0.24.1", path = "crates/oxc_ast_macros" } +oxc_traverse = { version = "0.24.1", path = "crates/oxc_traverse" } +oxc_module_lexer = { version = "0.24.1", path = "crates/oxc_module_lexer" } +oxc_cfg = { version = "0.24.1", path = "crates/oxc_cfg" } +oxc_isolated_declarations = { version = "0.24.1", path = "crates/oxc_isolated_declarations" } +oxc_transform_napi = { version = "0.24.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 54002c11631bf..f44f8a9c0fa0d 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.24.0" +version = "0.24.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index 1644be60afd85..3b2ebd6550306 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.24.0" +version = "0.24.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 2361e8549f34f..b565415883a49 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/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.1] - 2024-08-10 + +### Bug Fixes + +- fff9da3 ast, ast_codegen: Use `generate_derive` instead of visitable for generating span derives. (#4747) (rzvxa) +- f5eeebd ast_macros: Raise compile error on invalid `generate_derive` input. (#4766) (rzvxa) + +### Refactor + +- daa0b2e ast: `oxc_ast` crate re-export AST types from other crates (#4773) (overlookmotel) +- d4a3be8 ast_codegen: Line breaks between types in layout assertions (#4781) (overlookmotel) +- dbb5f4c ast_codegen: Remove unnecessary imports from generated files (#4774) (overlookmotel) +- 2dea0ca ast_codegen: Consistent import order (#4761) (overlookmotel) + ## [0.24.0] - 2024-08-08 ### Features diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index eccd3ea5990dc..a73c16dc76f0c 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.24.0" +version = "0.24.1" 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 41ca8970e24c6..df8d1ca730039 100644 --- a/crates/oxc_ast_macros/CHANGELOG.md +++ b/crates/oxc_ast_macros/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.24.1] - 2024-08-10 + +### Bug Fixes + +- f5eeebd ast_macros: Raise compile error on invalid `generate_derive` input. (#4766) (rzvxa) + +### Refactor + +- 7ea058d ast_codegen: Replace Windows-style line breaks with Unix-style (#4769) (overlookmotel) + ## [0.24.0] - 2024-08-08 ### Features diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index ee41bafbff957..e40899a7dd7e7 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.0" +version = "0.24.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_cfg/Cargo.toml b/crates/oxc_cfg/Cargo.toml index da31022965dec..99da5c477b7dc 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.24.0" +version = "0.24.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index e4b0c3c18996e..491d08c98a3a0 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.24.0" +version = "0.24.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index 98a24f434e81b..7dbcded121330 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.24.0" +version = "0.24.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 20b12d2ab9c3a..7f9f3a5d42ab7 100644 --- a/crates/oxc_index/Cargo.toml +++ b/crates/oxc_index/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_index" -version = "0.24.0" +version = "0.24.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index 4bf2c8a65c033..5326322cdaa9b 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.0" +version = "0.24.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index 499ae458f3552..3038a19cc4ab6 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.24.0" +version = "0.24.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_minifier/CHANGELOG.md b/crates/oxc_minifier/CHANGELOG.md index c793288b2ad4a..64403588191c9 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.24.1] - 2024-08-10 + +### Features + +- c519295 minifier: Add `InjectGlobalVariables` plugin (`@rollup/plugin-inject`) (#4759) (Boshen) + ## [0.24.0] - 2024-08-08 ### Features diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index 987f3862f51e1..87f574c35877a 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.24.0" +version = "0.24.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 5f507588898a8..0969497ba63b3 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.0" +version = "0.24.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index 70e7a220dfe19..b80c0ac7d92de 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.24.0" +version = "0.24.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 d13536cc7a838..5ffbfe586df82 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.24.0" +version = "0.24.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 7b5d911ffd98e..cea7ce348a742 100644 --- a/crates/oxc_sourcemap/Cargo.toml +++ b/crates/oxc_sourcemap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_sourcemap" -version = "0.24.0" +version = "0.24.1" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_span/CHANGELOG.md b/crates/oxc_span/CHANGELOG.md index 82cb65d82174d..a218b98af17f3 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.1] - 2024-08-10 + +### Features + +- b3c3125 linter: Overhaul unicorn/no-useless-spread (#4791) (DonIsaac) + ## [0.24.0] - 2024-08-08 ### Features diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index 2985002efb86d..f3fdf1f70daa8 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.24.0" +version = "0.24.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index f379ea490201f..b93c5fd2e729d 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.24.0" +version = "0.24.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index 7fb5fc45c60c8..b5a8b1c194e5c 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.24.0" +version = "0.24.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index fc89aea7e944d..96e3b1d158c05 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.24.0" +version = "0.24.1" publish = true authors.workspace = true description.workspace = true diff --git a/napi/transform/CHANGELOG.md b/napi/transform/CHANGELOG.md index 8a7d6cd04b1a5..53c7938e1ec05 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.24.1] - 2024-08-10 + +### Bug Fixes + +- 4d0b40a napi/transform: Fix wrong isolated declarations emit (Boshen) + ## [0.24.0] - 2024-08-08 ### Bug Fixes diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index 79b74afe9a2a2..b17b8b0007821 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.24.0" +version = "0.24.1" publish = true authors.workspace = true description.workspace = true diff --git a/npm/oxc-parser/package.json b/npm/oxc-parser/package.json index 208735fa9d938..75c12c1c682ec 100644 --- a/npm/oxc-parser/package.json +++ b/npm/oxc-parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.24.0", + "version": "0.24.1", "description": "Oxc Parser Node API", "keywords": [ "Parser" diff --git a/npm/oxc-transform/package.json b/npm/oxc-transform/package.json index 7950529df1cff..15cfb94fdb2df 100644 --- a/npm/oxc-transform/package.json +++ b/npm/oxc-transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.24.0", + "version": "0.24.1", "description": "Oxc transform Node API", "keywords": [ "transform" diff --git a/wasm/parser/package.json b/wasm/parser/package.json index 929d765222d46..82962fa5780ed 100644 --- a/wasm/parser/package.json +++ b/wasm/parser/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-parser/wasm", - "version": "0.24.0", + "version": "0.24.1", "description": "Wasm target for the oxc parser.", "keywords": [ "JavaScript",