Skip to content

Releases: sveltejs/svelte

svelte@5.1.0

23 Oct 19:06
af4d105
Compare
Choose a tag to compare

Minor Changes

  • feat: export mount() options as the MountOptions type (#13674)

  • feat: allow usage of getContext() within $derived runes (#13830)

Patch Changes

  • fix: properly migrate ts with inferred type comments (#13761)

  • fix: correct property name conversion in custom transitions (#13820)

  • fix: ensure $effect.tracking returns false inside transition functions (#13775)

  • fix: migrate default slots to children snippet (#13760)

  • fix: don't print errors on migration errors (#13754)

  • fix: prevent spread attribute from overriding class directive (#13763)

  • fix: ensure :has selectors followed by other selectors match (#13824)

  • fix: ensure muted DOM property works correctly in FF (#13751)

  • fix: show filename information in legacy_recursive_reactive_block (#13764)

svelte@5.0.5

21 Oct 17:51
ae8f50f
Compare
Choose a tag to compare

Patch Changes

  • fix: mark :has selectors with multiple preceding selectors as used (#13750)

  • fix: ensure event context is reset before invoking callback (#13737)

  • fix: add more robust check for Element prototype (#13744)

  • fix: do not comment out unused selectors that are inside an unused selector (#13746)

  • fix: more accurately detect $derived migration opportunities (#13740)

  • fix: @debug does not work with proxied-state (#13690)

  • fix: do not add jsdoc if no types found (#13738)

svelte@5.0.4

21 Oct 09:45
fb052be
Compare
Choose a tag to compare

Patch Changes

  • fix: webview preload tag can be any string (#13733)

  • fix: better children snippet / default slot interop (#13734)

svelte@5.0.3

20 Oct 12:12
41b5cd6
Compare
Choose a tag to compare

Patch Changes

  • chore: ensure transition events are dispatched without current reaction (#13719)

svelte@5.0.2

19 Oct 21:26
0581e33
Compare
Choose a tag to compare

Patch Changes

  • fix: don't blank css on migration error (#13703)

svelte@5.0.1

19 Oct 20:58
c73c683
Compare
Choose a tag to compare

Patch Changes

  • fix: use typedef for JSDoc props and maintain comments (#13698)

svelte@5.0.0

19 Oct 16:45
Compare
Choose a tag to compare

A new major version of Svelte has been released! πŸŽ‰

The new version brings:

  • even better performance,
  • a more granular reactivity system with runes,
  • more expressive template syntax with snippets and event attributes,
  • native TypeScript support,
  • and backwards compatibility with the previous syntax!

For more details check out the Svelte docs and the migration guide.

svelte@5.0.0-next.272

19 Oct 13:19
0fdfd9c
Compare
Choose a tag to compare
svelte@5.0.0-next.272 Pre-release
Pre-release

Patch Changes

  • fix: ensure user effects are correctly executed on initialisation (#13697)

  • breaking: state mutations inside the template are no longer allowed (#13660)

svelte@5.0.0-next.271

19 Oct 12:26
966a6bd
Compare
Choose a tag to compare
svelte@5.0.0-next.271 Pre-release
Pre-release

Patch Changes

  • fix: avoid chromium issue with dispatching blur on element removal (#13694)

svelte@5.0.0-next.270

18 Oct 23:48
793a8de
Compare
Choose a tag to compare
svelte@5.0.0-next.270 Pre-release
Pre-release

Patch Changes

  • fix: bail out if slot name changes and $slots assigned to variable (#13678)

  • feat: add migration-task for impossible to migrate slots (#13658)

  • feat: tell users of @migration-task (#13668)

  • fix: correct migration of uninitialised state (#13673)

  • fix: ensure migrate correctly handles named slots (#13676)

  • feat: add migration-task comment after errors (#13659)

  • fix: migrate reactive statements with inner blocks (#13675)

  • fix: migrating rest props type includes props types (#13632)

  • fix: migrated snippet shadowing prop and let directive removal (#13679)

  • chore: CompileDiagnostic no longer extends Error (#13651)

  • fix: reset reset_element in render to prevent runtime error (#13669)