Skip to content

@sveltejs/kit@3.0.0-next.9

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Jul 13:57
ff7e0a3

Major Changes

  • breaking: handle's resolve is now typed to always return a Promise (#16352)

  • breaking: replace the $lib alias with #lib and remove files.lib config. (#16360)

  • breaking: disallow cross-origin form submissions without a Content-Type header (#16347)

  • breaking: Server-only directories (/server/ in the path) are now treated as server-only everywhere inside the project (except src/routes and the assets directory) (#16360)

  • breaking: delegate CORS handling to Vite for static directory requests during development (#16357)

Minor Changes

  • feat: reinstate $env/static/private, $env/dynamic/private, $env/static/public, $env/dynamic/public and $app/environment as deprecated aliases for $app/env/private $app/env/public and $app/env (#16334)

Patch Changes

  • perf: cache the default cookie header parse and avoid allocations in cookies.get (#16341)

  • fix: avoid client-side code being bundled by Cloudflare Wrangler (#16364)

  • fix: handle rejected streamed server data after delayed loads (#16268)

  • fix: enable CSRF protection in builds with a non-production NODE_ENV value (#16313)