Repository navigation
Release v8.5.3 - #15798
Open
remix-run-bot wants to merge 1 commit into
Open
Release v8.5.3#15798remix-run-bot wants to merge 1 commit into
remix-run-bot wants to merge 1 commit into
Conversation
Contributor
Preview Build AvailablePreview builds have been created for this PR. You can install pnpm install "remix-run/react-router#preview/pr-15798&path:packages/react-router"And/or install other packages via: pnpm install "remix-run/react-router#preview/pr-15798&path:packages/react-router-dev"
pnpm install "remix-run/react-router#preview/pr-15798&path:packages/react-router-express"
pnpm install "remix-run/react-router#preview/pr-15798&path:packages/react-router-node"
pnpm install "remix-run/react-router#preview/pr-15798&path:packages/react-router-serve"These preview builds will be updated automatically as you push new commits. |
remix-run-bot
force-pushed
the
release-v8-pr
branch
27 times, most recently
from
November 23, 2026 21:24
bcd1955 to
7fff5fd
Compare
remix-run-bot
force-pushed
the
release-v8-pr
branch
from
November 23, 2026 22:36
7fff5fd to
66c3ff0
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 is managed by the
releaseworkflow. Do not edit it manually.Releases
8.5.2→8.5.38.5.2→8.5.38.5.2→8.5.38.5.2→8.5.38.5.2→8.5.38.5.2→8.5.38.5.2→8.5.38.5.2→8.5.38.5.2→8.5.38.5.2→8.5.3Changelogs
react-router v8.5.3
Patch Changes
Forward all
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 modesKeep a navigation that is awaiting lazy route discovery from being completed with the previous page's matches when a fetcher action revalidation settles in that window (#15731)
Fix circular type error when arrow function route components access
matches(#15163)Accessing
matchesfromRoute.ComponentPropsin an arrow function component caused a TypeScript circular type reference error while the equivalent function declaration worked fine.The issue was that the generated
Matchestuple includedmodule: typeof import("./self")for the current route's entry. TypeScript'sRouteModuleassignability check evaluates["default"]— which for arrow functions requires resolving the parameter type annotation, ultimately looping back toRoute.ComponentProps. Function declarations avoid this because their type is known from the declaration without evaluating parameter types.The fix changes the type infrastructure to use a
MatchInfoWithLoaderDataalternative for the self-match entry, which carriesloaderDatadirectly and sidesteps theRouteModulecheck entirely.Fix
useBlockerblocking a second time when the destination route updates search params in a mount effect (#15538)Fix
<Form>anduseSubmitto readencType/formEncTypevalues case-insensitively, so a value likeMultipart/Form-Datasubmits as multipart instead of falling back toapplication/x-www-form-urlencoded(#15776)Fix hash history not restoring the router location of a masked entry on Back/Forward (#15771)
Fix
<HydratedRouter>re-rendering the previous route after each navigation (#15823)DataRoutesreadFrameworkContext, whose value changes on every<HydratedRouter>location update, so its memoization was bypassed and the route tree rendered again with the old router state before the new location committed. With<Navigate state={...} replace>this could loop until Safari threw aSecurityErrorfor too manyhistory.replaceState()calls.RouterProvidernow reads the route discovery runtime and passes it toDataRoutesas a prop.Keep the current route's
actionDataduring theloadingstate of a submission to another route, so the page that is still rendered no longer seesundefinedbefore the navigation completes (#15716)Let the browser handle clicks on a
<Link download>(and on custom links built withuseLinkClickHandler) so the file is downloaded instead of being navigated to with client-side routing (#15815)Suppress nonce hydration warnings on critical CSS and HTML link descriptors rendered by
<Links>, and on the developer scripts rendered by the default root error boundary and hydrate fallback, when using<ServerRouter nonce>. (#15721)Fix blocked back/forward navigations in a memory router landing on the wrong history entry when the requested delta goes past the first or last entry (#15779)
Preserve
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()Preserve loader data for the current routes when a background fetcher finishes during a navigation, preventing missing layout content when the navigation reuses that data. (#15806)
Discard invalid persisted scroll-position records so page hide can save new positions without throwing or silently losing them. (#15794)
Fix
session.unset()to remove both regular and flashed values for the given key and accept flash-only keys in typed sessions. (#15811)Keep
NavLinkinactive in the prerendered Framework SPA fallback and set its active state from the browser URL after hydration (#15818)Be defensive against leading double slashes in static router
encodeLocation()(#15805)TypeError: Invalid URLduring SSR in<ServerRouter>,<StaticRouterProvider>, and<StaticRouter>when encoding locations with leading double slashes (such as query-only or hash-only<NavLink>s on double-slash request URLs)Fix unhandled single-fetch stream completion rejections while preserving errors for callers awaiting completion or deferred values (#15765)
Treat session cookies with an invalid payload shape as empty sessions. Storage adapters receive only nonempty string session IDs, and cookie-backed sessions accept only non-array objects as session data. (#15809)
Unstable Changes
unstable_matchRSCServerRequest'sonErrorand log request errors withconsole.errorby default when noonErroris provided (#15598)@react-router/architect v8.5.3
Patch Changes
sendReactRouterResponsecorrupting binary response bodies whose content type is not inbinaryTypesand dropping a leading byte order mark from text bodies (#15814)react-router@8.5.3@react-router/node@8.5.3@react-router/cloudflare v8.5.3
Patch Changes
react-router@8.5.3@react-router/dev v8.5.3
Patch Changes
Fix dev server crash when a route has an invalid export with
ssr: false+prerender(#15591)Allow
.servermodule imports in Vitest tests that run in Node with Vitest's default middleware-mode server (#15563)The check still applies in Browser Mode and when the test runner's Vite server listens, such as single-project runs with
--uior--api.Fix circular type error when arrow function route components access
matches(#15163)Typegen now emits
{ id, loaderData: Info["loaderData"] }for the current route's entry in theMatchestuple instead of{ id, module: typeof import("./self") }. This avoids theRouteModuleassignability check that caused a circular TypeScript type reference when the route's default export was an arrow function component.Updated dependencies:
react-router@8.5.3@react-router/node@8.5.3@react-router/serve@8.5.3@react-router/express v8.5.3
Patch Changes
react-router@8.5.3@react-router/node@8.5.3@react-router/fs-routes v8.5.3
Patch Changes
@react-router/dev@8.5.3@react-router/node v8.5.3
Patch Changes
react-router@8.5.3@react-router/remix-routes-option-adapter v8.5.3
Patch Changes
@react-router/dev@8.5.3@react-router/serve v8.5.3
Patch Changes
react-router@8.5.3@react-router/express@8.5.3@react-router/node@8.5.3create-react-router v8.5.3
Patch Changes