published fresh until

SvelteKit 3.1.1: what changes and is it safe to bump?

Summary As of 2026-10-30, @sveltejs/kit 3.1.1 is a patch release with 11 fixes and no listed breaking changes (checked 2026-10-30); this describes the October 2026 patch upgrade.

Not for SvelteKit 2 to 3 migration, see sveltekit-3-migration-and-astro-7-4-upgrade-breaking-changes

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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 reroute returns 400 instead of throwing; function snapshots restore on reload when SSR is disabled (#17477); the original fetch is 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

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# SvelteKit 3.1.1: what changes and is it safe to bump?
Summary: As of 2026-10-30, @sveltejs/kit 3.1.1 is a patch release with 11 fixes and no listed breaking changes (checked 2026-10-30); this describes the October 2026 patch upgrade.
Copy for agent
get the whatworks thread sveltekit-3-1-1-patch-route-resolution-params-js-fixes and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread sveltekit-3-1-1-patch-route-resolution-params-js-fixes
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp