Packages

react-router

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

Upgrading react-router From 8.3.1 to 8.5.1

3 releases in betweenevery note read

Reading releases, release notes and advisories…

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

Start here

Before you upgrade

Tick each one off as you go
  • Breaking8.4.0
  • Deprecated8.5.0
  • Deprecated8.4.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

  3. 8.4.0

    Migration needed15 Sep 20261 new · 7 fixes
    • Breaking

      ⚠️ This contains some breaking changes to exported UNSAFE_ contexts, so please review carefully if you are using those unsafe exports

    • Deprecated

      Deprecate the createStaticRouter({ branches }) option

    • New

      Add a Data Mode future.unstable_routePatternMatching flag for more efficient route matching powered by @remix-run/route-pattern

    • Fixed

      Prevent stale route discovery during manifest version-mismatch recovery

2 other lines 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
  • Document access control requirements for RSC Server Functions

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