Skip to content

Releases: sveltejs/svelte

[email protected]

22 Apr 12:31
05ac8f4
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

  • fix: run render functions for dynamic void elements (#11258)

  • fix: allow events to continue propagating following an error (#11263)

  • fix: resolve type definition error in svelte/compiler (#11283)

  • feat: include script and svelte:options attributes in ast (#11241)

  • fix: only destroy snippets when they have changed (#11267)

  • fix: add type arguments to Map and Set (#10820)

  • feat: implement :global {...} CSS blocks (#11276)

  • feat: add read-only bind:focused (#11271)

[email protected]

20 Apr 01:54
1b688ea
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

  • fix: make sure event attributes run after bindings (#11230)

[email protected]

19 Apr 22:13
68a12f0
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

  • fix: more robust moving of each item nodes (#11254)

  • fix: ensure that CSS is generated for the final frame of a transition (#11251)

  • fix: more accurate error message when creating orphan effects (#11227)

  • fix: support $state.snapshot as part of variable declarations (#11235)

  • fix: optimize object property mutations in compilation (#11243)

  • breaking: don't allow children in svelte:options (#11250)

  • fix: possible name clash in hoisted functions (#11237)

  • fix: preserve getters/setters in HMR mode (#11231)

[email protected]

18 Apr 15:48
5fce00f
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

  • breaking: warn on slots and event handlers in runes mode, error on <slot> + {@render ...} tag usage in same component (#11203)

  • fix: fall back to component namespace when not statically determinable, add way to tell <svelte:element> the namespace at runtime (#11219)

  • fix: measure elements before taking siblings out of the flow (#11216)

  • breaking: warn on self-closing non-void HTML tags (#11114)

  • fix: take outroing elements out of the flow when animating siblings (#11208)

  • fix: widen ownership when sub state is assigned to new state (#11217)

[email protected]

17 Apr 12:48
9f2341f
Compare
Choose a tag to compare

Patch Changes

  • support attribute selector inside :global() (#11135)

[email protected]

17 Apr 09:20
4ef6454
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

  • fix: refine css :global() selector checks in a compound selector (#11142)

  • fix: remove memory leak from bind:this (#11194)

  • fix: remove memory leak from retaining old DOM elements (#11197)

  • feat: add warning when using $bindable rune without calling it (#11181)

[email protected]

16 Apr 20:21
9aebae8
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

  • feat: use state proxy ancestry for ownership validation (#11184)

  • fix: make snippet effects transparent for transitions (#11195)

  • fix: return ast from compile (like Svelte 4 does) (#11191)

  • fix: ensure bind:this unmount behavior for members is conditional (#11193)

[email protected]

16 Apr 03:18
30fa876
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

  • breaking: remove unstate(), replace with $state.snapshot rune (#11180)

  • fix: more accurate default value handling (#11183)

[email protected]

15 Apr 13:34
ae7d734
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

  • fix: ssr comments in head elements that require raw content (#10936)

  • fix: improve spreading of attributes (#11177)

[email protected]

14 Apr 19:38
322737a
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

  • fix: throw error when auto-subscribed store variable shadow by local variable (#11170)

  • fix: make ownership validation work correctly with HMR (#11171)

  • fix: revert ownership widening change (#11161)

  • fix: fix string name of reactive map and set iterator (#11169)

  • feat: reactive URL and URLSearchParams classes (#11157)

  • feat: update error message for snippet binding and assignments (#11168)