Svelte 5.51.0

5.51.0
Added 1
  • Use TrustedTypes for HTML handling where supported
Fixed 3
  • Sanitize template-literal-special-characters in SSR attribute values
  • Follow-up formatting in print() — flush block-level elements into separate sequences
  • Preserve delegated event handlers as long as one or more root components are using them
Minor Changes
  • feat: Use TrustedTypes for HTML handling where supported (#16271)
Patch Changes
  • fix: sanitize template-literal-special-characters in SSR attribute values (#17692)

  • fix: follow-up formatting in print() — flush block-level elements into separate sequences (#17699)

  • fix: preserve delegated event handlers as long as one or more root components are using them (#17695)

View original

Upgraded? How did it go?

Discussion