Packages

react-router

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

Upgrading react-router From 7.11.0 to 7.12.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

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

Security

Fixes 3 advisories affecting 7.11.0

  • Add additional layer of CSRF protection by rejecting submissions to UI routes from external origins. If you need to permit access to specific external origins, you can specify them in the react-router.config.ts config allowedActionOrigins field.

    7.12.0

Release by release

  1. 7.12.0

    Security fix7 Jan 20267 fixes
    • Security

      Add additional layer of CSRF protection by rejecting submissions to UI routes from external origins. If you need to permit access to specific external origins, you can specify them in the react-router.config.ts config allowedActionOrigins field.

    • Fixed

      Fix generatePath when used with suffixed params (i.e., "/books/:id.json")

    • Fixed

      Export UNSAFE_createMemoryHistory and UNSAFE_createHashHistory alongside UNSAFE_createBrowserHistory for consistency. These are not intended to be used for new apps but intended to help apps usiong unstable_HistoryRouter migrate from v6->v7 so they can adopt the newer APIs.

    • Fixed

      Escape HTML in scroll restoration keys

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.