Skip to content

Releases: sveltejs/svelte

svelte@5.2.1

16 Nov 00:08
95ab85f
Compare
Choose a tag to compare

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

14 Nov 17:57
312dd51
Compare
Choose a tag to compare

Minor Changes

  • feat: better inlining of static attributes (#14269)

svelte@5.1.17

14 Nov 17:48
6a7146b
Compare
Choose a tag to compare

Patch Changes

  • fix: account for :has(...) as part of :root (#14229)

  • fix: prevent nested pseudo class from being marked as unused (#14229)

  • fix: use strict equality for key block comparisons in runes mode (#14285)

  • fix: bump is-reference dependency to fix import.meta bug (#14286)

svelte@5.1.16

12 Nov 23:01
f5a7d49
Compare
Choose a tag to compare

Patch Changes

  • fix: don't wrap pseudo classes inside :global(...) with another :global(...) during migration (#14267)

  • fix: bail on named slots with that have reserved keywords during migration (#14278)

svelte@5.1.15

11 Nov 18:08
4a85c41
Compare
Choose a tag to compare

Patch Changes

  • fix: consider static attributes that are inlined in the template (#14249)

svelte@5.1.14

11 Nov 09:38
832499f
Compare
Choose a tag to compare

Patch Changes

  • fix: migration script messing with attributes (#14260)

  • fix: do not treat reassigned synthetic binds as state in runes mode (#14236)

  • fix: account for mutations in script module in ownership check (#14253)

  • fix: consider img with loading attribute not static (#14237)

svelte@5.1.13

08 Nov 19:49
4bcd01b
Compare
Choose a tag to compare

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 of SvelteDate (#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

07 Nov 09:02
d7caf08
Compare
Choose a tag to compare

Patch Changes

  • fix: ignore as type expressions on property definitions (#14181)

  • fix: restore active reaction if then block throws (#14191)

  • chore: adds legacy mode flag reducing bundle size in runes mode only apps (#14180)

svelte@5.1.11

06 Nov 13:02
c499496
Compare
Choose a tag to compare

Patch Changes

  • fix: error on TypeScript's readonly modifier (#14153)

  • fix: remove scoping for :not selectors (#14177)

svelte@5.1.10

05 Nov 18:56
ecc9b97
Compare
Choose a tag to compare

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:elements (#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)