Packages

react-router

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

Your version

7.16.0

28 May 2026Where it was published

7.18.6 is the newest release of 7.x.

In short

1 new4 fixed

Security

Release note

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

Minor Changes

  • Stabilize future.unstable_trailingSlashAwareDataRequests as future.v8_trailingSlashAwareDataRequests

Patch Changes

  • Disable manifest path when lazy route dicovery is disabled

  • Fix browser URL creation to use the configured history window instead of the global window.

    • Pass the history/router window through to createBrowserURLImpl so custom window contexts keep the correct URL origin.

  • Fix useNavigation() return type to preserve discriminated union across navigation states

  • Widen MetaDescriptor script:ld+json type from LdJsonObject to LdJsonObject | LdJsonObject to permit multiple JSON-LD schemas in a single <script type="application/ld+json"> tag emitted by <Meta />

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.