svelte@5.56.9

sveltejs/sveltesvelte@5.56.9Aug 12, 2026by github-actions[bot]

AI Summary

This patch release addresses whitespace handling and comment preservation issues within the compiler's AST printer.

Key Highlights

  • Improved whitespace handling inside the printer
  • Fixed preservation of CSS comments in the AST printer
  • Fixed duplicate comments in attributes

Full Release Notes

### Patch Changes

-   fix: skip controlled each fast path while another batch is pending ([#18625](https://github.com/sveltejs/svelte/pull/18625))

-   fix: better whitespace handling inside printer ([#18638](https://github.com/sveltejs/svelte/pull/18638))

-   fix: don't duplicate comments in attributes ([#18636](https://github.com/sveltejs/svelte/pull/18636))

-   fix: preserve CSS comments in the AST printer ([#18637](https://github.com/sveltejs/svelte/pull/18637))