Skip to content
verdict:

SvelteKit 2.70.0

notable

ok: safe to upgrade

0 breaking changes3 key points

SvelteKit 2.70.0 moves defineEnvVars to @sveltejs/kit/env and enables CSRF protection in non-production builds.

summary · from the release notes only · claude-haiku-5-5 · prompt v7

key points

release-notesgithub.com/sveltejs/kit · 7 lines
  1. ### Minor Changes
  2. - feat: move `defineEnvVars` to `@sveltejs/kit/env` ([#16378](https://github.com/sveltejs/kit/pull/16378))
  3. ### Patch Changes
  4. - fix: enable CSRF protection in builds with a non-production `NODE_ENV` value ([#16313](https://github.com/sveltejs/kit/pull/16313))

view on githubimported 2026-09-28 via npm