react-router
Advanced tools
Changelog
v7.5.2
Date: 2025-04-24
Fixed 2 security vulnerabilities that could result in cache-poisoning attacks by sending specific headers intended for build-time usage for SPA Mode and Pre-rendering (GHSA-f46r-rw29-r322, GHSA-cpj6-fhp6-mr6j).
react-router
- Adjust approach for Pre-rendering/SPA Mode via headers (#13453)react-router
- Update Single Fetch to also handle the 204 redirects used in ?_data
requests in Remix v2 (#13364)
.data
requests from outside the scope of React Router (i.e., an express
/hono
middleware) the same way they did in Remix v2 before Single Fetch was implemented.data
request wih a response as follows:
X-Remix-Redirect: <new-location>
headerX-Remix-Replace: true
or X-Remix-Reload-Document: true
headers to replicate replace()
/redirectDocument()
functionalityFull Changelog: v7.5.1...v7.5.2