svelte@5.41.4

sveltejs/sveltesvelte@5.41.4Oct 24, 2025by github-actions[bot]

AI Summary

Multiple performance and correctness fixes regarding transition locality, snippet mounting, and error handling during async rendering.

Key Highlights

  • Take into account static blocks when determining transition locality
  • Coordinate mount of snippets with await expressions
  • Better optimization of await expressions
  • Flush pending changes after rendering `failed` snippet

Full Release Notes

### Patch Changes

-   fix: take into account static blocks when determining transition locality ([#17018](https://github.com/sveltejs/svelte/pull/17018))

-   fix: coordinate mount of snippets with await expressions ([#17021](https://github.com/sveltejs/svelte/pull/17021))

-   fix: better optimization of await expressions ([#17025](https://github.com/sveltejs/svelte/pull/17025))

-   fix: flush pending changes after rendering `failed` snippet ([#16995](https://github.com/sveltejs/svelte/pull/16995))