Packages

react-router

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

Upgrading react-router From 7.18.6 to 8.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 7.18.6Latest8.5.1
  1. 7.18.6yours
  2. 8.0.0target

Before you upgrade

Tick each one off as you go
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0

Security

1 advisory still affects 8.0.0

Upgrading to 8.3.0 clears it.

Release by release

  1. 8.0.0

    Migration needed17 Jun 20261 new · 5 fixes
    • Breaking

      Remove the future.v8_trailingSlashAwareDataRequests flag

    • Breaking

      Update tsconfig.json target/lib from ES2020 -> ES2022

    • Breaking

      Switch the published packages in packages/ to ESM-only.

    • Breaking

      Remove deprecated data parameter in favor of loaderData for meta APIs (to align with Route.ComponentProps)

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.