Svelte 5.50.0

5.50.0
Added 1
  • Allow use of createContext when instantiating components programmatically
Fixed 8
  • Ensure infinite effect loops are cleared after flushing
  • Allow {#key NaN}
  • Detect store in each block expression regardless of AST shape
  • Treat <menu> like <ul>/<ol> for a11y role checks
  • Add vite-ignore comment inside dynamic crypto import
  • Properly hydrate already-resolved async blocks
  • Emit each_key_duplicate error in production
  • Exit resolved async blocks on correct node when hydrating
Minor Changes
  • feat: allow use of createContext when instantiating components programmatically (#17575)
Patch Changes
  • fix: ensure infinite effect loops are cleared after flushing (#17601)

  • fix: allow {#key NaN} (#17642)

  • fix: detect store in each block expression regardless of AST shape (#17636)

  • fix: treat <menu> like <ul>/<ol> for a11y role checks (#17638)

  • fix: add vite-ignore comment inside dynamic crypto import (#17623)

  • chore: wrap JSDoc URLs in @see and @link tags (#17617)

  • fix: properly hydrate already-resolved async blocks (#17641)

  • fix: emit each_key_duplicate error in production (#16724)

  • fix: exit resolved async blocks on correct node when hydrating (#17640)

View original

Upgraded? How did it go?

Discussion