Packages

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…

Other targets from 5.0.0Latest8.5.1
  1. 5.0.0yours
  2. 9 releases
  3. 5.3.4target
0
changes to make
0
advisories fixed
5
new
16
fixes

Release by release

  1. 5.3.3 – 5.3.42 releases, nothing new or fixed in the notes

  2. 5.3.2

    17 May 20221 fix
    • Fixed

      Make v5 Router compatible with v18 StrictMode

  3. 5.2.1 – 5.3.12 releases, nothing new or fixed in the notes

  4. 5.2.0

    11 May 20201 new · 1 fix
    • New

      Add sensitive prop on NavLink

    • Fixed

      Fix Link component prop type check

  5. 5.1.2

    30 Sep 20191 fix
    • Fixed

      Fix lingering <Link ref> error on React 15

  6. 5.1.1

    27 Sep 20193 fixes
    • 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

  7. 5.1.0

    24 Sep 20194 new · 1 fix
    • New

      Add useParams, useLocation, useHistory, and useRouteMatch hooks

    • New

      Add support for forwardRef in <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

  8. 5.0.1

    4 Jun 20199 fixes
    • 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

5 other lines we could not sort, mostly version bumps
  • Update mini-create-react-context

    5.2.0
  • Separate history to its own context

    5.2.0
  • 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

    5.0.1

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.