Packages

react-router

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

Upgrading react-router From 8.4.0 to 8.5.1

2 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 8.4.0Newest 8.x8.5.2
  1. 8.4.0yours
  2. 8.5.0
  3. 8.5.1target

Start here

Before you upgrade

Tick each one off as you go
  • Deprecated8.5.0

Release by release

  1. 8.5.1

    27 Oct 20261 new · 16 fixes
    • New

      Add an opt-in <Await unstable_promise={promise}> implementation based on React's use() API

    • Fixed

      Fix URIError: URI malformed when an ssr: false dev server receives a URL path with a malformed percent-encoding

    • Fixed

      Bound server route manifest processing for paths with expensive route expansion

    • Fixed

      Encode commas within paths sent to the lazy route discovery manifest endpoint so routes with commas in their paths are discovered correctly

  2. 8.5.0

    Deprecation19 Oct 20263 new · 8 fixes
    • Deprecated

      Deprecate React Router's view transition APIs in favor of React's <ViewTransition> component, available in React 19.3 and later

    • New

      Add an unstable_fetch prop to <HydratedRouter> to customize JavaScript-issued manifest and server data requests in conventional Framework Mode

    • New

      Support API-only Framework Mode with runtime server data loading, actions, revalidation, and lazy route discovery

    • New

      Add unstable_useRouteDiscovery for application-controlled route discovery in conventional Framework Mode

1 other line we could not sort, mostly version bumps
  • Return middleware short-circuit responses as-is for document requests in RSC modes, including resource routes, instead of decoding non-RSC bodies as Flight

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