react-router
8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed
Upgrading react-router From 7.18.6 to 8.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Other targets from 7.18.6Latest8.5.1
- 10
- changes to make
- 0
- advisories fixed
- 1
- new
- 5
- fixes
Before you upgrade
Tick each one off as you go- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
Security
1 advisory still affects 8.0.0
- React Router: RSC Mode CSRF Bypass Allows Action Execution Before 400 Responsehigh · GHSA-qwww-vcr4-c8h2
Upgrading to 8.3.0 clears it.
Release by release
- Breaking
Remove the
future.v8_trailingSlashAwareDataRequestsflag - Breaking
Update
tsconfig.jsontarget/libfromES2020 -> ES2022 - Breaking
Switch the published packages in
packages/to ESM-only. - Breaking
Remove deprecated
dataparameter in favor ofloaderDataformetaAPIs (to align withRoute.ComponentProps)
- Breaking
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.