@sveltejs/kit@2.36.0
📦 sveltekitView on GitHub →
✨ 1 features🐛 2 fixes🔧 2 symbols
Summary
This release introduces a new CSRF trusted origins configuration and fixes issues related to custom type decoding in server load functions and typed route generation.
✨ New Features
- Added csrf.trustedOrigins configuration to allow cross-site requests from specific origins.
🐛 Bug Fixes
- Correctly decode custom types when they are streamed from a server load function.
- Ensure trailing slash pathnames are included when generating typed routes.
🔧 Affected Symbols
csrf.trustedOriginsload