Skip to content

Releases: sveltejs/svelte

svelte@5.0.0-next.19

05 Dec 21:18
f552a4b
Compare
Choose a tag to compare
svelte@5.0.0-next.19 Pre-release
Pre-release

Patch Changes

  • feat: add unstate utility function (#9776)

  • fix: ensure proxied array length is updated (#9782)

  • chore: fix compiler errors test suite (#9754)

  • fix: ensure transitions properly cancel on completion (#9778)

  • feat: make fallback prop values readonly (#9789)

  • fix: tweak invalid dollar prefix rules around function args (#9792)

  • fix: ensure generated code does not use keywords as variable names (#9790)

  • feat: disallow fallback values with bindings in runes mode (#9784)

  • fix: apply event attribute validation to elements only (#9772)

  • fix: handle css nth-selector syntax (#9754)

  • feat: throw descriptive error for using runes globals outside of Svelte-compiled files (#9773)

svelte@5.0.0-next.18

04 Dec 19:41
e405610
Compare
Choose a tag to compare
svelte@5.0.0-next.18 Pre-release
Pre-release

Patch Changes

  • chore: more validation errors (#9723)

  • fix: allow duplicate snippet declaration names (#9759)

  • fix: ensure computed props are cached with derived (#9757)

  • fix: ensure event handlers containing arguments are not hoisted (#9758)

svelte@5.0.0-next.17

01 Dec 17:18
61e5e53
Compare
Choose a tag to compare
svelte@5.0.0-next.17 Pre-release
Pre-release

Patch Changes

  • fix: improve $inspect type definition (#9731)

  • fix: correctly inspect derived values (#9731)

svelte@4.2.8

30 Nov 10:18
226bf41
Compare
Choose a tag to compare

Patch Changes

  • fix: port over props that were set prior to initialization (#9701)

svelte@5.0.0-next.16

30 Nov 17:53
1108587
Compare
Choose a tag to compare
svelte@5.0.0-next.16 Pre-release
Pre-release

Patch Changes

  • fix: delegate events on elements with bind-this (#9696)

  • fix: ensure implicit children snippet renders correctly (#9706)

  • fix: ensure $slots exists in runes mode (#9718)

  • fix: allow bind:this with dynamic type on inputs (#9713)

  • fix: port over props that were set prior to initialization (#9704)

  • feat: $inspect rune (#9705)

  • fix: keep fallback value after spread update not setting that prop (#9717)

  • fix: tweak const tag parsing (#9715)

  • chore: remove redundant hydration code (#9698)

  • fix: improve template text node serialization (#9722)

  • fix: improve infinite loop capturing (#9721)

svelte@5.0.0-next.15

29 Nov 03:09
3e3ae92
Compare
Choose a tag to compare
svelte@5.0.0-next.15 Pre-release
Pre-release

Patch Changes

  • fix: add children to element typings (#9679)

  • fix: handle ts expressions when dealing with runes (#9681)

svelte@5.0.0-next.14

27 Nov 18:48
a31b2e1
Compare
Choose a tag to compare
svelte@5.0.0-next.14 Pre-release
Pre-release

Patch Changes

  • feat: warn on references to mutated non-state in template (#9669)

  • fix: prevent reactive snippet from reinitializing unnecessarily (#9665)

  • fix: take event attributes into account when checking a11y (#9664)

  • feat: add $effect.root rune (#9638)

  • feat: support type definition in {@const} (#9609)

  • feat: ignore src, srcset, and href attributes when hydrating (#9662)

  • chore: bump esrap (#9649)

  • chore: improve <svelte:element> generated code (#9648)

  • chore: prevent some unused variable creation (#9571)

svelte@5.0.0-next.13

25 Nov 19:42
66d540d
Compare
Choose a tag to compare
svelte@5.0.0-next.13 Pre-release
Pre-release

Patch Changes

  • fix: apply keyed validation only for keyed each (#9641)

  • fix: omit this bind this arg if we know it's not a signal (#9635)

  • fix: improve each block index handling (#9644)

svelte@5.0.0-next.12

24 Nov 16:47
94afdc8
Compare
Choose a tag to compare
svelte@5.0.0-next.12 Pre-release
Pre-release

Patch Changes

  • fix: adjust mount and createRoot types (63e583184)

  • fix: remove constructor overload (cb4b1f0a1)

  • fix: type-level back-compat for default slot and children prop (a3bc7d569)

svelte@5.0.0-next.11

23 Nov 16:58
b7af2ff
Compare
Choose a tag to compare
svelte@5.0.0-next.11 Pre-release
Pre-release

Patch Changes

  • feat: add type of $effect.active (#9624)

  • fix: correct bind this multiple bindings (#9617)

  • chore: reuse common templates (#9601)

  • fix: handle undefined bubble events (#9614)

  • fix: dont error on stores looking like runes when runes explicitly turned off (#9615)

  • fix: improve member expression mutation logic (#9625)

  • chore: untrack keyed validation logic (#9618)

  • fix: ensure snippets have correct scope (#9623)

  • fix: better attribute casing logic (#9626)