- Updated dependencies:
- Updated dependencies:
- Updated dependencies:
- Updated dependencies:
- Updated dependencies:
- Updated dependencies:
-
For Remix consumers migrating to React Router, all exports from
@remix-run/cloudflare-pages
are now provided for React Router consumers in the@react-router/cloudflare
package. There is no longer a separate package for Cloudflare Pages. (#11801) -
For Remix consumers migrating to React Router, the
crypto
global from the Web Crypto API is now required when using cookie and session APIs. This means that the following APIs are provided fromreact-router
rather than platform-specific packages: (#11837)createCookie
createCookieSessionStorage
createMemorySessionStorage
createSessionStorage
For consumers running older versions of Node, the
installGlobals
function from@remix-run/node
has been updated to defineglobalThis.crypto
, using Node'srequire('node:crypto').webcrypto
implementation.Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
createCookieFactory
createSessionStorageFactory
createCookieSessionStorageFactory
createMemorySessionStorageFactory
- The
@remix-run/cloudflare-workers
package has been deprecated. Remix consumers migrating to React Router should use the@react-router/cloudflare
package directly. For guidance on how to use@react-router/cloudflare
within a Cloudflare Workers context, refer to the Cloudflare Workers template. (#11801)
- Updated dependencies: