Update dependency react-router-dom to v7#43892
Conversation
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
Code Coverage SummaryThis PR did not change code coverage! That could be good or bad, depending on the situation. Everything covered before, and still is? Great! Nothing was covered before? Not so great. 🤷 |
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
c71d2e3 to
ec59453
Compare
anomiex
left a comment
There was a problem hiding this comment.
Looks good, seems to work in some clicking around.
| react: '>=18' | ||
| react-dom: '>=18' | ||
|
|
||
| react-router@6.30.0: |
There was a problem hiding this comment.
Too bad @automattic/components still depends on v6 so we still have to have this too.
|
Just spotted this that might be able to be removed now that we're adding it globally jetpack/projects/plugins/jetpack/tests/jest-globals.extensions.js Lines 26 to 31 in 7786369 |
Consolidated the polyfill here (and included the wrapper which is unneeded for now but could prevent conflicts down the road): f2cd200 |
* Update dependency react-router-dom to v7 * Polyfill TextEncoder * Oops, use CommonJS * Remove now-unneeded future flags * Consolidate polyfill --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: tbradsha <32492176+tbradsha@users.noreply.github.com>
This PR contains the following updates:
6.30.0->7.6.2Release Notes
remix-run/react-router (react-router-dom)
v7.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.1Compare Source
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 02:59 AM, on day 1 of the month ( * 0-2 1 * * ) in timezone 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 this update again.
This PR has been generated by Renovate Bot.