From 10fdca7d705081cae17bf7d609d46ee6eb237d17 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Tue, 6 Oct 2026 16:15:14 +0200
Subject: [PATCH] Version Packages (#18858)
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.
# Releases
## svelte@5.57.2
### Patch Changes
- fix: don't create async deriveds for a component destroyed while
waiting for its top-level `await`
([#18931](https://github.com/sveltejs/svelte/pull/18931))
- fix: prevent untracked derived reads from retaining disconnected
dependencies ([#18829](https://github.com/sveltejs/svelte/pull/18829))
- fix: error if `{:else}` is followed by another `{:else}` or `{:else if
...}` ([#18900](https://github.com/sveltejs/svelte/pull/18900))
- fix: avoid tracking SvelteURLSearchParams during URL updates
([#18791](https://github.com/sveltejs/svelte/pull/18791))
- fix: restore hydration state when custom element attribute updates
throw ([#18467](https://github.com/sveltejs/svelte/pull/18467))
- fix: attach event handlers that are assigned after a top-level `await`
in production ([#18933](https://github.com/sveltejs/svelte/pull/18933))
- fix: flush anything pending before invoking flushSync callback
function ([#18878](https://github.com/sveltejs/svelte/pull/18878))
- fix: preserve location information for `await` wrappers
([#18859](https://github.com/sveltejs/svelte/pull/18859))
- fix: keep a reactive assignment with no dependencies when `migrate`
cannot turn it into a declaration
([#18817](https://github.com/sveltejs/svelte/pull/18817))
- fix: don't hang `migrate` on a declaration that shares a line with its
script tag ([#18816](https://github.com/sveltejs/svelte/pull/18816))
- fix: prevent duplicate subscriptions when reconnecting deriveds
([#18899](https://github.com/sveltejs/svelte/pull/18899))
- fix: recover when an unexpected node replaces a nested boundary
comment during hydration
([#18925](https://github.com/sveltejs/svelte/pull/18925))
- fix: print `{#await}` blocks that only have a pending branch
([#18908](https://github.com/sveltejs/svelte/pull/18908))
- fix: don't warn about a redundant `link` role on `` elements
without an `href`
([#18872](https://github.com/sveltejs/svelte/pull/18872))
- fix: don't throw `state_unsafe_mutation` when the focused element is
removed while `bind:activeElement` is used
([#18921](https://github.com/sveltejs/svelte/pull/18921))
- fix: don't overwrite an unchanged spread `value`, preserving
incomplete number input
([#18864](https://github.com/sveltejs/svelte/pull/18864))
- fix: read batch-local array on each-block commit
([#18879](https://github.com/sveltejs/svelte/pull/18879))
- fix: error at compile time when a declaration in a snippet redeclares
one of its parameters
([#18842](https://github.com/sveltejs/svelte/pull/18842))
- fix: error when using `let:` directives on a component with a
`children` snippet
([#18873](https://github.com/sveltejs/svelte/pull/18873))
- fix: ignore stale boundary reset callbacks
([#18886](https://github.com/sveltejs/svelte/pull/18886))
- fix: handle deferred transitions aborted before initialization
([#18776](https://github.com/sveltejs/svelte/pull/18776))
- fix: prevent hydration mismatch recovery from being intercepted by
error boundaries
([#18841](https://github.com/sveltejs/svelte/pull/18841))
- fix: preserve dynamic element connections during hydration
([#18855](https://github.com/sveltejs/svelte/pull/18855))
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
---
.changeset/brave-owls-wait.md | 5 --
.changeset/calm-derived-connections.md | 5 --
.changeset/duplicate-else-clause.md | 5 --
.changeset/fuzzy-urls-rest.md | 5 --
...hydration-custom-element-error-boundary.md | 5 --
.changeset/late-handlers-wait.md | 5 --
.changeset/major-papayas-run.md | 5 --
.changeset/major-roses-help.md | 5 --
.changeset/migrate-keep-assignment.md | 5 --
.changeset/migrate-tag-line.md | 5 --
.changeset/neat-derived-reconnections.md | 5 --
.changeset/nested-boundary-hydrate.md | 5 --
.changeset/print-await-pending-only.md | 5 --
.changeset/quiet-areas-link.md | 5 --
.changeset/quiet-foxes-focus.md | 5 --
.changeset/quiet-inputs-keep.md | 5 --
.changeset/short-radios-sneeze.md | 5 --
.changeset/snippet-parameter-redeclared.md | 5 --
.changeset/sour-lets-hide.md | 5 --
.changeset/stale-boundary-reset.md | 5 --
.changeset/tidy-ducks-reset.md | 5 --
.changeset/tidy-pandas-hydrate.md | 5 --
.changeset/tidy-trees-stay.md | 5 --
packages/svelte/CHANGELOG.md | 50 +++++++++++++++++++
packages/svelte/package.json | 2 +-
packages/svelte/src/version.js | 2 +-
26 files changed, 52 insertions(+), 117 deletions(-)
delete mode 100644 .changeset/brave-owls-wait.md
delete mode 100644 .changeset/calm-derived-connections.md
delete mode 100644 .changeset/duplicate-else-clause.md
delete mode 100644 .changeset/fuzzy-urls-rest.md
delete mode 100644 .changeset/hydration-custom-element-error-boundary.md
delete mode 100644 .changeset/late-handlers-wait.md
delete mode 100644 .changeset/major-papayas-run.md
delete mode 100644 .changeset/major-roses-help.md
delete mode 100644 .changeset/migrate-keep-assignment.md
delete mode 100644 .changeset/migrate-tag-line.md
delete mode 100644 .changeset/neat-derived-reconnections.md
delete mode 100644 .changeset/nested-boundary-hydrate.md
delete mode 100644 .changeset/print-await-pending-only.md
delete mode 100644 .changeset/quiet-areas-link.md
delete mode 100644 .changeset/quiet-foxes-focus.md
delete mode 100644 .changeset/quiet-inputs-keep.md
delete mode 100644 .changeset/short-radios-sneeze.md
delete mode 100644 .changeset/snippet-parameter-redeclared.md
delete mode 100644 .changeset/sour-lets-hide.md
delete mode 100644 .changeset/stale-boundary-reset.md
delete mode 100644 .changeset/tidy-ducks-reset.md
delete mode 100644 .changeset/tidy-pandas-hydrate.md
delete mode 100644 .changeset/tidy-trees-stay.md
diff --git a/.changeset/brave-owls-wait.md b/.changeset/brave-owls-wait.md
deleted file mode 100644
index 827868b8c3..0000000000
--- a/.changeset/brave-owls-wait.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: don't create async deriveds for a component destroyed while waiting for its top-level `await`
diff --git a/.changeset/calm-derived-connections.md b/.changeset/calm-derived-connections.md
deleted file mode 100644
index 4ce38365ff..0000000000
--- a/.changeset/calm-derived-connections.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: prevent untracked derived reads from retaining disconnected dependencies
diff --git a/.changeset/duplicate-else-clause.md b/.changeset/duplicate-else-clause.md
deleted file mode 100644
index 5b2ecbbbd5..0000000000
--- a/.changeset/duplicate-else-clause.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: error if `{:else}` is followed by another `{:else}` or `{:else if ...}`
diff --git a/.changeset/fuzzy-urls-rest.md b/.changeset/fuzzy-urls-rest.md
deleted file mode 100644
index c49215278e..0000000000
--- a/.changeset/fuzzy-urls-rest.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: avoid tracking SvelteURLSearchParams during URL updates
diff --git a/.changeset/hydration-custom-element-error-boundary.md b/.changeset/hydration-custom-element-error-boundary.md
deleted file mode 100644
index f94aa6265a..0000000000
--- a/.changeset/hydration-custom-element-error-boundary.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: restore hydration state when custom element attribute updates throw
diff --git a/.changeset/late-handlers-wait.md b/.changeset/late-handlers-wait.md
deleted file mode 100644
index 306a950c43..0000000000
--- a/.changeset/late-handlers-wait.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: attach event handlers that are assigned after a top-level `await` in production
diff --git a/.changeset/major-papayas-run.md b/.changeset/major-papayas-run.md
deleted file mode 100644
index 59909fb448..0000000000
--- a/.changeset/major-papayas-run.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: flush anything pending before invoking flushSync callback function
diff --git a/.changeset/major-roses-help.md b/.changeset/major-roses-help.md
deleted file mode 100644
index c3c06792a4..0000000000
--- a/.changeset/major-roses-help.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: preserve location information for `await` wrappers
diff --git a/.changeset/migrate-keep-assignment.md b/.changeset/migrate-keep-assignment.md
deleted file mode 100644
index 6b5be9d6be..0000000000
--- a/.changeset/migrate-keep-assignment.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: keep a reactive assignment with no dependencies when `migrate` cannot turn it into a declaration
diff --git a/.changeset/migrate-tag-line.md b/.changeset/migrate-tag-line.md
deleted file mode 100644
index 414e4a249c..0000000000
--- a/.changeset/migrate-tag-line.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: don't hang `migrate` on a declaration that shares a line with its script tag
diff --git a/.changeset/neat-derived-reconnections.md b/.changeset/neat-derived-reconnections.md
deleted file mode 100644
index fb6888de67..0000000000
--- a/.changeset/neat-derived-reconnections.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: prevent duplicate subscriptions when reconnecting deriveds
diff --git a/.changeset/nested-boundary-hydrate.md b/.changeset/nested-boundary-hydrate.md
deleted file mode 100644
index dbbf545a5d..0000000000
--- a/.changeset/nested-boundary-hydrate.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: recover when an unexpected node replaces a nested boundary comment during hydration
diff --git a/.changeset/print-await-pending-only.md b/.changeset/print-await-pending-only.md
deleted file mode 100644
index 677dc73fc0..0000000000
--- a/.changeset/print-await-pending-only.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: print `{#await}` blocks that only have a pending branch
diff --git a/.changeset/quiet-areas-link.md b/.changeset/quiet-areas-link.md
deleted file mode 100644
index af4e31f3cb..0000000000
--- a/.changeset/quiet-areas-link.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: don't warn about a redundant `link` role on `` elements without an `href`
diff --git a/.changeset/quiet-foxes-focus.md b/.changeset/quiet-foxes-focus.md
deleted file mode 100644
index 283e88f525..0000000000
--- a/.changeset/quiet-foxes-focus.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: don't throw `state_unsafe_mutation` when the focused element is removed while `bind:activeElement` is used
diff --git a/.changeset/quiet-inputs-keep.md b/.changeset/quiet-inputs-keep.md
deleted file mode 100644
index 0efcfcc058..0000000000
--- a/.changeset/quiet-inputs-keep.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: don't overwrite an unchanged spread `value`, preserving incomplete number input
diff --git a/.changeset/short-radios-sneeze.md b/.changeset/short-radios-sneeze.md
deleted file mode 100644
index 847c3eef17..0000000000
--- a/.changeset/short-radios-sneeze.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: read batch-local array on each-block commit
diff --git a/.changeset/snippet-parameter-redeclared.md b/.changeset/snippet-parameter-redeclared.md
deleted file mode 100644
index 9bb14cf3af..0000000000
--- a/.changeset/snippet-parameter-redeclared.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: error at compile time when a declaration in a snippet redeclares one of its parameters
diff --git a/.changeset/sour-lets-hide.md b/.changeset/sour-lets-hide.md
deleted file mode 100644
index 6175027cff..0000000000
--- a/.changeset/sour-lets-hide.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: error when using `let:` directives on a component with a `children` snippet
diff --git a/.changeset/stale-boundary-reset.md b/.changeset/stale-boundary-reset.md
deleted file mode 100644
index 1f158c5713..0000000000
--- a/.changeset/stale-boundary-reset.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: ignore stale boundary reset callbacks
diff --git a/.changeset/tidy-ducks-reset.md b/.changeset/tidy-ducks-reset.md
deleted file mode 100644
index 41a00cf649..0000000000
--- a/.changeset/tidy-ducks-reset.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: handle deferred transitions aborted before initialization
diff --git a/.changeset/tidy-pandas-hydrate.md b/.changeset/tidy-pandas-hydrate.md
deleted file mode 100644
index 944797a760..0000000000
--- a/.changeset/tidy-pandas-hydrate.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: prevent hydration mismatch recovery from being intercepted by error boundaries
diff --git a/.changeset/tidy-trees-stay.md b/.changeset/tidy-trees-stay.md
deleted file mode 100644
index 65bf7de619..0000000000
--- a/.changeset/tidy-trees-stay.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'svelte': patch
----
-
-fix: preserve dynamic element connections during hydration
diff --git a/packages/svelte/CHANGELOG.md b/packages/svelte/CHANGELOG.md
index 75592eba84..77a6cbbd6b 100644
--- a/packages/svelte/CHANGELOG.md
+++ b/packages/svelte/CHANGELOG.md
@@ -1,5 +1,55 @@
# svelte
+## 5.57.2
+
+### Patch Changes
+
+- fix: don't create async deriveds for a component destroyed while waiting for its top-level `await` ([#18931](https://github.com/sveltejs/svelte/pull/18931))
+
+- fix: prevent untracked derived reads from retaining disconnected dependencies ([#18829](https://github.com/sveltejs/svelte/pull/18829))
+
+- fix: error if `{:else}` is followed by another `{:else}` or `{:else if ...}` ([#18900](https://github.com/sveltejs/svelte/pull/18900))
+
+- fix: avoid tracking SvelteURLSearchParams during URL updates ([#18791](https://github.com/sveltejs/svelte/pull/18791))
+
+- fix: restore hydration state when custom element attribute updates throw ([#18467](https://github.com/sveltejs/svelte/pull/18467))
+
+- fix: attach event handlers that are assigned after a top-level `await` in production ([#18933](https://github.com/sveltejs/svelte/pull/18933))
+
+- fix: flush anything pending before invoking flushSync callback function ([#18878](https://github.com/sveltejs/svelte/pull/18878))
+
+- fix: preserve location information for `await` wrappers ([#18859](https://github.com/sveltejs/svelte/pull/18859))
+
+- fix: keep a reactive assignment with no dependencies when `migrate` cannot turn it into a declaration ([#18817](https://github.com/sveltejs/svelte/pull/18817))
+
+- fix: don't hang `migrate` on a declaration that shares a line with its script tag ([#18816](https://github.com/sveltejs/svelte/pull/18816))
+
+- fix: prevent duplicate subscriptions when reconnecting deriveds ([#18899](https://github.com/sveltejs/svelte/pull/18899))
+
+- fix: recover when an unexpected node replaces a nested boundary comment during hydration ([#18925](https://github.com/sveltejs/svelte/pull/18925))
+
+- fix: print `{#await}` blocks that only have a pending branch ([#18908](https://github.com/sveltejs/svelte/pull/18908))
+
+- fix: don't warn about a redundant `link` role on `` elements without an `href` ([#18872](https://github.com/sveltejs/svelte/pull/18872))
+
+- fix: don't throw `state_unsafe_mutation` when the focused element is removed while `bind:activeElement` is used ([#18921](https://github.com/sveltejs/svelte/pull/18921))
+
+- fix: don't overwrite an unchanged spread `value`, preserving incomplete number input ([#18864](https://github.com/sveltejs/svelte/pull/18864))
+
+- fix: read batch-local array on each-block commit ([#18879](https://github.com/sveltejs/svelte/pull/18879))
+
+- fix: error at compile time when a declaration in a snippet redeclares one of its parameters ([#18842](https://github.com/sveltejs/svelte/pull/18842))
+
+- fix: error when using `let:` directives on a component with a `children` snippet ([#18873](https://github.com/sveltejs/svelte/pull/18873))
+
+- fix: ignore stale boundary reset callbacks ([#18886](https://github.com/sveltejs/svelte/pull/18886))
+
+- fix: handle deferred transitions aborted before initialization ([#18776](https://github.com/sveltejs/svelte/pull/18776))
+
+- fix: prevent hydration mismatch recovery from being intercepted by error boundaries ([#18841](https://github.com/sveltejs/svelte/pull/18841))
+
+- fix: preserve dynamic element connections during hydration ([#18855](https://github.com/sveltejs/svelte/pull/18855))
+
## 5.57.1
### Patch Changes
diff --git a/packages/svelte/package.json b/packages/svelte/package.json
index 6404eb0596..7b66c0c3fe 100644
--- a/packages/svelte/package.json
+++ b/packages/svelte/package.json
@@ -2,7 +2,7 @@
"name": "svelte",
"description": "Cybernetically enhanced web apps",
"license": "MIT",
- "version": "5.57.1",
+ "version": "5.57.2",
"type": "module",
"types": "./types/index.d.ts",
"engines": {
diff --git a/packages/svelte/src/version.js b/packages/svelte/src/version.js
index d925d3eb2e..80c49e17ac 100644
--- a/packages/svelte/src/version.js
+++ b/packages/svelte/src/version.js
@@ -4,5 +4,5 @@
* The current version, as set in package.json.
* @type {string}
*/
-export const VERSION = '5.57.1';
+export const VERSION = '5.57.2';
export const PUBLIC_VERSION = '5';