Packages

react-router

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

Upgrading react-router From 7.15.1 to 7.18.2

5 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 7.15.1Newest 7.x7.18.6Latest8.5.1

Security

Release by release

  1. 7.18.2

    Security fix28 Jul 2026
    • Security

      react-router - Harden RSC CSRF codepaths.

  2. 7.18.1

    29 Jun 20261 fix
    • Fixed

      react-router-dom - Fix incorrect package.json main field for CommonJS builds

  3. 7.18.0

    16 Jun 20268 fixes
    • Fixed

      Fix server handler prerender responses when using ssr: false and future.v8_trailingSlashAwareDataRequests: true. Avoids false positive "SPA Mode" detection when serving prerendered paths

    • Fixed

      Use the ServerRouter nonce for nonce-aware SSR components when they don't provide their own value so strict CSP pages can load them.

    • Fixed

      Use turbo-stream to serialize and deserialize Framework Mode hydration errors

    • Fixed

      Precompute route branch matchers to avoid recompiling route path regexes during matching

  4. 7.17.0

    4 Jun 20261 new
    • New

      Ship a subset of the official documentation inside the react-router package

  5. 7.16.0

    28 May 20261 new · 4 fixes
    • New

      Stabilize future.unstable_trailingSlashAwareDataRequests as future.v8_trailingSlashAwareDataRequests

    • Fixed

      Disable manifest path when lazy route dicovery is disabled

    • Fixed

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

    • Fixed

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

    • Fixed

      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.