react-router
8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed
Upgrading react-router From 4.0.0 to 4.4.0
7 releases in betweennotes for 5
Reading releases, release notes and advisories…
Release by release
4.3.1 – 4.4.02 releases, nothing new or fixed; 1 without a note
- New
Expose
generatePath - New
Add invariant for missing "to" property on
<Link> - Fixed
Fix with missing pathname:
<Link to="?foo=bar"> - Fixed
Fix pathless route's match when parent is null
- New
- New
Add optional otherProps argument renderRoutes ([#5137]
- Fixed
Prevent remounts on routes with the same component in renderRoutes ([#5430]
- Fixed
Fix memory leak in ConnectedRouter during server side rendering ([#5203]
- Fixed
Fix react-router-native StackRouter ([#5071]
- New
4.1.2no release note
- Fixed
Fixes for the various PropTypes related issues.
- Fixed
- New
Add
wrappedComponentto the component returned bywithRouter - New
Add
wrappedComponentRefprop to the component returned bywithRouter - New
Add non-react static methods and properties of the wrapped component to the component returned by
withRouter
- New
24 other lines we could not sort, mostly version bumps
- 4.3.0
Use the
prettyoption in generatePath - 4.3.0
aria-current has incorrect value "true"
- 4.3.0
Redirect with parameters
- 4.3.0
Escape NavLink path to allow special characters in path.
- 4.3.0
Use named import of history module.
- 4.3.0
Hoist dependencies for smaller UMD builds
- 4.3.0
Remove aria-current from navLink when inactive
- 4.3.0
Use Prettier on the code (e6f9017
- 4.3.0
Use history.createLocation in
<StaticRouter> - 4.2.0
Re-run Redirect on props update ([#5162]
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.