chore(deps): update dependency react-router-dom to v7
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| react-router-dom (source) | ^6.4.3 -> ^7.10.1 |
||
| react-router-dom (source) | ^5.3.4 -> ^7.10.1 |
Release Notes
remix-run/react-router (react-router-dom)
v7.10.1
Patch Changes
- Updated dependencies:
v7.10.0
Patch Changes
- Updated dependencies:
v7.9.6
Patch Changes
- Updated dependencies:
v7.9.5
Patch Changes
- Updated dependencies:
v7.9.4
Patch Changes
- Updated dependencies:
v7.9.3
Patch Changes
- Updated dependencies:
v7.9.2
Patch Changes
- Updated dependencies:
v7.9.1
Patch Changes
- Updated dependencies:
v7.9.0
Patch Changes
- Updated dependencies:
v7.8.2
Patch Changes
- Updated dependencies:
v7.8.1
Patch Changes
- Updated dependencies:
v7.8.0
Patch Changes
- Updated dependencies:
v7.7.1
Patch Changes
- Updated dependencies:
v7.7.0
Patch Changes
- Updated dependencies:
v7.6.3
Patch Changes
- Updated dependencies:
v7.6.2
Patch Changes
- Updated dependencies:
v7.6.1
Patch Changes
- Updated dependencies:
v7.6.0
Patch Changes
- Updated dependencies:
v7.5.3
Patch Changes
- Updated dependencies:
v7.5.2
Patch Changes
- Updated dependencies:
v7.5.1
Patch Changes
- Updated dependencies:
v7.5.0
Patch Changes
- Updated dependencies:
v7.4.1
Patch Changes
- Updated dependencies:
v7.4.0
Patch Changes
- Updated dependencies:
v7.3.0
Patch Changes
- Updated dependencies:
v7.2.0
Patch Changes
- Updated dependencies:
v7.1.5
Patch Changes
- Updated dependencies:
v7.1.4
Patch Changes
- Updated dependencies:
v7.1.3
Patch Changes
- Updated dependencies:
v7.1.2
Patch Changes
- Updated dependencies:
v7.1.1
Patch Changes
- Updated dependencies:
v7.1.0
Patch Changes
- Updated dependencies:
v7.0.2
Patch Changes
- Updated dependencies:
v7.0.1
Patch Changes
- Updated dependencies:
v7.0.0
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)
-
- Remove the
future.v7_partialHydrationflag (#11725)- This also removes the
<RouterProvider fallbackElement>prop- To migrate, move the
fallbackElementto ahydrateFallbackElement/HydrateFallbackon your root route
- To migrate, move the
- Also worth nothing there is a related breaking changer with this future flag:
- Without
future.v7_partialHydration(when usingfallbackElement),state.navigationwas populated during the initial load - With
future.v7_partialHydration,state.navigationremains in an"idle"state during the initial load
- Without
- This also removes the
- Remove the
-
Remove
future.v7_fetcherPersistflag (#11731)
Minor Changes
- Add prefetching support to
Link/NavLinkwhen using Remix SSR (#11402) - Enhance
ScrollRestorationso it can restore properly on an SSR'd document load (#11401) - Add built-in Remix-style hydration support to
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
- Memoize some
RouterProviderinternals to reduce uneccesary re-renders (#11817) - Updated dependencies:
v6.30.2
v6.30.1
v6.30.0
v6.29.0
v6.28.2
v6.28.1
v6.28.0
v6.27.0
v6.26.2
v6.26.1
v6.26.0
v6.25.1
v6.25.0
v6.24.1
v6.24.0
v6.23.1
v6.23.0
v6.22.3
v6.22.2
v6.22.1
v6.22.0
v6.21.3
v6.21.2
v6.21.1
v6.21.0
v6.20.1
v6.20.0
v6.19.0
v6.18.0
v6.17.0
v6.16.0
v6.15.0
v6.14.2
v6.14.1
v6.14.0
v6.13.0
v6.12.1
v6.12.0
v6.11.2
v6.11.1
v6.11.0
v6.10.0
v6.9.0
v6.8.2
v6.8.1
v6.8.0
v6.7.0
v6.6.2
v6.6.1
v6.6.0
v6.5.0
v6.4.5
v6.4.4: v6.4.4
What's Changed
- Throw an error if an
action/loaderfunction returnsundefinedas revalidations need to know whether the loader has previously been executed.undefinedalso causes issues during SSR stringification for hydration. You should always ensure yourloader/actionreturns a value, and you may returnnullif you don't wish to return anything. (#9511) - Properly handle redirects to external domains (#9590, #9654)
- Preserve the HTTP method on 307/308 redirects (#9597)
- Support
basenamein static data routers (#9591) - Enhanced
ErrorResponsebodies to contain more descriptive text in internal 403/404/405 scenarios - Fix issues with encoded characters in
NavLinkand descendant<Routes>(#9589, #9647) - Properly serialize/deserialize
ErrorResponseinstances when using built-in hydration (#9593) - Support
basenamein static data routers (#9591) - Updated dependencies:
@remix-run/[email protected][email protected]
Full Changelog: https://github.com/remix-run/react-router/compare/[email protected]@6.4.4
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.