Change8

cop-middleware@0.1.0

📦 remixView on GitHub →
4 features🔧 2 symbols

Summary

This release introduces the initial version of @remix-run/cop-middleware for enhanced cross-origin protection. It also includes dependency bumps for various @remix-run/* packages.

✨ New Features

  • Initial release of @remix-run/cop-middleware.
  • Exposed cop(options) for browser-focused cross-origin protection using Sec-Fetch-Site with Origin fallback.
  • Added support for trusted origins, explicit insecure bypass patterns, and custom deny handlers in cop().
  • Allowed layering cop() ahead of session() and csrf() when both browser-origin filtering and token-backed CSRF protection are desired.

Affected Symbols