react-router
8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed
Upgrading react-router From 2.5.2 to 2.8.1
5 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
3 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
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.