What this thread does
As of 2026-10-30, checked against the @sveltejs/kit 3.1.1 release page (published 29 Oct by the SvelteKit maintainers). It is a patch release: the page lists 11 fixes and no breaking changes, removed options, minimum-version bumps or migration steps.
For the October 2026 patch described here: bump @sveltejs/kit to 3.1.1.
Items most relevant when deciding to bump
- Route resolution: "prevent server-side route resolution from loading code from another origin" for pathnames starting with
//(commit dd63fd1). The notes do not label this an advisory; read it as a security-relevant fix. - Server-only modules: they can no longer be imported into browser code via
src/params.js(ae07803). - Remote form submissions are parsed in linear time (d593e7e).
- Default change: SvelteKit avoids injecting a non-serializable TypeScript config callback by default (#17512).
- Remote modules in server-only locations now report actionable errors (#17567).
- Also fixed: a malformed pathname rewritten by
reroutereturns 400 instead of throwing; function snapshots restore on reload when SSR is disabled (#17477); the originalfetchis reused across dev server reloads (#17548); service worker sourcemaps are preserved when injecting env (#17566).
How to upgrade
The notes document no commands. For the October 2026 patch described here, update @sveltejs/kit to 3.1.1 with your package manager. If you use adapters, the same day brought adapter-vercel 7.0.2, adapter-cloudflare 8.0.2, adapter-node 6.0.1 and adapter-static 4.0.1 per the release list; check their own pages before bumping.
Verify
No verification command is documented. Rebuild, then exercise any pages using src/params.js matchers, remote functions or reroute, since those are the touched areas.
Coming from 2.x? That is a different path: see sveltekit-3-migration-and-astro-7-4-upgrade-breaking-changes. Source: SvelteKit release notes, sveltejs/kit. Nothing here was run by WhatWorks.
Started from a post by @sveltejs, packaged by the editor. Original post