Skip to content

Releases: sveltejs/svelte

svelte@5.20.5

27 Feb 10:00
e4987d2
Compare
Choose a tag to compare

Patch Changes

  • fix: allow double hyphen css selector names (#15384)

  • fix: class:directive not working with $restProps #15386 (#15389)
    fix: spread add an useless cssHash on non-scoped element

  • fix: catch error on @const tag in svelte:boundary in DEV mode (#15369)

  • fix: allow for duplicate var declarations (#15382)

  • fix : bug "$0 is not defined" on svelte:element with a function call on class (#15396)

svelte@5.20.4

24 Feb 13:54
bbeeed4
Compare
Choose a tag to compare

Patch Changes

  • fix: update types and inline docs for flushSync (#15348)

svelte@5.20.3

24 Feb 12:54
220c241
Compare
Choose a tag to compare

Patch Changes

  • fix: allow @const inside #key (#15377)

  • fix: remove unnecessary ?? '' on some expressions (#15287)

  • fix: correctly override class attributes with class directives (#15352)

svelte@5.20.2

18 Feb 16:21
9873443
Compare
Choose a tag to compare

Patch Changes

  • chore: remove unused options.uid in render (#15302)

  • fix: do not warn for binding_property_non_reactive if binding is a store in an each (#15318)

  • fix: prevent writable store value from becoming a proxy when reassigning using $-prefix (#15283)

  • fix: muted reactive without bind and select/autofocus attributes working with function calls (#15326)

  • fix: ensure input elements and elements with dir attribute are marked as non-static (#15259)

  • fix: fire delegated events on target even it was disabled in the meantime (#15319)

svelte@5.20.1

14 Feb 23:07
32b78c9
Compare
Choose a tag to compare

Patch Changes

  • fix: ensure AST analysis on svelte.js modules succeeds (#15297)

  • fix: ignore typescript abstract methods (#15267)

  • fix: correctly ssr component in svelte:head with $props.id() or css='injected' (#15291)

svelte@5.20.0

12 Feb 16:57
23ecc36
Compare
Choose a tag to compare

Minor Changes

  • feat: SSR-safe ID generation with $props.id() (#15185)

Patch Changes

  • fix: take private and public into account for constant_assignment of derived state (#15276)

  • fix: value/checked not correctly set using spread (#15239)

  • chore: tweak effect self invalidation logic, run transition dispatches without reactive context (#15275)

  • fix: use importNode to clone templates for Firefox (#15272)

  • fix: recurse into $derived for ownership validation (#15166)

svelte@5.19.10

11 Feb 13:05
280d8c7
Compare
Choose a tag to compare

Patch Changes

  • fix: when re-connecting unowned deriveds, remove their unowned flag (#15255)

  • fix: allow mutation of private derived state (#15228)

svelte@5.19.9

06 Feb 21:31
c4d4349
Compare
Choose a tag to compare

Patch Changes

  • fix: ensure unowned derived dependencies are not duplicated when reactions are skipped (#15232)

  • fix: hydrate href that is part of spread attributes (#15226)

svelte@5.19.8

05 Feb 20:39
b0c4fa5
Compare
Choose a tag to compare

Patch Changes

  • fix: properly set value property of custom elements (#15206)

  • fix: ensure custom element updates don't run in hydration mode (#15217)

  • fix: ensure tracking returns true, even if in unowned (#15214)

svelte@5.19.7

03 Feb 17:32
64f86ee
Compare
Choose a tag to compare

Patch Changes

  • chore: remove unused code from signal logic (#15195)

  • fix: encounter svelte:element in blocks as sibling during pruning css (#15165)