react-router
8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed
Upgrading react-router From 8.1.0 to 8.3.0
2 releases in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 1
- advisory fixed
- 1
- new
- 10
- fixes
Security
Fixes 1 advisory affecting 8.1.0
- React Router: RSC Mode CSRF Bypass Allows Action Execution Before 400 Responsehigh · GHSA-qwww-vcr4-c8h2
- 8.3.0
Harden RSC CSRF code paths
Release by release
- Security
Harden RSC CSRF code paths
- New
Add CSP nonce support to RSC document rendering
- Fixed
Encode path params in
href/generatePathper RFC 3986 path-segment rules instead ofencodeURIComponent - Fixed
Use
crypto.randomUUID()forcreateMemorySessionStoragesession ids - Fixed
Fix
NavLinknot applying itspendingstate whentohas a trailing slash - Fixed
Preserve RSC route component metadata so routes with a
clientLoadercan 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
- Security
- Fixed
Fix
href()to properly stringify and URL-encode param values, matchinggeneratePath() - Fixed
Fix dynamic param extraction for routes with optional static segments
- Fixed
Preserve navigation blocker state through a revalidation
- Fixed
Fix route ranking for dynamic parameters with static extension suffixes
- Fixed
Use ReactFormState types instead of unknown
- Fixed
1 other line we could not sort, mostly version bumps
- 8.3.0
Detect stale RSC clients during lazy route discovery and reload the destination document
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.