From a727ee8aca016f557d946863f2413c0b4d741fff Mon Sep 17 00:00:00 2001 From: oxc-bot Date: Wed, 11 Sep 2024 17:57:55 +0800 Subject: [PATCH] release(oxc): crates v0.28.0 (#5696) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [0.28.0] - 2024-09-11 - afc4548 ast: [**BREAKING**] Educe byte size of `TaggedTemplateExpression::quasi` by `Boxing` it (#5679) (Boshen) - 7415e85 ast: [**BREAKING**] Reduce byte size of `TSImportType::attributes` by `Box`ing it (#5678) (Boshen) - ee4fb42 ast: [**BREAKING**] Reduce size of `WithClause` by `Box`ing it (#5677) (Boshen) - 1fa3e56 semantic: [**BREAKING**] Rename `SymbolTable::iter` to `symbol_ids` (#5621) (overlookmotel) - 96a1552 semantic: [**BREAKING**] Remove `SymbolTable::iter_rev` (#5620) (overlookmotel) - 4a8aec1 span: [**BREAKING**] Change `SourceType::js` to `SourceType::cjs` and `SourceType::mjs` (#5606) (Boshen) - 603817b oxc: [**BREAKING**] Add `SourceType::Unambiguous`; parse `.js` as unambiguous (#5557) (Boshen) - b060525 semantic: [**BREAKING**] Remove `source_type` argument from `SemanticBuilder::new` (#5553) (Boshen) ### Features - 2da5ad1 ast: Add `JSXElementName::get_identifier` method (#5556) (overlookmotel) - 2016bae coverage: Add regular expression idempotency test (#5676) (Boshen) - 68c3cf5 minifier: Fold `void 1` -> `void 0` (#5670) (Boshen) - c6bbf94 minifier: Constant fold unary expression (#5669) (Boshen) - 86256ea minifier: Constant fold `typeof` (#5666) (Boshen) - e698418 napi/transform: Align output `SourceMap` with Rollup's `ExistingRawSourceMap` (#5657) (Boshen) - aba9194 napi/transform: Export react refresh options (#5533) (underfin) - 642295c semantic: Add `SymbolTable::delete_resolved_reference` method (#5558) (overlookmotel) - b3cbd56 span: `format_compact_str!` macro (#5610) (overlookmotel) - 95a6d99 transformer: Enable the react refresh plugin in enable_all (#5630) (Dunqing) - 7b543df transformer/react: Handle `refresh_sig` and `refresh_reg` options correctly (#5638) (Dunqing) - 17226dd traverse: Add methods for deleting references (#5559) (overlookmotel) ### Bug Fixes - d62defb codegen: Do not print trailing commas for `ArrayExpression` (#5551) (Boshen) - 1bc08e2 coverage: Parse babel unambiguously (#5579) (Boshen) - 28b934c coverage: Apply `always_strict` to test262 and typescript per the specifcation (#5555) (Boshen) - b9bf544 isolated-declarations: False positive for setter method in `interface` (#5681) (Dunqing) - 6e8409a isolated-declarations: Bindings referenced in `TSModuleDeclaration` are removed incorrectly (#5680) (Dunqing) - b8f8dd6 minifier/replace_global_defines: Do not replace shadowed identifiers (#5691) (Boshen) - 304ce25 regular_expression: Keep LegacyOctalEscape raw digits for `to_string` (#5692) (leaysgur) - 0511d55 regular_expression: Report more MayContainStrings error in (nested)class (#5661) (leaysgur) - 41582ea regular_expression: Improve RegExp `to_string()` results (#5635) (leaysgur) - 28aad28 regular_expression: Handle `-` in `/[\-]/u` as escaped character (#5631) (leaysgur) - f9e3a41 semantic: Bind `SymbolId` to function name in `if (foo) function id() {}` (#5673) (Boshen) - f49e6eb span: Treat `.js` as `module` file (reverts the previous breaking change) (#5612) (Boshen) - 919d17f transform_conformance: Only print semantic mismatch errors when output is correct (#5589) (Boshen) - 505d064 transformer: JSX transform delete references for `JSXClosingElement`s (#5560) (overlookmotel) - 9b7ecc7 transformer: RegExp transform only set span on final expression (#5508) (overlookmotel) - d1ece19 transformer: RegExp transform handle `Term::Quantifier` (#5501) (overlookmotel) - a1afd48 transformer/react: Incorrect scope_id for var hoisted in fast refresh plugin (#5695) (Dunqing) - f2f5e5a transformer/react: Missing scope_id for function in fast refresh plugin (#5693) (Dunqing) - a891c31 transformer/react: Refresh plugin has incorrect reference flags (#5656) (Dunqing) - 3e8b96f transformer/react: The refresh plugin cannot handle member expressions with React hooks (#5655) (Dunqing) - 0739b5f transformer/react: Don't transform declaration of function overloads (#5642) (Dunqing) - 3bf6aaf transformer/react: Support `emit_full_signatures` option in refresh plugin (#5629) (Dunqing) - 36d864a transformer/react: Don't transform if the variable does not have a value reference (#5528) (Dunqing) ### Performance - e8013d2 traverse: Faster string operations generating UIDs (#5626) (overlookmotel) - 4996874 traverse: `generate_uid` cache available binding names (#5611) (overlookmotel) ### Documentation - fefbbc1 sourcemap: Add trailing newline to README (#5539) (overlookmotel) - 9282647 transformer: Comment on RegExp transform for potential improvement (#5514) (overlookmotel) - 1c051ae traverse: Correct code comment 2 (#5607) (overlookmotel) - 2e24a15 traverse: Correct code comment (#5604) (overlookmotel) ### Refactor - 14ee086 ast: Inline `AstKind::as_*` methods (#5547) (overlookmotel) - 2de6ea0 index, traverse: Remove unnecessary type annotations (#5650) (overlookmotel) - 0ac420d linter: Use meaningful names for diagnostic parameters (#5564) (Don Isaac) - 2da42ef regular_expression: Improve AST docs with refactoring may_contain_strings (#5665) (leaysgur) - dec1395 regular_expression: Align diagnostics (#5543) (leaysgur) - 731ffaa semantic: Compare nodes by pointer equality (#5686) (overlookmotel) - 067f9b5 semantic: Introduce `IsGlobalReference` trait (#5672) (Boshen) - d22a9b7 semantic: `SymbolTable::is_empty` use `is_empty` (#5622) (overlookmotel) - 3d190a5 span: Move `CompactStr` into separate file (#5609) (overlookmotel) - 5532628 span: Put types and impl in the same mod file (Boshen) - ce71982 transformer: Shorten code in JSX transform (#5554) (overlookmotel) - 758a10c transformer: RegExp transform reuse var (#5527) (overlookmotel) - fad0a05 transformer: RegExp transform unbox early (#5504) (overlookmotel) - 19cdcc5 traverse: Revert changes to `walk.rs` (#5652) (overlookmotel)- 26d9235 Enable clippy::ref_as_ptr (#5577) (夕舞八弦) ### Styling - e52d006 traverse: Fix formatting of traverse codegen (#5651) (overlookmotel) - 97e99bd traverse: Remove excess line break (#5603) (overlookmotel)- 694f032 Add trailing line breaks to `package.json` files (#5542) (overlookmotel) ### Testing - 2e367c9 traverse: Enable tests for `oxc_traverse` crate (#5625) (overlookmotel)- dc92489 Add trailing line breaks to conformance fixtures (#5541) (overlookmotel) --------- Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> --- Cargo.lock | 42 +++++++++---------- Cargo.toml | 42 +++++++++---------- crates/oxc/CHANGELOG.md | 11 +++++ crates/oxc/Cargo.toml | 2 +- crates/oxc_allocator/Cargo.toml | 2 +- crates/oxc_ast/CHANGELOG.md | 27 ++++++++++++ crates/oxc_ast/Cargo.toml | 2 +- crates/oxc_ast_macros/Cargo.toml | 2 +- crates/oxc_cfg/Cargo.toml | 2 +- crates/oxc_codegen/CHANGELOG.md | 16 +++++++ crates/oxc_codegen/Cargo.toml | 2 +- crates/oxc_diagnostics/Cargo.toml | 2 +- crates/oxc_index/CHANGELOG.md | 6 +++ crates/oxc_index/Cargo.toml | 2 +- crates/oxc_isolated_declarations/CHANGELOG.md | 20 +++++++++ crates/oxc_isolated_declarations/Cargo.toml | 2 +- crates/oxc_mangler/CHANGELOG.md | 7 ++++ crates/oxc_mangler/Cargo.toml | 2 +- crates/oxc_minifier/CHANGELOG.md | 25 +++++++++++ crates/oxc_minifier/Cargo.toml | 2 +- crates/oxc_module_lexer/CHANGELOG.md | 7 ++++ crates/oxc_module_lexer/Cargo.toml | 2 +- crates/oxc_parser/CHANGELOG.md | 18 ++++++++ crates/oxc_parser/Cargo.toml | 2 +- crates/oxc_regular_expression/CHANGELOG.md | 15 +++++++ crates/oxc_regular_expression/Cargo.toml | 2 +- crates/oxc_semantic/CHANGELOG.md | 32 ++++++++++++++ crates/oxc_semantic/Cargo.toml | 2 +- crates/oxc_sourcemap/CHANGELOG.md | 6 +++ crates/oxc_sourcemap/Cargo.toml | 2 +- crates/oxc_span/CHANGELOG.md | 20 +++++++++ crates/oxc_span/Cargo.toml | 2 +- crates/oxc_syntax/Cargo.toml | 2 +- crates/oxc_transformer/CHANGELOG.md | 40 ++++++++++++++++++ crates/oxc_transformer/Cargo.toml | 2 +- crates/oxc_traverse/CHANGELOG.md | 36 ++++++++++++++++ crates/oxc_traverse/Cargo.toml | 2 +- napi/transform/CHANGELOG.md | 12 ++++++ napi/transform/Cargo.toml | 2 +- npm/oxc-parser/CHANGELOG.md | 5 +++ npm/oxc-parser/package.json | 2 +- npm/oxc-transform/CHANGELOG.md | 5 +++ npm/oxc-transform/package.json | 2 +- wasm/parser/package.json | 2 +- 44 files changed, 374 insertions(+), 66 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 713acfaf8034d..b95fc3b508a33 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1397,7 +1397,7 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.27.0" +version = "0.28.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1436,7 +1436,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.27.0" +version = "0.28.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1446,7 +1446,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.27.0" +version = "0.28.0" dependencies = [ "bitflags 2.6.0", "num-bigint", @@ -1463,7 +1463,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.27.0" +version = "0.28.0" dependencies = [ "proc-macro2", "quote", @@ -1510,7 +1510,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.27.0" +version = "0.28.0" dependencies = [ "bitflags 2.6.0", "itertools", @@ -1521,7 +1521,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.27.0" +version = "0.28.0" dependencies = [ "base64", "bitflags 2.6.0", @@ -1568,7 +1568,7 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.27.0" +version = "0.28.0" dependencies = [ "miette", "owo-colors", @@ -1578,7 +1578,7 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.27.0" +version = "0.28.0" dependencies = [ "rayon", "serde", @@ -1586,7 +1586,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.27.0" +version = "0.28.0" dependencies = [ "insta", "oxc_allocator", @@ -1679,7 +1679,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.27.0" +version = "0.28.0" dependencies = [ "itertools", "oxc_ast", @@ -1690,7 +1690,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.27.0" +version = "0.28.0" dependencies = [ "insta", "num-bigint", @@ -1724,7 +1724,7 @@ dependencies = [ [[package]] name = "oxc_module_lexer" -version = "0.27.0" +version = "0.28.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1734,7 +1734,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.27.0" +version = "0.28.0" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -1809,7 +1809,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.27.0" +version = "0.28.0" dependencies = [ "oxc_allocator", "oxc_ast_macros", @@ -1843,7 +1843,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.27.0" +version = "0.28.0" dependencies = [ "assert-unchecked", "indexmap", @@ -1867,7 +1867,7 @@ dependencies = [ [[package]] name = "oxc_sourcemap" -version = "0.27.0" +version = "0.28.0" dependencies = [ "base64-simd", "cfg-if", @@ -1879,7 +1879,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.27.0" +version = "0.28.0" dependencies = [ "compact_str", "miette", @@ -1893,7 +1893,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.27.0" +version = "0.28.0" dependencies = [ "assert-unchecked", "bitflags 2.6.0", @@ -1936,7 +1936,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.27.0" +version = "0.28.0" dependencies = [ "napi", "napi-build", @@ -1955,7 +1955,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.27.0" +version = "0.28.0" dependencies = [ "base64", "dashmap 6.0.1", @@ -1981,7 +1981,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.27.0" +version = "0.28.0" dependencies = [ "compact_str", "itoa", diff --git a/Cargo.toml b/Cargo.toml index 38e48dfd139d0..34b3604d0962c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -76,27 +76,27 @@ doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true -oxc = { version = "0.27.0", path = "crates/oxc" } -oxc_allocator = { version = "0.27.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.27.0", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.27.0", path = "crates/oxc_ast_macros" } -oxc_cfg = { version = "0.27.0", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.27.0", path = "crates/oxc_codegen" } -oxc_diagnostics = { version = "0.27.0", path = "crates/oxc_diagnostics" } -oxc_index = { version = "0.27.0", path = "crates/oxc_index" } -oxc_isolated_declarations = { version = "0.27.0", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.27.0", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.27.0", path = "crates/oxc_minifier" } -oxc_module_lexer = { version = "0.27.0", path = "crates/oxc_module_lexer" } -oxc_parser = { version = "0.27.0", path = "crates/oxc_parser" } -oxc_regular_expression = { version = "0.27.0", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.27.0", path = "crates/oxc_semantic" } -oxc_sourcemap = { version = "0.27.0", path = "crates/oxc_sourcemap" } -oxc_span = { version = "0.27.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.27.0", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.27.0", path = "napi/transform" } -oxc_transformer = { version = "0.27.0", path = "crates/oxc_transformer" } -oxc_traverse = { version = "0.27.0", path = "crates/oxc_traverse" } +oxc = { version = "0.28.0", path = "crates/oxc" } +oxc_allocator = { version = "0.28.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.28.0", path = "crates/oxc_ast" } +oxc_ast_macros = { version = "0.28.0", path = "crates/oxc_ast_macros" } +oxc_cfg = { version = "0.28.0", path = "crates/oxc_cfg" } +oxc_codegen = { version = "0.28.0", path = "crates/oxc_codegen" } +oxc_diagnostics = { version = "0.28.0", path = "crates/oxc_diagnostics" } +oxc_index = { version = "0.28.0", path = "crates/oxc_index" } +oxc_isolated_declarations = { version = "0.28.0", path = "crates/oxc_isolated_declarations" } +oxc_mangler = { version = "0.28.0", path = "crates/oxc_mangler" } +oxc_minifier = { version = "0.28.0", path = "crates/oxc_minifier" } +oxc_module_lexer = { version = "0.28.0", path = "crates/oxc_module_lexer" } +oxc_parser = { version = "0.28.0", path = "crates/oxc_parser" } +oxc_regular_expression = { version = "0.28.0", path = "crates/oxc_regular_expression" } +oxc_semantic = { version = "0.28.0", path = "crates/oxc_semantic" } +oxc_sourcemap = { version = "0.28.0", path = "crates/oxc_sourcemap" } +oxc_span = { version = "0.28.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.28.0", path = "crates/oxc_syntax" } +oxc_transform_napi = { version = "0.28.0", path = "napi/transform" } +oxc_transformer = { version = "0.28.0", path = "crates/oxc_transformer" } +oxc_traverse = { version = "0.28.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 0625c954ba01a..694783d54720d 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.28.0] - 2024-09-11 + +- b060525 semantic: [**BREAKING**] Remove `source_type` argument from `SemanticBuilder::new` (#5553) (Boshen) + +### Features + +- 2016bae coverage: Add regular expression idempotency test (#5676) (Boshen) + +### Refactor + + ## [0.27.0] - 2024-09-06 ### Features diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index a67e316ebdfe7..923a093bf4467 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.27.0" +version = "0.28.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 54921daf20102..cfc5cb47a6f1a 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.27.0" +version = "0.28.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 865093da5d89f..f13fc68c8f7fd 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/CHANGELOG.md @@ -4,6 +4,33 @@ 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.28.0] - 2024-09-11 + +- afc4548 ast: [**BREAKING**] Educe byte size of `TaggedTemplateExpression::quasi` by `Boxing` it (#5679) (Boshen) + +- 7415e85 ast: [**BREAKING**] Reduce byte size of `TSImportType::attributes` by `Box`ing it (#5678) (Boshen) + +- ee4fb42 ast: [**BREAKING**] Reduce size of `WithClause` by `Box`ing it (#5677) (Boshen) + +### Features + +- 2da5ad1 ast: Add `JSXElementName::get_identifier` method (#5556) (overlookmotel) +- 68c3cf5 minifier: Fold `void 1` -> `void 0` (#5670) (Boshen) +- c6bbf94 minifier: Constant fold unary expression (#5669) (Boshen) + +### Bug Fixes + +- 28b934c coverage: Apply `always_strict` to test262 and typescript per the specifcation (#5555) (Boshen) +- 0511d55 regular_expression: Report more MayContainStrings error in (nested)class (#5661) (leaysgur) + +### Performance + + +### Refactor + +- 14ee086 ast: Inline `AstKind::as_*` methods (#5547) (overlookmotel) +- 2da42ef regular_expression: Improve AST docs with refactoring may_contain_strings (#5665) (leaysgur)- 26d9235 Enable clippy::ref_as_ptr (#5577) (夕舞八弦) + ## [0.27.0] - 2024-09-06 - cba93f5 ast: [**BREAKING**] Add `ThisExpression` variants to `JSXElementName` and `JSXMemberExpressionObject` (#5466) (overlookmotel) diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index 9fa440e9fa632..a09a6a53fb182 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.27.0" +version = "0.28.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 bbf24a61400f4..a362a4fc8f5c0 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.27.0" +version = "0.28.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 b4b53247552e1..6e62b56f0d053 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.27.0" +version = "0.28.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 8a04acc8bfee0..e2d7e25a5a2e5 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/CHANGELOG.md @@ -4,6 +4,22 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.28.0] - 2024-09-11 + +- ee4fb42 ast: [**BREAKING**] Reduce size of `WithClause` by `Box`ing it (#5677) (Boshen) + +- 4a8aec1 span: [**BREAKING**] Change `SourceType::js` to `SourceType::cjs` and `SourceType::mjs` (#5606) (Boshen) + +### Features + + +### Bug Fixes + +- d62defb codegen: Do not print trailing commas for `ArrayExpression` (#5551) (Boshen) + +### Performance + + ## [0.27.0] - 2024-09-06 - cba93f5 ast: [**BREAKING**] Add `ThisExpression` variants to `JSXElementName` and `JSXMemberExpressionObject` (#5466) (overlookmotel) diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index e5543480fe42b..17f7f5588497e 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.27.0" +version = "0.28.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 4e09b40922c9f..96d895f90ff7b 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.27.0" +version = "0.28.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_index/CHANGELOG.md b/crates/oxc_index/CHANGELOG.md index 37c3c607f2980..0e99da355d01e 100644 --- a/crates/oxc_index/CHANGELOG.md +++ b/crates/oxc_index/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.28.0] - 2024-09-11 + +### Refactor + +- 2de6ea0 index, traverse: Remove unnecessary type annotations (#5650) (overlookmotel)- 26d9235 Enable clippy::ref_as_ptr (#5577) (夕舞八弦) + ## [0.27.0] - 2024-09-06 ### Features diff --git a/crates/oxc_index/Cargo.toml b/crates/oxc_index/Cargo.toml index fdd2a6258d2e5..472868a50562f 100644 --- a/crates/oxc_index/Cargo.toml +++ b/crates/oxc_index/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_index" -version = "0.27.0" +version = "0.28.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 691cdccdec51c..a4ad63a8be447 100644 --- a/crates/oxc_isolated_declarations/CHANGELOG.md +++ b/crates/oxc_isolated_declarations/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.28.0] - 2024-09-11 + +- ee4fb42 ast: [**BREAKING**] Reduce size of `WithClause` by `Box`ing it (#5677) (Boshen) + +- 4a8aec1 span: [**BREAKING**] Change `SourceType::js` to `SourceType::cjs` and `SourceType::mjs` (#5606) (Boshen) + +### Features + + +### Bug Fixes + +- b9bf544 isolated-declarations: False positive for setter method in `interface` (#5681) (Dunqing) +- 6e8409a isolated-declarations: Bindings referenced in `TSModuleDeclaration` are removed incorrectly (#5680) (Dunqing) + +### Performance + + +### Testing +- dc92489 Add trailing line breaks to conformance fixtures (#5541) (overlookmotel) + ## [0.26.0] - 2024-09-03 - 234a24c ast: [**BREAKING**] Merge `UsingDeclaration` into `VariableDeclaration` (#5270) (Kevin Deng 三咲智子) diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index dc9159da6ee9e..fc9f256c2eb25 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.27.0" +version = "0.28.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_mangler/CHANGELOG.md b/crates/oxc_mangler/CHANGELOG.md index 7036ac3d40358..ee8a290b6f8e5 100644 --- a/crates/oxc_mangler/CHANGELOG.md +++ b/crates/oxc_mangler/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.28.0] - 2024-09-11 + +- b060525 semantic: [**BREAKING**] Remove `source_type` argument from `SemanticBuilder::new` (#5553) (Boshen) + +### Refactor + + ## [0.25.0] - 2024-08-23 - 5f4c9ab semantic: [**BREAKING**] Rename `SymbolTable::get_flag` to `get_flags` (#5030) (overlookmotel) diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index d872fc7d1ba9f..6bbc657f6b25f 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.27.0" +version = "0.28.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 62a4b23c76f05..1c667674016b2 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/CHANGELOG.md @@ -4,6 +4,31 @@ 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.28.0] - 2024-09-11 + +- ee4fb42 ast: [**BREAKING**] Reduce size of `WithClause` by `Box`ing it (#5677) (Boshen) + +- 4a8aec1 span: [**BREAKING**] Change `SourceType::js` to `SourceType::cjs` and `SourceType::mjs` (#5606) (Boshen) + +- b060525 semantic: [**BREAKING**] Remove `source_type` argument from `SemanticBuilder::new` (#5553) (Boshen) + +### Features + +- 68c3cf5 minifier: Fold `void 1` -> `void 0` (#5670) (Boshen) +- c6bbf94 minifier: Constant fold unary expression (#5669) (Boshen) +- 86256ea minifier: Constant fold `typeof` (#5666) (Boshen) + +### Bug Fixes + +- b8f8dd6 minifier/replace_global_defines: Do not replace shadowed identifiers (#5691) (Boshen) + +### Performance + + +### Refactor + +- 067f9b5 semantic: Introduce `IsGlobalReference` trait (#5672) (Boshen) + ## [0.27.0] - 2024-09-06 ### Features diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index b493aef8546ae..2a892b093de4f 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.27.0" +version = "0.28.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 3fb9cba29772a..311b35a06108c 100644 --- a/crates/oxc_module_lexer/CHANGELOG.md +++ b/crates/oxc_module_lexer/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.28.0] - 2024-09-11 + +- 4a8aec1 span: [**BREAKING**] Change `SourceType::js` to `SourceType::cjs` and `SourceType::mjs` (#5606) (Boshen) + +### Features + + ## [0.26.0] - 2024-09-03 ### Features diff --git a/crates/oxc_module_lexer/Cargo.toml b/crates/oxc_module_lexer/Cargo.toml index c943c4ca71c84..497476e46602f 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.27.0" +version = "0.28.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 b4a10df6bee4e..e8b4c17101060 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.28.0] - 2024-09-11 + +- ee4fb42 ast: [**BREAKING**] Reduce size of `WithClause` by `Box`ing it (#5677) (Boshen) + +- 4a8aec1 span: [**BREAKING**] Change `SourceType::js` to `SourceType::cjs` and `SourceType::mjs` (#5606) (Boshen) + +- 603817b oxc: [**BREAKING**] Add `SourceType::Unambiguous`; parse `.js` as unambiguous (#5557) (Boshen) + +### Features + + +### Performance + + +### Refactor + +- 0ac420d linter: Use meaningful names for diagnostic parameters (#5564) (Don Isaac) + ## [0.27.0] - 2024-09-06 - cba93f5 ast: [**BREAKING**] Add `ThisExpression` variants to `JSXElementName` and `JSXMemberExpressionObject` (#5466) (overlookmotel) diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index 4267e20281706..1301aa12c44d3 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.27.0" +version = "0.28.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 47f06bd8768a7..6172eb8e49cb4 100644 --- a/crates/oxc_regular_expression/CHANGELOG.md +++ b/crates/oxc_regular_expression/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.28.0] - 2024-09-11 + +### Bug Fixes + +- 304ce25 regular_expression: Keep LegacyOctalEscape raw digits for `to_string` (#5692) (leaysgur) +- 0511d55 regular_expression: Report more MayContainStrings error in (nested)class (#5661) (leaysgur) +- 41582ea regular_expression: Improve RegExp `to_string()` results (#5635) (leaysgur) +- 28aad28 regular_expression: Handle `-` in `/[\-]/u` as escaped character (#5631) (leaysgur) + +### Refactor + +- 0ac420d linter: Use meaningful names for diagnostic parameters (#5564) (Don Isaac) +- 2da42ef regular_expression: Improve AST docs with refactoring may_contain_strings (#5665) (leaysgur) +- dec1395 regular_expression: Align diagnostics (#5543) (leaysgur) + ## [0.27.0] - 2024-09-06 ### Features diff --git a/crates/oxc_regular_expression/Cargo.toml b/crates/oxc_regular_expression/Cargo.toml index 4e471e884b8a6..55e78a634b9f3 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.27.0" +version = "0.28.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 da9de3dbdf05a..db99a3d9119d5 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/CHANGELOG.md @@ -4,6 +4,38 @@ 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.28.0] - 2024-09-11 + +- 1fa3e56 semantic: [**BREAKING**] Rename `SymbolTable::iter` to `symbol_ids` (#5621) (overlookmotel) + +- 96a1552 semantic: [**BREAKING**] Remove `SymbolTable::iter_rev` (#5620) (overlookmotel) + +- 4a8aec1 span: [**BREAKING**] Change `SourceType::js` to `SourceType::cjs` and `SourceType::mjs` (#5606) (Boshen) + +- 603817b oxc: [**BREAKING**] Add `SourceType::Unambiguous`; parse `.js` as unambiguous (#5557) (Boshen) + +- b060525 semantic: [**BREAKING**] Remove `source_type` argument from `SemanticBuilder::new` (#5553) (Boshen) + +### Features + +- 86256ea minifier: Constant fold `typeof` (#5666) (Boshen) +- 642295c semantic: Add `SymbolTable::delete_resolved_reference` method (#5558) (overlookmotel) + +### Bug Fixes + +- f9e3a41 semantic: Bind `SymbolId` to function name in `if (foo) function id() {}` (#5673) (Boshen) +- 36d864a transformer/react: Don't transform if the variable does not have a value reference (#5528) (Dunqing) + +### Refactor + +- 0ac420d linter: Use meaningful names for diagnostic parameters (#5564) (Don Isaac) +- 731ffaa semantic: Compare nodes by pointer equality (#5686) (overlookmotel) +- 067f9b5 semantic: Introduce `IsGlobalReference` trait (#5672) (Boshen) +- d22a9b7 semantic: `SymbolTable::is_empty` use `is_empty` (#5622) (overlookmotel) + +### Testing +- dc92489 Add trailing line breaks to conformance fixtures (#5541) (overlookmotel) + ## [0.27.0] - 2024-09-06 - bd820f9 semantic: [**BREAKING**] Remove `SymbolTable::get_symbol_id_from_name` and `SymbolTable::get_scope_id_from_name` (#5480) (overlookmotel) diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index 368290bf802a0..446bd11071711 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.27.0" +version = "0.28.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_sourcemap/CHANGELOG.md b/crates/oxc_sourcemap/CHANGELOG.md index 331d32d167ff0..40eddbefd44ef 100644 --- a/crates/oxc_sourcemap/CHANGELOG.md +++ b/crates/oxc_sourcemap/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.28.0] - 2024-09-11 + +### Documentation + +- fefbbc1 sourcemap: Add trailing newline to README (#5539) (overlookmotel) + ## [0.24.3] - 2024-08-18 ### Refactor diff --git a/crates/oxc_sourcemap/Cargo.toml b/crates/oxc_sourcemap/Cargo.toml index 394f24b1e16e0..c3ca0890ef458 100644 --- a/crates/oxc_sourcemap/Cargo.toml +++ b/crates/oxc_sourcemap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_sourcemap" -version = "0.27.0" +version = "0.28.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 b37e6503b20b4..6e6f7c9cb8841 100644 --- a/crates/oxc_span/CHANGELOG.md +++ b/crates/oxc_span/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.28.0] - 2024-09-11 + +- 4a8aec1 span: [**BREAKING**] Change `SourceType::js` to `SourceType::cjs` and `SourceType::mjs` (#5606) (Boshen) + +- 603817b oxc: [**BREAKING**] Add `SourceType::Unambiguous`; parse `.js` as unambiguous (#5557) (Boshen) + +### Features + +- b3cbd56 span: `format_compact_str!` macro (#5610) (overlookmotel) + +### Bug Fixes + +- 28b934c coverage: Apply `always_strict` to test262 and typescript per the specifcation (#5555) (Boshen) +- f49e6eb span: Treat `.js` as `module` file (reverts the previous breaking change) (#5612) (Boshen) + +### Refactor + +- 3d190a5 span: Move `CompactStr` into separate file (#5609) (overlookmotel) +- 5532628 span: Put types and impl in the same mod file (Boshen) + ## [0.27.0] - 2024-09-06 ### Features diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index 30ddf54a1ca7e..b4a48192f486a 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.27.0" +version = "0.28.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index be35138f4e2f0..cd7a95a60d530 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.27.0" +version = "0.28.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 cdc3e2a2f363e..6f99fd5ca71f9 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/CHANGELOG.md @@ -4,6 +4,46 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.28.0] - 2024-09-11 + +- ee4fb42 ast: [**BREAKING**] Reduce size of `WithClause` by `Box`ing it (#5677) (Boshen) + +- b060525 semantic: [**BREAKING**] Remove `source_type` argument from `SemanticBuilder::new` (#5553) (Boshen) + +### Features + +- 95a6d99 transformer: Enable the react refresh plugin in enable_all (#5630) (Dunqing) +- 7b543df transformer/react: Handle `refresh_sig` and `refresh_reg` options correctly (#5638) (Dunqing) + +### Bug Fixes + +- 1bc08e2 coverage: Parse babel unambiguously (#5579) (Boshen) +- 919d17f transform_conformance: Only print semantic mismatch errors when output is correct (#5589) (Boshen) +- 505d064 transformer: JSX transform delete references for `JSXClosingElement`s (#5560) (overlookmotel) +- 9b7ecc7 transformer: RegExp transform only set span on final expression (#5508) (overlookmotel) +- d1ece19 transformer: RegExp transform handle `Term::Quantifier` (#5501) (overlookmotel) +- a1afd48 transformer/react: Incorrect scope_id for var hoisted in fast refresh plugin (#5695) (Dunqing) +- f2f5e5a transformer/react: Missing scope_id for function in fast refresh plugin (#5693) (Dunqing) +- a891c31 transformer/react: Refresh plugin has incorrect reference flags (#5656) (Dunqing) +- 3e8b96f transformer/react: The refresh plugin cannot handle member expressions with React hooks (#5655) (Dunqing) +- 0739b5f transformer/react: Don't transform declaration of function overloads (#5642) (Dunqing) +- 3bf6aaf transformer/react: Support `emit_full_signatures` option in refresh plugin (#5629) (Dunqing) +- 36d864a transformer/react: Don't transform if the variable does not have a value reference (#5528) (Dunqing) + +### Performance + + +### Documentation + +- 9282647 transformer: Comment on RegExp transform for potential improvement (#5514) (overlookmotel) + +### Refactor + +- 0ac420d linter: Use meaningful names for diagnostic parameters (#5564) (Don Isaac) +- ce71982 transformer: Shorten code in JSX transform (#5554) (overlookmotel) +- 758a10c transformer: RegExp transform reuse var (#5527) (overlookmotel) +- fad0a05 transformer: RegExp transform unbox early (#5504) (overlookmotel) + ## [0.27.0] - 2024-09-06 - cba93f5 ast: [**BREAKING**] Add `ThisExpression` variants to `JSXElementName` and `JSXMemberExpressionObject` (#5466) (overlookmotel) diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index 73cbe2f9cdf1c..3a6b935d1672e 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.27.0" +version = "0.28.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 ceafe8e3f1aba..edd5bafbc0de1 100644 --- a/crates/oxc_traverse/CHANGELOG.md +++ b/crates/oxc_traverse/CHANGELOG.md @@ -4,6 +4,42 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.28.0] - 2024-09-11 + +- afc4548 ast: [**BREAKING**] Educe byte size of `TaggedTemplateExpression::quasi` by `Boxing` it (#5679) (Boshen) + +- 7415e85 ast: [**BREAKING**] Reduce byte size of `TSImportType::attributes` by `Box`ing it (#5678) (Boshen) + +- ee4fb42 ast: [**BREAKING**] Reduce size of `WithClause` by `Box`ing it (#5677) (Boshen) + +### Features + +- 17226dd traverse: Add methods for deleting references (#5559) (overlookmotel) + +### Performance + +- e8013d2 traverse: Faster string operations generating UIDs (#5626) (overlookmotel) +- 4996874 traverse: `generate_uid` cache available binding names (#5611) (overlookmotel) + +### Documentation + +- 1c051ae traverse: Correct code comment 2 (#5607) (overlookmotel) +- 2e24a15 traverse: Correct code comment (#5604) (overlookmotel) + +### Refactor + +- 2de6ea0 index, traverse: Remove unnecessary type annotations (#5650) (overlookmotel) +- 19cdcc5 traverse: Revert changes to `walk.rs` (#5652) (overlookmotel)- 26d9235 Enable clippy::ref_as_ptr (#5577) (夕舞八弦) + +### Styling + +- e52d006 traverse: Fix formatting of traverse codegen (#5651) (overlookmotel) +- 97e99bd traverse: Remove excess line break (#5603) (overlookmotel) + +### Testing + +- 2e367c9 traverse: Enable tests for `oxc_traverse` crate (#5625) (overlookmotel) + ## [0.27.0] - 2024-09-06 - cba93f5 ast: [**BREAKING**] Add `ThisExpression` variants to `JSXElementName` and `JSXMemberExpressionObject` (#5466) (overlookmotel) diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 7c411274fee2f..71ce58e7278a0 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.27.0" +version = "0.28.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/transform/CHANGELOG.md b/napi/transform/CHANGELOG.md index d1888d865f708..df96b8c347c37 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.28.0] - 2024-09-11 + +- b060525 semantic: [**BREAKING**] Remove `source_type` argument from `SemanticBuilder::new` (#5553) (Boshen) + +### Features + +- e698418 napi/transform: Align output `SourceMap` with Rollup's `ExistingRawSourceMap` (#5657) (Boshen) +- aba9194 napi/transform: Export react refresh options (#5533) (underfin) + +### Refactor + + ## [0.27.0] - 2024-09-06 ### Bug Fixes diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index d1d755215f4ce..91477d00c8e05 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.27.0" +version = "0.28.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 bd68ec8f340b5..4881af7aea9d0 100644 --- a/npm/oxc-parser/CHANGELOG.md +++ b/npm/oxc-parser/CHANGELOG.md @@ -4,6 +4,11 @@ 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.28.0] - 2024-09-11 + +### Styling +- 694f032 Add trailing line breaks to `package.json` files (#5542) (overlookmotel) + ## [0.25.0] - 2024-08-23 ### Bug Fixes diff --git a/npm/oxc-parser/package.json b/npm/oxc-parser/package.json index 1222b07559c61..97e94062bac50 100644 --- a/npm/oxc-parser/package.json +++ b/npm/oxc-parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.27.0", + "version": "0.28.0", "description": "Oxc Parser Node API", "keywords": [ "Parser" diff --git a/npm/oxc-transform/CHANGELOG.md b/npm/oxc-transform/CHANGELOG.md index 32ec2e6fc5a12..fe8e459c839c1 100644 --- a/npm/oxc-transform/CHANGELOG.md +++ b/npm/oxc-transform/CHANGELOG.md @@ -4,6 +4,11 @@ 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.28.0] - 2024-09-11 + +### Styling +- 694f032 Add trailing line breaks to `package.json` files (#5542) (overlookmotel) + ## [0.26.0] - 2024-09-03 ### Features diff --git a/npm/oxc-transform/package.json b/npm/oxc-transform/package.json index 05b1c91b75484..e1391f09b3fb8 100644 --- a/npm/oxc-transform/package.json +++ b/npm/oxc-transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.27.0", + "version": "0.28.0", "description": "Oxc transform Node API", "keywords": [ "transform" diff --git a/wasm/parser/package.json b/wasm/parser/package.json index 21e4ac6965913..41c3a12fc4e84 100644 --- a/wasm/parser/package.json +++ b/wasm/parser/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-parser/wasm", - "version": "0.27.0", + "version": "0.28.0", "description": "Wasm target for the oxc parser.", "packageManager": "pnpm@9.9.0", "keywords": [