diff --git a/Cargo.lock b/Cargo.lock index 107bf68400611..3d87fbfbea202 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1458,7 +1458,7 @@ checksum = "1036865bb9422d3300cf723f657c2851d0e9ab12567854b1f4eba3d77decf564" [[package]] name = "oxc" -version = "0.69.0" +version = "0.70.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1519,7 +1519,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.69.0" +version = "0.70.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1534,7 +1534,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.69.0" +version = "0.70.0" dependencies = [ "bitflags 2.9.0", "cow-utils", @@ -1549,7 +1549,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.69.0" +version = "0.70.0" dependencies = [ "proc-macro2", "quote", @@ -1580,7 +1580,7 @@ dependencies = [ [[package]] name = "oxc_ast_visit" -version = "0.69.0" +version = "0.70.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1614,7 +1614,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.69.0" +version = "0.70.0" dependencies = [ "bitflags 2.9.0", "itertools", @@ -1627,7 +1627,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.69.0" +version = "0.70.0" dependencies = [ "base64", "bitflags 2.9.0", @@ -1690,14 +1690,14 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.69.0" +version = "0.70.0" dependencies = [ "ropey", ] [[package]] name = "oxc_diagnostics" -version = "0.69.0" +version = "0.70.0" dependencies = [ "cow-utils", "oxc-miette", @@ -1705,7 +1705,7 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.69.0" +version = "0.70.0" dependencies = [ "cow-utils", "num-bigint", @@ -1717,7 +1717,7 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.69.0" +version = "0.70.0" dependencies = [ "itoa", "oxc_data_structures", @@ -1751,7 +1751,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.69.0" +version = "0.70.0" dependencies = [ "bitflags 2.9.0", "insta", @@ -1851,7 +1851,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.69.0" +version = "0.70.0" dependencies = [ "fixedbitset", "itertools", @@ -1867,7 +1867,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.69.0" +version = "0.70.0" dependencies = [ "cow-utils", "insta", @@ -1925,7 +1925,7 @@ dependencies = [ [[package]] name = "oxc_napi" -version = "0.69.0" +version = "0.70.0" dependencies = [ "napi", "napi-build", @@ -1939,7 +1939,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.69.0" +version = "0.70.0" dependencies = [ "bitflags 2.9.0", "cow-utils", @@ -1962,7 +1962,7 @@ dependencies = [ [[package]] name = "oxc_parser_napi" -version = "0.69.0" +version = "0.70.0" dependencies = [ "mimalloc-safe", "napi", @@ -2012,7 +2012,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.69.0" +version = "0.70.0" dependencies = [ "oxc_allocator", "oxc_ast_macros", @@ -2044,7 +2044,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.69.0" +version = "0.70.0" dependencies = [ "insta", "itertools", @@ -2085,7 +2085,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.69.0" +version = "0.70.0" dependencies = [ "compact_str", "oxc-miette", @@ -2098,7 +2098,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.69.0" +version = "0.70.0" dependencies = [ "bitflags 2.9.0", "cow-utils", @@ -2157,7 +2157,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.69.0" +version = "0.70.0" dependencies = [ "mimalloc-safe", "napi", @@ -2171,7 +2171,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.69.0" +version = "0.70.0" dependencies = [ "base64", "compact_str", @@ -2203,7 +2203,7 @@ dependencies = [ [[package]] name = "oxc_transformer_plugins" -version = "0.69.0" +version = "0.70.0" dependencies = [ "cow-utils", "insta", @@ -2229,7 +2229,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.69.0" +version = "0.70.0" dependencies = [ "itoa", "oxc_allocator", diff --git a/Cargo.toml b/Cargo.toml index 1353bdd9f311f..b2bf6646e22f3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -104,31 +104,31 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.69.0", path = "crates/oxc" } -oxc_allocator = { version = "0.69.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.69.0", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.69.0", path = "crates/oxc_ast_macros" } -oxc_ast_visit = { version = "0.69.0", path = "crates/oxc_ast_visit" } -oxc_cfg = { version = "0.69.0", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.69.0", path = "crates/oxc_codegen" } -oxc_data_structures = { version = "0.69.0", path = "crates/oxc_data_structures" } -oxc_diagnostics = { version = "0.69.0", path = "crates/oxc_diagnostics" } -oxc_ecmascript = { version = "0.69.0", path = "crates/oxc_ecmascript" } -oxc_estree = { version = "0.69.0", path = "crates/oxc_estree" } -oxc_isolated_declarations = { version = "0.69.0", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.69.0", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.69.0", path = "crates/oxc_minifier" } -oxc_napi = { version = "0.69.0", path = "crates/oxc_napi" } -oxc_parser = { version = "0.69.0", path = "crates/oxc_parser", features = ["regular_expression"] } -oxc_parser_napi = { version = "0.69.0", path = "napi/parser" } -oxc_regular_expression = { version = "0.69.0", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.69.0", path = "crates/oxc_semantic" } -oxc_span = { version = "0.69.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.69.0", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.69.0", path = "napi/transform" } -oxc_transformer = { version = "0.69.0", path = "crates/oxc_transformer" } -oxc_transformer_plugins = { version = "0.69.0", path = "crates/oxc_transformer_plugins" } -oxc_traverse = { version = "0.69.0", path = "crates/oxc_traverse" } +oxc = { version = "0.70.0", path = "crates/oxc" } +oxc_allocator = { version = "0.70.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.70.0", path = "crates/oxc_ast" } +oxc_ast_macros = { version = "0.70.0", path = "crates/oxc_ast_macros" } +oxc_ast_visit = { version = "0.70.0", path = "crates/oxc_ast_visit" } +oxc_cfg = { version = "0.70.0", path = "crates/oxc_cfg" } +oxc_codegen = { version = "0.70.0", path = "crates/oxc_codegen" } +oxc_data_structures = { version = "0.70.0", path = "crates/oxc_data_structures" } +oxc_diagnostics = { version = "0.70.0", path = "crates/oxc_diagnostics" } +oxc_ecmascript = { version = "0.70.0", path = "crates/oxc_ecmascript" } +oxc_estree = { version = "0.70.0", path = "crates/oxc_estree" } +oxc_isolated_declarations = { version = "0.70.0", path = "crates/oxc_isolated_declarations" } +oxc_mangler = { version = "0.70.0", path = "crates/oxc_mangler" } +oxc_minifier = { version = "0.70.0", path = "crates/oxc_minifier" } +oxc_napi = { version = "0.70.0", path = "crates/oxc_napi" } +oxc_parser = { version = "0.70.0", path = "crates/oxc_parser", features = ["regular_expression"] } +oxc_parser_napi = { version = "0.70.0", path = "napi/parser" } +oxc_regular_expression = { version = "0.70.0", path = "crates/oxc_regular_expression" } +oxc_semantic = { version = "0.70.0", path = "crates/oxc_semantic" } +oxc_span = { version = "0.70.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.70.0", path = "crates/oxc_syntax" } +oxc_transform_napi = { version = "0.70.0", path = "napi/transform" } +oxc_transformer = { version = "0.70.0", path = "crates/oxc_transformer" } +oxc_transformer_plugins = { version = "0.70.0", path = "crates/oxc_transformer_plugins" } +oxc_traverse = { version = "0.70.0", path = "crates/oxc_traverse" } # publish = false oxc_formatter = { path = "crates/oxc_formatter" } diff --git a/crates/oxc/CHANGELOG.md b/crates/oxc/CHANGELOG.md index 74b77299cb505..1f228a7d00089 100644 --- a/crates/oxc/CHANGELOG.md +++ b/crates/oxc/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.70.0] - 2025-05-15 + +### Testing + +- a05361e ast/estree: Check span offsets are converted in ascending order in ESTree conformance tests (#10887) (overlookmotel) + ## [0.68.0] - 2025-05-03 - 315143a codegen: [**BREAKING**] Remove useless `CodeGenerator` type alias (#10702) (Boshen) diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index f16d310ec28c5..699a6c316adef 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.69.0" +version = "0.70.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index ec80358a9af17..3da1d6daea3a7 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.69.0" +version = "0.70.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 4743524cc5ddb..2f12aa186e0d7 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.70.0] - 2025-05-15 + +### Features + +- 1673ffb codegen: Rework printing normal / legal / annotation comments (#10997) (Boshen) + +### Bug Fixes + +- 6f3f9d7 ast/estree: Fix `raw_deser` for `TSMappedTypeOptional` serializer (#10971) (overlookmotel) +- 53329f8 ast/estree: Fix field order for `FormalParameter` (#10962) (overlookmotel) +- 8b8f78f ast/estree: Fix field order and type def for `RestElement` in `FormalParameters` (#10961) (overlookmotel) +- 2b76ab5 ast/estree: Fix `TSModuleDeclaration` raw deserializer (#10924) (overlookmotel) +- d036cf5 estree: Ensure the same key order for `AssignmentPattern` (#10953) (Yuji Sugiura) + +### Performance + +- a4b5716 ast/estree: Streamline raw deserializer for `WithClause` (#10974) (overlookmotel) + +### Documentation + +- 206e07d ast: Fix docs for `ExportSpecifier` (#10891) (overlookmotel) +- b23fef7 ast/estree: Standardize doc comments for ESTree serializers (#10968) (overlookmotel) + +### Refactor + +- 6cc74ff ast/estree: Add semi-colon (#10973) (overlookmotel) +- 2958ff7 ast/estree: Rename serializers (#10969) (overlookmotel) +- b8018b9 ast/estree: Split custom serializers into multiple files (#10967) (overlookmotel) +- 08f1f3f ast/estree: Remove custom serializer for `Elision` (#10965) (overlookmotel) +- d01a47b ast/estree: Simplify custom serializers for `FormalParameters` (#10964) (overlookmotel) +- bfc6b9a ast/estree: Rename custom serializers for fields containing `FormalParameters` (#10963) (overlookmotel) + +### Styling + +- 6d4936f ast/estree: Reformat `raw_deser` code (#10972) (overlookmotel) + ## [0.69.0] - 2025-05-09 - 2b5d826 ast: [**BREAKING**] Fix field order for `TSTypeAssertion` (#10906) (overlookmotel) diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index e1c9a88bb7daf..7d1b433ac95b8 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.69.0" +version = "0.70.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_macros/CHANGELOG.md b/crates/oxc_ast_macros/CHANGELOG.md index 2c67f76fda625..31f227fa22c9d 100644 --- a/crates/oxc_ast_macros/CHANGELOG.md +++ b/crates/oxc_ast_macros/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.70.0] - 2025-05-15 + +### Refactor + +- c1e6c9b ast_macros: Move logic out of generated code (#11049) (overlookmotel) +- 2a403cb ast_macros: Rename generated file (#11047) (overlookmotel) + ## [0.69.0] - 2025-05-09 ### Styling diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index d050a0ef56782..9b211d02e7836 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.69.0" +version = "0.70.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_visit/CHANGELOG.md b/crates/oxc_ast_visit/CHANGELOG.md index 6a565d7fcc157..8f95f69abf4fa 100644 --- a/crates/oxc_ast_visit/CHANGELOG.md +++ b/crates/oxc_ast_visit/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.70.0] - 2025-05-15 + +### Bug Fixes + +- 2bdb338 ast_visit: Fix visitation order for `FormalParameters` in `Utf8ToUtf16Converter` (#11019) (overlookmotel) +- 282420c ast_visit: Fix visitation order for `TSTemplateLiteralType` in `Utf8ToUtf16Converter` (#11007) (overlookmotel) +- d0d04e3 ast_visit: Fix visitation order for `BindingPattern` in `Utf8ToUtf16Converter` (#11003) (overlookmotel) + +### Refactor + +- 287b3c3 ast_visit: Descriptive method param names in `Utf8ToUtf16Converter` (#10987) (overlookmotel) + +### Testing + +- a05361e ast/estree: Check span offsets are converted in ascending order in ESTree conformance tests (#10887) (overlookmotel) + ## [0.69.0] - 2025-05-09 - 2b5d826 ast: [**BREAKING**] Fix field order for `TSTypeAssertion` (#10906) (overlookmotel) diff --git a/crates/oxc_ast_visit/Cargo.toml b/crates/oxc_ast_visit/Cargo.toml index 439e82d0bf28d..1b9e3731615e3 100644 --- a/crates/oxc_ast_visit/Cargo.toml +++ b/crates/oxc_ast_visit/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast_visit" -version = "0.69.0" +version = "0.70.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_cfg/Cargo.toml b/crates/oxc_cfg/Cargo.toml index f88a87e195c13..9f6bb5e1d1663 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.69.0" +version = "0.70.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 da80c20f277da..87e56d2b3cab6 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/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.70.0] - 2025-05-15 + +### Features + +- 4a72b58 codegen: Print comments inside `JSXEmptyExpression` (#11022) (Boshen) +- 1673ffb codegen: Rework printing normal / legal / annotation comments (#10997) (Boshen) + +### Refactor + +- 9225bde codegen: Make `Statement::Gen` code more compact (#10937) (Boshen) +- 751876b parser: Rewrite parse class element (#11035) (Boshen) + ## [0.69.0] - 2025-05-09 - ad4fbf4 ast: [**BREAKING**] Simplify `RegExpPattern` (#10834) (overlookmotel) diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index d2be3571ea2d9..c0244dec7343a 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.69.0" +version = "0.70.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_data_structures/Cargo.toml b/crates/oxc_data_structures/Cargo.toml index 120c1ae934820..65df36287056c 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.69.0" +version = "0.70.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index f26995dc2af59..865cae86c47cd 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.69.0" +version = "0.70.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 75ed34187a112..d414296441805 100644 --- a/crates/oxc_ecmascript/Cargo.toml +++ b/crates/oxc_ecmascript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ecmascript" -version = "0.69.0" +version = "0.70.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 e0a9e6273018a..06c127fb24ec1 100644 --- a/crates/oxc_estree/Cargo.toml +++ b/crates/oxc_estree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_estree" -version = "0.69.0" +version = "0.70.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 4c485d4a3b5d2..af331357a091d 100644 --- a/crates/oxc_isolated_declarations/CHANGELOG.md +++ b/crates/oxc_isolated_declarations/CHANGELOG.md @@ -4,6 +4,16 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.70.0] - 2025-05-15 + +### Features + +- 1673ffb codegen: Rework printing normal / legal / annotation comments (#10997) (Boshen) + +### Bug Fixes + +- 9a4b135 isolated-declarations: Lost leading comments of `export default` function/class/interface (#10990) (Dunqing) + ## [0.69.0] - 2025-05-09 - 8a3bba8 ast: [**BREAKING**] Fix field order for `PropertyDefinition` (#10902) (overlookmotel) diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index 8e5fa78df7e80..45c29528dac0c 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.69.0" +version = "0.70.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 abfa51d5b5056..cf5b5ac44a31f 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.69.0" +version = "0.70.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 12482eb6d7afa..9a3270f93be19 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.70.0] - 2025-05-15 + +### Refactor + +- 751876b parser: Rewrite parse class element (#11035) (Boshen) + ## [0.68.1] - 2025-05-04 ### Features diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index 3b1a806a31fdf..42057537c50a9 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.69.0" +version = "0.70.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_napi/CHANGELOG.md b/crates/oxc_napi/CHANGELOG.md index d76724abdf192..0bf94d019349f 100644 --- a/crates/oxc_napi/CHANGELOG.md +++ b/crates/oxc_napi/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.70.0] - 2025-05-15 + +### Bug Fixes + +- 635aa96 napi: Computed final source type from `lang` then `sourceType` (#11060) (Boshen) + ## [0.68.0] - 2025-05-03 ### Refactor diff --git a/crates/oxc_napi/Cargo.toml b/crates/oxc_napi/Cargo.toml index 905c7cf218723..53da1b2f1cff6 100644 --- a/crates/oxc_napi/Cargo.toml +++ b/crates/oxc_napi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_napi" -version = "0.69.0" +version = "0.70.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 290751a00eddf..41450d086f797 100644 --- a/crates/oxc_parser/CHANGELOG.md +++ b/crates/oxc_parser/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.70.0] - 2025-05-15 + +### Bug Fixes + +- 635aa96 napi: Computed final source type from `lang` then `sourceType` (#11060) (Boshen) +- 4c9a9b3 parser: Guard against re-lex tokens when fatal error (#11023) (Boshen) +- 2b02d84 parser: Allow `for(using using` stmts (#10985) (camc314) + +### Performance + +- 80c2a5b parser: Use 8 bits for each `Token` flag (#11046) (overlookmotel) +- a711ff4 parser: Make `Kind::Eof` (default) 0 (#11014) (overlookmotel) +- cfd1ed3 parser: Explore packed tokens (#10933) (Tom Gasson) + +### Refactor + +- 47c624b lexer: Re-order `Token` methods (#11040) (overlookmotel) +- c0b68eb lexer: Harden safety of transmute (#11013) (overlookmotel) +- 54bfb4b lexer: Tidy tests for `Token` (#11011) (overlookmotel) +- de3035a parser: `Token::set_has_separator` take `bool` (#11041) (overlookmotel) +- 919cc59 parser: Make `ParserImpl::asi` implementation more compact (#11037) (Boshen) +- 751876b parser: Rewrite parse class element (#11035) (Boshen) +- b526da9 parser: Make `Token` fields private (#10936) (Boshen) +- c993edd parser/lexer: Shorten code (#10999) (overlookmotel) + +### Styling + +- c049765 lexer: Reformat comments (#11012) (overlookmotel) + ## [0.69.0] - 2025-05-09 - 2b5d826 ast: [**BREAKING**] Fix field order for `TSTypeAssertion` (#10906) (overlookmotel) diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index ca96973e5a61c..8189fa7b2a16d 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.69.0" +version = "0.70.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_regular_expression/CHANGELOG.md b/crates/oxc_regular_expression/CHANGELOG.md index 1c0f5e2ab4ae6..a34591adc1f6a 100644 --- a/crates/oxc_regular_expression/CHANGELOG.md +++ b/crates/oxc_regular_expression/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.70.0] - 2025-05-15 + +### Documentation + +- a86cbb3 linter: Fix incorrect backticks of fenced code blocks (#10947) (Ulrich Stark) + ## [0.69.0] - 2025-05-09 ### Refactor diff --git a/crates/oxc_regular_expression/Cargo.toml b/crates/oxc_regular_expression/Cargo.toml index 6ed7c5e003bde..6f0c33d72b28a 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.69.0" +version = "0.70.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 9340ff3772a64..5c9c85412d229 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/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.70.0] - 2025-05-15 + +### Bug Fixes + +- 126ae75 semantic: Distinguish class private elements (#11044) (magic-akari) + ## [0.69.0] - 2025-05-09 - 2b5d826 ast: [**BREAKING**] Fix field order for `TSTypeAssertion` (#10906) (overlookmotel) diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index 7289ad46e7145..2008c9e3dc7b6 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.69.0" +version = "0.70.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_span/CHANGELOG.md b/crates/oxc_span/CHANGELOG.md index 8eae14bd32e4e..209fd03dd0167 100644 --- a/crates/oxc_span/CHANGELOG.md +++ b/crates/oxc_span/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.70.0] - 2025-05-15 + +- 4e5c73b span: [**BREAKING**] `SourceType::from_path(".js")` return js instead of jsx (#11038) (Boshen) + +### Bug Fixes + + +### Performance + +- c50b1a5 span: Faster conversion of path/extension to `SourceType` (#10996) (overlookmotel) + +### Refactor + +- 567368e span: Remove `source_type` module (#11024) (overlookmotel) + +### Styling + +- ff4d160 span: List exports individually (#11025) (overlookmotel) + ## [0.69.0] - 2025-05-09 ### Features diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index 1ad85c680afba..2344d2cd2cc0b 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.69.0" +version = "0.70.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index e80ce4abcd8c0..a4f0dc4270869 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.69.0" +version = "0.70.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 d8b722e994371..abd6ff3c532df 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/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.70.0] - 2025-05-15 + +- 4e5c73b span: [**BREAKING**] `SourceType::from_path(".js")` return js instead of jsx (#11038) (Boshen) + +### Bug Fixes + +- 6c20277 transformer: Always update jsx options from comments (#10966) (magic-akari) +- 27a21a7 transformer/jsx: Fix parsing JSX pragma comments (#10983) (overlookmotel) +- a39eb85 transformer/legacy-decorator: Abstract class doesn't work in metadata (#10952) (Dunqing) + +### Performance + +- 1aed99b transformer/jsx: Use `memchr` for parsing JSX pragma comments (#11001) (overlookmotel) + +### Testing + +- 6540f44 transformer/jsx: Fix tests for JSX pragma parsing (#11000) (overlookmotel) + ## [0.69.0] - 2025-05-09 - 8a3bba8 ast: [**BREAKING**] Fix field order for `PropertyDefinition` (#10902) (overlookmotel) diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index 263d8d9611094..b97177ec92e5f 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.69.0" +version = "0.70.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_transformer_plugins/CHANGELOG.md b/crates/oxc_transformer_plugins/CHANGELOG.md index 2d172bfd496ed..779e58664c6fa 100644 --- a/crates/oxc_transformer_plugins/CHANGELOG.md +++ b/crates/oxc_transformer_plugins/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.70.0] - 2025-05-15 + +### Features + +- 1673ffb codegen: Rework printing normal / legal / annotation comments (#10997) (Boshen) + ## [0.68.0] - 2025-05-03 - a0a37e0 ast: [**BREAKING**] `AstBuilder` methods require an `Atom` with correct lifetime (#10735) (overlookmotel) diff --git a/crates/oxc_transformer_plugins/Cargo.toml b/crates/oxc_transformer_plugins/Cargo.toml index a445a42338ff0..94f565562056e 100644 --- a/crates/oxc_transformer_plugins/Cargo.toml +++ b/crates/oxc_transformer_plugins/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer_plugins" -version = "0.69.0" +version = "0.70.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index c56bd3c4d227f..f6f1e840286bc 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.69.0" +version = "0.70.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/minify/CHANGELOG.md b/napi/minify/CHANGELOG.md index 151b1b5087278..176f823b9257a 100644 --- a/napi/minify/CHANGELOG.md +++ b/napi/minify/CHANGELOG.md @@ -4,6 +4,16 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.70.0] - 2025-05-15 + +### Features + +- 647b6f3 napi: Add arm musl (#10958) (Bernd Storath) + +### Bug Fixes + +- 584d8b9 napi: Enable mimalloc `no_opt_arch` feature on linux aarch64 (#11053) (Boshen) + ## [0.69.0] - 2025-05-09 ### Features diff --git a/napi/minify/package.json b/napi/minify/package.json index a32d316c019dc..0f72ff5c9ed2c 100644 --- a/napi/minify/package.json +++ b/napi/minify/package.json @@ -1,6 +1,6 @@ { "name": "oxc-minify", - "version": "0.69.0", + "version": "0.70.0", "main": "index.js", "browser": "browser.js", "scripts": { diff --git a/napi/parser/CHANGELOG.md b/napi/parser/CHANGELOG.md index baebeff5790ee..ac7d413b79fe5 100644 --- a/napi/parser/CHANGELOG.md +++ b/napi/parser/CHANGELOG.md @@ -4,6 +4,46 @@ 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.70.0] - 2025-05-15 + +### Features + +- 647b6f3 napi: Add arm musl (#10958) (Bernd Storath) + +### Bug Fixes + +- 6f3f9d7 ast/estree: Fix `raw_deser` for `TSMappedTypeOptional` serializer (#10971) (overlookmotel) +- 53329f8 ast/estree: Fix field order for `FormalParameter` (#10962) (overlookmotel) +- 8b8f78f ast/estree: Fix field order and type def for `RestElement` in `FormalParameters` (#10961) (overlookmotel) +- 2b76ab5 ast/estree: Fix `TSModuleDeclaration` raw deserializer (#10924) (overlookmotel) +- d036cf5 estree: Ensure the same key order for `AssignmentPattern` (#10953) (Yuji Sugiura) +- 635aa96 napi: Computed final source type from `lang` then `sourceType` (#11060) (Boshen) +- 584d8b9 napi: Enable mimalloc `no_opt_arch` feature on linux aarch64 (#11053) (Boshen) + +### Performance + +- a4b5716 ast/estree: Streamline raw deserializer for `WithClause` (#10974) (overlookmotel) + +## [0.70.0] - 2025-05-15 + +### Features + +- 647b6f3 napi: Add arm musl (#10958) (Bernd Storath) + +### Bug Fixes + +- 6f3f9d7 ast/estree: Fix `raw_deser` for `TSMappedTypeOptional` serializer (#10971) (overlookmotel) +- 53329f8 ast/estree: Fix field order for `FormalParameter` (#10962) (overlookmotel) +- 8b8f78f ast/estree: Fix field order and type def for `RestElement` in `FormalParameters` (#10961) (overlookmotel) +- 2b76ab5 ast/estree: Fix `TSModuleDeclaration` raw deserializer (#10924) (overlookmotel) +- d036cf5 estree: Ensure the same key order for `AssignmentPattern` (#10953) (Yuji Sugiura) +- 635aa96 napi: Computed final source type from `lang` then `sourceType` (#11060) (Boshen) +- 584d8b9 napi: Enable mimalloc `no_opt_arch` feature on linux aarch64 (#11053) (Boshen) + +### Performance + +- a4b5716 ast/estree: Streamline raw deserializer for `WithClause` (#10974) (overlookmotel) + ## [0.69.0] - 2025-05-09 - 2b5d826 ast: [**BREAKING**] Fix field order for `TSTypeAssertion` (#10906) (overlookmotel) diff --git a/napi/parser/Cargo.toml b/napi/parser/Cargo.toml index 9544109aa5c29..5dcdd62a12e97 100644 --- a/napi/parser/Cargo.toml +++ b/napi/parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser_napi" -version = "0.69.0" +version = "0.70.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/parser/package.json b/napi/parser/package.json index b4ad0683a0d92..ef635c5c9b2fb 100644 --- a/napi/parser/package.json +++ b/napi/parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.69.0", + "version": "0.70.0", "main": "index.js", "browser": "wasm.mjs", "scripts": { diff --git a/napi/transform/CHANGELOG.md b/napi/transform/CHANGELOG.md index cb865e8d6abc2..327a9256994f9 100644 --- a/napi/transform/CHANGELOG.md +++ b/napi/transform/CHANGELOG.md @@ -4,6 +4,28 @@ 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.70.0] - 2025-05-15 + +### Features + +- 647b6f3 napi: Add arm musl (#10958) (Bernd Storath) + +### Bug Fixes + +- 635aa96 napi: Computed final source type from `lang` then `sourceType` (#11060) (Boshen) +- 584d8b9 napi: Enable mimalloc `no_opt_arch` feature on linux aarch64 (#11053) (Boshen) + +## [0.70.0] - 2025-05-15 + +### Features + +- 647b6f3 napi: Add arm musl (#10958) (Bernd Storath) + +### Bug Fixes + +- 635aa96 napi: Computed final source type from `lang` then `sourceType` (#11060) (Boshen) +- 584d8b9 napi: Enable mimalloc `no_opt_arch` feature on linux aarch64 (#11053) (Boshen) + ## [0.69.0] - 2025-05-09 ### Features diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index b3ef5c7df4578..5c3f33c082262 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.69.0" +version = "0.70.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/transform/package.json b/napi/transform/package.json index 78e87d6aa290d..8a5e734520ecc 100644 --- a/napi/transform/package.json +++ b/napi/transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.69.0", + "version": "0.70.0", "main": "index.js", "browser": "browser.js", "scripts": { diff --git a/npm/oxc-types/CHANGELOG.md b/npm/oxc-types/CHANGELOG.md index 2eefd485b6c99..2a1e28364b182 100644 --- a/npm/oxc-types/CHANGELOG.md +++ b/npm/oxc-types/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.70.0] - 2025-05-15 + +### Bug Fixes + +- 8b8f78f ast/estree: Fix field order and type def for `RestElement` in `FormalParameters` (#10961) (overlookmotel) + ## [0.69.0] - 2025-05-09 - 2b5d826 ast: [**BREAKING**] Fix field order for `TSTypeAssertion` (#10906) (overlookmotel) diff --git a/npm/oxc-types/package.json b/npm/oxc-types/package.json index fe1dc19bae48c..e37640fa0d9f6 100644 --- a/npm/oxc-types/package.json +++ b/npm/oxc-types/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/types", - "version": "0.69.0", + "version": "0.70.0", "description": "Types for Oxc AST nodes", "keywords": [ "AST", diff --git a/npm/runtime/package.json b/npm/runtime/package.json index 8130a194bd168..b35eed95df5af 100644 --- a/npm/runtime/package.json +++ b/npm/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/runtime", - "version": "0.69.0", + "version": "0.70.0", "description": "Oxc's modular runtime helpers", "license": "MIT", "repository": {