Releases: sveltejs/svelte
svelte@5.20.5
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
Patch Changes
- fix: update types and inline docs for flushSync (#15348)
svelte@5.20.3
svelte@5.20.2
Patch Changes
-
chore: remove unused
options.uid
inrender
(#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 withoutbind
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
svelte@5.20.0
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)