Skip to content

Releases: sveltejs/svelte

svelte@5.10.1

10 Dec 19:58
cb5734a
Compare
Choose a tag to compare

Patch Changes

  • fix: ensure snippet hoisting works in the correct scope (#14642)

  • fix: ensure $state.snapshot clones holey arrays correctly (#14657)

  • fix: restore input binding selection position (#14649)

  • fix: transform everything that is not a selector inside :global (#14577)

  • Overwrite Spring.#last_value when using .set() with {instant: true} (#14656)

  • fix: don't emit assignment warnings for bindings (#14651)

svelte@5.9.1

09 Dec 14:31
0a10c59
Compare
Choose a tag to compare

Patch Changes

  • fix: mark subtree dynamic for bind with sequence expressions (#14626)

svelte@5.10.0

09 Dec 18:33
8bee23e
Compare
Choose a tag to compare

Minor Changes

  • feat: provide links to documentation for errors/warnings (#14629)

Patch Changes

  • fix: allow exports with source from script module even if no bind is present (#14620)

  • fix: deconflict get_name for literal class properties (#14607)

svelte@5.9.0

08 Dec 12:34
301744f
Compare
Choose a tag to compare

Minor Changes

  • feat: add support for bind getters/setters (#14307)

Patch Changes

  • fix: always run if block code the first time (#14597)

svelte@5.8.1

06 Dec 20:42
9828634
Compare
Choose a tag to compare

Patch Changes

  • fix: reinstate missing prefersReducedMotion export (#14586)

svelte@5.8.0

06 Dec 14:18
947d4ad
Compare
Choose a tag to compare

Minor Changes

  • feat: add Spring and Tween classes to svelte/motion (#11519)

svelte@5.7.1

05 Dec 20:24
60c0dc7
Compare
Choose a tag to compare

Patch Changes

  • fix: ensure bindings always take precedence over spreads (#14575)

svelte@5.7.0

05 Dec 15:34
7f51727
Compare
Choose a tag to compare

Minor Changes

  • feat: add createSubscriber function for creating reactive values that depend on subscriptions (#14422)

  • feat: add reactive MediaQuery class, and a prefersReducedMotion class instance (#14422)

Patch Changes

  • fix: treat undefined and null the same for the initial input value (#14562)

svelte@5.6.2

04 Dec 18:35
85dec47
Compare
Choose a tag to compare

Patch Changes

  • chore: make if blocks tree-shakable (#14549)

svelte@5.6.1

04 Dec 16:45
51c9eac
Compare
Choose a tag to compare

Patch Changes

  • fix: handle static form values in combination with default values (#14555)