Migrating to SvelteKit @sveltejs/kit@2.56.0
Version @sveltejs/kit@2.56.0 introduces 3 breaking changes. This guide details how to update your code.
Released: 4/3/2026
3
Breaking Changes
2
Migration Steps
10
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
queryform fieldremote function cachingVite base settingservice worker buildCSS precomputationnavigationerror.sveltebatch callspending_countBreaking Changes
●Issue #1
Client-driven refreshes have been reworked, requiring updates to how refreshes are initiated.
●Issue #2
Remote function caching is stabilized by sorting object keys, which may change caching behavior.
●Issue #3
Queries must now be awaited using the new `run()` method; awaiting queries outside of render is disallowed.
Migration Steps
- 1If you were awaiting queries directly, update this to use the new `run()` method on the query object.
- 2Review client-driven refresh logic due to rework in [#15562].
Release Summary
This release stabilizes remote function caching and overhauls query management by introducing the `run()` method, alongside adding support for TypeScript 6.0.
Need More Details?
View the full release notes and all changes for SvelteKit @sveltejs/kit@2.56.0.
View Full Changelog