svelte@5.55.10

sveltejs/sveltesvelte@5.55.10May 27, 2026by github-actions[bot]

AI Summary

This patch release focuses on stabilizing async operations, fixing batch processing issues, and improving delegated event propagation performance.

Key Highlights

  • Fix infinite loop when tag expression ends with trailing `/`
  • Fix async `@const` blockers propagation through closure references
  • Fix batch unlinking and settling logic
  • Improve delegated event propagation by walking `composedPath()` directly

Full Release Notes

### Patch Changes

-   fix: unlink errored and otherwise finished batch ([#18264](https://github.com/sveltejs/svelte/pull/18264))

-   perf: walk composedPath() directly in delegated event propagation ([#18268](https://github.com/sveltejs/svelte/pull/18268))

-   fix: transfer effects when merging batches ([#18254](https://github.com/sveltejs/svelte/pull/18254))

-   fix: allow `$derived(await ...)` in disconnected effect roots ([#18273](https://github.com/sveltejs/svelte/pull/18273))

-   fix: remove temporary raw-text hydration markers ([#18269](https://github.com/sveltejs/svelte/pull/18269))

-   fix: propagate async `@const` blockers through closure references so template expressions like `{(() => host)()}` correctly wait for the awaited value ([#18309](https://github.com/sveltejs/svelte/pull/18309))

-   fix: properly unlink batches ([#18298](https://github.com/sveltejs/svelte/pull/18298))

-   fix: settle discarded batch ([#18290](https://github.com/sveltejs/svelte/pull/18290))

-   fix: declare `let:` directives before `{@const}` declarations on slotted elements ([#18271](https://github.com/sveltejs/svelte/pull/18271))

-   fix: resume outro-ed branches if they were kept around ([#18291](https://github.com/sveltejs/svelte/pull/18291))

-   fix: avoid waterfall-warning when async resolves to same value ([#18297](https://github.com/sveltejs/svelte/pull/18297))

-   fix: correctly coordinate component-level effects inside async blocks ([#18260](https://github.com/sveltejs/svelte/pull/18260))

-   fix: make unnecessary commit work less likely ([#18263](https://github.com/sveltejs/svelte/pull/18263))

-   chore: add tag name to `a11y_click_events_have_key_events` warning ([#18272](https://github.com/sveltejs/svelte/pull/18272))

-   fix: catch rejected promises while merging/committing ([#18266](https://github.com/sveltejs/svelte/pull/18266))