Version Packages (#18346)
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.56.1
### Patch Changes
- fix: error at compile time on duplicate snippet/declaration tag
definitions ([#18351](https://github.com/sveltejs/svelte/pull/18351))
- fix: parse declaration tag contents more robustly
([#18353](https://github.com/sveltejs/svelte/pull/18353))
- fix: correctly transform references to earlier declarators in a
declaration tag (e.g. `{let a = $state(0), b = $derived(a * 2)}`)
([#18348](https://github.com/sveltejs/svelte/pull/18348))
- fix: avoid spurious `state_referenced_locally` warnings for `$derived`
declarations in declaration tags
([#18348](https://github.com/sveltejs/svelte/pull/18348))
- fix: tolerate whitespace before `let`/`const` in declaration tags
([#18348](https://github.com/sveltejs/svelte/pull/18348))
- fix: prevent infinite loop when a tag's expression ends with a
trailing `/` at the end of the input
([#18350](https://github.com/sveltejs/svelte/pull/18350))
- fix: more robust parsing of declaration tags with regards to `type`
([#18330](https://github.com/sveltejs/svelte/pull/18330))
- fix: preserve newlines in spread input values when the `type`
attribute is applied after `value`
([#18345](https://github.com/sveltejs/svelte/pull/18345))
- fix: update `SvelteURLSearchParams` when setting duplicate keys to the
same joined value
([#18336](https://github.com/sveltejs/svelte/pull/18336))
- fix: check references for blockers on server, too
([#18352](https://github.com/sveltejs/svelte/pull/18352))
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> G
github-actions[bot] committed
3ef761b87b84a7aecd0e11aa4c21a41bb1c180e1
Parent: 5b8db1b
Committed by GitHub <noreply@github.com>
on 6/1/2026, 10:36:01 PM