Packages

react-router

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

Upgrading react-router From 7.1.5 to 7.2.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 7.1.5Newest 7.x7.18.6Clears its 13 advisories7.18.0Latest8.5.1
  1. 7.1.5yours
  2. 7.2.0target
0
changes to make
0
advisories fixed
3
new
7
fixes

Security

Release by release

  1. 7.2.0

    18 Feb 20253 new · 7 fixes
    • New

      New type-safe href utility that guarantees links point to actual paths in your app

    • New

      Add unstable support for splitting route modules in framework mode via future.unstable_splitRouteModules

    • New

      Add unstable_SerializesTo brand type for library authors to register types serializable by React Router's streaming format (turbo-stream)

    • Fixed

      Fix typegen for repeated params

6 other lines we could not sort, mostly version bumps
  • A parent route has only a loader (does not have a clientLoader)

    7.2.0
  • The parent route is pre-rendered

    7.2.0
  • The parent route has children routes which are not prerendered

    7.2.0
  • This means that when the child paths are loaded via the SPA fallback, the parent won't have any loaderData because there is no server on which to run the loader

    7.2.0
  • This can be resolved by either adding a parent clientLoader or pre-rendering the child paths

    7.2.0
  • If you add a clientLoader, calling the serverLoader() on non-prerendered paths will throw a 404

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