svelte@5.49.1

sveltejs/sveltesvelte@5.49.1Jan 30, 2026by github-actions[bot]

AI Summary

A maintenance patch addressing SSR optimizations, text node handling, and promise management within script tags.

Key Highlights

  • Merged consecutive large text nodes to improve rendering performance.
  • Optimized SSR output by only creating async functions when necessary.
  • Improved separation of multiline HTML blocks in the `print()` function.
  • Prevented unhandled exceptions arising from dangling promises in `<script>`.

Full Release Notes

### Patch Changes

-   fix: merge consecutive large text nodes ([#17587](https://github.com/sveltejs/svelte/pull/17587))

-   fix: only create async functions in SSR output when necessary ([#17593](https://github.com/sveltejs/svelte/pull/17593))

-   fix: properly separate multiline html blocks from each other in `print()` ([#17319](https://github.com/sveltejs/svelte/pull/17319))

-   fix: prevent unhandled exceptions arising from dangling promises in <script> ([#17591](https://github.com/sveltejs/svelte/pull/17591))