Migrating to SvelteKit @sveltejs/kit@2.58.0
Version @sveltejs/kit@2.58.0 introduces 2 breaking changes. This guide details how to update your code.
Released: 4/23/2026
2
Breaking Changes
2
Migration Steps
7
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
`requested``RemoteQueryFunction``deep_set``RemoteFormFields``transformPageChunk``enhance` function`resolve`Breaking Changes
●Issue #1
The `requested` function now yields `{ arg, query }` entries instead of just the validated argument.
●Issue #2
The `requested` function now requires the `limit` parameter to be explicitly provided.
Migration Steps
- 1When using `requested`, update code to destructure the yielded value as `{ arg, query }` instead of using the validated argument directly.
- 2Ensure `limit` is explicitly passed to the `requested` function.
Release Summary
This release introduces improved typing for `RemoteQueryFunction` and fixes several bugs related to reactivity, form handling, and rendering stability. It also includes breaking changes requiring explicit `limit` in `requested` and altering its yielded structure.
Need More Details?
View the full release notes and all changes for SvelteKit @sveltejs/kit@2.58.0.
View Full Changelog