note: die Zusammenfassung und die Release Notes sind auf Englisch
ok: Upgrade unbedenklich
0 Breaking Changes3 Kernpunkte
SvelteKit 2.70.0 moves defineEnvVars to @sveltejs/kit/env and enables CSRF protection in non-production builds.
Kernpunkte
- 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 Zeilen
- ### 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))