svelte@5.56.9

anomalyco/opentuisvelte@5.56.9Aug 12, 2026by github-actions[bot]

Upgrading?

AI Summary

This patch release improves the compiler's AST printer by fixing whitespace handling and preserving CSS comments. It also resolves an issue where comments were duplicated in attributes.

Key Highlights

  • Better whitespace handling inside the AST printer
  • Preserved CSS comments in the AST printer
  • Fixed duplication of comments in attributes

New Features

  • Preserve CSS comments in the AST printer
  • Better whitespace handling inside printer
  • Prevent duplication of 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))

Related Repositories