Packages

react-router

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

Upgrading react-router From 7.18.1 to 7.18.6

5 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 7.18.1Clears its advisory7.18.2Latest8.5.1
0
changes to make
1
advisory fixed
0
new
17
fixes

Security

Fixes 1 advisory affecting 7.18.1

  • react-router - Harden RSC CSRF codepaths.

    7.18.2

Release by release

  1. 7.18.6

    18 Nov 20269 fixes
    • Fixed

      react-router - Fix hydration of streamed Suspense boundaries in development with future.v8_viteEnvironmentApi

    • Fixed

      react-router - Handle HEAD response bodies consistently in Framework, RSC Framework, and RSC Data modes, preserving response metadata and deferred data handling

    • Fixed

      react-router - Improve path generation and URL validation across href(), generatePath(), links, forms, fetchers, and redirects

    • Fixed

      react-router - Preserve route parameters ending in .data in Single Fetch loader and action requests when future.v8_passThroughRequests is disabled

  2. 7.18.5

    27 Oct 20262 fixes
    • Fixed

      react-router - Bound route manifest processing during server rendering and RSC document/data requests by falling back to initial route discovery for paths with expensive ancestor expansion, accounting for the number and depth of candidate branches when using regex matching

    • Fixed

      react-router - Improve turbo-stream decoding validation and object property handling

  3. 7.18.4

    15 Sep 20262 fixes
    • Fixed

      react-router - Correctly escape streamed RSC redirect locations in meta tag attributes

    • Fixed

      react-router - Avoid unintended document.startViewTransition calls during initial hydration and router.revalidate() calls

  4. 7.18.3

    28 Aug 20264 fixes
    • Fixed

      react-router - Improve route matching performance for long paths

    • Fixed

      react-router - Improve validation of action request origins

    • Fixed

      react-router - Add additional URL validation on client side navigations/redirects

    • Fixed

      @react-router/node - fix: Prevent client disconnects during streaming from crashing the Node process

  5. 7.18.2

    Security fix28 Jul 2026
    • Security

      react-router - Harden RSC CSRF codepaths.

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.