Packages

react-router

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

Upgrading react-router From 6.0.2 to 6.1.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 6.0.2Newest 6.x6.30.6Clears its 2 advisories7.18.0Latest8.5.1
  1. 6.0.2yours
  2. 6.1.0target
0
changes to make
0
advisories fixed
4
new
1
fix

Security

Release by release

  1. 6.1.0

    10 Dec 20214 new · 1 fix
    • New

      <Outlet> can now receive a context prop. This value is passed to child routes and is accessible via the new useOutletContext hook. See the API docs for details.

    • New

      <NavLink> can now receive a child function for access to its props.

    • New

      Improved TypeScript signature for useMatch and matchPath. For example, when you call useMatch("foo/:bar/:baz"), the path is parsed and the return type will be PathMatch<"bar" | "baz">.

    • New

      A few error message improvements

    • Fixed

      Fixed a bug that broke support for base64 encoded IDs on nested routes

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.