diff --git a/Cargo.lock b/Cargo.lock index 21e7f5ba25848..8819d68eba28b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1397,7 +1397,7 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56" [[package]] name = "oxc" -version = "0.36.0" +version = "0.37.0" dependencies = [ "napi", "napi-derive", @@ -1464,7 +1464,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.36.0" +version = "0.37.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1474,7 +1474,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.36.0" +version = "0.37.0" dependencies = [ "bitflags 2.6.0", "cow-utils", @@ -1492,7 +1492,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.36.0" +version = "0.37.0" dependencies = [ "proc-macro2", "quote", @@ -1541,7 +1541,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.36.0" +version = "0.37.0" dependencies = [ "bitflags 2.6.0", "itertools", @@ -1554,7 +1554,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.36.0" +version = "0.37.0" dependencies = [ "assert-unchecked", "base64", @@ -1615,14 +1615,14 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.36.0" +version = "0.37.0" dependencies = [ "assert-unchecked", ] [[package]] name = "oxc_diagnostics" -version = "0.36.0" +version = "0.37.0" dependencies = [ "oxc-miette", "rustc-hash", @@ -1630,7 +1630,7 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.36.0" +version = "0.37.0" dependencies = [ "num-bigint", "num-traits", @@ -1643,14 +1643,14 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.36.0" +version = "0.37.0" dependencies = [ "serde", ] [[package]] name = "oxc_index" -version = "0.36.0" +version = "0.37.0" dependencies = [ "rayon", "serde", @@ -1658,7 +1658,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.36.0" +version = "0.37.0" dependencies = [ "bitflags 2.6.0", "insta", @@ -1759,7 +1759,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.36.0" +version = "0.37.0" dependencies = [ "itertools", "oxc_ast", @@ -1770,7 +1770,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.36.0" +version = "0.37.0" dependencies = [ "cow-utils", "insta", @@ -1818,7 +1818,7 @@ dependencies = [ [[package]] name = "oxc_module_lexer" -version = "0.36.0" +version = "0.37.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1829,7 +1829,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.36.0" +version = "0.37.0" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -1904,7 +1904,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.36.0" +version = "0.37.0" dependencies = [ "oxc_allocator", "oxc_ast_macros", @@ -1939,7 +1939,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.36.0" +version = "0.37.0" dependencies = [ "assert-unchecked", "indexmap", @@ -1964,7 +1964,7 @@ dependencies = [ [[package]] name = "oxc_sourcemap" -version = "0.36.0" +version = "0.37.0" dependencies = [ "base64-simd", "cfg-if", @@ -1978,7 +1978,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.36.0" +version = "0.37.0" dependencies = [ "compact_str", "oxc-miette", @@ -1991,7 +1991,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.36.0" +version = "0.37.0" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -2050,7 +2050,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.36.0" +version = "0.37.0" dependencies = [ "napi", "napi-build", @@ -2060,7 +2060,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.36.0" +version = "0.37.0" dependencies = [ "base64", "compact_str", @@ -2092,7 +2092,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.36.0" +version = "0.37.0" dependencies = [ "compact_str", "itoa", diff --git a/Cargo.toml b/Cargo.toml index 8d32f30ead571..803a73db4c4d9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -78,30 +78,30 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.36.0", path = "crates/oxc" } -oxc_allocator = { version = "0.36.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.36.0", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.36.0", path = "crates/oxc_ast_macros" } -oxc_cfg = { version = "0.36.0", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.36.0", path = "crates/oxc_codegen" } -oxc_data_structures = { version = "0.36.0", path = "crates/oxc_data_structures" } -oxc_diagnostics = { version = "0.36.0", path = "crates/oxc_diagnostics" } -oxc_ecmascript = { version = "0.36.0", path = "crates/oxc_ecmascript" } -oxc_estree = { version = "0.36.0", path = "crates/oxc_estree" } -oxc_index = { version = "0.36.0", path = "crates/oxc_index" } -oxc_isolated_declarations = { version = "0.36.0", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.36.0", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.36.0", path = "crates/oxc_minifier" } -oxc_module_lexer = { version = "0.36.0", path = "crates/oxc_module_lexer" } -oxc_parser = { version = "0.36.0", path = "crates/oxc_parser" } -oxc_regular_expression = { version = "0.36.0", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.36.0", path = "crates/oxc_semantic" } -oxc_sourcemap = { version = "0.36.0", path = "crates/oxc_sourcemap" } -oxc_span = { version = "0.36.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.36.0", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.36.0", path = "napi/transform" } -oxc_transformer = { version = "0.36.0", path = "crates/oxc_transformer" } -oxc_traverse = { version = "0.36.0", path = "crates/oxc_traverse" } +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_index = { version = "0.37.0", path = "crates/oxc_index" } +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" } # publish = false oxc_linter = { path = "crates/oxc_linter" } diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index d17ce2122d716..a458b18246e5c 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.36.0" +version = "0.37.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_allocator/CHANGELOG.md b/crates/oxc_allocator/CHANGELOG.md index abc4ecfb2b648..c68b355bdc526 100644 --- a/crates/oxc_allocator/CHANGELOG.md +++ b/crates/oxc_allocator/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.37.0] - 2024-11-21 + +### Features + +- 39afb48 allocator: Introduce `Vec::from_array_in` (#7331) (overlookmotel) + ## [0.34.0] - 2024-10-26 ### Features diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index e8848f57785ee..90268a3050103 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.36.0" +version = "0.37.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 f86f7ba477c05..b8f1c95e12936 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/CHANGELOG.md @@ -4,6 +4,42 @@ 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.37.0] - 2024-11-21 + +- f059b0e ast: [**BREAKING**] Add missing `ChainExpression` from `TSNonNullExpression` (#7377) (Boshen) + +- 41a0e60 ast: [**BREAKING**] Remove `impl GetAddress for Function` (#7343) (overlookmotel) + +- 44375a5 ast: [**BREAKING**] Rename `TSEnumMemberName` enum variants (#7250) (overlookmotel) + +### Features + +- 39afb48 allocator: Introduce `Vec::from_array_in` (#7331) (overlookmotel) +- 897d3b1 ast: Serialize StringLiterals to ESTree without `raw` (#7263) (ottomated) +- 224775c transformer: Transform object rest spread (#7003) (Boshen) +- 885e37f transformer: Optional Chaining (#6990) (Boshen) + +### Bug Fixes + + +### Performance + +- c84e892 ast: `AstBuilder::vec1` use `Vec::from_array_in` (#7334) (overlookmotel) + +### Documentation + +- f0affa2 ast: Improve docs examples for `PropertyDefinition` (#7287) (overlookmotel) +- 740ba4b ast: Correct doc comment for `StringLiteral` (#7255) (overlookmotel) + +### Refactor + +- de472ca ast: Move `StringLiteral` definition higher up (#7270) (overlookmotel) +- d3d58f8 ast: Remove `inherit_variants!` from `TSEnumMemberName` (#7248) (overlookmotel) + +### Styling + +- 10cdce9 ast: Add line break (#7271) (overlookmotel) + ## [0.36.0] - 2024-11-09 - b11ed2c ast: [**BREAKING**] Remove useless `ObjectProperty::init` field (#7220) (Boshen) diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index f2b1a88301303..9b8b954bb0ead 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.36.0" +version = "0.37.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index be43f079a4c08..7a4a99115864e 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.36.0" +version = "0.37.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_cfg/CHANGELOG.md b/crates/oxc_cfg/CHANGELOG.md index 6744c8367b678..b11cad62fea85 100644 --- a/crates/oxc_cfg/CHANGELOG.md +++ b/crates/oxc_cfg/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.37.0] - 2024-11-21 + +### Features + +- 8cfea3c oxc_cfg: Add implicit return instruction (#5568) (IWANABETHATGUY) + ## [0.31.0] - 2024-10-08 - 95ca01c cfg: [**BREAKING**] Make BasicBlock::unreachable private (#6321) (DonIsaac) diff --git a/crates/oxc_cfg/Cargo.toml b/crates/oxc_cfg/Cargo.toml index 174a12d3569d4..a572635a2c70e 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.36.0" +version = "0.37.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 5ffa81a25dc8d..ac391e601fc68 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/CHANGELOG.md @@ -4,6 +4,27 @@ 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.37.0] - 2024-11-21 + +- f059b0e ast: [**BREAKING**] Add missing `ChainExpression` from `TSNonNullExpression` (#7377) (Boshen) + +- 44375a5 ast: [**BREAKING**] Rename `TSEnumMemberName` enum variants (#7250) (overlookmotel) + +### Features + +- 82773cb codegen: Remove underscore from bigint (#7367) (Boshen) + +### Bug Fixes + +- c587dd3 codegen: Do not print parenthesis for `in` expression in ArrowFunctionExpression (#7360) (Dunqing) +- a0766e6 codegen: Fix arithmetic overflow printing unspanned nodes (#7292) (overlookmotel) +- 33ec4e6 codegen: Fix arithmetic overflow printing unspanned `NewExpression` (#7289) (overlookmotel) +- 1282221 codegen: Print comments when block is empty (#7236) (Boshen) + +### Refactor + +- 58db9ef codegen: Do not print unnecessary parentheses if both sides use the same logical operator (#7325) (Dunqing) + ## [0.36.0] - 2024-11-09 - 0e4adc1 ast: [**BREAKING**] Remove invalid expressions from `TSEnumMemberName` (#7219) (Boshen) diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index d9f721e221dfb..ad112030c3f13 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.36.0" +version = "0.37.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_data_structures/CHANGELOG.md b/crates/oxc_data_structures/CHANGELOG.md index 43444012588c3..2e8900d203fd2 100644 --- a/crates/oxc_data_structures/CHANGELOG.md +++ b/crates/oxc_data_structures/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.37.0] - 2024-11-21 + +### Features + +- d135d3e data_structures: Add methods to `SparseStack` (#7305) (overlookmotel) + ## [0.35.0] - 2024-11-04 ### Performance diff --git a/crates/oxc_data_structures/Cargo.toml b/crates/oxc_data_structures/Cargo.toml index a47119f8c2cf6..177742489b0d6 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.36.0" +version = "0.37.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_diagnostics/CHANGELOG.md b/crates/oxc_diagnostics/CHANGELOG.md index e924881de05f9..6a352da1234c2 100644 --- a/crates/oxc_diagnostics/CHANGELOG.md +++ b/crates/oxc_diagnostics/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.37.0] - 2024-11-21 + +### Features + +- 2268a0e linter: Support `overrides` config field (#6974) (DonIsaac) + ## [0.36.0] - 2024-11-09 ### Features diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index b9271a535559a..c89a01a820440 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.36.0" +version = "0.37.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 d9ec84cfb598a..4eb97ab4e3779 100644 --- a/crates/oxc_ecmascript/Cargo.toml +++ b/crates/oxc_ecmascript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ecmascript" -version = "0.36.0" +version = "0.37.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 23327e8146741..d9c4f5edc2efa 100644 --- a/crates/oxc_estree/Cargo.toml +++ b/crates/oxc_estree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_estree" -version = "0.36.0" +version = "0.37.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_index/Cargo.toml b/crates/oxc_index/Cargo.toml index 3cc359a0c3550..6272bd6839ad4 100644 --- a/crates/oxc_index/Cargo.toml +++ b/crates/oxc_index/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_index" -version = "0.36.0" +version = "0.37.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 5b3d7bcf886bc..e27d37cfa82c0 100644 --- a/crates/oxc_isolated_declarations/CHANGELOG.md +++ b/crates/oxc_isolated_declarations/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.37.0] - 2024-11-21 + +- 44375a5 ast: [**BREAKING**] Rename `TSEnumMemberName` enum variants (#7250) (overlookmotel) + +### Features + +- 39afb48 allocator: Introduce `Vec::from_array_in` (#7331) (overlookmotel) +- 82773cb codegen: Remove underscore from bigint (#7367) (Boshen) + +### Refactor + +- 1938a1d isolated_declarations: Do not copy `Vec` unnecessarily (#7332) (overlookmotel) + ## [0.36.0] - 2024-11-09 - 0e4adc1 ast: [**BREAKING**] Remove invalid expressions from `TSEnumMemberName` (#7219) (Boshen) diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index 84e38f2cb8eb5..c00b693f96ef4 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.36.0" +version = "0.37.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 813488cba03b3..4f10bad068cb0 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.36.0" +version = "0.37.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_minifier/CHANGELOG.md b/crates/oxc_minifier/CHANGELOG.md index 74a37623185c1..f4c3e342644a8 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/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.37.0] - 2024-11-21 + +### Features + +- 39afb48 allocator: Introduce `Vec::from_array_in` (#7331) (overlookmotel) + +### Bug Fixes + +- cf99be0 minifier: Do not compare bigint with object (#7294) (7086cmd) + +### Testing + +- 0d6a66a minifier: Fix minimize condition tests (#7222) (7086cmd) + ## [0.36.0] - 2024-11-09 ### Refactor diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index 73a09d0acab85..d9fba8a5f3731 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.36.0" +version = "0.37.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 fb779f5315212..e4a901a3b88ea 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.36.0" +version = "0.37.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_parser/CHANGELOG.md b/crates/oxc_parser/CHANGELOG.md index 2fc30ee8520e1..1e5db53aff885 100644 --- a/crates/oxc_parser/CHANGELOG.md +++ b/crates/oxc_parser/CHANGELOG.md @@ -4,6 +4,25 @@ 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.37.0] - 2024-11-21 + +- f059b0e ast: [**BREAKING**] Add missing `ChainExpression` from `TSNonNullExpression` (#7377) (Boshen) + +- 878189c parser,linter: [**BREAKING**] Add `ParserReturn::is_flow_language`; linter ignore flow error (#7373) (Boshen) + +- 44375a5 ast: [**BREAKING**] Rename `TSEnumMemberName` enum variants (#7250) (overlookmotel) + +### Features + +- e6922df parser: Fix incorrect AST for `x?.f()` (#7387) (Boshen) + +### Bug Fixes + +- 666b6c1 parser: Add missing `ChainExpression` in optional `TSInstantiationExpression` (#7371) (Boshen) + +### Refactor + + ## [0.36.0] - 2024-11-09 - b11ed2c ast: [**BREAKING**] Remove useless `ObjectProperty::init` field (#7220) (Boshen) diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index 43a56e39be258..e4d9861f46d2a 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.36.0" +version = "0.37.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_regular_expression/Cargo.toml b/crates/oxc_regular_expression/Cargo.toml index bf478525fca75..85fc09049ac4f 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.36.0" +version = "0.37.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 1be4ead8111e4..5cace815a03e6 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/CHANGELOG.md @@ -4,6 +4,26 @@ 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.37.0] - 2024-11-21 + +### Features + +- 3dcac1a linter: React/exhaustive-deps (#7151) (camc314) +- 8cfea3c oxc_cfg: Add implicit return instruction (#5568) (IWANABETHATGUY) + +### Bug Fixes + +- 7d75130 transformer/async-to-generator: `arguments` isn't correct after transformation (#7234) (Dunqing) + +### Refactor + +- 84038ee semantic: Shorten code (#7277) (overlookmotel) +- 9e85cc1 semantic: Remove duplicated code (#7276) (overlookmotel) + +### Testing + +- 080a67b semantic: Semantic checker store conformance pass/fail info in a separate file (#7235) (Boshen) + ## [0.36.0] - 2024-11-09 - b11ed2c ast: [**BREAKING**] Remove useless `ObjectProperty::init` field (#7220) (Boshen) diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index 0e0590e95baed..a52832a603f85 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.36.0" +version = "0.37.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_sourcemap/CHANGELOG.md b/crates/oxc_sourcemap/CHANGELOG.md index 04081953c5550..4eddfc6014e86 100644 --- a/crates/oxc_sourcemap/CHANGELOG.md +++ b/crates/oxc_sourcemap/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.37.0] - 2024-11-21 + +### Bug Fixes + +- 3d66929 sourcemap: Improve source map visualizer (#7386) (Hiroshi Ogawa) + ## [0.31.0] - 2024-10-08 ### Features diff --git a/crates/oxc_sourcemap/Cargo.toml b/crates/oxc_sourcemap/Cargo.toml index 16534f8456538..2b0c11ba765c7 100644 --- a/crates/oxc_sourcemap/Cargo.toml +++ b/crates/oxc_sourcemap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_sourcemap" -version = "0.36.0" +version = "0.37.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 ac420b9fde055..406b32a84977c 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.36.0" +version = "0.37.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 5529c6f6ca775..265111f28f536 100644 --- a/crates/oxc_syntax/CHANGELOG.md +++ b/crates/oxc_syntax/CHANGELOG.md @@ -4,6 +4,25 @@ 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.37.0] - 2024-11-21 + +### Features + +- 2534cde syntax: Add `AssignmentOperator::to_logical_operator` and `to_binary_operator` methods (#7350) (overlookmotel) + +### Performance + +- c335f92 syntax: Reorder operator enum variants (#7351) (overlookmotel) + +### Documentation + +- 9b9d020 semantic: Document the meaning of `ReferenceFlags::Read` and `Write` (#7368) (Boshen) +- b3d5802 syntax: More comments for `ReferenceFlags` (#7392) (overlookmotel) + +### Styling + +- b5a2027 syntax: Improve formatting (#7349) (overlookmotel) + ## [0.36.0] - 2024-11-09 ### Features diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index c1c1125c0203b..af4f67dc3fee0 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.36.0" +version = "0.37.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 f30f581be361c..dd166ae3846ce 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/CHANGELOG.md @@ -4,6 +4,57 @@ 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.37.0] - 2024-11-21 + +- f059b0e ast: [**BREAKING**] Add missing `ChainExpression` from `TSNonNullExpression` (#7377) (Boshen) + +- 41a0e60 ast: [**BREAKING**] Remove `impl GetAddress for Function` (#7343) (overlookmotel) + +- 1cbc624 traverse: [**BREAKING**] Rename `TraverseCtx` methods for creating `IdentifierReference`s (#7300) (overlookmotel) + +- e84ea2c traverse: [**BREAKING**] Remove `TraverseCtx::clone_identifier_reference` (#7266) (overlookmotel) + +- 44375a5 ast: [**BREAKING**] Rename `TSEnumMemberName` enum variants (#7250) (overlookmotel) + +### Features + +- 39afb48 allocator: Introduce `Vec::from_array_in` (#7331) (overlookmotel) +- d608012 transform_conformance: Snapshot our transformed outputs (#7358) (Boshen) +- 224775c transformer: Transform object rest spread (#7003) (Boshen) +- 885e37f transformer: Optional Chaining (#6990) (Boshen) +- 6a98ef1 transformer: Add `CompilerAssumptions` to `TransformContext` (#7369) (Boshen) +- faf8dde traverse: Add methods for creating `Expression::Identifier`s (#7301) (overlookmotel) + +### Bug Fixes + +- b57d00d tasks/compat_data: Fix misplaced features (#7284) (Boshen) +- c5f4ee7 transformer: Correct code comments (#7247) (overlookmotel) +- 389b84e transformer/arrow-function: Handle unicode when capitalizing property name (#7311) (overlookmotel) +- 7d75130 transformer/async-to-generator: `arguments` isn't correct after transformation (#7234) (Dunqing) +- 5b5c8a9 transformer/nullish-coalescing: Correct span (#7269) (overlookmotel) + +### Performance + +- 510b95d transformer: Use `AstBuilder::vec_from_array` (#7333) (overlookmotel) +- e09d2df transformer/arrow-function: Create super method binding names lazily (#7313) (overlookmotel) +- 0a24703 transformer/arrow-function: Optimize `generate_super_binding_name` (#7312) (overlookmotel) +- 44fd962 transformer/arrow-functions: Move arguments transform checks to aid inlining (#7322) (overlookmotel) +- 26d3e96 transformer/arrow-functions: Store state of whether arguments needs transform (#7321) (overlookmotel) + +### Documentation + +- e219ae8 transformer/nullish-coalescing: Clarify doc comment (#7268) (overlookmotel) + +### Refactor + +- 4acf2db transformer: Helper loader methods take `Span` (#7304) (overlookmotel) +- 871e19b transformer/arrow-function: Comments on possible improvement (#7320) (overlookmotel) +- ea08c1f transformer/arrow-function: Reserve correct capacity for `Vec` (#7319) (overlookmotel) +- 5cfe0b6 transformer/arrow-function: `generate_super_binding_name` take `&str` and `&TraverseCtx` (#7310) (overlookmotel) +- 5d85386 transformer/arrow-functions: Use `IndexMap` for `super` getter/setters (#7317) (overlookmotel) +- 9f5ae56 transformer/nullish-coalescing: Split main logic into separate function (#7273) (overlookmotel) +- 345fbb9 transformer/nullish-coalescing: Avoid repeated symbol lookups (#7272) (overlookmotel) + ## [0.36.0] - 2024-11-09 - b11ed2c ast: [**BREAKING**] Remove useless `ObjectProperty::init` field (#7220) (Boshen) diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index 6ed2e2cfcd687..5f7ff9698e8e0 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.36.0" +version = "0.37.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 4802d31e3fa3a..9fae5a8237e01 100644 --- a/crates/oxc_traverse/CHANGELOG.md +++ b/crates/oxc_traverse/CHANGELOG.md @@ -4,6 +4,35 @@ 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.37.0] - 2024-11-21 + +- f059b0e ast: [**BREAKING**] Add missing `ChainExpression` from `TSNonNullExpression` (#7377) (Boshen) + +- 1cbc624 traverse: [**BREAKING**] Rename `TraverseCtx` methods for creating `IdentifierReference`s (#7300) (overlookmotel) + +- e84ea2c traverse: [**BREAKING**] Remove `TraverseCtx::clone_identifier_reference` (#7266) (overlookmotel) + +- 44375a5 ast: [**BREAKING**] Rename `TSEnumMemberName` enum variants (#7250) (overlookmotel) + +### Features + +- 6cfb5df transformer: Support generate proper binding name from ChainExpression (#7326) (Dunqing) +- 234c7b9 traverse: Implement `GatherNodeParts` for member expression types (#7363) (overlookmotel) +- faf8dde traverse: Add methods for creating `Expression::Identifier`s (#7301) (overlookmotel) +- 8c754b1 traverse: Introduce `MaybeBoundIdentifier` (#7265) (overlookmotel) + +### Bug Fixes + + +### Documentation + +- 834c94d traverse: Tidy doc comments for `TraverseCtx::is_static` (#7267) (overlookmotel) + +### Refactor + +- de472ca ast: Move `StringLiteral` definition higher up (#7270) (overlookmotel) +- 7a48728 traverse: Reorder imports (#7264) (overlookmotel) + ## [0.36.0] - 2024-11-09 - b11ed2c ast: [**BREAKING**] Remove useless `ObjectProperty::init` field (#7220) (Boshen) diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 60758a019d625..70671634b46ba 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.36.0" +version = "0.37.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index 58ed53e7bd527..23d698e19b1e4 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.36.0" +version = "0.37.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 fd5ad2c142c32..2f575010d5ca9 100644 --- a/npm/oxc-parser/package.json +++ b/npm/oxc-parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.36.0", + "version": "0.37.0", "description": "Oxc Parser Node API", "keywords": [ "Parser" diff --git a/npm/oxc-transform/package.json b/npm/oxc-transform/package.json index b6e3faada0231..9edc895cff4a2 100644 --- a/npm/oxc-transform/package.json +++ b/npm/oxc-transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.36.0", + "version": "0.37.0", "description": "Oxc transform Node API", "keywords": [ "transform" diff --git a/npm/oxc-types/CHANGELOG.md b/npm/oxc-types/CHANGELOG.md index 613ca84f05167..52e5bc30718b6 100644 --- a/npm/oxc-types/CHANGELOG.md +++ b/npm/oxc-types/CHANGELOG.md @@ -4,6 +4,25 @@ 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.37.0] - 2024-11-21 + +- f059b0e ast: [**BREAKING**] Add missing `ChainExpression` from `TSNonNullExpression` (#7377) (Boshen) + +### Features + +- 897d3b1 ast: Serialize StringLiterals to ESTree without `raw` (#7263) (ottomated) + +### Bug Fixes + + +### Performance + +- c335f92 syntax: Reorder operator enum variants (#7351) (overlookmotel) + +### Refactor + +- de472ca ast: Move `StringLiteral` definition higher up (#7270) (overlookmotel) + ## [0.36.0] - 2024-11-09 - b11ed2c ast: [**BREAKING**] Remove useless `ObjectProperty::init` field (#7220) (Boshen) diff --git a/npm/oxc-types/package.json b/npm/oxc-types/package.json index 45c5cefd134ed..b69fc230c8595 100644 --- a/npm/oxc-types/package.json +++ b/npm/oxc-types/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/types", - "version": "0.36.0", + "version": "0.37.0", "description": "Types for Oxc AST nodes", "keywords": [ "AST", diff --git a/wasm/parser/package.json b/wasm/parser/package.json index c26d647f7dbdf..28d4fefe21da6 100644 --- a/wasm/parser/package.json +++ b/wasm/parser/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-parser/wasm", - "version": "0.36.0", + "version": "0.37.0", "description": "Wasm target for the oxc parser.", "keywords": [ "JavaScript",