diff --git a/Cargo.lock b/Cargo.lock index b054c95674173..b5769917dbdfe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1508,7 +1508,7 @@ checksum = "1036865bb9422d3300cf723f657c2851d0e9ab12567854b1f4eba3d77decf564" [[package]] name = "oxc" -version = "0.62.0" +version = "0.63.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1568,7 +1568,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.62.0" +version = "0.63.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1583,7 +1583,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.62.0" +version = "0.63.0" dependencies = [ "bitflags 2.9.0", "cow-utils", @@ -1598,7 +1598,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.62.0" +version = "0.63.0" dependencies = [ "proc-macro2", "quote", @@ -1629,7 +1629,7 @@ dependencies = [ [[package]] name = "oxc_ast_visit" -version = "0.62.0" +version = "0.63.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1662,7 +1662,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.62.0" +version = "0.63.0" dependencies = [ "bitflags 2.9.0", "itertools", @@ -1675,7 +1675,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.62.0" +version = "0.63.0" dependencies = [ "base64", "bitflags 2.9.0", @@ -1737,14 +1737,14 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.62.0" +version = "0.63.0" dependencies = [ "ropey", ] [[package]] name = "oxc_diagnostics" -version = "0.62.0" +version = "0.63.0" dependencies = [ "cow-utils", "oxc-miette", @@ -1752,7 +1752,7 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.62.0" +version = "0.63.0" dependencies = [ "cow-utils", "num-bigint", @@ -1764,7 +1764,7 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.62.0" +version = "0.63.0" dependencies = [ "itoa", "oxc_data_structures", @@ -1797,7 +1797,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.62.0" +version = "0.63.0" dependencies = [ "bitflags 2.9.0", "insta", @@ -1901,7 +1901,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.62.0" +version = "0.63.0" dependencies = [ "fixedbitset", "itertools", @@ -1917,7 +1917,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.62.0" +version = "0.63.0" dependencies = [ "cow-utils", "insta", @@ -1975,7 +1975,7 @@ dependencies = [ [[package]] name = "oxc_napi" -version = "0.62.0" +version = "0.63.0" dependencies = [ "napi", "napi-build", @@ -1988,7 +1988,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.62.0" +version = "0.63.0" dependencies = [ "bitflags 2.9.0", "cow-utils", @@ -2011,7 +2011,7 @@ dependencies = [ [[package]] name = "oxc_parser_napi" -version = "0.62.0" +version = "0.63.0" dependencies = [ "mimalloc-safe", "napi", @@ -2060,7 +2060,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.62.0" +version = "0.63.0" dependencies = [ "oxc_allocator", "oxc_ast_macros", @@ -2093,7 +2093,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.62.0" +version = "0.63.0" dependencies = [ "insta", "itertools", @@ -2134,7 +2134,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.62.0" +version = "0.63.0" dependencies = [ "compact_str", "oxc-miette", @@ -2147,7 +2147,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.62.0" +version = "0.63.0" dependencies = [ "bitflags 2.9.0", "cow-utils", @@ -2206,7 +2206,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.62.0" +version = "0.63.0" dependencies = [ "mimalloc-safe", "napi", @@ -2220,7 +2220,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.62.0" +version = "0.63.0" dependencies = [ "base64", "compact_str", @@ -2254,7 +2254,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.62.0" +version = "0.63.0" dependencies = [ "compact_str", "itoa", diff --git a/Cargo.toml b/Cargo.toml index a875f815bf380..da78bd2995ded 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -104,30 +104,30 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.62.0", path = "crates/oxc" } -oxc_allocator = { version = "0.62.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.62.0", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.62.0", path = "crates/oxc_ast_macros" } -oxc_ast_visit = { version = "0.62.0", path = "crates/oxc_ast_visit" } -oxc_cfg = { version = "0.62.0", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.62.0", path = "crates/oxc_codegen" } -oxc_data_structures = { version = "0.62.0", path = "crates/oxc_data_structures" } -oxc_diagnostics = { version = "0.62.0", path = "crates/oxc_diagnostics" } -oxc_ecmascript = { version = "0.62.0", path = "crates/oxc_ecmascript" } -oxc_estree = { version = "0.62.0", path = "crates/oxc_estree" } -oxc_isolated_declarations = { version = "0.62.0", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.62.0", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.62.0", path = "crates/oxc_minifier" } -oxc_napi = { version = "0.62.0", path = "crates/oxc_napi" } -oxc_parser = { version = "0.62.0", path = "crates/oxc_parser", features = ["regular_expression"] } -oxc_parser_napi = { version = "0.62.0", path = "napi/parser" } -oxc_regular_expression = { version = "0.62.0", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.62.0", path = "crates/oxc_semantic" } -oxc_span = { version = "0.62.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.62.0", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.62.0", path = "napi/transform" } -oxc_transformer = { version = "0.62.0", path = "crates/oxc_transformer" } -oxc_traverse = { version = "0.62.0", path = "crates/oxc_traverse" } +oxc = { version = "0.63.0", path = "crates/oxc" } +oxc_allocator = { version = "0.63.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.63.0", path = "crates/oxc_ast" } +oxc_ast_macros = { version = "0.63.0", path = "crates/oxc_ast_macros" } +oxc_ast_visit = { version = "0.63.0", path = "crates/oxc_ast_visit" } +oxc_cfg = { version = "0.63.0", path = "crates/oxc_cfg" } +oxc_codegen = { version = "0.63.0", path = "crates/oxc_codegen" } +oxc_data_structures = { version = "0.63.0", path = "crates/oxc_data_structures" } +oxc_diagnostics = { version = "0.63.0", path = "crates/oxc_diagnostics" } +oxc_ecmascript = { version = "0.63.0", path = "crates/oxc_ecmascript" } +oxc_estree = { version = "0.63.0", path = "crates/oxc_estree" } +oxc_isolated_declarations = { version = "0.63.0", path = "crates/oxc_isolated_declarations" } +oxc_mangler = { version = "0.63.0", path = "crates/oxc_mangler" } +oxc_minifier = { version = "0.63.0", path = "crates/oxc_minifier" } +oxc_napi = { version = "0.63.0", path = "crates/oxc_napi" } +oxc_parser = { version = "0.63.0", path = "crates/oxc_parser", features = ["regular_expression"] } +oxc_parser_napi = { version = "0.63.0", path = "napi/parser" } +oxc_regular_expression = { version = "0.63.0", path = "crates/oxc_regular_expression" } +oxc_semantic = { version = "0.63.0", path = "crates/oxc_semantic" } +oxc_span = { version = "0.63.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.63.0", path = "crates/oxc_syntax" } +oxc_transform_napi = { version = "0.63.0", path = "napi/transform" } +oxc_transformer = { version = "0.63.0", path = "crates/oxc_transformer" } +oxc_traverse = { version = "0.63.0", path = "crates/oxc_traverse" } # publish = false oxc_formatter = { path = "crates/oxc_formatter" } diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 978d9f0e9a3ca..9337952d36288 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.62.0" +version = "0.63.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 f92e18ec4668c..b3f886bade594 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.63.0] - 2025-04-08 + +### Features + +- c198578 allocator: Add `TakeIn::take_in_box` method (#10169) (Dunqing) + ## [0.62.0] - 2025-04-01 ### Features diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index 72130dc184005..a91f4d766f7da 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.62.0" +version = "0.63.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 c066b0170c792..a32220788fc4b 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/CHANGELOG.md @@ -4,6 +4,51 @@ 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.63.0] - 2025-04-08 + +- a26fd34 ast: [**BREAKING**] Remove `JSXOpeningElement::self_closing` field (#10275) (overlookmotel) + +- 5ad41c9 ast: [**BREAKING**] Remove unnecessary `AstBuilder::alloc_*` methods (#10267) (overlookmotel) + +- 14ff99c ast: [**BREAKING**] Remove all `AstBuilder::move_xxxx` methods (#10171) (Dunqing) + +### Features + +- 8bbaedc ast_tools: Derive `Hash` for `AstType` (#10212) (lazytype) + +### Bug Fixes + +- 08a0d5e ast: Fix `Display` impl for `RegExpFlags` (#10235) (overlookmotel) +- e42c040 ast/estree: Add TS fields to `LabelIdentifier` (#10295) (overlookmotel) +- 06fc07c ast/estree: Fix `TSImportType` (#10200) (therewillbecode) +- 760188e ast/estree: Fix `BindingProperty` (#10193) (therewillbecode) +- db0b2eb ast/estree: Add ts-estree fields to `FormalParametersRest` custom serializer (#10192) (therewillbecode) +- abc9ea4 ast/estree: Better align program span start (#10134) (therewillbecode) +- f547d76 ast/estree: Add `TSEnumBody` to `TSEnumDeclaration.body` (#10017) (Yuji Sugiura) +- 34d5c00 ast/estree: Fix `ExportDefaultDeclaration` node (#10165) (therewillbecode) +- 498b479 ast/estree: Fix `AccessorProperty` node (#10067) (therewillbecode) +- bf90072 ast/estree: Fix `ObjectProperty` node (#10018) (therewillbecode) +- 27768a5 parser: Store lone surrogates in `TemplateElementValue` as escape sequence (#10182) (overlookmotel) + +### Performance + +- 5b4c2ae ast: Remove `write!` macro where unnecessary (#10234) (overlookmotel) + +### Documentation + +- 4d33af7 ast: Correct comment (#10176) (overlookmotel) + +### Refactor + +- 5525206 ast/estree: Simplify static converters (#10197) (overlookmotel) +- b662df4 ast/estree: Alter `Program` start span with converter (#10195) (overlookmotel) + +### Styling + +- 66a0001 all: Remove unnecessary semi-colons (#10198) (overlookmotel) +- 2dde8be ast: Reformat AST types (#10278) (overlookmotel) +- c290faa ast: Reformat `AstBuilder` doc comments (#10263) (overlookmotel) + ## [0.62.0] - 2025-04-01 - 45015ee ast: [**BREAKING**] Remove unused `Function::symbol_id` method (#10061) (Dunqing) diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index 95d1733154768..9b02e60daa5ee 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.62.0" +version = "0.63.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 6b04d5049c4dd..da034b9d877d5 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.62.0" +version = "0.63.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 82a45e811ebcc..efccd0fbed23f 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.62.0" +version = "0.63.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_cfg/CHANGELOG.md b/crates/oxc_cfg/CHANGELOG.md index 0e181c8000a60..f869d5ebaeadd 100644 --- a/crates/oxc_cfg/CHANGELOG.md +++ b/crates/oxc_cfg/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.63.0] - 2025-04-08 + +### Performance + +- fa0e455 cfg, diagnostics, lexer, syntax, tasks: Remove `write!` macro where unnecessary (#10236) (overlookmotel) + +### Styling + +- 66a0001 all: Remove unnecessary semi-colons (#10198) (overlookmotel) + ## [0.52.0] - 2025-02-21 ### Bug Fixes diff --git a/crates/oxc_cfg/Cargo.toml b/crates/oxc_cfg/Cargo.toml index 43054a3e313b3..018ca21ad83e2 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.62.0" +version = "0.63.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 7a7e6fb846869..26f3d0890746f 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/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.63.0] - 2025-04-08 + +- a26fd34 ast: [**BREAKING**] Remove `JSXOpeningElement::self_closing` field (#10275) (overlookmotel) + +### Bug Fixes + +- 38d2bea parser: Fix parsing lone surrogates in `StringLiteral`s (#10180) (overlookmotel) + +### Performance + +- 6c9b094 codegen: Optimize `Codegen::print_list` method (#10242) (Dunqing) +- 775abac codegen: Speed up printing `StringLiteral`s (#10046) (overlookmotel) + +### Refactor + +- f7ff816 codegen: Improve code with `split_first` (#10285) (Boshen) +- ca8f174 codegen: Do not print useless comma for TSEnumMember (#10213) (Yuji Sugiura) + +### Styling + +- 66a0001 all: Remove unnecessary semi-colons (#10198) (overlookmotel) + +### Testing + +- 7672620 parser: Tests for lone surrogates and lossy escape characters (#10175) (overlookmotel) + ## [0.62.0] - 2025-04-01 ### Bug Fixes diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index f1755d41181ba..28d3e954a149b 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.62.0" +version = "0.63.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 776614324f5ce..e7ef91d0b3cc3 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.62.0" +version = "0.63.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_diagnostics/CHANGELOG.md b/crates/oxc_diagnostics/CHANGELOG.md index b33a0c513bf85..fa197c36918b7 100644 --- a/crates/oxc_diagnostics/CHANGELOG.md +++ b/crates/oxc_diagnostics/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.63.0] - 2025-04-08 + +### Bug Fixes + +- f2eff56 linter: Fix `rule_id` for some diagnostics formats (#10251) (Alexander S.) + +### Performance + +- fa0e455 cfg, diagnostics, lexer, syntax, tasks: Remove `write!` macro where unnecessary (#10236) (overlookmotel) + +### Styling + +- 66a0001 all: Remove unnecessary semi-colons (#10198) (overlookmotel) + ## [0.61.0] - 2025-03-20 ### Features diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index bbccf8622c329..971eeb026ddd0 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.62.0" +version = "0.63.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 0ea2a69cfe893..06117504c74cc 100644 --- a/crates/oxc_ecmascript/Cargo.toml +++ b/crates/oxc_ecmascript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ecmascript" -version = "0.62.0" +version = "0.63.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_estree/CHANGELOG.md b/crates/oxc_estree/CHANGELOG.md index d9693947a0992..dd18c00688446 100644 --- a/crates/oxc_estree/CHANGELOG.md +++ b/crates/oxc_estree/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.63.0] - 2025-04-08 + +### Performance + +- b5f8e38 ast/estree: Faster checking if bytes are ASCII (#10183) (overlookmotel) + ## [0.62.0] - 2025-04-01 ### Bug Fixes diff --git a/crates/oxc_estree/Cargo.toml b/crates/oxc_estree/Cargo.toml index a35a3ebfa5374..eaaa5da066c61 100644 --- a/crates/oxc_estree/Cargo.toml +++ b/crates/oxc_estree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_estree" -version = "0.62.0" +version = "0.63.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 9ca86eda7eefe..429117b482e7b 100644 --- a/crates/oxc_isolated_declarations/CHANGELOG.md +++ b/crates/oxc_isolated_declarations/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.63.0] - 2025-04-08 + +### Bug Fixes + +- d691701 various: Unwrap `Result` of `write!` macro (#10228) (overlookmotel) + +### Refactor + +- ca8f174 codegen: Do not print useless comma for TSEnumMember (#10213) (Yuji Sugiura) +- bcdbd38 transformer, minifier: Replace `AstBuilder::move_xxxx` methods with `TakeIn` trait (#10170) (Dunqing) + +### Styling + +- 66a0001 all: Remove unnecessary semi-colons (#10198) (overlookmotel) + ## [0.62.0] - 2025-04-01 ### Refactor diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index 40db547af2419..189d7646f0fb2 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.62.0" +version = "0.63.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 78e135de2eda9..3197907bde5d1 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.62.0" +version = "0.63.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 1efbf6c3a6932..c119f5d9b11e8 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/CHANGELOG.md @@ -4,6 +4,39 @@ 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.63.0] - 2025-04-08 + +### Features + +- 603abdc minifier: Compress assignment to prefix increment (#10244) (Ulrich Stark) +- aaafdbf minifier: Fold `String::trimStart` / `String::trimEnd` (#10261) (sapphi-red) +- af7a298 minifier: Support advanced `String::indexOf` evaluation (#10186) (sapphi-red) +- bc5411d minifier: Compress `if (foo, !!bar)` to `if (foo, bar)` (#10164) (sapphi-red) +- 395b545 minifier: Compress `foo == true` into `foo == 1` (#10163) (sapphi-red) + +### Bug Fixes + +- c35d01a minifier: Keep side effect in `String::replace` argument (#10185) (sapphi-red) +- bac8ca0 minifier: Non-constant argument passed to `String::substring` (#10184) (sapphi-red) + +### Performance + +- 876b6ea minifier: Reduce allocations (#10301) (overlookmotel) +- 0186383 minifier: Avoid cloning `Cow` and allocating `Atom` (#10177) (overlookmotel) + +### Refactor + +- 9ffb613 minifier: Prefer `is_empty()` over `len() == 0` (#10199) (overlookmotel) +- bcdbd38 transformer, minifier: Replace `AstBuilder::move_xxxx` methods with `TakeIn` trait (#10170) (Dunqing) + +### Styling + +- 66a0001 all: Remove unnecessary semi-colons (#10198) (overlookmotel) + +### Testing + +- 3a64819 minifier: `String::replace` for objects with `Symbol.replace` (#10260) (sapphi-red) + ## [0.62.0] - 2025-04-01 - 4077868 ecmascript: [**BREAKING**] Introduce MayHaveSideEffectsContext (#10126) (sapphi-red) diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index 5e4c5df1807a7..68c18bd8b186f 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.62.0" +version = "0.63.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_napi/Cargo.toml b/crates/oxc_napi/Cargo.toml index 6c9eb0b5f62a6..dc24bc111a804 100644 --- a/crates/oxc_napi/Cargo.toml +++ b/crates/oxc_napi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_napi" -version = "0.62.0" +version = "0.63.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 bc9ff7fcb63a9..df555b0751ee7 100644 --- a/crates/oxc_parser/CHANGELOG.md +++ b/crates/oxc_parser/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.63.0] - 2025-04-08 + +- a26fd34 ast: [**BREAKING**] Remove `JSXOpeningElement::self_closing` field (#10275) (overlookmotel) + +### Bug Fixes + +- 27768a5 parser: Store lone surrogates in `TemplateElementValue` as escape sequence (#10182) (overlookmotel) +- 38d2bea parser: Fix parsing lone surrogates in `StringLiteral`s (#10180) (overlookmotel) + +### Performance + +- fa0e455 cfg, diagnostics, lexer, syntax, tasks: Remove `write!` macro where unnecessary (#10236) (overlookmotel) + +### Documentation + +- d8bbe2a lexer: Fix doc comment (#10181) (overlookmotel) + +### Refactor + +- ec10d94 parser: Use `AstBuilder::string_literal_with_lone_surrogates` (#10178) (overlookmotel) +- bcdbd38 transformer, minifier: Replace `AstBuilder::move_xxxx` methods with `TakeIn` trait (#10170) (Dunqing) + +### Styling + +- 66a0001 all: Remove unnecessary semi-colons (#10198) (overlookmotel) + ## [0.62.0] - 2025-04-01 ### Bug Fixes diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index e6e37f09f1466..b51c2f4536ab1 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.62.0" +version = "0.63.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 b1cf4baec8559..59a0c7c5abefe 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.63.0] - 2025-04-08 + +### Performance + +- 774f6ba regular_expression: Remove `write!` macro where unnecessary (#10233) (overlookmotel) + ## [0.61.2] - 2025-03-23 ### Performance diff --git a/crates/oxc_regular_expression/Cargo.toml b/crates/oxc_regular_expression/Cargo.toml index 886518ecfde1a..4b357da304121 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.62.0" +version = "0.63.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 cbcae10d8291a..97a5be98b80b3 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.63.0] - 2025-04-08 + +### Bug Fixes + +- f48f895 transfomer/using: Remove use of child ids (#9961) (camc314) + +### Styling + +- 66a0001 all: Remove unnecessary semi-colons (#10198) (overlookmotel) + ## [0.62.0] - 2025-04-01 - cd1f035 semantic: [**BREAKING**] Store symbol information as the first entry in `symbol_declarations` when it is redeclared (#10062) (Dunqing) diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index 3214ba4c82e78..690e744ff0d67 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.62.0" +version = "0.63.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 15941bfa968dc..90039d7048131 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.63.0] - 2025-04-08 + +### Bug Fixes + +- 52f2a40 span/estree: Skip `ModuleKind::Unambiguous` varient for `estree` (#10146) (Dunqing) + ## [0.62.0] - 2025-04-01 ### Features diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index b56709e606dc5..054bc56294dd9 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.62.0" +version = "0.63.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_syntax/CHANGELOG.md b/crates/oxc_syntax/CHANGELOG.md index 82d8e9a043d33..012439a162264 100644 --- a/crates/oxc_syntax/CHANGELOG.md +++ b/crates/oxc_syntax/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.63.0] - 2025-04-08 + +### Performance + +- fa0e455 cfg, diagnostics, lexer, syntax, tasks: Remove `write!` macro where unnecessary (#10236) (overlookmotel) + ## [0.62.0] - 2025-04-01 ### Features diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index ae9baf4a8f2cf..3fb289a8a8898 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.62.0" +version = "0.63.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 72382bf9f5696..7685b68e611ae 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/CHANGELOG.md @@ -4,6 +4,30 @@ 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.63.0] - 2025-04-08 + +### Features + +- 78f1b3a transformer: Enable `using` by default (#10286) (Boshen) + +### Bug Fixes + +- f48f895 transfomer/using: Remove use of child ids (#9961) (camc314) +- d0001eb transformer/typescript: Redeclaration of `namespace` with `enum` causes syntax error (#10172) (Dunqing) +- 778b044 transformer/using: Transform using declarations in try block (#10211) (camc314) + +### Performance + +- f5b53d4 transformer: Do not update options from comments when `only_remove_type_imports` is enabled (#10167) (Dunqing) + +### Refactor + +- bcdbd38 transformer, minifier: Replace `AstBuilder::move_xxxx` methods with `TakeIn` trait (#10170) (Dunqing) + +### Styling + +- 66a0001 all: Remove unnecessary semi-colons (#10198) (overlookmotel) + ## [0.62.0] - 2025-04-01 - cd1f035 semantic: [**BREAKING**] Store symbol information as the first entry in `symbol_declarations` when it is redeclared (#10062) (Dunqing) diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index dedbe71958934..74450271479f9 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.62.0" +version = "0.63.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_traverse/CHANGELOG.md b/crates/oxc_traverse/CHANGELOG.md index 22651a70b5cf0..3e84630717e16 100644 --- a/crates/oxc_traverse/CHANGELOG.md +++ b/crates/oxc_traverse/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.63.0] - 2025-04-08 + +- a26fd34 ast: [**BREAKING**] Remove `JSXOpeningElement::self_closing` field (#10275) (overlookmotel) + +### Bug Fixes + +- f48f895 transfomer/using: Remove use of child ids (#9961) (camc314) + +### Refactor + +- d43e864 ast_tools: Generate `ChildScopesCollector` in `oxc_ast_tools` (#10248) (overlookmotel) +- e53708e traverse: Remove repeated code (#10245) (overlookmotel) + ## [0.62.0] - 2025-04-01 ### Bug Fixes diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 1b7a36e61ff7d..b25881a9434f9 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.62.0" +version = "0.63.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/minify/package.json b/napi/minify/package.json index 0a9a8ef0b0626..52ef1051a857d 100644 --- a/napi/minify/package.json +++ b/napi/minify/package.json @@ -1,6 +1,6 @@ { "name": "oxc-minify", - "version": "0.62.0", + "version": "0.63.0", "main": "index.js", "browser": "browser.js", "scripts": { diff --git a/napi/parser/CHANGELOG.md b/napi/parser/CHANGELOG.md index 5e304fb008b46..590d4531912ee 100644 --- a/napi/parser/CHANGELOG.md +++ b/napi/parser/CHANGELOG.md @@ -4,6 +4,56 @@ 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.63.0] - 2025-04-08 + +- a26fd34 ast: [**BREAKING**] Remove `JSXOpeningElement::self_closing` field (#10275) (overlookmotel) + +### Bug Fixes + +- e42c040 ast/estree: Add TS fields to `LabelIdentifier` (#10295) (overlookmotel) +- 06fc07c ast/estree: Fix `TSImportType` (#10200) (therewillbecode) +- 760188e ast/estree: Fix `BindingProperty` (#10193) (therewillbecode) +- f547d76 ast/estree: Add `TSEnumBody` to `TSEnumDeclaration.body` (#10017) (Yuji Sugiura) +- 34d5c00 ast/estree: Fix `ExportDefaultDeclaration` node (#10165) (therewillbecode) +- 498b479 ast/estree: Fix `AccessorProperty` node (#10067) (therewillbecode) +- bf90072 ast/estree: Fix `ObjectProperty` node (#10018) (therewillbecode) +- 27768a5 parser: Store lone surrogates in `TemplateElementValue` as escape sequence (#10182) (overlookmotel) +- 38d2bea parser: Fix parsing lone surrogates in `StringLiteral`s (#10180) (overlookmotel) +- 52f2a40 span/estree: Skip `ModuleKind::Unambiguous` varient for `estree` (#10146) (Dunqing) + +### Refactor + +- b662df4 ast/estree: Alter `Program` start span with converter (#10195) (overlookmotel) + +### Testing + +- bdded7e ast/estree: Add tests for JSX via raw transfer (#10241) (overlookmotel) + +## [0.63.0] - 2025-04-08 + +- a26fd34 ast: [**BREAKING**] Remove `JSXOpeningElement::self_closing` field (#10275) (overlookmotel) + +### Bug Fixes + +- e42c040 ast/estree: Add TS fields to `LabelIdentifier` (#10295) (overlookmotel) +- 06fc07c ast/estree: Fix `TSImportType` (#10200) (therewillbecode) +- 760188e ast/estree: Fix `BindingProperty` (#10193) (therewillbecode) +- f547d76 ast/estree: Add `TSEnumBody` to `TSEnumDeclaration.body` (#10017) (Yuji Sugiura) +- 34d5c00 ast/estree: Fix `ExportDefaultDeclaration` node (#10165) (therewillbecode) +- 498b479 ast/estree: Fix `AccessorProperty` node (#10067) (therewillbecode) +- bf90072 ast/estree: Fix `ObjectProperty` node (#10018) (therewillbecode) +- 27768a5 parser: Store lone surrogates in `TemplateElementValue` as escape sequence (#10182) (overlookmotel) +- 38d2bea parser: Fix parsing lone surrogates in `StringLiteral`s (#10180) (overlookmotel) +- 52f2a40 span/estree: Skip `ModuleKind::Unambiguous` varient for `estree` (#10146) (Dunqing) + +### Refactor + +- b662df4 ast/estree: Alter `Program` start span with converter (#10195) (overlookmotel) + +### Testing + +- bdded7e ast/estree: Add tests for JSX via raw transfer (#10241) (overlookmotel) + ## [0.62.0] - 2025-04-01 ### Features diff --git a/napi/parser/Cargo.toml b/napi/parser/Cargo.toml index 31553ab490bf2..098bdb893451e 100644 --- a/napi/parser/Cargo.toml +++ b/napi/parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser_napi" -version = "0.62.0" +version = "0.63.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/parser/package.json b/napi/parser/package.json index 9e02bdb1b7302..e3a83c3268e3c 100644 --- a/napi/parser/package.json +++ b/napi/parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.62.0", + "version": "0.63.0", "main": "index.js", "browser": "wasm.mjs", "scripts": { diff --git a/napi/transform/CHANGELOG.md b/napi/transform/CHANGELOG.md index 57c6a0f27908a..38cd7fd9fae23 100644 --- a/napi/transform/CHANGELOG.md +++ b/napi/transform/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.63.0] - 2025-04-08 + +### Features + +- 78f1b3a transformer: Enable `using` by default (#10286) (Boshen) + +## [0.63.0] - 2025-04-08 + +### Features + +- 78f1b3a transformer: Enable `using` by default (#10286) (Boshen) + ## [0.61.0] - 2025-03-20 ### Features diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index a8938f2df453d..5646bfc134189 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.62.0" +version = "0.63.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/transform/package.json b/napi/transform/package.json index f6f38ec460f95..967a82266595c 100644 --- a/napi/transform/package.json +++ b/napi/transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.62.0", + "version": "0.63.0", "main": "index.js", "browser": "browser.js", "scripts": { diff --git a/npm/oxc-types/CHANGELOG.md b/npm/oxc-types/CHANGELOG.md index 4dc060b8aede5..d59e5fd6d3608 100644 --- a/npm/oxc-types/CHANGELOG.md +++ b/npm/oxc-types/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.63.0] - 2025-04-08 + +### Bug Fixes + +- e42c040 ast/estree: Add TS fields to `LabelIdentifier` (#10295) (overlookmotel) +- 06fc07c ast/estree: Fix `TSImportType` (#10200) (therewillbecode) +- 760188e ast/estree: Fix `BindingProperty` (#10193) (therewillbecode) +- f547d76 ast/estree: Add `TSEnumBody` to `TSEnumDeclaration.body` (#10017) (Yuji Sugiura) +- 34d5c00 ast/estree: Fix `ExportDefaultDeclaration` node (#10165) (therewillbecode) +- 498b479 ast/estree: Fix `AccessorProperty` node (#10067) (therewillbecode) +- bf90072 ast/estree: Fix `ObjectProperty` node (#10018) (therewillbecode) +- 52f2a40 span/estree: Skip `ModuleKind::Unambiguous` varient for `estree` (#10146) (Dunqing) + ## [0.62.0] - 2025-04-01 ### Bug Fixes diff --git a/npm/oxc-types/package.json b/npm/oxc-types/package.json index df6a7f4c88de3..fec254a18de65 100644 --- a/npm/oxc-types/package.json +++ b/npm/oxc-types/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/types", - "version": "0.62.0", + "version": "0.63.0", "description": "Types for Oxc AST nodes", "keywords": [ "AST", diff --git a/npm/runtime/package.json b/npm/runtime/package.json index 6d742f97d71ec..a1f276935a6c8 100644 --- a/npm/runtime/package.json +++ b/npm/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/runtime", - "version": "0.62.0", + "version": "0.63.0", "description": "Oxc's modular runtime helpers", "license": "MIT", "repository": {