svelte@5.48.0

sveltejs/sveltesvelte@5.48.0Jan 22, 2026by github-actions[bot]

AI Summary

A minor release exposing a CSS parser utility and improving type safety for element rendering.

Key Highlights

  • Exported `parseCss` from `svelte/compiler` for external use.
  • Faster deduplication of dependencies.
  • Fixed handling of non-string values in the `this` attribute of `svelte:element`.

New Features

  • Export `parseCss` from `svelte/compiler`

Full Release Notes

### Minor Changes

-   feat: export `parseCss` from `svelte/compiler` ([#17496](https://github.com/sveltejs/svelte/pull/17496))

### Patch Changes

-   fix: handle non-string values in `svelte:element` `this` attribute ([#17499](https://github.com/sveltejs/svelte/pull/17499))

-   fix: faster deduplication of dependencies ([#17503](https://github.com/sveltejs/svelte/pull/17503))