@react-router/architect
December 20, 2024 ยท View on GitHub
7.1.0
Patch Changes
- Updated dependencies:
react-router@7.1.0@react-router/node@7.1.0
7.0.2
Patch Changes
- Updated dependencies:
react-router@7.0.2@react-router/node@7.0.2
7.0.1
Patch Changes
- Updated dependencies:
react-router@7.0.1@react-router/node@7.0.1
7.0.0
Major Changes
-
For Remix consumers migrating to React Router, the
cryptoglobal from the Web Crypto API is now required when using cookie and session APIs. This means that the following APIs are provided fromreact-routerrather than platform-specific packages: (#11837)createCookiecreateCookieSessionStoragecreateMemorySessionStoragecreateSessionStorage
For consumers running older versions of Node, the
installGlobalsfunction from@remix-run/nodehas been updated to defineglobalThis.crypto, using Node'srequire('node:crypto').webcryptoimplementation.Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
createCookieFactorycreateSessionStorageFactorycreateCookieSessionStorageFactorycreateMemorySessionStorageFactory
Patch Changes
- Updated dependencies:
react-router@7.0.0@react-router/node@7.0.0