Packages

react-router

8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed

Your version

8.3.1

28 Aug 2026Where it was published

8.5.2 is the newest release of 8.x.

In short

1 new6 fixed

Release note

The section about react-router of a note shared by several packages.

Patch Changes

  • Fix Expected fetcher: <key> error thrown on navigation when a fetcher is aborted during its post-action revalidation

  • Fix lazy route discovery caching a path as discovered when the triggering navigation was aborted after the manifest response settled but before the route tree was patched, which permanently (for the session) shadowed the real route behind a catch-all or produced 404s on every subsequent visit

  • Improve route matching performance for long paths

  • Improve validation of action request origins

  • Fix <ScrollRestoration> leaving history.scrollRestoration set to "auto" after a bfcache restore, which let the browser restore scroll on subsequent history traversals before the destination route had rendered

  • Properly respect the relative option in useSubmit/fetcher.submit when resolivng the action path

  • Add additional URL validation on client side navigations/redirects

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.