SvelteKit 3.1.0
Summer 2026 found SvelteKit sitting at 2.70.x. By the middle of October it had shipped a new major, a patch for that major, and a minor release on top. SvelteKit 3.1.0, published on October 14, 2026, is the third step in that sequence, and the first one that adds features rather than just plugging holes.
The Short Timeline
- October 1, 2026: SvelteKit 3.0.0, alongside
@sveltejs/package3.0.0,@sveltejs/adapter-node6.0.0,@sveltejs/adapter-static4.0.0,@sveltejs/adapter-vercel7.0.0, and@sveltejs/enhanced-img1.0.0. - October 6, 2026: SvelteKit 3.0.1 with the first round of post-major fixes.
- October 14, 2026: SvelteKit 3.1.0, plus updates to the Cloudflare, Netlify, and Vercel adapters.
A coordinated major across the core package and every first-party adapter is the part worth remembering. It means an upgrade is not a single version bump in package.json but a matching set of changes across the adapter you actually deploy with.
What 3.1.0 Adds
Two minor changes, both narrow.
The first extends Content Security Policy support to the hash-reporting keywords report-sha256, report-sha384, and report-sha512. Projects that run CSP in report-only mode and collect violation reports can now use hashes in those directives instead of being pushed toward nonces.
The second emits a sveltekit.endpoint span for +server handlers when server tracing is enabled. API routes stop being a blind spot in traces, which matters if you have ever stared at a waterfall that showed the load function but nothing about the fetch it made.
The Fixes Behind It
- A project living inside a directory named
serverno longer has every module treated as server-only. - Prerendered MIME types are inferred from the generated files rather than assumed.
- Generated files whose contents did not change are left untouched, which stops needless rebuild churn.
- Deployment recovery continues when a service worker update fails, instead of stopping there.
- Focus stays in the parent page when an app inside an unfocused iframe starts or navigates.
- Storybook's Vite plugins that use
transformIndexHtmlno longer trigger a warning.
Reading the Arc
The 2.x line accumulated behavior across dozens of minor releases. 3.0.0 reset that baseline, and 3.1.0 is the first evidence of what comes after the reset: CSP hardening and observability. Neither is glamorous. Both are the features teams ask for after the framework has already won the argument.
If you are still on 2.70.x, the upgrade path runs through 3.0.0 first. Check your adapter version against the October 1 wave before you bump the core package.