Skip to content

Releases: sveltejs/svelte

svelte@4.2.18

06 Jun 11:44
230916f
Compare
Choose a tag to compare

Patch Changes

  • chore: speed up regex (#11922)

svelte@5.0.0-next.151

06 Jun 16:05
48e6205
Compare
Choose a tag to compare
svelte@5.0.0-next.151 Pre-release
Pre-release

Patch Changes

  • fix: relax Component type (#11929)

  • fix: sort {@const ...} tags topologically in legacy mode (#11908)

  • chore: deprecate html in favour of body for render() (#11927)

  • fix: append start/end info to AssignmentPattern and VariableDeclarator (#11930)

  • fix: relax slot prop validation on components (#11923)

svelte@5.0.0-next.150

05 Jun 20:22
8c9d9a4
Compare
Choose a tag to compare
svelte@5.0.0-next.150 Pre-release
Pre-release

Patch Changes

  • fix: populate this.#sources when constructing reactive map (#11913)

  • fix: omit state_referenced_locally warning for component exports (#11905)

  • fix: ensure event.target is correct for delegation (#11900)

  • chore: speed up regex (#11918)

  • feat: bind activeElement and pointerLockElement in <svelte:document> (#11879)

  • fix: correctly backport svelte:element to old AST (#11917)

  • fix: add unused-export-let to legacy lint replacements (#11896)

svelte@5.0.0-next.149

03 Jun 21:35
5f21d64
Compare
Choose a tag to compare
svelte@5.0.0-next.149 Pre-release
Pre-release

Patch Changes

  • fix: keep default values of props a proxy after reassignment (#11860)

  • fix: address map reactivity regression (#11882)

  • fix: assign message to error object in handle_error using Object.defineProperty (#11675)

  • fix: ensure frozen objects in state are correctly skipped (#11889)

svelte@5.0.0-next.148

31 May 15:42
fb57c20
Compare
Choose a tag to compare
svelte@5.0.0-next.148 Pre-release
Pre-release

Patch Changes

  • chore: improve $state.frozen performance in prod (#11852)

  • breaking: removed deferred event updates (#11855)

svelte@5.0.0-next.147

31 May 13:57
f411f77
Compare
Choose a tag to compare
svelte@5.0.0-next.147 Pre-release
Pre-release

Patch Changes

  • fix: improve reactive Map and Set implementations (#11827)

  • fix: improve controlled each block cleanup performance (#11839)

svelte@5.0.0-next.144

29 May 14:45
5620882
Compare
Choose a tag to compare
svelte@5.0.0-next.144 Pre-release
Pre-release

Patch Changes

  • fix: address derived memory leak on disconnection from reactive graph (#11819)

  • fix: set correct scope for @const tags within slots (#11798)

  • fix: better support for onwheel events in chrome (#11808)

  • fix: coherent infinite loop guard (#11815)

  • fix: make prop fallback values deeply reactive if needed (#11804)

  • fix: robustify initial scroll value detection when scroll is smooth (#11802)

svelte@5.0.0-next.143

28 May 09:01
d1a14ef
Compare
Choose a tag to compare
svelte@5.0.0-next.143 Pre-release
Pre-release

Patch Changes

  • feat: provide Component type that represents the new shape of Svelte components (#11775)

svelte@5.0.0-next.142

27 May 11:55
6e8131d
Compare
Choose a tag to compare
svelte@5.0.0-next.142 Pre-release
Pre-release

Patch Changes

  • fix: allow runelike writable as prop (#11768)

  • fix: support array.lastIndexOf without second argument (#11766)

  • fix: handle this parameter in TypeScript-annotated functions (#11795)

  • fix: allow classes to be reassigned (#11794)

  • fix: capture the correct event names when spreading attributes (#11783)

  • fix: allow global next to & for nesting (#11784)

  • fix: parse ongotpointercapture and onlostpointercapture events correctly (#11790)

  • fix: only inject push/pop in SSR components when necessary (#11771)

svelte@5.0.0-next.141

23 May 21:12
3dfa343
Compare
Choose a tag to compare
svelte@5.0.0-next.141 Pre-release
Pre-release

Patch Changes

  • fix: throw on invalid attribute expressions (#11736)

  • fix: use svg methods for updating svg attributes too (#11755)

  • fix: don't warn on link without href if aria-disabled (#11737)

  • fix: don't use console.trace inside dev warnings (#11744)