diff --git a/.changeset/moody-laws-explain.md b/.changeset/moody-laws-explain.md deleted file mode 100644 index c4e1685763d0..000000000000 --- a/.changeset/moody-laws-explain.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -swc_core: minor -swc_ecma_minifier: minor ---- - -fix(es/minifier): Compress negate eq diff --git a/CHANGELOG.md b/CHANGELOG.md index 8381ffd94bea..bc7dc514325a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,24 @@ # Changelog +## [unreleased] + +### Features + + + +- **(es/minifier)** Compress negate eq ([#9911](https://github.com/swc-project/swc/issues/9911)) ([e8f23cf](https://github.com/swc-project/swc/commit/e8f23cf92146828ea2a8b65724c7a6824acf9f0f)) + +### Miscellaneous Tasks + + + +- **(es/minifier)** Add a script for samply profiler ([#9923](https://github.com/swc-project/swc/issues/9923)) ([8f8dcaa](https://github.com/swc-project/swc/commit/8f8dcaac2f22f71de538802034db5756e84c7f55)) + +### Refactor + + + +- **(es/minifier)** Make `minify-all` example sequential ([#9912](https://github.com/swc-project/swc/issues/9912)) ([5b5c87e](https://github.com/swc-project/swc/commit/5b5c87e72480638ae382d519980302702e333305)) + ## [1.10.9] - 2025-01-21 ### Bug Fixes @@ -1553,22 +1573,10 @@ ## [1.6.7] - 2024-07-03 -### Refactor - - - -- **(es/typescript)** Extract type annotation proposal out ([#9127](https://github.com/swc-project/swc/issues/9127)) ([dfee5f8](https://github.com/swc-project/swc/commit/dfee5f838b76dae012393e207902effa0a69dd0d)) - ### Testing - **(bindings/ts)** Test Wasm binding ([#9128](https://github.com/swc-project/swc/issues/9128)) ([c6d6db3](https://github.com/swc-project/swc/commit/c6d6db3661ec93b9ebb8ca55ff88726f66b3d5e5)) -### Build - - - -- **(bindings)** Fix build of typescript binding ([#9125](https://github.com/swc-project/swc/issues/9125)) ([f409bc0](https://github.com/swc-project/swc/commit/f409bc09d5613db8342e98552efc520f9c2c393c)) - diff --git a/Cargo.lock b/Cargo.lock index 5ac7b3b27972..70ef6fc3ee72 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4680,7 +4680,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "10.6.1" +version = "10.7.0" dependencies = [ "anyhow", "binding_macros", @@ -5233,7 +5233,7 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "7.4.1" +version = "7.5.0" dependencies = [ "ansi_term", "anyhow", diff --git a/crates/dbg-swc/Cargo.toml b/crates/dbg-swc/Cargo.toml index cbbb1be6b13e..2a8d00a47958 100644 --- a/crates/dbg-swc/Cargo.toml +++ b/crates/dbg-swc/Cargo.toml @@ -33,7 +33,7 @@ swc_common = { version = "5.0.0", features = [ ], path = "../swc_common" } swc_ecma_ast = { version = "5.0.3", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "7.4.1", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "7.5.0", path = "../swc_ecma_minifier", features = [ "concurrent", ] } swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser" } diff --git a/crates/swc/Cargo.toml b/crates/swc/Cargo.toml index 2c507ccf1761..c726c3d49283 100644 --- a/crates/swc/Cargo.toml +++ b/crates/swc/Cargo.toml @@ -88,7 +88,7 @@ swc_ecma_loader = { version = "5.0.0", path = "../swc_ecma_loader", features = [ "node", "tsc", ] } -swc_ecma_minifier = { version = "7.4.1", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { version = "7.5.0", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser" } swc_ecma_preset_env = { version = "9.0.0", path = "../swc_ecma_preset_env" } swc_ecma_transforms = { version = "9.0.0", path = "../swc_ecma_transforms", features = [ diff --git a/crates/swc_bundler/Cargo.toml b/crates/swc_bundler/Cargo.toml index 59ad52d55533..31408af5b0ba 100644 --- a/crates/swc_bundler/Cargo.toml +++ b/crates/swc_bundler/Cargo.toml @@ -63,7 +63,7 @@ swc_ecma_loader = { version = "5.0.0", path = "../swc_ecma_loader", features = [ "node", "cache", ] } -swc_ecma_minifier = { version = "7.4.1", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "7.5.0", path = "../swc_ecma_minifier", features = [ "concurrent", ] } swc_ecma_transforms_proposal = { version = "7.0.1", path = "../swc_ecma_transforms_proposal" } diff --git a/crates/swc_cli_impl/Cargo.toml b/crates/swc_cli_impl/Cargo.toml index bb61c77d2e54..034ae377d7ef 100644 --- a/crates/swc_cli_impl/Cargo.toml +++ b/crates/swc_cli_impl/Cargo.toml @@ -39,7 +39,7 @@ tracing-futures = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } walkdir = { workspace = true } -swc_core = { version = "10.6.1", features = [ +swc_core = { version = "10.7.0", features = [ "trace_macro", "common_concurrent", "base_concurrent", diff --git a/crates/swc_compiler_base/Cargo.toml b/crates/swc_compiler_base/Cargo.toml index 8a104a4bed77..e49ba9fec06e 100644 --- a/crates/swc_compiler_base/Cargo.toml +++ b/crates/swc_compiler_base/Cargo.toml @@ -30,7 +30,7 @@ swc_common = { version = "5.0.0", path = "../swc_common", features = [ swc_config = { version = "1.0.0", path = "../swc_config" } swc_ecma_ast = { version = "5.0.3", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen" } -swc_ecma_minifier = { version = "7.4.1", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { version = "7.5.0", path = "../swc_ecma_minifier" } swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser" } swc_ecma_visit = { version = "5.0.0", path = "../swc_ecma_visit" } swc_timer = { version = "1.0.0", path = "../swc_timer" } diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index 1b45caeb10c4..64278344394f 100644 --- a/crates/swc_core/Cargo.toml +++ b/crates/swc_core/Cargo.toml @@ -6,7 +6,7 @@ edition = { workspace = true } license = { workspace = true } name = "swc_core" repository = { workspace = true } -version = "10.6.1" +version = "10.7.0" [package.metadata.docs.rs] features = [ "allocator_node", @@ -357,7 +357,7 @@ swc_ecma_ast = { optional = true, version = "5.0.3", path = swc_ecma_codegen = { optional = true, version = "5.1.0", path = "../swc_ecma_codegen" } swc_ecma_lints = { optional = true, version = "7.0.1", path = "../swc_ecma_lints" } swc_ecma_loader = { optional = true, version = "5.0.0", path = "../swc_ecma_loader" } -swc_ecma_minifier = { optional = true, version = "7.4.1", path = "../swc_ecma_minifier" } +swc_ecma_minifier = { optional = true, version = "7.5.0", path = "../swc_ecma_minifier" } swc_ecma_parser = { optional = true, version = "6.0.2", path = "../swc_ecma_parser" } swc_ecma_preset_env = { optional = true, version = "9.0.0", path = "../swc_ecma_preset_env" } swc_ecma_quote_macros = { optional = true, version = "6.0.0", path = "../swc_ecma_quote_macros" } diff --git a/crates/swc_ecma_minifier/Cargo.toml b/crates/swc_ecma_minifier/Cargo.toml index df275034b939..9815e3f84ad7 100644 --- a/crates/swc_ecma_minifier/Cargo.toml +++ b/crates/swc_ecma_minifier/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/lists/*.json"] license = { workspace = true } name = "swc_ecma_minifier" repository = { workspace = true } -version = "7.4.1" +version = "7.5.0" [package.metadata.docs.rs] all-features = true diff --git a/crates/swc_ecmascript/Cargo.toml b/crates/swc_ecmascript/Cargo.toml index d1b66ba73ac1..77a161eb4afe 100644 --- a/crates/swc_ecmascript/Cargo.toml +++ b/crates/swc_ecmascript/Cargo.toml @@ -40,7 +40,7 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"] [dependencies] swc_ecma_ast = { version = "5.0.3", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen", optional = true } -swc_ecma_minifier = { version = "7.4.1", path = "../swc_ecma_minifier", optional = true } +swc_ecma_minifier = { version = "7.5.0", path = "../swc_ecma_minifier", optional = true } swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser", optional = true, default-features = false } swc_ecma_preset_env = { version = "9.0.0", path = "../swc_ecma_preset_env", optional = true } swc_ecma_quote = { version = "6.0.0", path = "../swc_ecma_quote", optional = true } diff --git a/crates/swc_html_minifier/Cargo.toml b/crates/swc_html_minifier/Cargo.toml index 4880518184ce..13c377321cca 100644 --- a/crates/swc_html_minifier/Cargo.toml +++ b/crates/swc_html_minifier/Cargo.toml @@ -36,7 +36,7 @@ swc_ecma_ast = { version = "5.0.3", path = "../swc_ecma_ast" } swc_ecma_codegen = { version = "5.1.0", path = "../swc_ecma_codegen", features = [ "serde-impl", ] } -swc_ecma_minifier = { version = "7.4.1", path = "../swc_ecma_minifier", features = [ +swc_ecma_minifier = { version = "7.5.0", path = "../swc_ecma_minifier", features = [ "extra-serde", ] } swc_ecma_parser = { version = "6.0.2", path = "../swc_ecma_parser" }