Repository navigation
feat: Update dependency react-router to v8.5.3 - #21
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/react-router-monorepo
branch
from
October 29, 2026 01:10
57a16ea to
9a50e1f
Compare
renovate
Bot
force-pushed
the
renovate/react-router-monorepo
branch
from
November 2, 2026 14:52
9a50e1f to
1026f2e
Compare
renovate
Bot
force-pushed
the
renovate/react-router-monorepo
branch
2 times, most recently
from
November 17, 2026 01:23
b30027a to
694e045
Compare
renovate
Bot
force-pushed
the
renovate/react-router-monorepo
branch
from
November 20, 2026 05:10
694e045 to
c2e664d
Compare
renovate
Bot
force-pushed
the
renovate/react-router-monorepo
branch
from
November 26, 2026 00:53
c2e664d to
94fa694
Compare
This branch has not been deployed
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:
8.4.0→8.5.3Release Notes
remix-run/react-router (react-router)
v8.5.3Compare Source
Patch Changes
NavigateOptionsfrom<RouterProvider>'snavigator.push()andnavigator.replace()torouter.navigate()(#15781)mask,defaultShouldRevalidate,flushSync, andviewTransitionnow reach the router from<Link>,useNavigate(), anduseSearchParams()inside descendant<Routes>in Data and Framework modesmatchesfromRoute.ComponentProps(#15163)loaderDatatype directly so TypeScript can resolvematcheswithout evaluating the component's own props againuseBlockerblocking a second time when the destination route updates search params in a mount effect (#15538)encTypeandformEncTypecase-insensitively in<Form>anduseSubmit(#15776)Multipart/Form-Dataasmultipart/form-data<HydratedRouter>from re-rendering the previous route during navigation (#15823)<Navigate state={...} replace>that could exceed Safari's limit onhistory.replaceState()callsactionDatawhile a submission to another route is loading (#15716)matchPath. Each pattern may contain up to 12 optional (?) markers. (#15827)downloadattribute (#15815)<Link download>and custom links built withuseLinkClickHandler<ServerRouter nonce>(#15721)<Links>caseSensitiveon client routes in Framework Mode andcreateRoutesStub()(#15808)route.caseSensitiveincreateClientRoutes()so client hydration, client-side navigation, lazy route discovery, and HMR matchcreateServerRoutes()andcreateStaticHandlerDataRoutes()route.caseSensitiveincreateRoutesStub()session.unset()to remove both regular and flashed values for the given key (#15811)NavLinkinactive in the prerendered Framework SPA fallback and set its active state from the browser URL after hydration (#15818)encodeLocation()(#15805)TypeError: Invalid URLduring SSR in<ServerRouter>,<StaticRouterProvider>, and<StaticRouter>, including when rendering query-only or hash-only<NavLink>destinations on double-slash request URLsUnstable Changes
unstable_matchRSCServerRequest'sonErrorhandler (#15598)console.errorby default unless the request was abortedv8.5.2Compare Source
Patch Changes
dataStrategynavigation types and loading navigation history actionsHEADrequests, so a resource route streaming a file no longer leaks its file descriptor (#15634)<Suspense>boundaries during hydration in development (#15382)React.startTransitionto prevent React 19 from silently discarding the server HTML and rendering the boundary on the clientbasenameis configured (#15725)href()to throw fornullrequired parameters and omitnullsplat parameters without a trailing slash, matching the behavior forundefinedand the defined types (#15754)MetaArgs.matchestypes to stop at the current route instead of appending an unknown, possibly undefined tail (#15697)href(),generatePath(), links, forms, fetchers, and redirects (#15785)redirect(),redirectDocument()andreplace()from settingstatus: 302on theResponseInitpassed to them (#15753)<Await>render error when it receives a newresolvevalue, so the error element no longer stays on screen after navigating to a route whose data renders fine (#15695)clientMiddlewareduring RSC client navigations and preserve it when route components update via HMR (#15763)HEADresource responses consistently in RSC Framework and RSC Data modes (#15783)clientLoaderand noHydrateFallback(#15763)<ScrollRestoration>throwing an uncaught error before hydration whensessionStorageis unavailable (#15566)sessionStorageagain and threw (e.g. Chrome with "Block all cookies", sandboxed cross-origin iframes)console.error; only the second, uncaught throw is removeduseBlockerleaving behind a stale blocker that keeps blocking navigation after its component is hidden and shown again with<Activity>, or after the router is recreated (#15710)v8.5.1Compare Source
Patch Changes
URIError: URI malformedwhen anssr: falsedev server receives a URL path with a malformed percent-encoding (#15649)<Form>to the current URL with an encodedaction(#15679)actioncontains characters that get percent-encoded, such as spaces or non-ASCII charactersviewTransitionnavigation, for example in a hidden tab (#15582)lazy.Componentimports on loader-less routes to the nearest error boundary (#15658)lazyroute imports instead of caching failures permanently (#15689)shouldRevalidateidlewhen a revalidation completes a pending navigation started by another fetcher's redirectdocument.startViewTransition()overload to the globalDocumenttype (#15680)ViewTransitiontypedeleteDataindestroySessionwhen the session has no ID (#15639).datafiles for hydrating routes with a serverloaderin anssr: falseapp with aprerenderconfigUnstable Changes
<Await unstable_promise={promise}>implementation based on React'suse()API (#15678)React.useinstead of React Router's internal promise trackingerrorElement,useAsyncValue, anduseAsyncErrorsupporterrorElementwhen usingunstable_promise, allowing child render errors to bubble to the nearest React error boundaryReact.use()URIError: URI malformedwhen an API-only (ssr: "unstable_api-only") server receives a URL path with a malformed percent-encoding (#15649)v8.5.0Compare Source
Minor Changes
<ViewTransition>component, available in React 19.3 and later (#15493)viewTransitionprops/options,useViewTransitionState, andNavLink'sisTransitioningrender prop andtransitioningclassPatch Changes
<Await>failing to server render promises decoded from an RSC payload, which caused the Suspense boundary to switch to client rendering (#15597)@types/reactand@types/react-domas optional peer dependencies so the shipped type definitions resolve React types under strict (non-hoisted) node_modules layouts (#15528)unstable_useRouterStatedocumentation example to call the imported alias (#15535)HydrateFallbackof a route discovered throughpatchRoutesOnNavigationduring initial hydration (#15537)state.matcheswhile their loaders run, so<RouterProvider>renders down to the discovered route'sHydrateFallbackinstead of rendering nothingRouterProvidersubscribes, including when other subscribers are already attached, and report current client errors once without replaying server errors during hydration (#15637)matchPathnot treating a static segment as optional when it contains characters outside[\w-](#15425)fetcher.reset(), so its cleared data no longer comes back on the next revalidation (#15633)Unstable Changes
unstable_fetchprop to<HydratedRouter>to customize JavaScript-issued manifest and server data requests in conventional Framework Mode (#15586)navigationType("PUSH","REPLACE", or"POP"for navigation-initiated requests, including reloaded fetchers;nullotherwise)unstable_initiatorandunstable_navigationTypetypeto"navigation"guarantees a non-nullnavigationType, while other data requests have anullnavigationType"initialization"type and include their fetcher key<Link prefetch>use native<link rel="prefetch">elements and do not call the custom implementationunstable_useRouteDiscoveryfor application-controlled route discovery in conventional Framework Mode (#15602)loadAllRoutes()future.unstable_customRouteDiscoveryto opt inevent.defaultBehavior()from a custom mismatch handler to explicitly run built-in recoverynext()Configuration
📅 Schedule: (in timezone America/New_York)
🚦 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 was generated by Mend Renovate. View the repository job log.