Change8

@sveltejs/kit@2.70.0

📦 sveltekitView on GitHub →
1 features🐛 1 fixes🔧 4 symbols

Summary

This release moves `defineEnvVars` to a new location and fixes a bug related to CSRF protection in non-production builds.

Migration Steps

  1. Update import statements for `defineEnvVars` from `@sveltejs/kit` to `@sveltejs/kit/env`.

✨ New Features

  • Moved `defineEnvVars` to `@sveltejs/kit/env`.

🐛 Bug Fixes

  • Enabled CSRF protection in builds with a non-production `NODE_ENV` value.

Affected Symbols