diff --git a/.changeset/chatty-horses-invent.md b/.changeset/chatty-horses-invent.md deleted file mode 100644 index 818934ee85e8..000000000000 --- a/.changeset/chatty-horses-invent.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -hstr: patch -swc_core: patch ---- - -fix(hstr): Prevent memory leak for global stores diff --git a/CHANGELOG.md b/CHANGELOG.md index 87c0fde19ff4..fe4b28bbbc91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,24 @@ # Changelog +## [unreleased] + +### Bug Fixes + + + +- **(hstr)** Prevent memory leak for global stores ([#10047](https://github.com/swc-project/swc/issues/10047)) ([4718bc0](https://github.com/swc-project/swc/commit/4718bc0df9dd3285442f0dcf3b9709d8440703e5)) + +### Miscellaneous Tasks + + + +- **(es/minifier)** Make `minify-all` example ignore parsing errors ([#10045](https://github.com/swc-project/swc/issues/10045)) ([6c7ec46](https://github.com/swc-project/swc/commit/6c7ec46ee423d745305204460f15450c897a90a9)) + +### Build + + + +- **(es)** Select optimization level for each crates ([#10046](https://github.com/swc-project/swc/issues/10046)) ([c28d494](https://github.com/swc-project/swc/commit/c28d4942c513c4dad8bc69e1c6ca2679132b58f6)) + ## [1.10.17] - 2025-02-18 ### Bug Fixes @@ -1616,15 +1636,6 @@ - **(es/utils)** Support for arrays using `cast_to_number` ([#9212](https://github.com/swc-project/swc/issues/9212)) ([2aef14d](https://github.com/swc-project/swc/commit/2aef14d34d22df41bd6f421633eadc50826217cc)) -### Miscellaneous Tasks - - - -- **(es)** Bump `unicode-id-start` to `v1.2.0` ([#9177](https://github.com/swc-project/swc/issues/9177)) ([9904a53](https://github.com/swc-project/swc/commit/9904a53b7fc4c828c06071c19d08c27b5c1d9f42)) - - -- **(es/typescript)** Improve decorator handling of fast strip ([#9178](https://github.com/swc-project/swc/issues/9178)) ([962170f](https://github.com/swc-project/swc/commit/962170fb704e5f0cf7a00c0a9be3e9d7cf4f6b02)) - ### Performance diff --git a/Cargo.lock b/Cargo.lock index c5b4cbadccfc..597e07e80789 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1989,7 +1989,7 @@ dependencies = [ [[package]] name = "hstr" -version = "0.3.0" +version = "0.3.1" dependencies = [ "compact_str", "criterion", @@ -4772,7 +4772,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "14.0.0" +version = "14.0.1" dependencies = [ "anyhow", "binding_macros", diff --git a/crates/hstr/Cargo.toml b/crates/hstr/Cargo.toml index 83b8bb51ce9b..949d97a7d200 100644 --- a/crates/hstr/Cargo.toml +++ b/crates/hstr/Cargo.toml @@ -5,7 +5,7 @@ edition = { workspace = true } license = { workspace = true } name = "hstr" repository = { workspace = true } -version = "0.3.0" +version = "0.3.1" [lib] bench = false diff --git a/crates/swc_atoms/Cargo.toml b/crates/swc_atoms/Cargo.toml index 7a38ed87d70b..0e0f5041ca1b 100644 --- a/crates/swc_atoms/Cargo.toml +++ b/crates/swc_atoms/Cargo.toml @@ -27,4 +27,4 @@ rustc-hash = { workspace = true } serde = { workspace = true } shrink-to-fit = { workspace = true, optional = true } -hstr = { version = "0.3.0", path = "../hstr" } +hstr = { version = "0.3.1", path = "../hstr" } diff --git a/crates/swc_cli_impl/Cargo.toml b/crates/swc_cli_impl/Cargo.toml index 8c7d139c0b8a..58c7df2245a9 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 = "14.0.0", features = [ +swc_core = { version = "14.0.1", features = [ "trace_macro", "common_concurrent", "base_concurrent", diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml index 4db4f29b3e4a..d9f4c62eafab 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 = "14.0.0" +version = "14.0.1" [package.metadata.docs.rs] features = [ "allocator_node", diff --git a/crates/swc_parallel/Cargo.toml b/crates/swc_parallel/Cargo.toml index f1dccd0e8734..1aa68feecd21 100644 --- a/crates/swc_parallel/Cargo.toml +++ b/crates/swc_parallel/Cargo.toml @@ -24,4 +24,4 @@ once_cell = { workspace = true } [dev-dependencies] scoped-tls = { workspace = true } -hstr = { version = "0.3.0", path = "../hstr" } +hstr = { version = "0.3.1", path = "../hstr" }