- Updated dependencies:
react-router@7.13.0
- Updated dependencies:
react-router@7.12.0
- Updated dependencies:
react-router@7.11.0
- Updated dependencies:
react-router@7.10.1
- Updated dependencies:
react-router@7.10.0
- Updated dependencies:
react-router@7.9.6
- Updated dependencies:
react-router@7.9.5
- Updated dependencies:
react-router@7.9.4
- Updated dependencies:
react-router@7.9.3
- Updated dependencies:
react-router@7.9.2
- Updated dependencies:
react-router@7.9.1
-
Stabilize middleware and context APIs. (#14215)
We have removed the
unstable_prefix from the following APIs and they are now considered stable and ready for production use:RouterContextProvidercreateContextcreateBrowserRoutergetContextoption<HydratedRouter>getContextprop
Please see the Middleware Docs, the Middleware RFC, and the Client-side Context RFC for more information.
- Updated dependencies:
react-router@7.9.0
- Updated dependencies:
react-router@7.8.2
- Updated dependencies:
react-router@7.8.1
-
[UNSTABLE] Change
getLoadContextsignature (type GetLoadContextFunction) whenfuture.unstable_middlewareis enabled so that it returns anunstable_RouterContextProviderinstance instead of aMapused to contruct the instance internally (#14097)- This also removes the
type unstable_InitialContextexport ⚠️ This is a breaking change if you have adopted middleware and are using a custom server with agetLoadContextfunction
- This also removes the
-
Updated dependencies:
react-router@7.8.0
- Updated dependencies:
react-router@7.7.1
- Updated dependencies:
react-router@7.7.0
- Remove
tsupfrompeerDependencies(#13757) - Updated dependencies:
react-router@7.6.3
- Updated dependencies:
react-router@7.6.2
- Updated dependencies:
react-router@7.6.1
- Updated dependencies:
react-router@7.6.0
- Updated dependencies:
react-router@7.5.3
- Updated dependencies:
react-router@7.5.2
- Updated dependencies:
react-router@7.5.1
- Updated dependencies:
react-router@7.5.0
- Updated dependencies:
react-router@7.4.1
- Updated dependencies:
react-router@7.4.0
- Updated dependencies:
react-router@7.3.0
- Updated dependencies:
react-router@7.2.0
- Updated dependencies:
react-router@7.1.5
- Updated dependencies:
react-router@7.1.4
- Updated dependencies:
react-router@7.1.3
- Updated dependencies:
react-router@7.1.2
- Updated dependencies:
react-router@7.1.1
- Updated dependencies:
react-router@7.1.0
- Updated dependencies:
react-router@7.0.2
- Updated dependencies:
react-router@7.0.1
-
For Remix consumers migrating to React Router, all exports from
@remix-run/cloudflare-pagesare now provided for React Router consumers in the@react-router/cloudflarepackage. There is no longer a separate package for Cloudflare Pages. (#11801) -
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
- The
@remix-run/cloudflare-workerspackage has been deprecated. Remix consumers migrating to React Router should use the@react-router/cloudflarepackage directly. For guidance on how to use@react-router/cloudflarewithin a Cloudflare Workers context, refer to the Cloudflare Workers template. (#11801)
- Updated dependencies:
react-router@7.0.0