@sveltejs/kit@2.63.1

sveltejs/kit@sveltejs/kit@2.63.1Jun 8, 2026by github-actions[bot]

AI Summary

Fixes environment variable handling, SSE support for live queries, and Windows-specific path generation issues in generated files.

Key Highlights

  • Use SSE for `query.live`
  • Fix `env.d.ts` import paths on Windows
  • Handle `$app/environment` with warnings when `explicitEnvironmentVariables` is enabled
  • Ensure `version` is defined when importing from `$app/env`

Full Release Notes

### Patch Changes


- fix: use SSE for `query.live` ([#15957](https://github.com/sveltejs/kit/pull/15957))


- fix: use forward slashes in the generated `env.d.ts` import path on Windows ([#15977](https://github.com/sveltejs/kit/pull/15977))


- fix: allow `$app/environment` with a warning when `explicitEnvironmentVariables` is enabled ([#15980](https://github.com/sveltejs/kit/pull/15980))


- fix: avoid importing Vite while validating explicit environment variables ([#15953](https://github.com/sveltejs/kit/pull/15953))


- docs: adjust the release version of explicit env vars ([#15968](https://github.com/sveltejs/kit/pull/15968))


- fix: ensure `version` is defined when importing from `$app/env` with explicit environment variables ([#15971](https://github.com/sveltejs/kit/pull/15971))