svelte@5.54.1

sveltejs/sveltesvelte@5.54.1Mar 21, 2026by github-actions[bot]

AI Summary

A patch release fixing hydration comments during HMR, effect cleanup, and reactivity batching logic.

Key Highlights

  • Fix hydration comments during HMR
  • Null out `effect.b` in `destroy_effect`
  • Group sync statements
  • Defer batch resolution until earlier intersecting batches have committed

Full Release Notes

### Patch Changes

-   fix: hydration comments during hmr ([#17975](https://github.com/sveltejs/svelte/pull/17975))

-   fix: null out `effect.b` in `destroy_effect` ([#17980](https://github.com/sveltejs/svelte/pull/17980))

-   fix: group sync statements ([#17977](https://github.com/sveltejs/svelte/pull/17977))

-   fix: defer batch resolution until earlier intersecting batches have committed ([#17162](https://github.com/sveltejs/svelte/pull/17162))

-   fix: properly invoke `iterator.return()` during reactivity loss check ([#17966](https://github.com/sveltejs/svelte/pull/17966))

-   fix: remove trailing semicolon from {@const} tag printer ([#17962](https://github.com/sveltejs/svelte/pull/17962))