Skip to content

Releases: sveltejs/svelte

svelte@5.12.0

12 Dec 22:56
af9b071
Compare
Choose a tag to compare

Minor Changes

  • feat: expose more AST types from "svelte/compiler" (#14601)

Patch Changes

  • fix: don't add parenthesis to media query if already present (#14699)

  • fix: ensure if block paths retain correct template namespacing (#14685)

svelte@5.11.3

12 Dec 19:57
780041a
Compare
Choose a tag to compare

Patch Changes

  • fix: allow unquoted slash in attributes (#14615)

  • fix: better handle hydration of script/style elements (#14683)

  • fix: make defaultValue work with spread (#14640)

  • fix: avoid mutation validation for invalidate_inner_signals (#14688)

svelte@5.11.2

11 Dec 23:31
7aa80fc
Compare
Choose a tag to compare

Patch Changes

  • fix: correctly handle ssr for reactivity/window (#14681)

svelte@5.11.1

11 Dec 22:14
a5a4649
Compare
Choose a tag to compare

Patch Changes

  • fix: account for global block in is_empty (#14677)

  • fix: remove overzealous reactive_declaration_non_reactive_property warning (#14663)

svelte@5.11.0

11 Dec 16:37
b0374f8
Compare
Choose a tag to compare

Minor Changes

  • feat: add svelte/reactivity/window module (#14660)

Patch Changes

  • fix: take into account registration state when setting custom element props (#14508)

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)