svelte@5.46.0

sveltejs/sveltesvelte@5.46.0Dec 12, 2025by github-actions[bot]

AI Summary

A minor release adding Content Security Policy (CSP) options to the render function and improving hydratable serialization.

Key Highlights

  • Added `csp` option to `render(...)`
  • Emits hashes when using `hydratable` mode

New Features

  • Added `csp` option to `render(...)`
  • Emits hashes when using `hydratable` mode

Full Release Notes

### Minor Changes

-   feat: Add `csp` option to `render(...)`, and emit hashes when using `hydratable` ([#17338](https://github.com/sveltejs/svelte/pull/17338))