diff --git a/Cargo.lock b/Cargo.lock index 7059088338f84..ea25dcb4d1474 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1366,7 +1366,7 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.24.3" +version = "0.25.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1403,7 +1403,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.24.3" +version = "0.25.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1413,7 +1413,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.24.3" +version = "0.25.0" dependencies = [ "bitflags 2.6.0", "num-bigint", @@ -1429,7 +1429,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.24.3" +version = "0.25.0" dependencies = [ "proc-macro2", "quote", @@ -1476,7 +1476,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.24.3" +version = "0.25.0" dependencies = [ "bitflags 2.6.0", "itertools", @@ -1487,7 +1487,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.24.3" +version = "0.25.0" dependencies = [ "base64", "bitflags 2.6.0", @@ -1534,7 +1534,7 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.24.3" +version = "0.25.0" dependencies = [ "miette", "owo-colors", @@ -1544,14 +1544,14 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.24.3" +version = "0.25.0" dependencies = [ "serde", ] [[package]] name = "oxc_isolated_declarations" -version = "0.24.3" +version = "0.25.0" dependencies = [ "insta", "oxc_allocator", @@ -1640,7 +1640,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.24.3" +version = "0.25.0" dependencies = [ "itertools", "oxc_ast", @@ -1651,7 +1651,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.24.3" +version = "0.25.0" dependencies = [ "insta", "num-bigint", @@ -1685,7 +1685,7 @@ dependencies = [ [[package]] name = "oxc_module_lexer" -version = "0.24.3" +version = "0.25.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1695,7 +1695,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.24.3" +version = "0.25.0" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -1802,7 +1802,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.24.3" +version = "0.25.0" dependencies = [ "assert-unchecked", "indexmap", @@ -1826,7 +1826,7 @@ dependencies = [ [[package]] name = "oxc_sourcemap" -version = "0.24.3" +version = "0.25.0" dependencies = [ "base64-simd", "cfg-if", @@ -1838,7 +1838,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.24.3" +version = "0.25.0" dependencies = [ "compact_str", "miette", @@ -1852,7 +1852,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.24.3" +version = "0.25.0" dependencies = [ "bitflags 2.6.0", "dashmap 6.0.1", @@ -1894,7 +1894,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.24.3" +version = "0.25.0" dependencies = [ "napi", "napi-build", @@ -1913,7 +1913,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.24.3" +version = "0.25.0" dependencies = [ "dashmap 6.0.1", "indexmap", @@ -1935,7 +1935,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.24.3" +version = "0.25.0" dependencies = [ "compact_str", "memoffset", diff --git a/Cargo.toml b/Cargo.toml index 44e9bab76f16f..f5063343814b3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -75,27 +75,27 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.24.3", path = "crates/oxc" } -oxc_allocator = { version = "0.24.3", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.24.3", path = "crates/oxc_ast" } -oxc_codegen = { version = "0.24.3", path = "crates/oxc_codegen" } -oxc_diagnostics = { version = "0.24.3", path = "crates/oxc_diagnostics" } -oxc_index = { version = "0.24.3", path = "crates/oxc_index" } -oxc_minifier = { version = "0.24.3", path = "crates/oxc_minifier" } -oxc_mangler = { version = "0.24.3", path = "crates/oxc_mangler" } -oxc_parser = { version = "0.24.3", path = "crates/oxc_parser" } -oxc_semantic = { version = "0.24.3", path = "crates/oxc_semantic" } -oxc_span = { version = "0.24.3", path = "crates/oxc_span" } -oxc_syntax = { version = "0.24.3", path = "crates/oxc_syntax" } -oxc_transformer = { version = "0.24.3", path = "crates/oxc_transformer" } -oxc_sourcemap = { version = "0.24.3", path = "crates/oxc_sourcemap" } -oxc_ast_macros = { version = "0.24.3", path = "crates/oxc_ast_macros" } -oxc_traverse = { version = "0.24.3", path = "crates/oxc_traverse" } -oxc_module_lexer = { version = "0.24.3", path = "crates/oxc_module_lexer" } -oxc_cfg = { version = "0.24.3", path = "crates/oxc_cfg" } -oxc_isolated_declarations = { version = "0.24.3", path = "crates/oxc_isolated_declarations" } +oxc = { version = "0.25.0", path = "crates/oxc" } +oxc_allocator = { version = "0.25.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.25.0", path = "crates/oxc_ast" } +oxc_codegen = { version = "0.25.0", path = "crates/oxc_codegen" } +oxc_diagnostics = { version = "0.25.0", path = "crates/oxc_diagnostics" } +oxc_index = { version = "0.25.0", path = "crates/oxc_index" } +oxc_minifier = { version = "0.25.0", path = "crates/oxc_minifier" } +oxc_mangler = { version = "0.25.0", path = "crates/oxc_mangler" } +oxc_parser = { version = "0.25.0", path = "crates/oxc_parser" } +oxc_semantic = { version = "0.25.0", path = "crates/oxc_semantic" } +oxc_span = { version = "0.25.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.25.0", path = "crates/oxc_syntax" } +oxc_transformer = { version = "0.25.0", path = "crates/oxc_transformer" } +oxc_sourcemap = { version = "0.25.0", path = "crates/oxc_sourcemap" } +oxc_ast_macros = { version = "0.25.0", path = "crates/oxc_ast_macros" } +oxc_traverse = { version = "0.25.0", path = "crates/oxc_traverse" } +oxc_module_lexer = { version = "0.25.0", path = "crates/oxc_module_lexer" } +oxc_cfg = { version = "0.25.0", path = "crates/oxc_cfg" } +oxc_isolated_declarations = { version = "0.25.0", path = "crates/oxc_isolated_declarations" } oxc_regular_expression = { version = "0.24.3", path = "crates/oxc_regular_expression" } -oxc_transform_napi = { version = "0.24.3", path = "napi/transform" } +oxc_transform_napi = { version = "0.25.0", path = "napi/transform" } # publish = false oxc_macros = { path = "crates/oxc_macros" } diff --git a/crates/oxc/CHANGELOG.md b/crates/oxc/CHANGELOG.md index 1314fd964d201..06849959c15e4 100644 --- a/crates/oxc/CHANGELOG.md +++ b/crates/oxc/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.25.0] - 2024-08-23 + +- ce4d469 codegen: [**BREAKING**] Remove const generic `MINIFY` (#5001) (Boshen) + +### Features + +- 6800e69 oxc: Add `Compiler` and `CompilerInterface` (#4954) (Boshen) + +### Refactor + +- cd9cf5e oxc: Remove `remove_whitespace` (Boshen) +- b4407c4 oxc,mangler: `oxc` crate add mangler; mangler use options API (Boshen) +- 4fdf26d transform_conformance: Add driver (#4969) (Boshen) + ## [0.21.0] - 2024-07-18 ### Features diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 5ccdd2fe47aa5..a82a29a45baad 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.24.3" +version = "0.25.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_allocator/CHANGELOG.md b/crates/oxc_allocator/CHANGELOG.md index 191cc189a382a..43c16d48ae428 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.25.0] - 2024-08-23 + +### Refactor + +- a4247e9 allocator: Move `Box` and `Vec` into separate files (#5034) (overlookmotel) + ## [0.24.3] - 2024-08-18 ### Refactor diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index d8c190555471a..7a7fea51fe71a 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.24.3" +version = "0.25.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 6be47b5c7fae0..d6ad8ec9e5bfa 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/CHANGELOG.md @@ -4,6 +4,32 @@ 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.25.0] - 2024-08-23 + +- 78f135d ast: [**BREAKING**] Remove `ReferenceFlag` from `IdentifierReference` (#5077) (Boshen) + +- c4c08a7 ast: [**BREAKING**] Rename `IdentifierReference::reference_flags` field (#5024) (overlookmotel) + +- d262a58 syntax: [**BREAKING**] Rename `ReferenceFlag` to `ReferenceFlags` (#5023) (overlookmotel) + +- f88970b ast: [**BREAKING**] Change order of fields in CallExpression (#4859) (Burlin) + +### Features + +- 714373d ast: `inherit_variants!` macro add `into_*` methods (#5005) (overlookmotel) + +### Bug Fixes + +- 7f3129e ast: Correct code comment (#5004) (overlookmotel) +- 1365feb transformer: Remove an `AstBuilder::copy` call for TS `AssignmentTarget` transform (#4984) (overlookmotel)- b7db235 Comments gen regression (#5003) (IWANABETHATGUY) + +### Refactor + +- cca7440 ast: Replace `AstBuilder::move_statement_vec` with `move_vec` (#4988) (overlookmotel) +- 4012260 ast: `AstBuilder::move_identifier_reference` do not allocate empty string (#4977) (overlookmotel) +- 96422b6 ast: Make AstBuilder non-exhaustive (#4925) (DonIsaac) +- 4796ece transformer: TS annotations transform use `move_expression` (#4982) (overlookmotel) + ## [0.24.3] - 2024-08-18 ### Features diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index a7a0d4aa9d14e..e492f1e7cc3e5 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.24.3" +version = "0.25.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 1b2818d9c2a0e..feb1820240607 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.3" +version = "0.25.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_cfg/Cargo.toml b/crates/oxc_cfg/Cargo.toml index 762b47ff68bc1..affb511a3684d 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.24.3" +version = "0.25.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_codegen/CHANGELOG.md b/crates/oxc_codegen/CHANGELOG.md index 420bd745d339c..b539b9549214f 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/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.25.0] - 2024-08-23 + +- ce4d469 codegen: [**BREAKING**] Remove const generic `MINIFY` (#5001) (Boshen) + +### Features + + +### Bug Fixes +- b7db235 Comments gen regression (#5003) (IWANABETHATGUY) + +### Refactor + +- cd9cf5e oxc: Remove `remove_whitespace` (Boshen) + ## [0.24.3] - 2024-08-18 ### Features diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index a250dfb67ee1f..a0db1013de248 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.24.3" +version = "0.25.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index 874f40e952e4d..c9a0547aa9276 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.24.3" +version = "0.25.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 ba5f9b11752e3..8b17cbc212a43 100644 --- a/crates/oxc_index/Cargo.toml +++ b/crates/oxc_index/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_index" -version = "0.24.3" +version = "0.25.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 0a89295119e9a..028d0b75507ed 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.25.0] - 2024-08-23 + +### Bug Fixes + +- 185eb20 isolated_declarations: Namespaces that are default exported should be considered for expando functions (#4935) (michaelm) + ## [0.24.3] - 2024-08-18 ### Bug Fixes diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index 8f3ed202123c2..969fc098521f8 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.3" +version = "0.25.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_mangler/CHANGELOG.md b/crates/oxc_mangler/CHANGELOG.md index 6a6cf8d7fca0d..7036ac3d40358 100644 --- a/crates/oxc_mangler/CHANGELOG.md +++ b/crates/oxc_mangler/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.25.0] - 2024-08-23 + +- 5f4c9ab semantic: [**BREAKING**] Rename `SymbolTable::get_flag` to `get_flags` (#5030) (overlookmotel) + +### Refactor + +- ca70cc7 linter, mangler, parser, semantic, transformer, traverse, wasm: Rename various `flag` vars to `flags` (#5028) (overlookmotel) +- b4407c4 oxc,mangler: `oxc` crate add mangler; mangler use options API (Boshen) + ## [0.22.1] - 2024-07-27 ### Performance diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index b2f734efa1a27..7eed2fe4c61dc 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.24.3" +version = "0.25.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_minifier/CHANGELOG.md b/crates/oxc_minifier/CHANGELOG.md index fc368152f9eb4..eeddc4b661793 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/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.25.0] - 2024-08-23 + +- 78f135d ast: [**BREAKING**] Remove `ReferenceFlag` from `IdentifierReference` (#5077) (Boshen) + +- c4c08a7 ast: [**BREAKING**] Rename `IdentifierReference::reference_flags` field (#5024) (overlookmotel) + +- d262a58 syntax: [**BREAKING**] Rename `ReferenceFlag` to `ReferenceFlags` (#5023) (overlookmotel) + +- ce4d469 codegen: [**BREAKING**] Remove const generic `MINIFY` (#5001) (Boshen) + +### Features + +- 2b21be3 oxc_minifier: Define plugin with postfix wildcard (#4979) (IWANABETHATGUY) + +### Refactor + +- 0f64d10 minifier: Remove duplicated helper `move_out_expression` (#5007) (IWANABETHATGUY) +- b4407c4 oxc,mangler: `oxc` crate add mangler; mangler use options API (Boshen) + ## [0.24.3] - 2024-08-18 ### Bug Fixes diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index e62cd08d61424..255b845027720 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.24.3" +version = "0.25.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 9a8cba5558524..1a652f1a355bf 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.3" +version = "0.25.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_parser/CHANGELOG.md b/crates/oxc_parser/CHANGELOG.md index eeca7c0bf6b42..a6084e49b866a 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.25.0] - 2024-08-23 + +- b2ff2df parser: [**BREAKING**] Remove builder pattern from `Parser` struct (#5000) (Boshen) + +- f88970b ast: [**BREAKING**] Change order of fields in CallExpression (#4859) (Burlin) + +### Features + +- 6800e69 oxc: Add `Compiler` and `CompilerInterface` (#4954) (Boshen) +- afe728a parser: Parse regular expression with regex parser (#4998) (Boshen) + +### Bug Fixes + +- efbdced parser: Only show flow error if it's a flow file (#5069) (Boshen) + +### Refactor + +- ca70cc7 linter, mangler, parser, semantic, transformer, traverse, wasm: Rename various `flag` vars to `flags` (#5028) (overlookmotel) + ## [0.24.3] - 2024-08-18 ### Bug Fixes diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index 8bedc4e93fc98..3a420e23f090f 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.24.3" +version = "0.25.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 a0dbbfc755125..a3ac130f261e7 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/CHANGELOG.md @@ -4,6 +4,71 @@ 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.25.0] - 2024-08-23 + +- f2b8d82 semantic: [**BREAKING**] `ScopeTree::get_child_ids` + `get_child_ids_mut` return value not `Option` (#5058) (overlookmotel) + +- 5f4c9ab semantic: [**BREAKING**] Rename `SymbolTable::get_flag` to `get_flags` (#5030) (overlookmotel) + +- 58bf215 semantic: [**BREAKING**] Rename `Reference::flag` and `flag_mut` methods to plural (#5025) (overlookmotel) + +- d262a58 syntax: [**BREAKING**] Rename `ReferenceFlag` to `ReferenceFlags` (#5023) (overlookmotel) + +- c30e2e9 semantic: [**BREAKING**] `Reference::flag` method return `ReferenceFlag` (#5019) (overlookmotel) + +- f88970b ast: [**BREAKING**] Change order of fields in CallExpression (#4859) (Burlin) + +### Bug Fixes + +- 1bd9365 coverage: Correctly check semantic data after transform (#5035) (Boshen) +- ad2be97 semantic: Incorrect semantic check for label has same name (#5041) (heygsc) +- d5de97d semantic: Transform checker check reference flags (#5092) (overlookmotel) +- 90c74ee semantic: Transform checker check reference symbol IDs (#5090) (overlookmotel) +- a8005b9 semantic: Transform checker check symbol redeclarations (#5089) (overlookmotel) +- 205bff7 semantic: Transform checker check symbol references (#5088) (overlookmotel) +- 4a57086 semantic: Transform checker check symbol IDs (#5078) (overlookmotel) +- ea7d216 semantic: Transform checker check symbol spans (#5076) (overlookmotel) +- 1b6b27a semantic: Transform checker check symbol flags (#5074) (overlookmotel) +- 6d87b0f semantic: Fix error message for duplicated label (#5071) (Boshen) +- 05fff16 semantic: Transform checker compare binding symbol IDs (#5057) (overlookmotel) +- f187b71 semantic: Transform checker compare scope children (#5056) (overlookmotel) +- b52c6a4 semantic: Transform checker compare scope parents (#5055) (overlookmotel) +- da64014 semantic: Transform checker catch more scope flags mismatches (#5054) (overlookmotel) +- 67d1a96 semantic: Transform checker compare scope flags (#5052) (overlookmotel) +- 863b9cb semantic: Transform checker handle conditional scopes (#5040) (overlookmotel) +- 47029c4 semantic: Transform checker output symbol names in errors (#5038) (overlookmotel) + +### Refactor + +- ca70cc7 linter, mangler, parser, semantic, transformer, traverse, wasm: Rename various `flag` vars to `flags` (#5028) (overlookmotel) +- 9da6a21 semantic: Rename transform checker output for reference symbol mismatches (#5091) (overlookmotel) +- fb46eaf semantic: Add remap functions to transform checker (#5082) (overlookmotel) +- a00bf18 semantic: Add `IdMapping` to transform checker (#5079) (overlookmotel) +- b14a302 semantic: Transform checker: change symbol name mismatch error (#5075) (overlookmotel) +- b8c6ce5 semantic: Rename vars in transform checker (#5072) (overlookmotel) +- 7156fd2 semantic: Transform checker `Pair` structure (#5053) (overlookmotel) +- 0ba6f50 semantic: Simplify raising errors in transform checker (#5051) (overlookmotel) +- ee7ac8b semantic: Store all data in `PostTransformChecker` in transform checker (#5050) (overlookmotel) +- 4e1f4ab semantic: Add `SemanticIds` to transformer checker (#5048) (overlookmotel) +- c1da574 semantic: Add comments to transformer checker (#5045) (overlookmotel) +- 8cded08 semantic: Rename error labels in transformer checker snapshots (#5044) (overlookmotel) +- 602244f semantic: Rename vars in transformer checker (#5043) (overlookmotel) +- ae94b9a semantic: Remove unused function params in transformer checker (#5042) (overlookmotel) +- 586e15c semantic: Reformat transform checker errors (#5039) (overlookmotel) +- d69e34e semantic: Fix indentation (#5037) (overlookmotel) +- 4336a32 semantic: Rename fields in snapshots from `flag` to `flags` (#5032) (overlookmotel) +- 83dfb14 semantic: Rename vars from `flag` to `flags` (#5031) (overlookmotel) +- 3b7de18 semantic: Rename `SemanticBuilder::current_reference_flags` field (#5027) (overlookmotel) +- 0bacdd8 semantic: Rename `Reference::flag` field to `flags` (#5026) (overlookmotel) +- 896b92f semantic: Correct typo in doc comment (#5009) (overlookmotel) +- d677b8e semantic: Do not reserve space in `resolved_references` (#4962) (overlookmotel) +- a7ef30d semantic: `UnresolvedReferencesStack` contain only `ReferenceId` (#4960) (overlookmotel) +- 59d15c7 semantic: `root_unresolved_references` contain only `ReferenceId` (#4959) (overlookmotel) + +### Testing + +- 0df1a94 semantic: Add more symbol and reference checks to `PostTransformChecker` (Boshen) + ## [0.24.3] - 2024-08-18 ### Features diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index bef0e7cf31dcf..2b6c81c1524b2 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.24.3" +version = "0.25.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 0bdbdc8e4e1b2..51b1c5d2ab063 100644 --- a/crates/oxc_sourcemap/Cargo.toml +++ b/crates/oxc_sourcemap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_sourcemap" -version = "0.24.3" +version = "0.25.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 feb63e11a9197..469eb73085bb9 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.25.0] - 2024-08-23 + +### Refactor + +- 7706523 span: Clarify `Atom` conversion methods lifetimes (#4978) (overlookmotel) + ## [0.24.3] - 2024-08-18 ### Refactor diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index 0ee8df21e433d..5a5b56a6972cd 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.24.3" +version = "0.25.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_syntax/CHANGELOG.md b/crates/oxc_syntax/CHANGELOG.md index f16372da196be..f96dcb57a224f 100644 --- a/crates/oxc_syntax/CHANGELOG.md +++ b/crates/oxc_syntax/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.25.0] - 2024-08-23 + +- d262a58 syntax: [**BREAKING**] Rename `ReferenceFlag` to `ReferenceFlags` (#5023) (overlookmotel) + +### Refactor + + ## [0.24.3] - 2024-08-18 ### Features diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index 264473e63a527..17c295f0fc53a 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.24.3" +version = "0.25.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_transformer/CHANGELOG.md b/crates/oxc_transformer/CHANGELOG.md index f75c6994e10b6..4d69021d7c5df 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/CHANGELOG.md @@ -4,6 +4,60 @@ 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.25.0] - 2024-08-23 + +- 78f135d ast: [**BREAKING**] Remove `ReferenceFlag` from `IdentifierReference` (#5077) (Boshen) + +- 5f4c9ab semantic: [**BREAKING**] Rename `SymbolTable::get_flag` to `get_flags` (#5030) (overlookmotel) + +- 58bf215 semantic: [**BREAKING**] Rename `Reference::flag` and `flag_mut` methods to plural (#5025) (overlookmotel) + +- c4c08a7 ast: [**BREAKING**] Rename `IdentifierReference::reference_flags` field (#5024) (overlookmotel) + +- d262a58 syntax: [**BREAKING**] Rename `ReferenceFlag` to `ReferenceFlags` (#5023) (overlookmotel) + +- c30e2e9 semantic: [**BREAKING**] `Reference::flag` method return `ReferenceFlag` (#5019) (overlookmotel) + +- f88970b ast: [**BREAKING**] Change order of fields in CallExpression (#4859) (Burlin) + +### Features + +- 4b49cf8 transformer: Always pass in symbols and scopes (#5087) (Boshen) +- f51d3f9 transformer/nullish-coalescing-operator: Handles nullish coalescing expression in the FormalParamter (#4975) (Dunqing) +- f794870 transformer/nullish-coalescing-operator: Generate the correct binding name (#4974) (Dunqing) +- 72ff2c6 transformer/nullish-coalescing-operator: Add comments in top of file (#4972) (Dunqing) + +### Bug Fixes + +- 6ffbd78 transformer: Remove an `AstBuilder::copy` call from TS namespace transform (#4987) (overlookmotel) +- a8dfdda transformer: Remove an `AstBuilder::copy` call from TS module transform (#4986) (overlookmotel) +- 1467eb3 transformer: Remove an `AstBuilder::copy` call from TS enum transform (#4985) (overlookmotel) +- 1365feb transformer: Remove an `AstBuilder::copy` call for TS `AssignmentTarget` transform (#4984) (overlookmotel) +- edacf93 transformer: Remove an `AstBuilder::copy` call (#4983) (overlookmotel) +- 3b35332 transformer/logical-assignment-operators: Fix semantic errors (#5047) (Dunqing) + +### Documentation + +- 178d1bd transformer: Add documentation for exponentiation-operator plugin (#5084) (Dunqing) +- d50eb72 transformer: Add documentation for `optional-catch-binding` plugin (#5064) (Dunqing) +- 4425b17 transformer: Add documentation for `logical-assignment-operators` plugin (#5012) (Dunqing) +- 1bd5853 transformer: Updated README re: order of methods (#4993) (overlookmotel) + +### Refactor + +- cca7440 ast: Replace `AstBuilder::move_statement_vec` with `move_vec` (#4988) (overlookmotel) +- 96422b6 ast: Make AstBuilder non-exhaustive (#4925) (DonIsaac) +- ca70cc7 linter, mangler, parser, semantic, transformer, traverse, wasm: Rename various `flag` vars to `flags` (#5028) (overlookmotel) +- 8d15e65 transformer: Use `into_member_expression` (#5006) (overlookmotel) +- 4796ece transformer: TS annotations transform use `move_expression` (#4982) (overlookmotel) +- a9fcf29 transformer/es2016: Move all entry points to implementation of Traverse trait (#5085) (Dunqing) +- deda6ac transformer/es2019: Move all entry points to implementation of Traverse trait (#5065) (Dunqing) +- 9df2f80 transformer/es2020: Move all entry points to implementation of Traverse trait (#4973) (Dunqing) +- 3f9433c transformer/es2021: Move all entry points to implementation of Traverse trait (#5013) (Dunqing) +- c60a50d transformer/exponentiation-operator: Use built-in `ctx.clone_identifier_reference` (#5086) (Dunqing) +- bcc8da9 transformer/logical-assignment-operator: Use `ctx.clone_identifier_reference` (#5014) (Dunqing) +- 38d4434 transformer/nullish-coalescing-operator: Move internal methods to bottom of the file (#4996) (Dunqing) + ## [0.24.3] - 2024-08-18 ### Features diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index e239717a50fe4..a8761c6b4ba0b 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.24.3" +version = "0.25.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_traverse/CHANGELOG.md b/crates/oxc_traverse/CHANGELOG.md index 77a37ef140529..3cbf2cdb82bff 100644 --- a/crates/oxc_traverse/CHANGELOG.md +++ b/crates/oxc_traverse/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.25.0] - 2024-08-23 + +- 78f135d ast: [**BREAKING**] Remove `ReferenceFlag` from `IdentifierReference` (#5077) (Boshen) + +- f2b8d82 semantic: [**BREAKING**] `ScopeTree::get_child_ids` + `get_child_ids_mut` return value not `Option` (#5058) (overlookmotel) + +- c4c08a7 ast: [**BREAKING**] Rename `IdentifierReference::reference_flags` field (#5024) (overlookmotel) + +- d262a58 syntax: [**BREAKING**] Rename `ReferenceFlag` to `ReferenceFlags` (#5023) (overlookmotel) + +- f88970b ast: [**BREAKING**] Change order of fields in CallExpression (#4859) (Burlin) + +### Features + +- 6b885fe traverse: Expose `generate_uid_based_on_node` and `generate_uid_in_current_scope_based_on_node` from `TraverseCtx` (#4965) (Dunqing) + +### Refactor + +- ca70cc7 linter, mangler, parser, semantic, transformer, traverse, wasm: Rename various `flag` vars to `flags` (#5028) (overlookmotel) +- 59d15c7 semantic: `root_unresolved_references` contain only `ReferenceId` (#4959) (overlookmotel) + ## [0.24.3] - 2024-08-18 ### Features diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index be15579f2af7c..75f3ed0f05233 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.24.3" +version = "0.25.0" publish = true authors.workspace = true description.workspace = true diff --git a/napi/transform/CHANGELOG.md b/napi/transform/CHANGELOG.md index 53c7938e1ec05..e3a7ec8573068 100644 --- a/napi/transform/CHANGELOG.md +++ b/napi/transform/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.25.0] - 2024-08-23 + +- ce4d469 codegen: [**BREAKING**] Remove const generic `MINIFY` (#5001) (Boshen) + +### Features + +- 4b49cf8 transformer: Always pass in symbols and scopes (#5087) (Boshen) + ## [0.24.1] - 2024-08-10 ### Bug Fixes diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index 921b3dfef54c2..d1fad820e36be 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.24.3" +version = "0.25.0" publish = true authors.workspace = true description.workspace = true diff --git a/npm/oxc-parser/CHANGELOG.md b/npm/oxc-parser/CHANGELOG.md index eff50aef25370..bd68ec8f340b5 100644 --- a/npm/oxc-parser/CHANGELOG.md +++ b/npm/oxc-parser/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.25.0] - 2024-08-23 + +### Bug Fixes + +- 2a5e15d npm: `libc` field should not be `null` (Boshen) + ## [0.7.0] - 2024-02-09 ### Features diff --git a/npm/oxc-parser/package.json b/npm/oxc-parser/package.json index 61c207a6a570a..15fbde62efa14 100644 --- a/npm/oxc-parser/package.json +++ b/npm/oxc-parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.24.3", + "version": "0.25.0", "description": "Oxc Parser Node API", "keywords": [ "Parser" diff --git a/npm/oxc-transform/CHANGELOG.md b/npm/oxc-transform/CHANGELOG.md index 6cfd17037ac02..5b45d24eb0e9b 100644 --- a/npm/oxc-transform/CHANGELOG.md +++ b/npm/oxc-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.25.0] - 2024-08-23 + +### Bug Fixes + +- 2a5e15d npm: `libc` field should not be `null` (Boshen) + ## [0.15.0] - 2024-06-18 ### Features diff --git a/npm/oxc-transform/package.json b/npm/oxc-transform/package.json index 2db8b6fdb9738..2bb8ee16955b6 100644 --- a/npm/oxc-transform/package.json +++ b/npm/oxc-transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.24.3", + "version": "0.25.0", "description": "Oxc transform Node API", "keywords": [ "transform" diff --git a/wasm/parser/package.json b/wasm/parser/package.json index ee4cd5a83e252..4d143c2fb2fac 100644 --- a/wasm/parser/package.json +++ b/wasm/parser/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-parser/wasm", - "version": "0.24.3", + "version": "0.25.0", "description": "Wasm target for the oxc parser.", "keywords": [ "JavaScript",