Major Changes
-
breaking:
platform.contextis now the modern Netlify Functions ([#15203](https://github.com/sveltejs/kit/pull/15203))
contextPreviously, this was the AWS Lambda-style
context.If you were using this in your app (unlikely), you will need to update your code to read from new fields.
Minor Changes
-
feat: Migrate to the modern Netlify Functions API (#15203)
The Netlify adapter now generates "v2" Netlify Functions, which uses modern standards (ESM,
Request,Response) instead of the legacy "Lambda-compatible" or "v1" format. Under the hood, this greatly simplifies the adapter code and improves maintainability.For more details on features this unlocks for your SvelteKit app, see
https://developers.netlify.com/guides/migrating-to-the-modern-netlify-functions/. -
feat: allow configuring redirects in
netlify.toml(#15203)The limitation of only being able to configure redirects via the
_redirectsfile has been removed.