Minor Changes
-
Add the initial release of
@remix-run/csrf-middleware.- Expose
csrf(options)andgetCsrfToken(context)for session-backed CSRF protection in
Remix apps that accept unsafe form submissions. - Validate a per-session token together with request origin metadata, with support for token
transport in headers, form data, and query params. - Allow apps to layer
csrf()aftercop()when they need stricter token-backed protection
on top of browser-origin filtering.
- Expose
Patch Changes
- Bumped
@remix-run/*dependencies: