Packages

react-router

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

Upgrading react-router From 1.0.3 to 2.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.0.3Latest8.5.1
The note of 2.0.0 lists no breaking change or deprecation; the migration guide below lists them.
  1. 1.0.3yours
  2. 2.0.0target
?
changes to make
0
advisories fixed
1
new
1
fix

Start here

Release by release

  1. 2.0.0

    10 Feb 20161 new · 1 fix
    • New

      Add back basename support in match

    • Fixed

      Stop providing API that conceals usage of context. It is now a documented feature of React so developers using Router can implement their own opinions on how best to use context: Mixins, higher-order components, decorators, etc. React Router no longer has an opinion, but instead uses the lowest level feature of React. This project wants to be an incredibly useful routing library and doesn't want to get hung up on best-practice patterns for getting stuff from up top to down low.

3 other lines we could not sort, mostly version bumps
  • Clear up the coupling between History and Router with simpler APIs.

    2.0.0
  • Provide cleaner integrations with other libraries like Redux, Relay, Async Props etc.

    2.0.0
  • Draw a clean line between what goes to Route Components as props and what goes on context.

    2.0.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.