Packages

react-router

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

Your version

2.3.0

18 Apr 2016Where it was published

2.8.1 is the newest release of 2.x.

In short

1 deprecated1 new1 changed

  • Deprecated

    Feature/Deprecation: Add routerShape and locationShape as top-level exported prop types, and deprecate all the old prop types, including the ones that were previously incorrectly removed

Release note

Changes

  • Feature: Add applyRouterMiddleware for extending router rendering

  • Deprecated

    Feature/Deprecation: Add routerShape and locationShape as top-level exported prop types, and deprecate all the old prop types, including the ones that were previously incorrectly removed

  • Minor: Move ES module build back to es6/ to avoid breaking people who were incorrectly importing from react-router/es6

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.