👷 Update react-router monorepo (major)#4846
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
c2ea6bd to
9101356
Compare
Bundles Sizes Evolution
|
9101356 to
6fa35fd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
7.18.0→8.1.06 || 7→6 || 7 || 86.30.4→7.18.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
remix-run/react-router (react-router)
v8.1.0Compare Source
Minor Changes
v8.0.1Compare Source
Patch Changes
AppLoadContexttype export accidentally left over from v7 now that middleware is always enabled and server request context is provided throughRouterContextProvider. (#15207)v8.0.0Compare Source
Major Changes
future.v8_trailingSlashAwareDataRequestsflag (#15100)tsconfig.jsontarget/libfromES2020 -> ES2022(591853e)packages/to ESM-only. (#14895) (59ebcf1)dataparameter in favor ofloaderDataformetaAPIs (to align withRoute.ComponentProps) (#14931)Route.MetaArgs,Route.MetaMatch,MetaArgs,MetaMatch,Route.ComponentProps.matches,UIMatchfuture.v8_passThroughRequestsflag - the raw incomingrequestis now always passed through toloader/action. Useurlfor the normalized URL without React Router-specific implementation details (.datasuffixes,index/_routessearch params). (#15079)hasErrorBoundaryfield added torouter.routeswhen using a data router (#15074)ErrorBoundaryorerrorElementon your routehasErrorBoundaryis no longer accepted onRouteObject(IndexRouteObject/NonIndexRouteObject),DataRouteObject,<Route>JSX props, or as a key inlazyroute definitions.MapRoutePropertiesFunctionsignature no longer requires returninghasErrorBoundary; the router infers it directly.react-router-dompackage (#15076)react-router/domreact-router-domwas kept around as a convenience so existing v6 app imports would still workreact-router-domimports:RouterProvider/HydratedRoutershould be imported fromreact-router/domreact-routerfuture.v8_middlewareflag — middleware is always enabled in v8 (#15078)future.v8_middlewareflag has been removed; middleware is now always enabledcontextparameter passed toloader,action, andmiddlewarefunctions is always aRouterContextProviderinstancegetLoadContextfunctions in custom servers must return aRouterContextProvider— returning a plain object is no longer supportedMiddlewareEnabledtype (previously exported asUNSAFE_MiddlewareEnabled) has been removed since the conditional it gated is now unconditionalFuturemodule augmentation pattern (interface Future { v8_middleware: true }) is no longer needed to typecontextin Data ModeMinor Changes
cookiefrom^1.0.1to^1.1.1set-cookie-parserfrom^2.6.0to^3.1.0Patch Changes
onSubmittype override fromSharedFormPropsto fix deprecation warning with@types/react@19.x(#14932) (59ebcf1)tsuptotsdown. Published package entry points and public APIs are unchanged. (#15092)v7.18.1: v7.18.1Compare Source
See the changelog for release notes: https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7181
remix-run/react-router (react-router-dom-6)
v7.18.1Compare Source
v7.18.0Compare Source
Patch Changes
react-router@7.18.0v7.17.0Compare Source
Patch Changes
react-router@7.17.0v7.16.0Compare Source
Patch Changes
unpkgfield frompackage.json. This was removed from other packages with the release of v7 but missed in thereact-router-domre-export package (#15075)react-router@7.16.0v7.15.1Compare Source
Patch Changes
react-router@7.15.1v7.15.0Compare Source
Patch Changes
react-router@7.15.0v7.14.2Compare Source
Patch Changes
react-router@7.14.2v7.14.1Compare Source
Patch Changes
react-router@7.14.1v7.14.0Compare Source
Patch Changes
react-router@7.14.0v7.13.2Compare Source
Patch Changes
react-router@7.13.2v7.13.1Compare Source
Patch Changes
react-router@7.13.1v7.13.0Compare Source
Patch Changes
react-router@7.13.0v7.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.0Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.