Packages

react-router

8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed

Upgrading react-router From 2.3.0 to 2.8.1

10 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.3.0Latest8.5.1
  1. 2.3.0yours
  2. 9 releases
  3. 2.8.1target
0
changes to make
0
advisories fixed
7
new
3
fixes

Release by release

  1. 2.8.1

    13 Sep 20161 fix
    • Fixed

      Bugfix: Fix redirects that specify query

  2. 2.8.0

    9 Sep 20161 new
    • New

      Feature: Support omitting to on <Link>

  3. 2.7.0

    20 Aug 20162 new
    • New

      Feature: Support router as a prop on withRouter-wrapped components for overriding the router object from context

    • New

      Feature: Add withRef option to withRouter that enables getWrappedInstance (#3735, #3740)

  4. 2.6.1nothing new or fixed in the note

  5. 2.6.0

    18 Jul 20161 new · 1 fix
    • New

      Feature: Add prevState as argument to onLeave hooks

    • Fixed

      Bugfix: Fix when the <Link> onClick invariant runs

  6. 2.5.0 – 2.5.23 releases, nothing new or fixed in the notes

  7. 2.4.1

    19 May 20161 fix
    • Fixed

      Bugfix: Don't crash on invalid URI components in params

  8. 2.4.0

    28 Apr 20163 new
    • New

      Feature: Add withRouter higher-order component for injecting props.router

    • New

      Minor: Add React as a peer dependency

    • New

      Minor: Add target to propTypes for <Link>

9 other lines we could not sort, mostly version bumps
  • Refactor: Use history.replace instead of history.transitionTo for redirects

    2.8.0
  • Bugfix: Warn on invalid router middlewares

    2.7.0
  • Bugfix: Correctly handle routes with patterns that are the names of properties on Object.prototype

    2.6.1
  • Bugfix: Remove extraneous propTypes check when creating a route object from a React element

    2.5.2
  • Bugfix: Throw error instead of silently failing with history v3

    2.5.1
  • Bugfix: Explicitly throw error in onClick handler of <Link> rendered outside of router context

    2.5.1
  • Feature/Deprecation: Call getChildRoutes and getIndexRoute with partialNextState; deprecate accessing location directly in favor of partialNextState.location there (#3556, #3561, #3569, Upgrade Guide)

    2.5.0
  • Refactor: Refactor creating routeParams objects

    2.5.0
  • Minor: Upgrade to Babel 6

    2.4.0

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.