Skip to content

Releases: sveltejs/svelte

svelte@5.42.2

26 Oct 01:14
da00abe

Choose a tag to compare

Patch Changes

  • fix: better error message for global variable assignments (#17036)

  • chore: tweak memoizer logic (#17042)

svelte@5.42.1

25 Oct 18:50
e33f774

Choose a tag to compare

Patch Changes

  • fix: ignore fork discard() after commit() (#17034)

svelte@5.42.0

25 Oct 15:36
875a041

Choose a tag to compare

Minor Changes

  • feat: experimental fork API (#17004)

Patch Changes

  • fix: always allow setContext before first await in component (#17031)

  • fix: less confusing names for inspect errors (#17026)

svelte@5.41.4

24 Oct 16:47
4a214f7

Choose a tag to compare

Patch Changes

  • fix: take into account static blocks when determining transition locality (#17018)

  • fix: coordinate mount of snippets with await expressions (#17021)

  • fix: better optimization of await expressions (#17025)

  • fix: flush pending changes after rendering failed snippet (#16995)

svelte@5.41.3

23 Oct 18:51
86aedae

Choose a tag to compare

Patch Changes

  • chore: exclude vite optimized deps from stack traces (#17008)

  • perf: skip repeatedly traversing the same derived (#17016)

svelte@5.41.2

22 Oct 13:43
3009a02

Choose a tag to compare

Patch Changes

  • fix: keep batches alive until all async work is complete (#16971)

  • fix: don't preserve reactivity context across function boundaries (#17002)

  • fix: make $inspect logs come from the callsite (#17001)

  • fix: ensure guards (eg. if, each, key) run before their contents (#16930)

svelte@5.41.1

20 Oct 13:32
7d9ea8e

Choose a tag to compare

Patch Changes

  • fix: place let: declarations before {@const} declarations (#16985)

  • fix: improve each_key_without_as error (#16983)

  • chore: centralise branch management (#16977)

svelte@5.41.0

18 Oct 03:04
bd2d3db

Choose a tag to compare

Minor Changes

  • feat: add $state.eager(value) rune (#16849)

Patch Changes

  • fix: preserve <select> state while focused (#16958)

  • chore: run boundary async effects in the context of the current batch (#16968)

  • fix: error if each block has key but no as clause (#16966)

svelte@5.40.2

17 Oct 01:30
a541862

Choose a tag to compare

Patch Changes

  • fix: add hydration markers in pending branch of SSR boundary (#16965)

svelte@5.40.1

15 Oct 17:01
94fc836

Choose a tag to compare

Patch Changes

  • chore: Remove sync-in-async warning for server rendering (#16949)