π· Update react-router monorepo to v7 (major) #4100
+71
β80
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.30.2β7.12.06.30.3β7.12.0Release Notes
remix-run/react-router (react-router-dom)
v7.12.0Compare Source
Patch Changes
react-router@7.12.0v7.11.0Compare Source
Patch Changes
react-router@7.11.0v7.10.1Compare Source
Patch Changes
react-router@7.10.1v7.10.0Compare Source
Patch Changes
react-router@7.10.0v7.9.6Compare Source
Patch Changes
react-router@7.9.6v7.9.5Compare Source
Patch Changes
react-router@7.9.5v7.9.4Compare Source
Patch Changes
react-router@7.9.4v7.9.3Compare Source
Patch Changes
react-router@7.9.3v7.9.2Compare Source
Patch Changes
react-router@7.9.2v7.9.1Compare Source
Patch Changes
react-router@7.9.1v7.9.0Compare Source
Patch Changes
react-router@7.9.0v7.8.2Compare Source
Patch Changes
react-router@7.8.2v7.8.1Compare Source
Patch Changes
react-router@7.8.1v7.8.0Compare Source
Patch Changes
react-router@7.8.0v7.7.1Compare Source
Patch Changes
react-router@7.7.1v7.7.0Compare Source
Patch Changes
react-router@7.7.0v7.6.3Compare Source
Patch Changes
react-router@7.6.3v7.6.2Compare Source
Patch Changes
react-router@7.6.2v7.6.1Compare Source
Patch Changes
react-router@7.6.1v7.6.0Compare Source
Patch Changes
react-router@7.6.0v7.5.3Compare Source
Patch Changes
react-router@7.5.3v7.5.2Compare Source
Patch Changes
react-router@7.5.2v7.5.1Compare Source
Patch Changes
react-router@7.5.1v7.5.0Compare Source
Patch Changes
react-router@7.5.0v7.4.1Compare Source
Patch Changes
react-router@7.4.1v7.4.0Compare Source
Patch Changes
react-router@7.4.0v7.3.0Compare Source
Patch Changes
react-router@7.3.0v7.2.0Compare Source
Patch Changes
react-router@7.2.0v7.1.5Compare Source
Patch Changes
react-router@7.1.5v7.1.4Compare Source
Patch Changes
react-router@7.1.4v7.1.3Compare Source
Patch Changes
react-router@7.1.3v7.1.2Compare Source
Patch Changes
react-router@7.1.2v7.1.1Compare Source
Patch Changes
react-router@7.1.1v7.1.0Compare Source
Patch Changes
react-router@7.1.0v7.0.2Compare Source
Patch Changes
react-router@7.0.2v7.0.1Compare Source
Patch Changes
react-router@7.0.1v7.0.0Compare Source
Major Changes
Remove the original
deferimplementation in favor of using raw promises via single fetch andturbo-stream. This removes these exports from React Router: (#β11744)deferAbortedDeferredErrortype TypedDeferredDataUNSAFE_DeferredDataUNSAFE_DEFERRED_SYMBOL,Use
createRemixRouter/RouterProviderinentry.clientinstead ofRemixBrowser(#β11469)Remove single fetch future flag. (#β11522)
Remove
future.v7_startTransitionflag (#β11696)Remove
future.v7_normalizeFormMethodfuture flag (#β11697)Allow returning
undefinedfrom actions and loaders (#β11680)update minimum node version to 18 (#β11690)
Remove
future.v7_prependBasenamefrom the ionternalized@remix-run/routerpackage (#β11726)Remove
future.v7_throwAbortReasonfrom internalized@remix-run/routerpackage (#β11728)Add
exportsfield to all packages (#β11675)node package no longer re-exports from react-router (#β11702)
updates the minimum React version to 18 (#β11689)
future.v7_partialHydrationflag (#β11725)<RouterProvider fallbackElement>propfallbackElementto ahydrateFallbackElement/HydrateFallbackon your root routefuture.v7_partialHydration(when usingfallbackElement),state.navigationwas populated during the initial loadfuture.v7_partialHydration,state.navigationremains in an"idle"state during the initial loadRemove
future.v7_fetcherPersistflag (#β11731)Minor Changes
Link/NavLinkwhen using Remix SSR (#β11402)ScrollRestorationso it can restore properly on an SSR'd document load (#β11401)RouterProvider. When running from a Remix-SSR'd HTML payload with the properwindowvariables (__remixContext,__remixManifest,__remixRouteModules), you don't need to pass arouterprop andRouterProviderwill create therouterfor you internally. (#β11396) (#β11400)Patch Changes
RouterProviderinternals to reduce uneccesary re-renders (#β11817)react-router@7.0.0v6.30.3Compare Source
Configuration
π Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.