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.
key points
- note[1]:
defineEnvVarsmoves to@sveltejs/kit/env.release-notes:3 - note[2]: CSRF protection is now enabled in builds whose
NODE_ENVis not production.release-notes:7 - note[3]: The notes list no other changes.
release-notesgithub.com/sveltejs/kit · 7 lines
- ### Minor Changes
- - feat: move `defineEnvVars` to `@sveltejs/kit/env` ([#16378](https://github.com/sveltejs/kit/pull/16378))
- ### Patch Changes
- - fix: enable CSRF protection in builds with a non-production `NODE_ENV` value ([#16313](https://github.com/sveltejs/kit/pull/16313))