Skip to content

Releases: sveltejs/svelte

svelte@5.1.2

24 Oct 23:32
1ee2ac4
Compare
Choose a tag to compare

Patch Changes

  • fix: improve consistency of transitions (#13895)

  • fix: enable bound store props in runes mode components (#13887)

  • fix: ensure each block references to imports are handled correctly (#13892)

  • fix: ensure SvelteMap reactivity persists through deriveds (#13877)

  • fix: ensure snippets after empty text correctly hydrate (#13870)

  • fix: prevent migration script from adding props. to the export let identifier (#13899)

  • fix: prevent var name clashing for delegated events without params (#13896)

svelte@5.1.1

24 Oct 19:29
041e563
Compare
Choose a tag to compare

Patch Changes

  • fix: internally wrap store subscribe in untrack (#13858)

  • fix: allow binding to const with spread in legacy mode (#13849)

  • fix: ensure props internally untracks current_value on sets (#13859)

  • fix: properly traverse children when checking matches for :has (#13866)

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)