react-router
8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed
Upgrading react-router From 5.0.0 to 5.3.4
10 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
5.3.3 – 5.3.42 releases, nothing new or fixed in the notes
- Fixed
Make v5 Router compatible with v18 StrictMode
- Fixed
5.2.1 – 5.3.12 releases, nothing new or fixed in the notes
- New
Add
sensitiveprop on NavLink - Fixed
Fix Link
componentprop type check
- New
- Fixed
Fix lingering
<Link ref>error on React 15
- Fixed
- Fixed
Fix issue with useParams reading from null object
- Fixed
Fix regression passing ref to functional components in React <= 16.2
- Fixed
Fix regression passing empty string to matchPath
- Fixed
- New
Add
useParams,useLocation,useHistory, anduseRouteMatchhooks - New
Add support for
forwardRefin<Link> - New
Add support for functions in
<Link to>and<NavLink to>(#5331, #5368) - New
Add
<Link component>API - Fixed
Don't render
<Route children>elements when the<Route>does not match
- New
- Fixed
Fixed display name for router context consumer and provider
- Fixed
Fixed infinite loop caused by Redirect in some scenarios (017f692 and 2ce1d32)
- Fixed
Fixed license issue for react context polyfill (f9849c8, then 992af48)
- Fixed
Fixed Redirect throwing an exception in StaticRouter without context
- Fixed
5 other lines we could not sort, mostly version bumps
- 5.2.0
Update
mini-create-react-context - 5.2.0
Separate
historyto its own context - 5.0.1
Reduced component depth in withRouter() HOC.
- 5.0.1
Changed misleading warning when withRouter is used outside a Router
- 5.0.1
Reduced install size and bundle size by switching to mini-create-react-context
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.