diff --git a/Cargo.lock b/Cargo.lock index 4a2e82a978c5c..5ff6fa328d461 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1374,7 +1374,7 @@ checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56" [[package]] name = "oxc" -version = "0.34.0" +version = "0.35.0" dependencies = [ "napi", "napi-derive", @@ -1441,7 +1441,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.34.0" +version = "0.35.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1451,7 +1451,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.34.0" +version = "0.35.0" dependencies = [ "bitflags 2.6.0", "num-bigint", @@ -1467,7 +1467,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.34.0" +version = "0.35.0" dependencies = [ "proc-macro2", "quote", @@ -1516,7 +1516,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.34.0" +version = "0.35.0" dependencies = [ "bitflags 2.6.0", "itertools", @@ -1529,7 +1529,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.34.0" +version = "0.35.0" dependencies = [ "assert-unchecked", "base64", @@ -1576,14 +1576,14 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.34.0" +version = "0.35.0" dependencies = [ "assert-unchecked", ] [[package]] name = "oxc_diagnostics" -version = "0.34.0" +version = "0.35.0" dependencies = [ "oxc-miette", "rustc-hash", @@ -1591,7 +1591,7 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.34.0" +version = "0.35.0" dependencies = [ "num-bigint", "num-traits", @@ -1604,11 +1604,11 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.34.0" +version = "0.35.0" [[package]] name = "oxc_index" -version = "0.34.0" +version = "0.35.0" dependencies = [ "rayon", "serde", @@ -1616,7 +1616,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.34.0" +version = "0.35.0" dependencies = [ "bitflags 2.6.0", "insta", @@ -1715,7 +1715,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.34.0" +version = "0.35.0" dependencies = [ "itertools", "oxc_ast", @@ -1726,7 +1726,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.34.0" +version = "0.35.0" dependencies = [ "cow-utils", "insta", @@ -1774,7 +1774,7 @@ dependencies = [ [[package]] name = "oxc_module_lexer" -version = "0.34.0" +version = "0.35.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1785,7 +1785,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.34.0" +version = "0.35.0" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -1860,7 +1860,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.34.0" +version = "0.35.0" dependencies = [ "oxc_allocator", "oxc_ast_macros", @@ -1895,7 +1895,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.34.0" +version = "0.35.0" dependencies = [ "assert-unchecked", "indexmap", @@ -1920,7 +1920,7 @@ dependencies = [ [[package]] name = "oxc_sourcemap" -version = "0.34.0" +version = "0.35.0" dependencies = [ "base64-simd", "cfg-if", @@ -1933,7 +1933,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.34.0" +version = "0.35.0" dependencies = [ "compact_str", "oxc-miette", @@ -1946,7 +1946,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.34.0" +version = "0.35.0" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -2005,7 +2005,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.34.0" +version = "0.35.0" dependencies = [ "napi", "napi-build", @@ -2015,7 +2015,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.34.0" +version = "0.35.0" dependencies = [ "base64", "cow-utils", @@ -2046,7 +2046,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.34.0" +version = "0.35.0" dependencies = [ "compact_str", "itoa", diff --git a/Cargo.toml b/Cargo.toml index 3c90a0572ab3d..9389e25ac094a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -78,30 +78,30 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.34.0", path = "crates/oxc" } -oxc_allocator = { version = "0.34.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.34.0", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.34.0", path = "crates/oxc_ast_macros" } -oxc_cfg = { version = "0.34.0", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.34.0", path = "crates/oxc_codegen" } -oxc_data_structures = { version = "0.34.0", path = "crates/oxc_data_structures" } -oxc_diagnostics = { version = "0.34.0", path = "crates/oxc_diagnostics" } -oxc_ecmascript = { version = "0.34.0", path = "crates/oxc_ecmascript" } -oxc_estree = { version = "0.34.0", path = "crates/oxc_estree" } -oxc_index = { version = "0.34.0", path = "crates/oxc_index" } -oxc_isolated_declarations = { version = "0.34.0", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.34.0", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.34.0", path = "crates/oxc_minifier" } -oxc_module_lexer = { version = "0.34.0", path = "crates/oxc_module_lexer" } -oxc_parser = { version = "0.34.0", path = "crates/oxc_parser" } -oxc_regular_expression = { version = "0.34.0", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.34.0", path = "crates/oxc_semantic" } -oxc_sourcemap = { version = "0.34.0", path = "crates/oxc_sourcemap" } -oxc_span = { version = "0.34.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.34.0", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.34.0", path = "napi/transform" } -oxc_transformer = { version = "0.34.0", path = "crates/oxc_transformer" } -oxc_traverse = { version = "0.34.0", path = "crates/oxc_traverse" } +oxc = { version = "0.35.0", path = "crates/oxc" } +oxc_allocator = { version = "0.35.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.35.0", path = "crates/oxc_ast" } +oxc_ast_macros = { version = "0.35.0", path = "crates/oxc_ast_macros" } +oxc_cfg = { version = "0.35.0", path = "crates/oxc_cfg" } +oxc_codegen = { version = "0.35.0", path = "crates/oxc_codegen" } +oxc_data_structures = { version = "0.35.0", path = "crates/oxc_data_structures" } +oxc_diagnostics = { version = "0.35.0", path = "crates/oxc_diagnostics" } +oxc_ecmascript = { version = "0.35.0", path = "crates/oxc_ecmascript" } +oxc_estree = { version = "0.35.0", path = "crates/oxc_estree" } +oxc_index = { version = "0.35.0", path = "crates/oxc_index" } +oxc_isolated_declarations = { version = "0.35.0", path = "crates/oxc_isolated_declarations" } +oxc_mangler = { version = "0.35.0", path = "crates/oxc_mangler" } +oxc_minifier = { version = "0.35.0", path = "crates/oxc_minifier" } +oxc_module_lexer = { version = "0.35.0", path = "crates/oxc_module_lexer" } +oxc_parser = { version = "0.35.0", path = "crates/oxc_parser" } +oxc_regular_expression = { version = "0.35.0", path = "crates/oxc_regular_expression" } +oxc_semantic = { version = "0.35.0", path = "crates/oxc_semantic" } +oxc_sourcemap = { version = "0.35.0", path = "crates/oxc_sourcemap" } +oxc_span = { version = "0.35.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.35.0", path = "crates/oxc_syntax" } +oxc_transform_napi = { version = "0.35.0", path = "napi/transform" } +oxc_transformer = { version = "0.35.0", path = "crates/oxc_transformer" } +oxc_traverse = { version = "0.35.0", path = "crates/oxc_traverse" } # publish = false oxc_linter = { path = "crates/oxc_linter" } diff --git a/crates/oxc/CHANGELOG.md b/crates/oxc/CHANGELOG.md index 73a027eb8abd7..341ec747edd01 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.35.0] - 2024-11-04 + +### Features + +- fcaba4a transformer: Add `TransformerOptions::env` with `EnvOptions` (#7037) (Boshen) + +### Bug Fixes + +- d15e408 napi/transform: Fix 'typescript.declaration' option not working (#7012) (Boshen) +- b188b4a transformer: Fix typescript globals being recognized as globals (#7100) (Boshen) + ## [0.34.0] - 2024-10-26 - 4618aa2 transformer: [**BREAKING**] Rename `TransformerOptions::react` to `jsx` (#6888) (Boshen) diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 8702bd4560b7c..78b7862877c45 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.34.0" +version = "0.35.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 e46f84dd14419..1cb198ff0538d 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.34.0" +version = "0.35.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 a8768d344b1cb..6140b0662793b 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/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.35.0] - 2024-11-04 + +- f543a8d ast: [**BREAKING**] Remove `AstBuilder::*_from_*` methods (#7073) (overlookmotel) + +### Features + +- 854870e ast: Label AST fields with #[ts] (#6987) (ottomated) +- ce5b609 ast: Remove explicit untagged marker on enums (#6915) (ottomated) +- 9725e3c ast_tools: Add #[estree(always_flatten)] to Span (#6935) (ottomated) +- fbc297e ast_tools: Move tsify custom types to estree attribute macro (#6934) (ottomated) +- 169fa22 ast_tools: Default enums to rename_all = "camelCase" (#6933) (ottomated) +- 6516f9e codegen: Print inline legal comments (#7054) (Boshen) +- 1e2f012 linter: Add `oxc/no-map-spread` (#6751) (DonIsaac) + +### Bug Fixes + +- 0601271 ast: Fix `StaticMemberExpression.get_first_object` (#6969) (tomoya yanagibashi) +- f5a7134 linter/no-unused-vars: False positive for discarded reads within sequences (#6907) (DonIsaac) +- caaf00e parser: Fix incorrect parsed `TSIndexSignature` (#7016) (Boshen) + +### Performance + +- 6ca01b9 ast: Reduce size of `Comment` (#6921) (overlookmotel) + +### Refactor + +- b0211a1 ast: `StaticMemberExpression::get_first_object` use loop instead of recursion (#7065) (overlookmotel) +- fc07458 ast: Move custom types `.d.ts` file (#6931) (overlookmotel) +- c41c013 ast: Rename lifetime (#6922) (overlookmotel) +- 4cf0085 ast_tools: Reorder imports in generated code (#6926) (overlookmotel) +- 4688a06 transformer: Use `*_with_scope_id` builder methods where possible (#7055) (overlookmotel) +- df3b089 transformer/react-refresh: Use `StatementInjector` to insert statements (#6881) (Dunqing) + ## [0.34.0] - 2024-10-26 ### Features diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index 88174d5b40672..8333bfb44fd4a 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.34.0" +version = "0.35.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 5444086749ae9..162e0f26a1038 100644 --- a/crates/oxc_ast_macros/CHANGELOG.md +++ b/crates/oxc_ast_macros/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.35.0] - 2024-11-04 + +### Features + +- 854870e ast: Label AST fields with #[ts] (#6987) (ottomated) + ## [0.32.0] - 2024-10-19 ### Features diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index 2a0f5a16f333c..666e60cfe70fe 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.34.0" +version = "0.35.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 009645ccb0f13..75b2e1627bce6 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.34.0" +version = "0.35.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 91ba618c1685a..2e683420c1531 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/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.35.0] - 2024-11-04 + +### Features + +- caa4b1f codegen: Improve printing of comments (#7108) (Boshen) +- 001058a codegen: Always print legal comments on its own line (#7089) (Boshen) +- 413973d codegen: Print linked and external legal comment (#7059) (Boshen) +- ee27b92 codegen: Print eof legal comments (#7058) (Boshen) +- 6516f9e codegen: Print inline legal comments (#7054) (Boshen) + +### Refactor + +- dd79c1b codegen: Replace `daachorse` with string match for annotation comment (#7064) (Boshen) +- 0bb1aa4 codegen: Move options to its own file (#7053) (Boshen) + ## [0.34.0] - 2024-10-26 ### Refactor diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index 206da14fc6708..7be6d7fb4c4b7 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.34.0" +version = "0.35.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_data_structures/CHANGELOG.md b/crates/oxc_data_structures/CHANGELOG.md index 0ae9527395d30..43444012588c3 100644 --- a/crates/oxc_data_structures/CHANGELOG.md +++ b/crates/oxc_data_structures/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.35.0] - 2024-11-04 + +### Performance + +- c58ec89 data_structures: Optimize `NonEmptyStack::pop` (#7021) (overlookmotel) + +### Refactor + +- b021147 data_structures: Make all methods of `NonNull` shim `#[inline(always)]` (#7024) (overlookmotel) +- fb1710a data_structures: Add `#[repr(transparent)]` to `NonNull` shim (#7023) (overlookmotel) +- f1fc8db data_structures: Add `read` method to `NonNull` shim (#7022) (overlookmotel) + ## [0.32.0] - 2024-10-19 ### Bug Fixes diff --git a/crates/oxc_data_structures/Cargo.toml b/crates/oxc_data_structures/Cargo.toml index 8a355bb790718..8654a091a373b 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.34.0" +version = "0.35.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 dbcabe48edc98..0db2b0b1461d1 100644 --- a/crates/oxc_diagnostics/CHANGELOG.md +++ b/crates/oxc_diagnostics/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.35.0] - 2024-11-04 + +### Features + +- 6d97af4 rust: Use `oxc-miette` (#6938) (Boshen) + ## [0.30.2] - 2024-09-27 ### Bug Fixes diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index cdd6d75d094ff..f6937dd81becc 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.34.0" +version = "0.35.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ecmascript/CHANGELOG.md b/crates/oxc_ecmascript/CHANGELOG.md index 7462b0f85296b..25eb514511b6b 100644 --- a/crates/oxc_ecmascript/CHANGELOG.md +++ b/crates/oxc_ecmascript/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.35.0] - 2024-11-04 + +### Bug Fixes + +- da199c7 ecmascript: Allow getting PropName for object methods (#6967) (camchenry) + ## [0.34.0] - 2024-10-26 ### Features diff --git a/crates/oxc_ecmascript/Cargo.toml b/crates/oxc_ecmascript/Cargo.toml index db6a17192c94d..164e6226136ba 100644 --- a/crates/oxc_ecmascript/Cargo.toml +++ b/crates/oxc_ecmascript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ecmascript" -version = "0.34.0" +version = "0.35.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 8dbd88c95befa..01b0b802c799d 100644 --- a/crates/oxc_estree/Cargo.toml +++ b/crates/oxc_estree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_estree" -version = "0.34.0" +version = "0.35.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_index/Cargo.toml b/crates/oxc_index/Cargo.toml index 7e98b8d4c7340..16a13b174a402 100644 --- a/crates/oxc_index/Cargo.toml +++ b/crates/oxc_index/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_index" -version = "0.34.0" +version = "0.35.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 6caf0d2a44081..13b9889cb35c3 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.35.0] - 2024-11-04 + +### Features + +- 6d97af4 rust: Use `oxc-miette` (#6938) (Boshen) + +### Refactor + +- cea0e6b isolated_declarations: Do not use `AstBuilder::*_from_*` methods (#7071) (overlookmotel) + ## [0.34.0] - 2024-10-26 ### Refactor diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index 37c6473b9cc59..af6d298a0a7ba 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.34.0" +version = "0.35.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 833374523cc3a..de1afea286039 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.34.0" +version = "0.35.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 736f376a41299..e812e1b4a406a 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/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.35.0] - 2024-11-04 + +### Refactor + +- 97caae1 minifier: Do not use `AstBuilder::*_from_*` methods (#7072) (overlookmotel) +- 2c7ac29 minifier: Remove `Tri`, use `Option` instead (#6912) (Boshen) + ## [0.34.0] - 2024-10-26 ### Features diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index 783236ee50945..710b2662c7680 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.34.0" +version = "0.35.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_module_lexer/CHANGELOG.md b/crates/oxc_module_lexer/CHANGELOG.md index 88a421657bfe5..e4ff71aba877f 100644 --- a/crates/oxc_module_lexer/CHANGELOG.md +++ b/crates/oxc_module_lexer/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.35.0] - 2024-11-04 + +### Bug Fixes + +- 9ed9501 module_lexer: Add missing `export * from 'foo';` case (#7103) (Boshen) + +### Testing + +- 64e2499 module_lexer: Use a single integration test for faster compilation (#7097) (Boshen) + ## [0.34.0] - 2024-10-26 ### Refactor diff --git a/crates/oxc_module_lexer/Cargo.toml b/crates/oxc_module_lexer/Cargo.toml index fb5e0f53ecca7..c7a6e415eb326 100644 --- a/crates/oxc_module_lexer/Cargo.toml +++ b/crates/oxc_module_lexer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_module_lexer" -version = "0.34.0" +version = "0.35.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 bfd65e0edb490..e504fbdfb5c85 100644 --- a/crates/oxc_parser/CHANGELOG.md +++ b/crates/oxc_parser/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.35.0] - 2024-11-04 + +### Bug Fixes + +- caaf00e parser: Fix incorrect parsed `TSIndexSignature` (#7016) (Boshen) + +### Performance + +- fa9a4ec parser: Check `.` before `[` in `parse_member_expression_rest` (#6979) (Boshen) + +### Refactor + +- 953b051 parser: Remove `oxc_ecmascript` crate (#7109) (Boshen) +- fdd480d parser: Do not use `AstBuilder::*_from_*` methods (#7068) (overlookmotel) +- 9e85b10 parser: Add `ParserImpl::alloc` method (#7063) (overlookmotel) +- 17a938e parser: Use function `parse_type_member_semicolon` (#7018) (Boshen) +- aa1b29c parser: Remove `parse_ts_index_signature_member` function (#7017) (Boshen) + ## [0.34.0] - 2024-10-26 ### Refactor diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index a74281a880846..e1742adb6a03a 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.34.0" +version = "0.35.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 e97b4dd47fe3d..61c020c242f56 100644 --- a/crates/oxc_regular_expression/CHANGELOG.md +++ b/crates/oxc_regular_expression/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.35.0] - 2024-11-04 + +### Features + +- ce5b609 ast: Remove explicit untagged marker on enums (#6915) (ottomated) +- 9725e3c ast_tools: Add #[estree(always_flatten)] to Span (#6935) (ottomated) +- 169fa22 ast_tools: Default enums to rename_all = "camelCase" (#6933) (ottomated) + ## [0.34.0] - 2024-10-26 - 90c786c regular_expression: [**BREAKING**] Support ES2025 Duplicated named capture groups (#6847) (leaysgur) diff --git a/crates/oxc_regular_expression/Cargo.toml b/crates/oxc_regular_expression/Cargo.toml index 370d66248e5e7..a431816eaf311 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.34.0" +version = "0.35.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 3219e184ad5f0..e94fa5be50803 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/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.35.0] - 2024-11-04 + +- 9a6a2f9 semantic: [**BREAKING**] Remove `SymbolTable::get_symbol_id_from_span` API (#6955) (Boshen) + +### Bug Fixes + +- da199c7 ecmascript: Allow getting PropName for object methods (#6967) (camchenry) + +### Refactor + + ## [0.34.0] - 2024-10-26 ### Refactor diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index f5b101d1c3bf8..c8a1a0bde20df 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.34.0" +version = "0.35.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_sourcemap/Cargo.toml b/crates/oxc_sourcemap/Cargo.toml index 3954c5b7ce3b6..283657f19fa0d 100644 --- a/crates/oxc_sourcemap/Cargo.toml +++ b/crates/oxc_sourcemap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_sourcemap" -version = "0.34.0" +version = "0.35.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 0971c44806b7d..2d9432496dfe1 100644 --- a/crates/oxc_span/CHANGELOG.md +++ b/crates/oxc_span/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.35.0] - 2024-11-04 + +### Features + +- 9725e3c ast_tools: Add #[estree(always_flatten)] to Span (#6935) (ottomated) +- 169fa22 ast_tools: Default enums to rename_all = "camelCase" (#6933) (ottomated) + ## [0.34.0] - 2024-10-26 ### Features diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index b3e20c1546e6d..7a3a732fc17d6 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.34.0" +version = "0.35.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 2ee726b64bdff..9680b0e14770f 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.35.0] - 2024-11-04 + +### Features + +- 169fa22 ast_tools: Default enums to rename_all = "camelCase" (#6933) (ottomated) + ## [0.34.0] - 2024-10-26 ### Features diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index 5cb80bd70704b..b2bb5d5de069d 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.34.0" +version = "0.35.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 f3b688e317aad..370fe2c1b1dd1 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/CHANGELOG.md @@ -4,6 +4,62 @@ 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.35.0] - 2024-11-04 + +- b8daab3 transformer: [**BREAKING**] API to `TryFrom<&EnvOptions> for TransformOptions` and `TryFrom<&BabelOptions> TransformOptions` (#7020) (Boshen) + +### Features + +- bfdbcf1 transformer: Add `EnvOptions::from_browerslist_query` API (#7098) (Boshen) +- 21b8e49 transformer: Add `ESTarget` (#7091) (Boshen) +- fcaba4a transformer: Add `TransformerOptions::env` with `EnvOptions` (#7037) (Boshen) +- 1d906c6 transformer: Class properties transform skeleton (#7038) (overlookmotel) +- 934cb5e transformer: Add `async_generator_functions` plugin (#6573) (Dunqing) + +### Bug Fixes + +- a2244ff transformer/async-to-generator: Output is incorrect when arrow function without params (#7052) (Dunqing) + +### Refactor + +- 7f1d1fe transform: Deserialize `BabelPreests::env` directly (#7051) (Boshen) +- 76947e2 transform: Refactor Babel Targets (#7026) (Boshen) +- d03e622 transformer: Do not use `AstBuilder::*_from_*` methods (#7070) (overlookmotel) +- 9d384ad transformer: Use `identifier_reference_with_reference_id` builder method (#7056) (overlookmotel) +- 4688a06 transformer: Use `*_with_scope_id` builder methods where possible (#7055) (overlookmotel) +- 7122e00 transformer: Use `ctx.alloc` over `ctx.ast.alloc` where possible (#7066) (overlookmotel) +- a3b68b4 transformer: Flatten dir structure of options/babel/env (#7049) (Boshen) +- 6d92f36 transformer: Deserialize `BabelOptions::compiler_assumptions` (#7048) (Boshen) +- f83a760 transformer: Deserialize `BabelOptions::presets` (#7047) (Boshen) +- 52c20d6 transformer: Deserialize `BabelOptions::plugins` (#7045) (Boshen) +- e921df6 transformer: Rename `EnvOptions` to `BabelEnvOptions` (#7036) (Boshen) +- af5140f transformer: Isolate babel options logic (#7034) (Boshen) +- 12aa910 transformer: Clean up `env/targets/query.rs` (#7033) (Boshen) +- 3d174bb transformer: Clean up `BabelOptions` (#7029) (Boshen) +- 6284f84 transformer: Use `Browserslist::Version` (#7028) (Boshen) +- 5b11cdf transformer: Clean up TransformerOptions (#7005) (Boshen) +- f0c87d4 transformer: Mark all EnvOptions as not implemented (#7004) (Boshen) +- d9edef6 transformer: Combine ObjectRestSpread into a single file (#7002) (Boshen) +- c945fe7 transformer: Import `oxc_allocator::Box` as `ArenaBox` (#6999) (overlookmotel) +- fc1af2e transformer: Import `oxc_allocator::Vec` as `ArenaVec` (#6998) (overlookmotel) +- 63e8bfe transformer: Rename `AString` to `ArenaString` (#6997) (overlookmotel) +- 562bb9a transformer/async-to-generator: Move transform methods to `AsyncGeneratorExecutor` and make it public (#6992) (Dunqing) +- e23f7e6 transformer/common: `VarDeclarations` insert either `var` or `let` statements (#7043) (overlookmotel) +- e5ecbb9 transformer/jsx: Return `&mut T` not `&mut ArenaBox` (#7001) (overlookmotel) +- 9e66c29 transformer/react-refresh: Small refactor (#6973) (overlookmotel) +- 1ca8cd2 transformer/react-refresh: Avoid panic for `init` of `VariableDeclarator` isn't a `BindingIdentifier` (#6937) (Dunqing) +- 5f153ac transformer/react-refresh: Use `VarDeclarations` to insert declarators (#6884) (Dunqing) +- df3b089 transformer/react-refresh: Use `StatementInjector` to insert statements (#6881) (Dunqing) +- ae22671 transformer/typescript: Pass `&mut T` not `&mut ArenaBox` (#7000) (overlookmotel) + +### Styling + +- 86ab091 transformer/common: Split up `StatementInjectorStore` methods into blocks (#7042) (overlookmotel) + +### Testing + +- 6133a50 transformer: Use a single integration test for faster compilation (#7099) (Boshen) + ## [0.34.0] - 2024-10-26 - 4618aa2 transformer: [**BREAKING**] Rename `TransformerOptions::react` to `jsx` (#6888) (Boshen) diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index 6adc1ffe7bb1a..b15bcb233de08 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.34.0" +version = "0.35.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 0eea5ed940dc5..813c6fa46e9fd 100644 --- a/crates/oxc_traverse/CHANGELOG.md +++ b/crates/oxc_traverse/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.35.0] - 2024-11-04 + +### Bug Fixes + +- caaf00e parser: Fix incorrect parsed `TSIndexSignature` (#7016) (Boshen) + +### Refactor + +- d9edef6 transformer: Combine ObjectRestSpread into a single file (#7002) (Boshen) +- 938ee87 traverse: Do not use `AstBuilder::*_from_*` methods (#7069) (overlookmotel) + ## [0.34.0] - 2024-10-26 ### Features diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 900d22116b009..0421f491b245d 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.34.0" +version = "0.35.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/transform/CHANGELOG.md b/napi/transform/CHANGELOG.md index 25fd40270a834..cbc48d611bbc9 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.35.0] - 2024-11-04 + +### Bug Fixes + +- d15e408 napi/transform: Fix 'typescript.declaration' option not working (#7012) (Boshen) +- dcdb9ea napi/transform: Fix test (Boshen) +- b188b4a transformer: Fix typescript globals being recognized as globals (#7100) (Boshen) + +### Refactor + +- 335eb38 ast_tools: Faster formatting Rust code (#6972) (overlookmotel) + ## [0.32.0] - 2024-10-19 - 91c87dd codegen: [**BREAKING**] Remove `Codegen::enableSourceMap` API (#6452) (Boshen) diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index da33f2e954ba6..4e67908b837ac 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.34.0" +version = "0.35.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/npm/oxc-parser/CHANGELOG.md b/npm/oxc-parser/CHANGELOG.md index 8ac718f8f4711..f5491c12fa332 100644 --- a/npm/oxc-parser/CHANGELOG.md +++ b/npm/oxc-parser/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.35.0] - 2024-11-04 + +### Bug Fixes + +- 7d12669 types: Move @oxc-project/types to dependencies (#6909) (ottomated) + ## [0.34.0] - 2024-10-26 - 67a7bde napi/parser: [**BREAKING**] Add typings to napi/parser (#6796) (ottomated) diff --git a/npm/oxc-parser/package.json b/npm/oxc-parser/package.json index b5f2ea582d92a..3853704f8a786 100644 --- a/npm/oxc-parser/package.json +++ b/npm/oxc-parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.34.0", + "version": "0.35.0", "description": "Oxc Parser Node API", "keywords": [ "Parser" diff --git a/npm/oxc-transform/package.json b/npm/oxc-transform/package.json index 35df36d31c0b1..691d7a90b5c5a 100644 --- a/npm/oxc-transform/package.json +++ b/npm/oxc-transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.34.0", + "version": "0.35.0", "description": "Oxc transform Node API", "keywords": [ "transform" diff --git a/npm/oxc-types/CHANGELOG.md b/npm/oxc-types/CHANGELOG.md index b7d9073fe23cd..06f41d4ae66ff 100644 --- a/npm/oxc-types/CHANGELOG.md +++ b/npm/oxc-types/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.35.0] - 2024-11-04 + +### Features + +- 9725e3c ast_tools: Add #[estree(always_flatten)] to Span (#6935) (ottomated) + +### Bug Fixes + +- caaf00e parser: Fix incorrect parsed `TSIndexSignature` (#7016) (Boshen) + +### Refactor + +- 9926990 napi: Move custom types to bottom of file (#6930) (overlookmotel) +- 23157bd napi: Types file in root of types package (#6929) (overlookmotel) + ## [0.34.0] - 2024-10-26 - 67a7bde napi/parser: [**BREAKING**] Add typings to napi/parser (#6796) (ottomated) diff --git a/npm/oxc-types/package.json b/npm/oxc-types/package.json index 74177b854f1d9..4bdc1a7605d8e 100644 --- a/npm/oxc-types/package.json +++ b/npm/oxc-types/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/types", - "version": "0.34.0", + "version": "0.35.0", "description": "Types for Oxc AST nodes", "keywords": [ "AST", @@ -22,4 +22,4 @@ "files": [ "types.d.ts" ] -} +} \ No newline at end of file diff --git a/wasm/parser/CHANGELOG.md b/wasm/parser/CHANGELOG.md index 70a40c1f730aa..ae340a12a9ed1 100644 --- a/wasm/parser/CHANGELOG.md +++ b/wasm/parser/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.35.0] - 2024-11-04 + +### Bug Fixes + +- 7d12669 types: Move @oxc-project/types to dependencies (#6909) (ottomated) + ## [0.34.0] - 2024-10-26 ### Features diff --git a/wasm/parser/package.json b/wasm/parser/package.json index 3360aaf83ba47..96eee500b7e36 100644 --- a/wasm/parser/package.json +++ b/wasm/parser/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-parser/wasm", - "version": "0.34.0", + "version": "0.35.0", "description": "Wasm target for the oxc parser.", "keywords": [ "JavaScript",