diff --git a/Cargo.lock b/Cargo.lock index 542e7f5d36465..e637e0ac41891 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1391,7 +1391,7 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.26.0" +version = "0.27.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1428,7 +1428,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.26.0" +version = "0.27.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1438,7 +1438,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.26.0" +version = "0.27.0" dependencies = [ "bitflags 2.6.0", "num-bigint", @@ -1455,7 +1455,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.26.0" +version = "0.27.0" dependencies = [ "proc-macro2", "quote", @@ -1502,7 +1502,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.26.0" +version = "0.27.0" dependencies = [ "bitflags 2.6.0", "itertools", @@ -1513,7 +1513,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.26.0" +version = "0.27.0" dependencies = [ "base64", "bitflags 2.6.0", @@ -1560,7 +1560,7 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.26.0" +version = "0.27.0" dependencies = [ "miette", "owo-colors", @@ -1570,7 +1570,7 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.26.0" +version = "0.27.0" dependencies = [ "rayon", "serde", @@ -1578,7 +1578,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.26.0" +version = "0.27.0" dependencies = [ "insta", "oxc_allocator", @@ -1670,7 +1670,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.26.0" +version = "0.27.0" dependencies = [ "itertools", "oxc_ast", @@ -1681,7 +1681,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.26.0" +version = "0.27.0" dependencies = [ "insta", "num-bigint", @@ -1715,7 +1715,7 @@ dependencies = [ [[package]] name = "oxc_module_lexer" -version = "0.26.0" +version = "0.27.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1725,7 +1725,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.26.0" +version = "0.27.0" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -1799,7 +1799,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.26.0" +version = "0.27.0" dependencies = [ "oxc_allocator", "oxc_ast_macros", @@ -1833,7 +1833,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.26.0" +version = "0.27.0" dependencies = [ "assert-unchecked", "indexmap", @@ -1857,7 +1857,7 @@ dependencies = [ [[package]] name = "oxc_sourcemap" -version = "0.26.0" +version = "0.27.0" dependencies = [ "base64-simd", "cfg-if", @@ -1869,7 +1869,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.26.0" +version = "0.27.0" dependencies = [ "compact_str", "miette", @@ -1883,7 +1883,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.26.0" +version = "0.27.0" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -1926,7 +1926,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.26.0" +version = "0.27.0" dependencies = [ "napi", "napi-build", @@ -1945,7 +1945,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.26.0" +version = "0.27.0" dependencies = [ "dashmap 6.0.1", "indexmap", @@ -1967,7 +1967,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.26.0" +version = "0.27.0" dependencies = [ "compact_str", "memoffset", diff --git a/Cargo.toml b/Cargo.toml index 8c6780f8f89f8..f8546b372b485 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -75,27 +75,27 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.26.0", path = "crates/oxc" } -oxc_allocator = { version = "0.26.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.26.0", path = "crates/oxc_ast" } -oxc_codegen = { version = "0.26.0", path = "crates/oxc_codegen" } -oxc_diagnostics = { version = "0.26.0", path = "crates/oxc_diagnostics" } -oxc_index = { version = "0.26.0", path = "crates/oxc_index" } -oxc_minifier = { version = "0.26.0", path = "crates/oxc_minifier" } -oxc_mangler = { version = "0.26.0", path = "crates/oxc_mangler" } -oxc_parser = { version = "0.26.0", path = "crates/oxc_parser" } -oxc_semantic = { version = "0.26.0", path = "crates/oxc_semantic" } -oxc_span = { version = "0.26.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.26.0", path = "crates/oxc_syntax" } -oxc_transformer = { version = "0.26.0", path = "crates/oxc_transformer" } -oxc_sourcemap = { version = "0.26.0", path = "crates/oxc_sourcemap" } -oxc_ast_macros = { version = "0.26.0", path = "crates/oxc_ast_macros" } -oxc_traverse = { version = "0.26.0", path = "crates/oxc_traverse" } -oxc_module_lexer = { version = "0.26.0", path = "crates/oxc_module_lexer" } -oxc_cfg = { version = "0.26.0", path = "crates/oxc_cfg" } -oxc_isolated_declarations = { version = "0.26.0", path = "crates/oxc_isolated_declarations" } -oxc_regular_expression = { version = "0.26.0", path = "crates/oxc_regular_expression" } -oxc_transform_napi = { version = "0.26.0", path = "napi/transform" } +oxc = { version = "0.27.0", path = "crates/oxc" } +oxc_allocator = { version = "0.27.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.27.0", path = "crates/oxc_ast" } +oxc_codegen = { version = "0.27.0", path = "crates/oxc_codegen" } +oxc_diagnostics = { version = "0.27.0", path = "crates/oxc_diagnostics" } +oxc_index = { version = "0.27.0", path = "crates/oxc_index" } +oxc_minifier = { version = "0.27.0", path = "crates/oxc_minifier" } +oxc_mangler = { version = "0.27.0", path = "crates/oxc_mangler" } +oxc_parser = { version = "0.27.0", path = "crates/oxc_parser" } +oxc_semantic = { version = "0.27.0", path = "crates/oxc_semantic" } +oxc_span = { version = "0.27.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.27.0", path = "crates/oxc_syntax" } +oxc_transformer = { version = "0.27.0", path = "crates/oxc_transformer" } +oxc_sourcemap = { version = "0.27.0", path = "crates/oxc_sourcemap" } +oxc_ast_macros = { version = "0.27.0", path = "crates/oxc_ast_macros" } +oxc_traverse = { version = "0.27.0", path = "crates/oxc_traverse" } +oxc_module_lexer = { version = "0.27.0", path = "crates/oxc_module_lexer" } +oxc_cfg = { version = "0.27.0", path = "crates/oxc_cfg" } +oxc_isolated_declarations = { version = "0.27.0", path = "crates/oxc_isolated_declarations" } +oxc_regular_expression = { version = "0.27.0", path = "crates/oxc_regular_expression" } +oxc_transform_napi = { version = "0.27.0", path = "napi/transform" } # publish = false oxc_macros = { path = "crates/oxc_macros" } diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 64d8765f16115..2be5f3cd240c9 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.26.0" +version = "0.27.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index 678440a5494be..e3ad2ea4ff576 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.26.0" +version = "0.27.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 266dc654b6abd..967ed9b779992 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/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.27.0] - 2024-09-05 + +- cba93f5 ast: [**BREAKING**] Add `ThisExpression` variants to `JSXElementName` and `JSXMemberExpressionObject` (#5466) (overlookmotel) + +- 87c5df2 ast: [**BREAKING**] Rename `Expression::without_parentheses` (#5448) (overlookmotel) + +### Features + +- 90facd3 ast: Add `ContentHash` trait; remove noop `Hash` implementation from `Span` (#5451) (rzvxa) +- 23285f4 ast: Add `ContentEq` trait. (#5427) (rzvxa) +- 59abf27 ast, parser: Add `oxc_regular_expression` types to the parser and AST. (#5256) (rzvxa) +- 68a1c01 ast_tools: Add dedicated `Derive` trait. (#5278) (rzvxa) +- 62f7fff semantic: Check for non-declared, non-abstract object accessors without bodies (#5461) (DonIsaac) +- 5407143 semantic: Check for non-declared, non-abstract class accessors without bodies (#5460) (DonIsaac) + +### Bug Fixes + +- 0df1d9d ast, codegen, linter: Panics in fixers. (#5431) (rzvxa) + +### Refactor + +- a43e951 ast: Use loop instead of recursion (#5447) (overlookmotel) +- 2224cc4 ast: Renumber `JSXMemberExpressionObject` discriminants (#5464) (overlookmotel) +- a952c47 ast: Use loop not recursion (#5449) (overlookmotel) +- d9d7e7c ast: Remove `IdentifierName` from `TSThisParameter` (#5327) (overlookmotel) +- ccc8a27 ast, ast_tools: Use full method path for generated derives trait calls. (#5462) (rzvxa) +- fdb8857 linter: Use "parsed pattern" in `no_div_regex` rule. (#5417) (rzvxa) +- b47aca0 syntax: Use `generate_derive` for `CloneIn` in types outside of `oxc_ast` crate. (#5280) (rzvxa) + ## [0.26.0] - 2024-09-03 - 1aa49af ast: [**BREAKING**] Remove `JSXMemberExpressionObject::Identifier` variant (#5358) (Dunqing) diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index 32ee0eb2b00dc..f0318135f5668 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.26.0" +version = "0.27.0" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_macros/CHANGELOG.md b/crates/oxc_ast_macros/CHANGELOG.md index 2febe874bec6d..5524c4edea302 100644 --- a/crates/oxc_ast_macros/CHANGELOG.md +++ b/crates/oxc_ast_macros/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.27.0] - 2024-09-05 + +### Features + +- 90facd3 ast: Add `ContentHash` trait; remove noop `Hash` implementation from `Span` (#5451) (rzvxa) +- 23285f4 ast: Add `ContentEq` trait. (#5427) (rzvxa) + +### Refactor + +- 9f6e0ed ast: Simplify `ContentEq` trait definition. (#5468) (rzvxa) +- b47aca0 syntax: Use `generate_derive` for `CloneIn` in types outside of `oxc_ast` crate. (#5280) (rzvxa) + ## [0.24.3] - 2024-08-18 ### Documentation diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index 3d03519367016..d4bbda6db4613 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.26.0" +version = "0.27.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_cfg/Cargo.toml b/crates/oxc_cfg/Cargo.toml index 13b6e6baf5175..8a1feabd857fe 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.26.0" +version = "0.27.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_codegen/CHANGELOG.md b/crates/oxc_codegen/CHANGELOG.md index 6ed759bbd72d9..de7b9725f76ba 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/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.27.0] - 2024-09-05 + +- cba93f5 ast: [**BREAKING**] Add `ThisExpression` variants to `JSXElementName` and `JSXMemberExpressionObject` (#5466) (overlookmotel) + +- 87c5df2 ast: [**BREAKING**] Rename `Expression::without_parentheses` (#5448) (overlookmotel) + +### Features + +- 59abf27 ast, parser: Add `oxc_regular_expression` types to the parser and AST. (#5256) (rzvxa) +- c782916 codegen: Print `type_parameters` in `TaggedTemplateExpression` (#5438) (Dunqing) + +### Bug Fixes + +- 0df1d9d ast, codegen, linter: Panics in fixers. (#5431) (rzvxa) + +### Refactor + +- d9d7e7c ast: Remove `IdentifierName` from `TSThisParameter` (#5327) (overlookmotel) + ## [0.26.0] - 2024-09-03 - 1aa49af ast: [**BREAKING**] Remove `JSXMemberExpressionObject::Identifier` variant (#5358) (Dunqing) diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index 9e618271efce9..d1560ce1f0b84 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.26.0" +version = "0.27.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index bb5463c4a157f..c536dcee2684f 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.26.0" +version = "0.27.0" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_index/CHANGELOG.md b/crates/oxc_index/CHANGELOG.md index 426258bf098fc..1618ee2d20599 100644 --- a/crates/oxc_index/CHANGELOG.md +++ b/crates/oxc_index/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.27.0] - 2024-09-05 + +### Features + +- 4cb63fe index: Impl rayon related to trait for IndexVec (#5421) (IWANABETHATGUY) + +### Documentation +- 00511fd Use `oxc_index` instead of `index_vec` in doc comments (#5423) (IWANABETHATGUY) + ## [0.24.3] - 2024-08-18 ### Refactor diff --git a/crates/oxc_index/Cargo.toml b/crates/oxc_index/Cargo.toml index f726a86cba454..e0056563363eb 100644 --- a/crates/oxc_index/Cargo.toml +++ b/crates/oxc_index/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_index" -version = "0.26.0" +version = "0.27.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index e4387407141f8..d3fa88beaa6f3 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.26.0" +version = "0.27.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index 39071acfa0846..57b4ced6d90b9 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.26.0" +version = "0.27.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_minifier/CHANGELOG.md b/crates/oxc_minifier/CHANGELOG.md index eeddc4b661793..86c727d5f70ac 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.27.0] - 2024-09-05 + +### Features + +- ba4b68c minifier: Remove parenthesized expression for dce (#5439) (Boshen) + ## [0.25.0] - 2024-08-23 - 78f135d ast: [**BREAKING**] Remove `ReferenceFlag` from `IdentifierReference` (#5077) (Boshen) diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index 2519fd05d78a5..a6ddbb7b502ea 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.26.0" +version = "0.27.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 6526e237718fe..2fd100f5bdfa6 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.26.0" +version = "0.27.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_parser/CHANGELOG.md b/crates/oxc_parser/CHANGELOG.md index f725d7b940e55..14d910da10d56 100644 --- a/crates/oxc_parser/CHANGELOG.md +++ b/crates/oxc_parser/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.27.0] - 2024-09-05 + +- cba93f5 ast: [**BREAKING**] Add `ThisExpression` variants to `JSXElementName` and `JSXMemberExpressionObject` (#5466) (overlookmotel) + +### Features + +- 59abf27 ast, parser: Add `oxc_regular_expression` types to the parser and AST. (#5256) (rzvxa) +- 10279f5 parser: Add syntax error for hyphen in `JSXMemberExpression` `` (#5440) (Boshen) + +### Refactor + +- d9d7e7c ast: Remove `IdentifierName` from `TSThisParameter` (#5327) (overlookmotel) + ## [0.26.0] - 2024-09-03 - 1aa49af ast: [**BREAKING**] Remove `JSXMemberExpressionObject::Identifier` variant (#5358) (Dunqing) diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index 898a0b9b0ec01..9e0d80164c1c0 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.26.0" +version = "0.27.0" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_regular_expression/CHANGELOG.md b/crates/oxc_regular_expression/CHANGELOG.md index 2d205ff74d95e..e6b335fa2e7b9 100644 --- a/crates/oxc_regular_expression/CHANGELOG.md +++ b/crates/oxc_regular_expression/CHANGELOG.md @@ -4,6 +4,23 @@ 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.27.0] - 2024-09-05 + +### Features + +- 90facd3 ast: Add `ContentHash` trait; remove noop `Hash` implementation from `Span` (#5451) (rzvxa) +- 23285f4 ast: Add `ContentEq` trait. (#5427) (rzvxa) +- 59abf27 ast, parser: Add `oxc_regular_expression` types to the parser and AST. (#5256) (rzvxa) + +### Bug Fixes + +- 9b984b3 regex: Panic on displaying surrogated `UnicodeEscape` characters. (#5469) (rzvxa) + +### Refactor + +- ccc8a27 ast, ast_tools: Use full method path for generated derives trait calls. (#5462) (rzvxa) +- e7bd49d regular_expression: Correct typo (#5429) (overlookmotel) + ## [0.26.0] - 2024-09-03 ### Features diff --git a/crates/oxc_regular_expression/Cargo.toml b/crates/oxc_regular_expression/Cargo.toml index 3135408fd64b7..3c979ab601bb0 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.26.0" +version = "0.27.0" publish = true authors.workspace = true categories.workspace = true diff --git a/crates/oxc_semantic/CHANGELOG.md b/crates/oxc_semantic/CHANGELOG.md index e252090217639..be01f87c8dfdb 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/CHANGELOG.md @@ -4,6 +4,23 @@ 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.27.0] - 2024-09-05 + +### Features + +- 0f50b1e semantic: Check for initializers in ambient `VariableDeclaration`s (#5463) (DonIsaac) +- 62f7fff semantic: Check for non-declared, non-abstract object accessors without bodies (#5461) (DonIsaac) +- 5407143 semantic: Check for non-declared, non-abstract class accessors without bodies (#5460) (DonIsaac) +- 052e94c semantic: Check for parameter properties in constructor overloads (#5459) (DonIsaac) + +### Bug Fixes + +- d8b9909 semantic: `IdentifierReference` within `TSPropertySignature` cannot reference type-only import binding (#5441) (Dunqing) + +### Refactor + +- e4ed41d semantic: Change the reference flag to `ReferenceFlags::Type` if it is used within a `TSTypeQuery` (#5444) (Dunqing) + ## [0.26.0] - 2024-09-03 - 01cc2ce semantic: [**BREAKING**] Add `ScopeTree:get_child_ids` API behind a runtime flag (#5403) (Boshen) diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index 267c452404c68..67486f82dec79 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.26.0" +version = "0.27.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 727858ed889c3..0bebe7b4d5c52 100644 --- a/crates/oxc_sourcemap/Cargo.toml +++ b/crates/oxc_sourcemap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_sourcemap" -version = "0.26.0" +version = "0.27.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 c168ac3abe28a..cb28217e126ca 100644 --- a/crates/oxc_span/CHANGELOG.md +++ b/crates/oxc_span/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.27.0] - 2024-09-05 + +### Features + +- 90facd3 ast: Add `ContentHash` trait; remove noop `Hash` implementation from `Span` (#5451) (rzvxa) +- 23285f4 ast: Add `ContentEq` trait. (#5427) (rzvxa) + +### Refactor + +- 9f6e0ed ast: Simplify `ContentEq` trait definition. (#5468) (rzvxa) + ## [0.26.0] - 2024-09-03 ### Features diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index 2c0491b5cc438..27a77cbec7719 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.26.0" +version = "0.27.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_syntax/CHANGELOG.md b/crates/oxc_syntax/CHANGELOG.md index f96dcb57a224f..3370c993fc36f 100644 --- a/crates/oxc_syntax/CHANGELOG.md +++ b/crates/oxc_syntax/CHANGELOG.md @@ -4,6 +4,24 @@ 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.27.0] - 2024-09-05 + +### Features + +- 90facd3 ast: Add `ContentHash` trait; remove noop `Hash` implementation from `Span` (#5451) (rzvxa) +- 23285f4 ast: Add `ContentEq` trait. (#5427) (rzvxa) + +### Performance + +- bfabd8f syntax: Further optimize `is_identifier_name` (#5426) (overlookmotel) +- aeda84f syntax: Optimize `is_identifier_name` (#5425) (overlookmotel) + +### Refactor + +- ccc8a27 ast, ast_tools: Use full method path for generated derives trait calls. (#5462) (rzvxa) +- e4ed41d semantic: Change the reference flag to `ReferenceFlags::Type` if it is used within a `TSTypeQuery` (#5444) (Dunqing) +- b47aca0 syntax: Use `generate_derive` for `CloneIn` in types outside of `oxc_ast` crate. (#5280) (rzvxa) + ## [0.25.0] - 2024-08-23 - d262a58 syntax: [**BREAKING**] Rename `ReferenceFlag` to `ReferenceFlags` (#5023) (overlookmotel) diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index 43cd410683349..60ca7bd61824d 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.26.0" +version = "0.27.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_transformer/CHANGELOG.md b/crates/oxc_transformer/CHANGELOG.md index 6156b9f063997..3fd1b63a5469a 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/CHANGELOG.md @@ -4,6 +4,22 @@ 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.27.0] - 2024-09-05 + +- cba93f5 ast: [**BREAKING**] Add `ThisExpression` variants to `JSXElementName` and `JSXMemberExpressionObject` (#5466) (overlookmotel) + +### Features + + +### Bug Fixes + +- cfe5497 transformer: Do not create double reference in JSX transform (#5414) (overlookmotel) +- 0617249 transformer/nullish-coalescing-operator: Incorrect reference flags (#5408) (Dunqing) + +### Refactor + +- c984219 transformer/typescript: Move all entry points to implementation of Traverse trait (#5422) (Dunqing) + ## [0.26.0] - 2024-09-03 - 1aa49af ast: [**BREAKING**] Remove `JSXMemberExpressionObject::Identifier` variant (#5358) (Dunqing) diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index d3d9d4442165b..d6a4771cd4c87 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.26.0" +version = "0.27.0" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_traverse/CHANGELOG.md b/crates/oxc_traverse/CHANGELOG.md index 977c6597417b9..8eb19cccf2c04 100644 --- a/crates/oxc_traverse/CHANGELOG.md +++ b/crates/oxc_traverse/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.27.0] - 2024-09-05 + +- cba93f5 ast: [**BREAKING**] Add `ThisExpression` variants to `JSXElementName` and `JSXMemberExpressionObject` (#5466) (overlookmotel) + +### Features + + +### Bug Fixes + +- 0eb32a6 traverse: Invalid variable name generated by `generate_uid_based_on_node` (#5407) (Dunqing) + +### Refactor + +- d9d7e7c ast: Remove `IdentifierName` from `TSThisParameter` (#5327) (overlookmotel) + ## [0.26.0] - 2024-09-03 - 1aa49af ast: [**BREAKING**] Remove `JSXMemberExpressionObject::Identifier` variant (#5358) (Dunqing) diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 9e1fef6472c91..22239019991e2 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.26.0" +version = "0.27.0" publish = true authors.workspace = true description.workspace = true diff --git a/napi/transform/CHANGELOG.md b/napi/transform/CHANGELOG.md index ce079b6c7ae1e..9ec23ec293989 100644 --- a/napi/transform/CHANGELOG.md +++ b/napi/transform/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.27.0] - 2024-09-05 + +### Bug Fixes + +- ea7a52f napi/transform: Fix test (Boshen) + ## [0.26.0] - 2024-09-03 - b1d0075 napi/transform: [**BREAKING**] Align output API `sourceText` -> `code` with babel (#5398) (Boshen) diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index accea59cff942..e7212963e622a 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.26.0" +version = "0.27.0" publish = true authors.workspace = true description.workspace = true diff --git a/npm/oxc-parser/package.json b/npm/oxc-parser/package.json index 56b77ef75e943..c55343cf164c9 100644 --- a/npm/oxc-parser/package.json +++ b/npm/oxc-parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.26.0", + "version": "0.27.0", "description": "Oxc Parser Node API", "keywords": [ "Parser" diff --git a/npm/oxc-transform/package.json b/npm/oxc-transform/package.json index d67c4a59137c1..61c321e6dfc56 100644 --- a/npm/oxc-transform/package.json +++ b/npm/oxc-transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.26.0", + "version": "0.27.0", "description": "Oxc transform Node API", "keywords": [ "transform" diff --git a/wasm/parser/package.json b/wasm/parser/package.json index 7144830feae15..d49ecdae7372e 100644 --- a/wasm/parser/package.json +++ b/wasm/parser/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-parser/wasm", - "version": "0.26.0", + "version": "0.27.0", "description": "Wasm target for the oxc parser.", "packageManager": "pnpm@9.9.0", "keywords": [