Packages

react-router

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

Upgrading react-router From 8.2.0 to 8.3.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 8.2.0Newest 8.x8.5.2Latest8.5.1
  1. 8.2.0yours
  2. 8.3.0target

Security

Fixes 1 advisory affecting 8.2.0

  • Harden RSC CSRF code paths

    8.3.0

Release by release

  1. 8.3.0

    Security fix22 Jul 20261 new · 5 fixes
    • Security

      Harden RSC CSRF code paths

    • New

      Add CSP nonce support to RSC document rendering

    • Fixed

      Encode path params in href/generatePath per RFC 3986 path-segment rules instead of encodeURIComponent

    • Fixed

      Use crypto.randomUUID() for createMemorySessionStorage session ids

    • Fixed

      Fix NavLink not applying its pending state when to has a trailing slash

    • Fixed

      Preserve RSC route component metadata so routes with a clientLoader can skip unnecessary server requests once their components have rendered while still fetching missing server-rendered elements

    • Fixed

      Fix server crash (TypeError: Invalid state: Unable to enqueue) when a request is aborted while the RSC HTML stream has a pending flush

1 other line we could not sort, mostly version bumps
  • Detect stale RSC clients during lazy route discovery and reload the destination document

    8.3.0

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.