Packages

react-router

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

Your version

6.8.2

27 Feb 2023Where it was published

6.30.6 is the newest release of 6.x.

In short

3 fixed4 changed

Security

Release note

What's Changed

  • Treat same-origin absolute URLs in <Link to> as external if they are outside of the router basename

  • Correctly perform a hard redirect for same-origin absolute URLs outside of the router basename

  • Fix SSR of absolute <Link to> urls

  • Properly escape HTML characters in StaticRouterProvider serialized hydration data

  • Fix useBlocker to return IDLE_BLOCKER during SSR

  • Ensure status code and headers are maintained for defer loader responses in createStaticHandler's query() method

  • Change invariant to an UNSAFE_invariant export since it's only intended for internal use

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.