Skip to content

Update dependency react-router to v8.5.2 - #157

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/react-router-monorepo
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/react-router-monorepo

Conversation

@renovate

@renovate renovate Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
react-router (source) 8.5.1 → 8.5.2 age confidence

Release Notes

remix-run/react-router (react-router)

v8.5.2

Compare Source

Patch Changes
  • Keep navigation metadata consistent after a submission action throws an error (#​15621)
    • Use the committed history action for loader dataStrategy navigation types and loading navigation history actions
  • Cancel the discarded response body for HEAD requests, so a resource route streaming a file no longer leaks its file descriptor (#​15634)
    • Keep observing nested deferred promise rejections after cancelling a data response so they cannot crash the server
  • Preserve streamed <Suspense> boundaries during hydration in development (#​15382)
    • Wrap the critical CSS reset in React.startTransition to prevent React 19 from silently discarding the server HTML and rendering the boundary on the client
  • Fix submissions to root form actions containing search parameters or a hash when a basename is configured (#​15725)
  • Fix href() to throw for null required parameters and omit null splat parameters without a trailing slash, matching the behavior for undefined and the defined types (#​15754)
  • Fix generated MetaArgs.matches types to stop at the current route instead of appending an unknown, possibly undefined tail (#​15697)
  • Improve path generation and URL validation across href(), generatePath(), links, forms, fetchers, and redirects (#​15785)
  • Stop redirect(), redirectDocument() and replace() from setting status: 302 on the ResponseInit passed to them (#​15753)
    • Later responses created from the same init object no longer get status 302, and a frozen init no longer throws
  • Clear an <Await> render error when it receives a new resolve value, so the error element no longer stays on screen after navigating to a route whose data renders fine (#​15695)
  • Run clientMiddleware during RSC client navigations and preserve it when route components update via HMR (#​15763)
  • Handle HEAD resource responses consistently in RSC Framework and RSC Data modes (#​15783)
  • Fix initial rendering of RSC routes with a clientLoader and no HydrateFallback (#​15763)
  • Fix <ScrollRestoration> throwing an uncaught error before hydration when sessionStorage is unavailable (#​15566)
    • The inline restore script already logged the storage error, but its cleanup call accessed sessionStorage again and threw (e.g. Chrome with "Block all cookies", sandboxed cross-origin iframes)
    • The error is still logged with console.error; only the second, uncaught throw is removed
  • Fix useBlocker leaving 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)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants