react-router
8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed
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 revalidationFix 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>leavinghistory.scrollRestorationset to"auto"after a bfcache restore, which let the browser restore scroll on subsequent history traversals before the destination route had renderedProperly respect the
relativeoption inuseSubmit/fetcher.submitwhen resolivng theactionpathAdd 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.