Migrating to SvelteKit @sveltejs/kit@2.59.0
Version @sveltejs/kit@2.59.0 introduces 1 breaking change. This guide details how to update your code.
Released: 5/1/2026
1
Breaking Changes
1
Migration Steps
8
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
`refresh``query.batch``requested(...)``query.live``RemoteCommand``.updates()``form.fields.foo.as('checkbox', default_value)``field.as('text', defaultValue)`Breaking Changes
●Issue #1
On the server, the promise returned from `refresh` now represents adding the refresh to the map, rather than the time it takes to run the remote function. Code relying on the previous behavior of the `refresh` promise must be updated.
Migration Steps
- 1Review usage of the promise returned by `refresh` on the server side to align with the new behavior (it now represents adding the refresh to the map).
Release Summary
This release introduces support for `query.batch` and the experimental `query.live` function, alongside a breaking change in the behavior of the server-side `refresh` promise. Several bugs related to form handling and updates have also been resolved.
Need More Details?
View the full release notes and all changes for SvelteKit @sveltejs/kit@2.59.0.
View Full Changelog