diff --git a/Cargo.lock b/Cargo.lock index d1548974f080a..2d940ce14398a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1391,7 +1391,7 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56" [[package]] name = "oxc" -version = "0.37.0" +version = "0.38.0" dependencies = [ "napi", "napi-derive", @@ -1457,7 +1457,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.37.0" +version = "0.38.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1467,7 +1467,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.37.0" +version = "0.38.0" dependencies = [ "bitflags 2.6.0", "cow-utils", @@ -1485,7 +1485,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.37.0" +version = "0.38.0" dependencies = [ "proc-macro2", "quote", @@ -1534,7 +1534,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.37.0" +version = "0.38.0" dependencies = [ "bitflags 2.6.0", "itertools", @@ -1547,7 +1547,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.37.0" +version = "0.38.0" dependencies = [ "assert-unchecked", "base64", @@ -1608,14 +1608,14 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.37.0" +version = "0.38.0" dependencies = [ "assert-unchecked", ] [[package]] name = "oxc_diagnostics" -version = "0.37.0" +version = "0.38.0" dependencies = [ "oxc-miette", "rustc-hash", @@ -1623,7 +1623,7 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.37.0" +version = "0.38.0" dependencies = [ "num-bigint", "num-traits", @@ -1636,7 +1636,7 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.37.0" +version = "0.38.0" dependencies = [ "serde", ] @@ -1652,7 +1652,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.37.0" +version = "0.38.0" dependencies = [ "bitflags 2.6.0", "insta", @@ -1753,7 +1753,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.37.0" +version = "0.38.0" dependencies = [ "itertools", "oxc_ast", @@ -1764,7 +1764,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.37.0" +version = "0.38.0" dependencies = [ "cow-utils", "insta", @@ -1812,7 +1812,7 @@ dependencies = [ [[package]] name = "oxc_module_lexer" -version = "0.37.0" +version = "0.38.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1823,7 +1823,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.37.0" +version = "0.38.0" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -1898,7 +1898,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.37.0" +version = "0.38.0" dependencies = [ "oxc_allocator", "oxc_ast_macros", @@ -1932,7 +1932,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.37.0" +version = "0.38.0" dependencies = [ "assert-unchecked", "indexmap", @@ -1957,7 +1957,7 @@ dependencies = [ [[package]] name = "oxc_sourcemap" -version = "0.37.0" +version = "0.38.0" dependencies = [ "base64-simd", "cfg-if", @@ -1971,7 +1971,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.37.0" +version = "0.38.0" dependencies = [ "compact_str", "oxc-miette", @@ -1984,7 +1984,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.37.0" +version = "0.38.0" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -2043,7 +2043,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.37.0" +version = "0.38.0" dependencies = [ "napi", "napi-build", @@ -2053,7 +2053,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.37.0" +version = "0.38.0" dependencies = [ "base64", "compact_str", @@ -2086,7 +2086,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.37.0" +version = "0.38.0" dependencies = [ "compact_str", "itoa", diff --git a/Cargo.toml b/Cargo.toml index e6cda84fdbc9c..a4f452b09dfea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -78,29 +78,29 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.37.0", path = "crates/oxc" } -oxc_allocator = { version = "0.37.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.37.0", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.37.0", path = "crates/oxc_ast_macros" } -oxc_cfg = { version = "0.37.0", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.37.0", path = "crates/oxc_codegen" } -oxc_data_structures = { version = "0.37.0", path = "crates/oxc_data_structures" } -oxc_diagnostics = { version = "0.37.0", path = "crates/oxc_diagnostics" } -oxc_ecmascript = { version = "0.37.0", path = "crates/oxc_ecmascript" } -oxc_estree = { version = "0.37.0", path = "crates/oxc_estree" } -oxc_isolated_declarations = { version = "0.37.0", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.37.0", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.37.0", path = "crates/oxc_minifier" } -oxc_module_lexer = { version = "0.37.0", path = "crates/oxc_module_lexer" } -oxc_parser = { version = "0.37.0", path = "crates/oxc_parser" } -oxc_regular_expression = { version = "0.37.0", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.37.0", path = "crates/oxc_semantic" } -oxc_sourcemap = { version = "0.37.0", path = "crates/oxc_sourcemap" } -oxc_span = { version = "0.37.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.37.0", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.37.0", path = "napi/transform" } -oxc_transformer = { version = "0.37.0", path = "crates/oxc_transformer" } -oxc_traverse = { version = "0.37.0", path = "crates/oxc_traverse" } +oxc = { version = "0.38.0", path = "crates/oxc" } +oxc_allocator = { version = "0.38.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.38.0", path = "crates/oxc_ast" } +oxc_ast_macros = { version = "0.38.0", path = "crates/oxc_ast_macros" } +oxc_cfg = { version = "0.38.0", path = "crates/oxc_cfg" } +oxc_codegen = { version = "0.38.0", path = "crates/oxc_codegen" } +oxc_data_structures = { version = "0.38.0", path = "crates/oxc_data_structures" } +oxc_diagnostics = { version = "0.38.0", path = "crates/oxc_diagnostics" } +oxc_ecmascript = { version = "0.38.0", path = "crates/oxc_ecmascript" } +oxc_estree = { version = "0.38.0", path = "crates/oxc_estree" } +oxc_isolated_declarations = { version = "0.38.0", path = "crates/oxc_isolated_declarations" } +oxc_mangler = { version = "0.38.0", path = "crates/oxc_mangler" } +oxc_minifier = { version = "0.38.0", path = "crates/oxc_minifier" } +oxc_module_lexer = { version = "0.38.0", path = "crates/oxc_module_lexer" } +oxc_parser = { version = "0.38.0", path = "crates/oxc_parser" } +oxc_regular_expression = { version = "0.38.0", path = "crates/oxc_regular_expression" } +oxc_semantic = { version = "0.38.0", path = "crates/oxc_semantic" } +oxc_sourcemap = { version = "0.38.0", path = "crates/oxc_sourcemap" } +oxc_span = { version = "0.38.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.38.0", path = "crates/oxc_syntax" } +oxc_transform_napi = { version = "0.38.0", path = "napi/transform" } +oxc_transformer = { version = "0.38.0", path = "crates/oxc_transformer" } +oxc_traverse = { version = "0.38.0", path = "crates/oxc_traverse" } # publish = false oxc_linter = { path = "crates/oxc_linter" } diff --git a/crates/oxc/CHANGELOG.md b/crates/oxc/CHANGELOG.md index 0218a2a565cc4..a4a5b0e267af4 100644 --- a/crates/oxc/CHANGELOG.md +++ b/crates/oxc/CHANGELOG.md @@ -4,6 +4,19 @@ 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.38.0] - 2024-11-26 + +- 5d65656 oxc_index: [**BREAKING**] Move to own repo github.com/oxc-project/oxc-index-vec (#7464) (Boshen) + +- bb2c0c2 transformer: [**BREAKING**] Return `String` as error instead of OxcDiagnostic (#7424) (Boshen) + +### Features + +- 59e7e46 napi/transform: Add `TransformOptions::target` API (#7426) (Boshen) + +### Refactor + + ## [0.36.0] - 2024-11-09 - 846711c transformer: [**BREAKING**] Change API to take a `&TransformOptions` instead of `TransformOptions` (#7213) (Boshen) diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index da2a02fefc4f2..dcf66360bc97f 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index 90268a3050103..2fbad6e6b47b8 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast/CHANGELOG.md b/crates/oxc_ast/CHANGELOG.md index b8f1c95e12936..b45582089d289 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/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.38.0] - 2024-11-26 + +### Features + +- eb70219 ast: Derive `GetAddress` on all enum types (#7472) (overlookmotel) + ## [0.37.0] - 2024-11-21 - f059b0e ast: [**BREAKING**] Add missing `ChainExpression` from `TSNonNullExpression` (#7377) (Boshen) diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index 9b8b954bb0ead..cff291869b78f 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_macros/CHANGELOG.md b/crates/oxc_ast_macros/CHANGELOG.md index 162e0f26a1038..b1ea0fcb11915 100644 --- a/crates/oxc_ast_macros/CHANGELOG.md +++ b/crates/oxc_ast_macros/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.38.0] - 2024-11-26 + +### Features + +- eb70219 ast: Derive `GetAddress` on all enum types (#7472) (overlookmotel) + +### Documentation + +- 63f4d6c ast_tools: Reformat docs for `#[ast]` proc macro (#7437) (overlookmotel) +- bc0e8bc ast_tools: Update and reformat docs for `#[ast]` proc macro (#7436) (overlookmotel) + +### Refactor + +- cf0b3bc ast_tools: Remove `tsify` helper attr from `Ast` derive macro (#7435) (overlookmotel) + ## [0.35.0] - 2024-11-04 ### Features diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index 7a4a99115864e..ed131dc93b6c5 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.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_cfg/Cargo.toml b/crates/oxc_cfg/Cargo.toml index a572635a2c70e..4514743f7c728 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_codegen/CHANGELOG.md b/crates/oxc_codegen/CHANGELOG.md index ac391e601fc68..33cc69a25f917 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.38.0] - 2024-11-26 + +### Bug Fixes + +- d5df615 oxc_codegen: Don't emit empty span mapping (#7448) (Hiroshi Ogawa) + ## [0.37.0] - 2024-11-21 - f059b0e ast: [**BREAKING**] Add missing `ChainExpression` from `TSNonNullExpression` (#7377) (Boshen) diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index ad112030c3f13..70d05f89b2b0f 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_data_structures/Cargo.toml b/crates/oxc_data_structures/Cargo.toml index 177742489b0d6..282025ba5f22e 100644 --- a/crates/oxc_data_structures/Cargo.toml +++ b/crates/oxc_data_structures/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_data_structures" -version = "0.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index c89a01a820440..49e79fa1350da 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ecmascript/Cargo.toml b/crates/oxc_ecmascript/Cargo.toml index 4eb97ab4e3779..ca2b7087c7c56 100644 --- a/crates/oxc_ecmascript/Cargo.toml +++ b/crates/oxc_ecmascript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ecmascript" -version = "0.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_estree/Cargo.toml b/crates/oxc_estree/Cargo.toml index d9c4f5edc2efa..0ee08d35eb02a 100644 --- a/crates/oxc_estree/Cargo.toml +++ b/crates/oxc_estree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_estree" -version = "0.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_isolated_declarations/CHANGELOG.md b/crates/oxc_isolated_declarations/CHANGELOG.md index e27d37cfa82c0..5351793e6751b 100644 --- a/crates/oxc_isolated_declarations/CHANGELOG.md +++ b/crates/oxc_isolated_declarations/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.38.0] - 2024-11-26 + +### Refactor + +- 0ff94fa isolated-declarations: Use `CloneIn` instead of `ast.copy` (#7459) (Dunqing) + ## [0.37.0] - 2024-11-21 - 44375a5 ast: [**BREAKING**] Rename `TSEnumMemberName` enum variants (#7250) (overlookmotel) diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index c00b693f96ef4..918b406b2ecdc 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.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index 4f10bad068cb0..c801cc40618f4 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index d9fba8a5f3731..352847c62ca4e 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_module_lexer/Cargo.toml b/crates/oxc_module_lexer/Cargo.toml index e4a901a3b88ea..823d4f4d72cfb 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.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index e4d9861f46d2a..7fc437e63e070 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_regular_expression/CHANGELOG.md b/crates/oxc_regular_expression/CHANGELOG.md index 5502cca23e290..fdc6dc82b6b5f 100644 --- a/crates/oxc_regular_expression/CHANGELOG.md +++ b/crates/oxc_regular_expression/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.38.0] - 2024-11-26 + +### Features + +- eb70219 ast: Derive `GetAddress` on all enum types (#7472) (overlookmotel) + ## [0.36.0] - 2024-11-09 ### Features diff --git a/crates/oxc_regular_expression/Cargo.toml b/crates/oxc_regular_expression/Cargo.toml index 85fc09049ac4f..b24b27484adb3 100644 --- a/crates/oxc_regular_expression/Cargo.toml +++ b/crates/oxc_regular_expression/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_regular_expression" -version = "0.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_semantic/CHANGELOG.md b/crates/oxc_semantic/CHANGELOG.md index 5cace815a03e6..68956ff56cfed 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/CHANGELOG.md @@ -4,6 +4,18 @@ 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.38.0] - 2024-11-26 + +- 27b2268 semantic: [**BREAKING**] Remove `SymbolFlags::Export` (#7414) (Dunqing) + +- 6f0fe38 semantic: [**BREAKING**] Correct all `ReferenceFlags::Write` according to the spec (#7388) (Dunqing) + +### Bug Fixes + + +### Refactor + + ## [0.37.0] - 2024-11-21 ### Features diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index a52832a603f85..949cdca215fdb 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_sourcemap/Cargo.toml b/crates/oxc_sourcemap/Cargo.toml index 2b0c11ba765c7..30c3818305355 100644 --- a/crates/oxc_sourcemap/Cargo.toml +++ b/crates/oxc_sourcemap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_sourcemap" -version = "0.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index 406b32a84977c..bcc7248c85d3c 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_syntax/CHANGELOG.md b/crates/oxc_syntax/CHANGELOG.md index 265111f28f536..5faadc26338a9 100644 --- a/crates/oxc_syntax/CHANGELOG.md +++ b/crates/oxc_syntax/CHANGELOG.md @@ -4,6 +4,19 @@ 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.38.0] - 2024-11-26 + +- 27b2268 semantic: [**BREAKING**] Remove `SymbolFlags::Export` (#7414) (Dunqing) + +- 6f0fe38 semantic: [**BREAKING**] Correct all `ReferenceFlags::Write` according to the spec (#7388) (Dunqing) + +### Bug Fixes + + +### Refactor + +- d7d0735 semantic: Remove `SymbolFlags::TypeLiteral` (#7415) (Dunqing) + ## [0.37.0] - 2024-11-21 ### Features diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index af4f67dc3fee0..bdc7dad7e6122 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_transformer/CHANGELOG.md b/crates/oxc_transformer/CHANGELOG.md index dd166ae3846ce..4538b31175adb 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/CHANGELOG.md @@ -4,6 +4,49 @@ 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.38.0] - 2024-11-26 + +- bb2c0c2 transformer: [**BREAKING**] Return `String` as error instead of OxcDiagnostic (#7424) (Boshen) + +### Features + +- 59e7e46 napi/transform: Add `TransformOptions::target` API (#7426) (Boshen) +- e9f9e82 oxc_transformer: Replace_global_define ThisExpression (#7443) (IWANABETHATGUY) +- 8797849 oxc_transformer: Replace_global_define destructuring assignment optimization (#7449) (IWANABETHATGUY) +- 4bb1dca oxc_transformer: ReplaceGlobalDefines for ChainExpr (#7433) (IWANABETHATGUY) +- d8c0931 oxc_transformer: Use better diagnostic message for `ReplaceGlobalDefinesPlugin` (#7439) (dalaoshu) +- 21614f2 oxc_transformer: ReplaceGlobalDefinesPlugin for ComputedMemberExpr (#7431) (IWANABETHATGUY) +- 9778298 transformer: Class properties transform (#7011) (overlookmotel) + +### Bug Fixes + +- 7ff9f13 transformer: Correct all ReferenceFlags (#7410) (Dunqing) +- 4d6bd07 transformer/async-generator-functions: Correct all binding scope id (#7425) (Dunqing) +- 97de0b7 transformer/class-properties: Transform `this` in static prop initializers (#7481) (overlookmotel) +- d2745df transformer/class-properties: Stop searching for `super()` in `TSModuleBlock`s (#7480) (overlookmotel) + +### Performance + +- e26916c transformer/optional-chaining: Mark `enter_expression` as inline (#7390) (Dunqing) + +### Documentation + +- 2a5954a transformer/class-properties: Document transform options (#7478) (overlookmotel) + +### Refactor + +- e5d49db transformer/class-properties: Placeholder method for transforming private field assignment patterns (#7482) (overlookmotel) +- abb0e0e transformer/class-properties: Rename var (#7477) (overlookmotel) +- 25823c8 transformer/class-properties: Safer use of `GetAddress` (#7474) (overlookmotel) +- 3396b69 transformer/exponentiation-operator: Correct comment (#7476) (overlookmotel) +- eb39a50 transformer/logic-assignment: Shorten code (#7419) (overlookmotel) +- 6fd0fcb transformer/object-rest-spread: Avoid multiple symbol lookups (#7420) (overlookmotel) +- 52784d2 transformer/optional-chaining: Avoid multiple symbol lookups (#7421) (overlookmotel) + +### Styling + +- 111d722 transformer/optional-chaining: Code style nit (#7468) (overlookmotel) + ## [0.37.0] - 2024-11-21 - f059b0e ast: [**BREAKING**] Add missing `ChainExpression` from `TSNonNullExpression` (#7377) (Boshen) diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index 07694ca3fe3bd..ff8e8ab166d0a 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_traverse/CHANGELOG.md b/crates/oxc_traverse/CHANGELOG.md index 9fae5a8237e01..97e8087e0e9c7 100644 --- a/crates/oxc_traverse/CHANGELOG.md +++ b/crates/oxc_traverse/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.38.0] - 2024-11-26 + +### Features + +- 971c91a traverse: Add methods to `BoundIdentifier` + `MaybeBoundIdentifier` to create `SimpleAssignmentTarget`s (#7418) (overlookmotel) + +### Documentation + +- be5f843 traverse: Fix docs for `BoundIdentifier` + `MaybeBoundIdentifier` (#7417) (overlookmotel) + +### Styling + +- 10ea830 traverse: Fix indentation in codegen (#7475) (overlookmotel) + ## [0.37.0] - 2024-11-21 - f059b0e ast: [**BREAKING**] Add missing `ChainExpression` from `TSNonNullExpression` (#7377) (Boshen) diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 70671634b46ba..a3c1617435b17 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/transform/CHANGELOG.md b/napi/transform/CHANGELOG.md index 9a296ccde16f2..e23f04d7aa79f 100644 --- a/napi/transform/CHANGELOG.md +++ b/napi/transform/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.38.0] - 2024-11-26 + +- bb2c0c2 transformer: [**BREAKING**] Return `String` as error instead of OxcDiagnostic (#7424) (Boshen) + +### Features + +- 59e7e46 napi/transform: Add `TransformOptions::target` API (#7426) (Boshen) + +### Refactor + + ## [0.36.0] - 2024-11-09 - 846711c transformer: [**BREAKING**] Change API to take a `&TransformOptions` instead of `TransformOptions` (#7213) (Boshen) diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index 23d698e19b1e4..7128b2cab874e 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.37.0" +version = "0.38.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/npm/oxc-parser/package.json b/npm/oxc-parser/package.json index 2f575010d5ca9..2b605015f19ef 100644 --- a/npm/oxc-parser/package.json +++ b/npm/oxc-parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.37.0", + "version": "0.38.0", "description": "Oxc Parser Node API", "keywords": [ "Parser" diff --git a/npm/oxc-transform/package.json b/npm/oxc-transform/package.json index 9edc895cff4a2..04d019473672a 100644 --- a/npm/oxc-transform/package.json +++ b/npm/oxc-transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.37.0", + "version": "0.38.0", "description": "Oxc transform Node API", "keywords": [ "transform" diff --git a/npm/oxc-types/package.json b/npm/oxc-types/package.json index b69fc230c8595..66045a4a74cc7 100644 --- a/npm/oxc-types/package.json +++ b/npm/oxc-types/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/types", - "version": "0.37.0", + "version": "0.38.0", "description": "Types for Oxc AST nodes", "keywords": [ "AST", diff --git a/wasm/parser/package.json b/wasm/parser/package.json index 2186c33f977e9..95c32b676e817 100644 --- a/wasm/parser/package.json +++ b/wasm/parser/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-parser/wasm", - "version": "0.37.0", + "version": "0.38.0", "description": "Wasm target for the oxc parser.", "keywords": [ "JavaScript",