Packages

react-router

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

Upgrading react-router From 7.17.0 to 7.18.2

3 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 7.17.0Newest 7.x7.18.6Latest8.5.1
0
changes to make
5
advisories fixed
0
new
9
fixes

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

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.