github remix-run/remix cors-middleware@0.2.0
cors-middleware v0.2.0

latest releases: remix@3.0.0-rc.3, tar-parser@0.8.0, static-middleware@0.4.16...
4 hours ago

Minor Changes

  • BREAKING CHANGE: cors({ credentials: true }) now preserves the default Access-Control-Allow-Origin: * response. Applications that intentionally allow credentialed requests from any origin must configure origin: '*' explicitly; applications with a restricted origin policy should continue to configure an exact origin, pattern, array, or resolver.

Patch Changes

  • Include Access-Control-Request-Private-Network in Vary on all allowed preflight responses when allowPrivateNetwork is enabled, so caches distinguish ordinary preflights from private network preflights. This also applies when preflightContinue is enabled.

  • Bumped @remix-run/* dependencies:

Don't miss a new remix release

NewReleases is sending notifications on new releases.