diff --git a/Cargo.lock b/Cargo.lock index 9e7172a08303d..3bc663101b860 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1489,7 +1489,7 @@ checksum = "1036865bb9422d3300cf723f657c2851d0e9ab12567854b1f4eba3d77decf564" [[package]] name = "oxc" -version = "0.67.0" +version = "0.68.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1550,7 +1550,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.67.0" +version = "0.68.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1565,7 +1565,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.67.0" +version = "0.68.0" dependencies = [ "bitflags 2.9.0", "cow-utils", @@ -1580,7 +1580,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.67.0" +version = "0.68.0" dependencies = [ "proc-macro2", "quote", @@ -1611,7 +1611,7 @@ dependencies = [ [[package]] name = "oxc_ast_visit" -version = "0.67.0" +version = "0.68.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1644,7 +1644,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.67.0" +version = "0.68.0" dependencies = [ "bitflags 2.9.0", "itertools", @@ -1657,7 +1657,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.67.0" +version = "0.68.0" dependencies = [ "base64", "bitflags 2.9.0", @@ -1720,14 +1720,14 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.67.0" +version = "0.68.0" dependencies = [ "ropey", ] [[package]] name = "oxc_diagnostics" -version = "0.67.0" +version = "0.68.0" dependencies = [ "cow-utils", "oxc-miette", @@ -1735,7 +1735,7 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.67.0" +version = "0.68.0" dependencies = [ "cow-utils", "num-bigint", @@ -1747,7 +1747,7 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.67.0" +version = "0.68.0" dependencies = [ "itoa", "oxc_data_structures", @@ -1781,7 +1781,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.67.0" +version = "0.68.0" dependencies = [ "bitflags 2.9.0", "insta", @@ -1882,7 +1882,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.67.0" +version = "0.68.0" dependencies = [ "fixedbitset", "itertools", @@ -1898,7 +1898,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.67.0" +version = "0.68.0" dependencies = [ "cow-utils", "insta", @@ -1956,7 +1956,7 @@ dependencies = [ [[package]] name = "oxc_napi" -version = "0.67.0" +version = "0.68.0" dependencies = [ "napi", "napi-build", @@ -1969,7 +1969,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.67.0" +version = "0.68.0" dependencies = [ "bitflags 2.9.0", "cow-utils", @@ -1992,7 +1992,7 @@ dependencies = [ [[package]] name = "oxc_parser_napi" -version = "0.67.0" +version = "0.68.0" dependencies = [ "mimalloc-safe", "napi", @@ -2041,7 +2041,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.67.0" +version = "0.68.0" dependencies = [ "oxc_allocator", "oxc_ast_macros", @@ -2074,7 +2074,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.67.0" +version = "0.68.0" dependencies = [ "insta", "itertools", @@ -2115,7 +2115,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.67.0" +version = "0.68.0" dependencies = [ "compact_str", "oxc-miette", @@ -2128,7 +2128,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.67.0" +version = "0.68.0" dependencies = [ "bitflags 2.9.0", "cow-utils", @@ -2187,7 +2187,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.67.0" +version = "0.68.0" dependencies = [ "mimalloc-safe", "napi", @@ -2201,7 +2201,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.67.0" +version = "0.68.0" dependencies = [ "base64", "compact_str", @@ -2232,7 +2232,7 @@ dependencies = [ [[package]] name = "oxc_transformer_plugins" -version = "0.67.0" +version = "0.68.0" dependencies = [ "cow-utils", "insta", @@ -2258,7 +2258,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.67.0" +version = "0.68.0" dependencies = [ "itoa", "oxc_allocator", diff --git a/Cargo.toml b/Cargo.toml index 34c03b0af70db..d09798c17c4e2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -104,31 +104,31 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.67.0", path = "crates/oxc" } -oxc_allocator = { version = "0.67.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.67.0", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.67.0", path = "crates/oxc_ast_macros" } -oxc_ast_visit = { version = "0.67.0", path = "crates/oxc_ast_visit" } -oxc_cfg = { version = "0.67.0", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.67.0", path = "crates/oxc_codegen" } -oxc_data_structures = { version = "0.67.0", path = "crates/oxc_data_structures" } -oxc_diagnostics = { version = "0.67.0", path = "crates/oxc_diagnostics" } -oxc_ecmascript = { version = "0.67.0", path = "crates/oxc_ecmascript" } -oxc_estree = { version = "0.67.0", path = "crates/oxc_estree" } -oxc_isolated_declarations = { version = "0.67.0", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.67.0", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.67.0", path = "crates/oxc_minifier" } -oxc_napi = { version = "0.67.0", path = "crates/oxc_napi" } -oxc_parser = { version = "0.67.0", path = "crates/oxc_parser", features = ["regular_expression"] } -oxc_parser_napi = { version = "0.67.0", path = "napi/parser" } -oxc_regular_expression = { version = "0.67.0", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.67.0", path = "crates/oxc_semantic" } -oxc_span = { version = "0.67.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.67.0", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.67.0", path = "napi/transform" } -oxc_transformer = { version = "0.67.0", path = "crates/oxc_transformer" } -oxc_transformer_plugins = { version = "0.67.0", path = "crates/oxc_transformer_plugins" } -oxc_traverse = { version = "0.67.0", path = "crates/oxc_traverse" } +oxc = { version = "0.68.0", path = "crates/oxc" } +oxc_allocator = { version = "0.68.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.68.0", path = "crates/oxc_ast" } +oxc_ast_macros = { version = "0.68.0", path = "crates/oxc_ast_macros" } +oxc_ast_visit = { version = "0.68.0", path = "crates/oxc_ast_visit" } +oxc_cfg = { version = "0.68.0", path = "crates/oxc_cfg" } +oxc_codegen = { version = "0.68.0", path = "crates/oxc_codegen" } +oxc_data_structures = { version = "0.68.0", path = "crates/oxc_data_structures" } +oxc_diagnostics = { version = "0.68.0", path = "crates/oxc_diagnostics" } +oxc_ecmascript = { version = "0.68.0", path = "crates/oxc_ecmascript" } +oxc_estree = { version = "0.68.0", path = "crates/oxc_estree" } +oxc_isolated_declarations = { version = "0.68.0", path = "crates/oxc_isolated_declarations" } +oxc_mangler = { version = "0.68.0", path = "crates/oxc_mangler" } +oxc_minifier = { version = "0.68.0", path = "crates/oxc_minifier" } +oxc_napi = { version = "0.68.0", path = "crates/oxc_napi" } +oxc_parser = { version = "0.68.0", path = "crates/oxc_parser", features = ["regular_expression"] } +oxc_parser_napi = { version = "0.68.0", path = "napi/parser" } +oxc_regular_expression = { version = "0.68.0", path = "crates/oxc_regular_expression" } +oxc_semantic = { version = "0.68.0", path = "crates/oxc_semantic" } +oxc_span = { version = "0.68.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.68.0", path = "crates/oxc_syntax" } +oxc_transform_napi = { version = "0.68.0", path = "napi/transform" } +oxc_transformer = { version = "0.68.0", path = "crates/oxc_transformer" } +oxc_transformer_plugins = { version = "0.68.0", path = "crates/oxc_transformer_plugins" } +oxc_traverse = { version = "0.68.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 59f7e41468035..74b77299cb505 100644 --- a/crates/oxc/CHANGELOG.md +++ b/crates/oxc/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.68.0] - 2025-05-03 + +- 315143a codegen: [**BREAKING**] Remove useless `CodeGenerator` type alias (#10702) (Boshen) + +### Bug Fixes + +- 4795059 transformer_plugins: Provide reference data when identifiers are replaced (#10620) (Boshen) + +### Refactor + + ## [0.67.0] - 2025-04-27 ### Features diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 7307cd2fed2c7..0abbab95b9f6f 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.67.0" +version = "0.68.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_allocator/CHANGELOG.md b/crates/oxc_allocator/CHANGELOG.md index 0929f6c81c5ee..2f9e7473bc4b7 100644 --- a/crates/oxc_allocator/CHANGELOG.md +++ b/crates/oxc_allocator/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.68.0] - 2025-05-03 + +### Features + +- 4b4b09e allocator: Add `String::set_len` method (#10757) (overlookmotel) +- d5f66fb allocator: Implement `Display` for `Box` (#10731) (overlookmotel) +- 3cd3d23 allocator/vec2: Align `RawVec::reserve` with standard library implementation (#10701) (Dunqing) +- 7f2f247 allocator/vec2: Add specialized `grow_one` method (#9855) (Dunqing) +- 6ce3bbb allocator/vec2: Introduce `extend_desugared` method as `extend` internal implementation (#10670) (Dunqing) + +### Performance + +- 4eaef66 allocator/vec2: Align min amortized cap size with `std` (#9857) (Dunqing) +- 04e0390 allocator/vec2: Replace `self.reserve(1)` calls with `self.grow_one()` for better efficiency (#9856) (Dunqing) +- 2dc4779 allocator/vec2: Calling `Bump::grow` or `Bump::shrink` at the call site directly instead of calling `realloc` (#10686) (Dunqing) +- b4953b4 allocator/vec2: Resolve performance regression for `extend` by marking reserve as `#[cold]` and `#[inline(never)]` (#10675) (Dunqing) + +### Documentation + +- c48f6ae allocator: Document cargo features (#10695) (overlookmotel) + ## [0.66.0] - 2025-04-23 ### Testing diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index e760cace99712..a889691d5cfb1 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.67.0" +version = "0.68.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 bfeb41ae08459..e4a0b3d3caeb4 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/CHANGELOG.md @@ -4,6 +4,29 @@ 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.68.0] - 2025-05-03 + +- 28ceb90 ast: [**BREAKING**] Remove `TSMappedTypeModifierOperator::None` variant (#10749) (overlookmotel) + +- a0a37e0 ast: [**BREAKING**] `AstBuilder` methods require an `Atom` with correct lifetime (#10735) (overlookmotel) + +### Features + +- 60347e7 ast_tools: `AstBuilder` generator support types with more than 1 `Atom` field (#10737) (overlookmotel) + +### Bug Fixes + +- 8bfd5e3 ast: `AssignmentTargetMaybeDefault::identifier` preserve lifetime (#10720) (overlookmotel) +- 61d825b ast/estree: Rename `assert` to `with` in `TSImportType` `options` in TS-ESTree AST (#10681) (overlookmotel) + +### Refactor + +- 050ecd9 ast/estree: Remove custom serializer for `TSMappedTypeModifierOperator` (#10747) (overlookmotel) + +### Styling + +- c18c81f ast: Import `Display` trait (#10724) (overlookmotel) + ## [0.67.0] - 2025-04-27 ### Bug Fixes diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index b00b94185bf43..69385a8aebfb9 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.67.0" +version = "0.68.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index 3e2a28dee1a98..b4f30bfa2c5ef 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.67.0" +version = "0.68.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_visit/Cargo.toml b/crates/oxc_ast_visit/Cargo.toml index 60f4bc5ef2266..6b134792f7d7b 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.67.0" +version = "0.68.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 0859f379565cd..525b4c51558a7 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.67.0" +version = "0.68.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 40f7a79763f4f..c931c50893dcd 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/CHANGELOG.md @@ -4,6 +4,26 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.68.0] - 2025-05-03 + +- 28ceb90 ast: [**BREAKING**] Remove `TSMappedTypeModifierOperator::None` variant (#10749) (overlookmotel) + +- 315143a codegen: [**BREAKING**] Remove useless `CodeGenerator` type alias (#10702) (Boshen) + +### Features + +- 2d13b49 codegen: Expose `with_source_text` function (#10768) (camc314) +- b01cb45 codegen: A way to keep legal comments after minification (#10689) (Boshen) + +### Bug Fixes + +- 4825eb5 codegen: Add missing `in` `out` from ts type parameter (#10696) (Boshen) +- 06f796f codegen: Add missing return type from object methods (#10694) (Boshen) +- 8c499c6 linter: Fix panic when doing code gen on regexp (#10769) (camc314) + +### Refactor + + ## [0.66.0] - 2025-04-23 - 10e1018 codegen: [**BREAKING**] Print `StringLiteral` `raw` if `minify` option disabled (#10553) (overlookmotel) diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index c0f9c44451d6c..e15cb73ed390a 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.67.0" +version = "0.68.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 9764fad8bb68d..b7fb57edbfaf5 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.67.0" +version = "0.68.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 4e4d29382f331..8b502eb2ad6d0 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.67.0" +version = "0.68.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 6ef6ce609efa0..7c7d94f1dc375 100644 --- a/crates/oxc_ecmascript/Cargo.toml +++ b/crates/oxc_ecmascript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ecmascript" -version = "0.67.0" +version = "0.68.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 d95912bcdb93f..6d514b744676a 100644 --- a/crates/oxc_estree/Cargo.toml +++ b/crates/oxc_estree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_estree" -version = "0.67.0" +version = "0.68.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 3797e82c234e7..a05ecd0039988 100644 --- a/crates/oxc_isolated_declarations/CHANGELOG.md +++ b/crates/oxc_isolated_declarations/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.68.0] - 2025-05-03 + +- a0a37e0 ast: [**BREAKING**] `AstBuilder` methods require an `Atom` with correct lifetime (#10735) (overlookmotel) + +- 315143a codegen: [**BREAKING**] Remove useless `CodeGenerator` type alias (#10702) (Boshen) + +### Performance + +- 44f1952 isolated_declaration: Avoid copying string data (#10732) (overlookmotel) + +### Refactor + +- 40896d4 isolated_declarations: Shorten code (#10774) (overlookmotel) + ## [0.66.0] - 2025-04-23 ### Bug Fixes diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index 3af6524f15c4a..7182ff3d2e181 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.67.0" +version = "0.68.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 c9d287eb16d8c..7d5c1038bf449 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.67.0" +version = "0.68.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 f5c854e67e59f..93828ac07f1fd 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/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.68.0] - 2025-05-03 + +- a0a37e0 ast: [**BREAKING**] `AstBuilder` methods require an `Atom` with correct lifetime (#10735) (overlookmotel) + +- 315143a codegen: [**BREAKING**] Remove useless `CodeGenerator` type alias (#10702) (Boshen) + +### Features + +- b01cb45 codegen: A way to keep legal comments after minification (#10689) (Boshen) + +### Performance + +- c279f16 minifier: Avoid temp `String`s and copying string data (#10733) (overlookmotel) + +### Refactor + + ## [0.64.0] - 2025-04-17 - 7284135 ast: [**BREAKING**] Remove `trailing_commas` from `ArrayExpression` and `ObjectExpression` (#10431) (Boshen) diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index 5d803fe3edda5..07e889bb6ff82 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.67.0" +version = "0.68.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 dc51d57f0e5eb..d76724abdf192 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.68.0] - 2025-05-03 + +### Refactor + +- 06fde2a ast/estree: `convert_utf8_to_utf16` take `&mut` slice of errors, not `&mut Vec` (#10672) (overlookmotel) + ## [0.61.0] - 2025-03-20 ### Features diff --git a/crates/oxc_napi/Cargo.toml b/crates/oxc_napi/Cargo.toml index fe7cfa3b5ee5e..55b20021a1eac 100644 --- a/crates/oxc_napi/Cargo.toml +++ b/crates/oxc_napi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_napi" -version = "0.67.0" +version = "0.68.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 82431cfa6107f..587c611321144 100644 --- a/crates/oxc_parser/CHANGELOG.md +++ b/crates/oxc_parser/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.68.0] - 2025-05-03 + +- 28ceb90 ast: [**BREAKING**] Remove `TSMappedTypeModifierOperator::None` variant (#10749) (overlookmotel) + +### Bug Fixes + +- 7234ba4 estree: Adjust span for `TSTypePredicate`.`typeAnnotation` (#10711) (Yuji Sugiura) +- 2718f29 parser: Fix panic when the parser tries to re-lex `>>` (#10756) (Boshen) +- d1d05d3 parser: Check comma in JSX expr lazily (#10739) (Yuji Sugiura) +- f803807 parser: Fix crash when parsing `for(in` (#10640) (Boshen) + +### Performance + +- 4861a62 parser: Faster parsing `TemplateElement`s (#10678) (overlookmotel) + +### Documentation + +- 24ada6f lexer: Correct comment (#10700) (overlookmotel) + +### Refactor + + ## [0.67.0] - 2025-04-27 ### Features diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index 271709cca9e08..a6a0ddb2bcc21 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.67.0" +version = "0.68.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_regular_expression/Cargo.toml b/crates/oxc_regular_expression/Cargo.toml index 96d4659ea683d..799ec9088b9b3 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.67.0" +version = "0.68.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 a2d4bfdae7aff..13347557302ed 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/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.68.0] - 2025-05-03 + +### Bug Fixes + +- d1d05d3 parser: Check comma in JSX expr lazily (#10739) (Yuji Sugiura) + +### Performance + +- 3de1b31 semantic: Reuse `Atom` (#10771) (overlookmotel) + ## [0.67.0] - 2025-04-27 - a2b7e9d semantic: [**BREAKING**] Do not need to return old name in `Scoping::set_symbol_name` (#10613) (Dunqing) diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index c66ac3511bd85..d9451652a01d8 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.67.0" +version = "0.68.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 90039d7048131..f24aa7dc8bcac 100644 --- a/crates/oxc_span/CHANGELOG.md +++ b/crates/oxc_span/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.68.0] - 2025-05-03 + +### Features + +- 0105253 span: Introduce `format_atom!` macro (#10722) (overlookmotel) + +### Bug Fixes + +- 48c542d linter: Skip linting vue