react-router
8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed
Upgrading react-router From 7.14.2 to 7.15.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Before you upgrade
Tick each one off as you go- Breaking7.15.0
- Breaking7.15.0
Security
6 advisories still affect 7.15.0
- React Router: Arbitrary Constructor Injection via deserializeErrors() in React Router SSR Hydrationmoderate · GHSA-337j-9hxr-rhxg
- React Router: Potential CSRF via PUT/PATCH/DELETE document requestslow · GHSA-84g9-w2xq-vcv6
- React Router: Unauthenticated Denial of Service via Inefficient Route Matchinghigh · GHSA-chx6-hx7r-mcp5
Upgrading to 7.18.2 clears them.
Fixes 1 advisory affecting 7.14.2
- React Router vulnerable to DoS via unbounded path expansion in __manifest endpointhigh · GHSA-8x6r-g9mw-2r78
Release by release
- Breaking
⚠️ This is a breaking change if you have already opted into the unstable version - you will need to update your code accordingly
- Breaking
Remove
unstable_subResourceIntegrityfrom the runtimeFutureConfigtype; the flag is now controlled by the top-levelsubResourceIntegrityoption inreact-router.config.ts - New
Stabilize
unstable_defaultShouldRevalidateasdefaultShouldRevalidateon<Link>,<Form>,useLinkClickHandler,useSubmit,fetcher.submit, andsetSearchParams - New
Stabilize the instrumentation APIs.
unstable_instrumentationsis nowinstrumentationsandunstable_patternis nowpattern
- Breaking
1 internal line (docs, tests, tooling) left out.
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.