Releases: sveltejs/svelte
svelte@5.1.0
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
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: do not add jsdoc if no types found (#13738)
svelte@5.0.4
svelte@5.0.3
Patch Changes
- chore: ensure transition events are dispatched without current reaction (#13719)
svelte@5.0.2
Patch Changes
- fix: don't blank css on migration error (#13703)
svelte@5.0.1
Patch Changes
- fix: use typedef for JSDoc props and maintain comments (#13698)
svelte@5.0.0
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
svelte@5.0.0-next.271
Patch Changes
- fix: avoid chromium issue with dispatching blur on element removal (#13694)
svelte@5.0.0-next.270
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
inrender
to prevent runtime error (#13669)