Packages

react-router

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

Your version

7.9.0

12 Sep 2025Where it was published

7.18.6 is the newest release of 7.x.

In short

2 new5 fixed

Security

Fixes 1 advisory that affected 7.8.2

13 advisories affect 7.9.0; 7.18.0 fixes them

8 more

Release note

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

Minor Changes

Patch Changes

  • Escape HTML in meta() JSON-LD content

  • Add react-server Await component implementation

  • In RSC Data Mode when using a custom basename, fix hydration errors for routes that only have client loaders

  • Make href function available in a react-server context

  • Decode each time getPayload() is called to allow for "in-context" decoding and hoisting of contextual assets

  • href() now correctly processes routes that have an extension after the parameter or are a single optional parameter.

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.