svelte@5.51.5
sveltejs/sveltesvelte@5.51.5Feb 18, 2026by github-actions[bot]
AI Summary
This patch release focuses on stabilizing Server-Side Rendering (SSR) by fixing validation for `svelte:element` tags, escaping of special characters in options, and the removal of event handlers during the render process.
Key Highlights
- Fix validation for `svelte:element` tags during SSR
- Fix misc option escaping and backwards compatibility
- Strip event handlers during SSR
- Replace usage of `for in` with `for of Object.keys`
Full Release Notes
### Patch Changes - fix: check to make sure `svelte:element` tags are valid during SSR ([`73098bb26c6f06e7fd1b0746d817d2c5ee90755f`](https://github.com/sveltejs/svelte/commit/73098bb26c6f06e7fd1b0746d817d2c5ee90755f)) - fix: misc option escaping and backwards compatibility ([#17741](https://github.com/sveltejs/svelte/pull/17741)) - fix: strip event handlers during SSR ([`a0c7f289156e9fafaeaf5ca14af6c06fe9b9eae5`](https://github.com/sveltejs/svelte/commit/a0c7f289156e9fafaeaf5ca14af6c06fe9b9eae5)) - fix: replace usage of `for in` with `for of Object.keys` ([`f89c7ddd7eebaa1ef3cc540400bec2c9140b330c`](https://github.com/sveltejs/svelte/commit/f89c7ddd7eebaa1ef3cc540400bec2c9140b330c)) - fix: always escape option body in SSR ([`f7c80da18c215e3727c2a611b0b8744cc6e504c5`](https://github.com/sveltejs/svelte/commit/f7c80da18c215e3727c2a611b0b8744cc6e504c5)) - chore: upgrade `devalue` ([#17739](https://github.com/sveltejs/svelte/pull/17739))