react-router
8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed
Upgrading react-router From 2.5.0 to 2.8.1
7 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- Fixed
Bugfix: Fix redirects that specify
query
- Fixed
- New
Feature: Support omitting
toon<Link>
- New
2.6.1nothing new or fixed in the note
- New
Feature: Add
prevStateas argument toonLeavehooks - Fixed
Bugfix: Fix when the
<Link>onClickinvariant runs
- New
2.5.1 – 2.5.22 releases, nothing new or fixed in the notes
6 other lines we could not sort, mostly version bumps
- 2.8.0
Refactor: Use
history.replaceinstead ofhistory.transitionTofor redirects - 2.7.0
Bugfix: Warn on invalid router middlewares
- 2.6.1
Bugfix: Correctly handle routes with patterns that are the names of properties on
Object.prototype - 2.5.2
Bugfix: Remove extraneous
propTypescheck when creating a route object from a React element - 2.5.1
Bugfix: Throw error instead of silently failing with history v3
- 2.5.1
Bugfix: Explicitly throw error in
onClickhandler of<Link>rendered outside of router 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.