Skip to content

Releases: sveltejs/svelte

svelte@5.31.0

19 May 15:59
21bf947

Choose a tag to compare

Minor Changes

  • feat: allow state fields to be declared inside class constructors (#15820)

Patch Changes

  • fix: Add missing AttachTag in Tag union type inside the AST namespace from "svelte/compiler" (#15946)

svelte@5.30.2

17 May 09:07
c365634

Choose a tag to compare

Patch Changes

  • fix: falsy attachments types (#15939)

  • fix: handle more hydration mismatches (#15851)

svelte@5.30.1

14 May 22:29
271fd33

Choose a tag to compare

Patch Changes

  • fix: add typeParams to SnippetBlock for legacy parser (#15921)

svelte@5.30.0

14 May 20:05
e2a13a3

Choose a tag to compare

Minor Changes

  • feat: allow generics on snippets (#15915)

svelte@5.29.0

14 May 17:39
51b858d

Choose a tag to compare

Minor Changes

svelte@5.28.7

14 May 17:24
7636031

Choose a tag to compare

Patch Changes

  • fix: remove unncessary guards that require CSP privilege when removing event attributes (#15846)

  • fix: rewrite destructuring logic to handle iterators (#15813)

svelte@5.28.6

13 May 01:25
fbb1aec

Choose a tag to compare

Patch Changes

  • fix: use transform.read for ownership_validator.mutation array (#15848)

  • fix: don't redeclare $slots (#15849)

svelte@5.28.5

13 May 00:31
77bdf24

Choose a tag to compare

Patch Changes

  • fix: proxify the value in assignment shorthands to the private field (#15862)

  • fix: more frequently update bind:buffered to actual value (#15874)

svelte@5.28.4

12 May 23:53
f2796dd

Choose a tag to compare

Patch Changes

  • fix: treat nullish expression as empty string (#15901)

  • fix: prevent invalid BigInt calls from blowing up at compile time (#15900)

  • fix: warn on bidirectional control characters (#15893)

  • fix: emit right error for a shadowed invalid rune (#15892)

svelte@5.28.3

12 May 20:05
9e49be4

Choose a tag to compare

Patch Changes

  • chore: avoid microtasks when flushing sync (#15895)

  • fix: improve error message for migration errors when slot would be renamed (#15841)

  • fix: allow characters in the supplementary special-purpose plane (#15823)