Releases: sveltejs/svelte
svelte@5.2.1
Patch Changes
-
fix: mark pseudo classes nested inside
:not
as used (#14303) -
fix: disallow invalid attributes for
<svelte:window>
and<svelte:document>
(#14228) -
fix: ensure props passed to components via mount are updateable (#14210)
-
fix: mark subtree dynamic for img with loading attribute (#14317)
-
fix: avoid relying on Node specifics within compiler (#14314)
svelte@5.2.0
Minor Changes
- feat: better inlining of static attributes (#14269)
svelte@5.1.17
svelte@5.1.16
svelte@5.1.15
Patch Changes
- fix: consider static attributes that are inlined in the template (#14249)
svelte@5.1.14
svelte@5.1.13
Patch Changes
-
fix: add migration task when there's a variable named that would conflict with a rune (#14216)
-
fix: consider
valueOf
in the reactive methods ofSvelteDate
(#14227) -
fix: handle sibling combinators within
:has
(#14213) -
fix: consider variables with synthetic store sub as state (#14195)
-
fix: read index as a source in legacy keyed each block (#14208)
-
fix: account for shadowing children slot during migration (#14224)
-
fix: ensure explicit nesting selector is always applied (#14193)
-
fix: add
lang="ts"
attribute during migration if needed (#14222)
svelte@5.1.12
svelte@5.1.11
svelte@5.1.10
Patch Changes
-
fix: ensure non-matching elements are scoped for
:not(...)
selector (#13999) -
fix: ensure video elements autoplay in safari (#14095)
-
fix: ensure trailing multiline comments on props produce correct code (#14143#issuecomment-2455702689) (#14143)
-
fix: correctly infer
<a>
tag namespace (#14134) -
fix: check options namespace for top level
svelte:element
s (#14101) -
fix: ensure migrate keeps inline/trailing comments in $props type definition (#14143)
-
fix: update links in JSDoc (#14165)
-
fix: ensure SvelteMap and SvelteSet work with generators in dev (#14103)
-
fix: only output the key for each_key_duplicate (#14147)
-
fix: prevent migrated snippet from shadow snippet prop (#14127)
-
fix: pass along
anchor
in legacy class wrappers (#14100) -
fix: recognize all custom element prop definitions (#14084)
-
fix: migrate multiple declarations with only some exported correctly (#14126)