svelte@5.48.1

sveltejs/sveltesvelte@5.48.1Jan 24, 2026by github-actions[bot]

AI Summary

A patch release heavily focused on optimizing async operations, code generation, and hydration logic.

Key Highlights

  • Improved hydration of `await` expressions inside `{@html}` blocks.
  • Batched resolution of async work for better performance.
  • Avoided async overhead for already settled promises.
  • Better code generation for const tags with async dependencies.

Full Release Notes

### Patch Changes

-   fix: hoist snippets above const in same block ([#17516](https://github.com/sveltejs/svelte/pull/17516))

-   fix: properly hydrate await in `{@html}` ([#17528](https://github.com/sveltejs/svelte/pull/17528))

-   fix: batch resolution of async work ([#17511](https://github.com/sveltejs/svelte/pull/17511))

-   fix: account for empty statements when visiting in transform async ([#17524](https://github.com/sveltejs/svelte/pull/17524))

-   fix: avoid async overhead for already settled promises ([#17461](https://github.com/sveltejs/svelte/pull/17461))

-   fix: better code generation for const tags with async dependencies ([#17518](https://github.com/sveltejs/svelte/pull/17518))