Packages

@react-router/dev

8.5.2 · 18 Nov 2026MIT4.5M / weekRepositoryHomepagenpmAtom feed

Upgrading @react-router/dev From 7.18.6 to 8.5.2

10 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 7.18.6yours
  2. 8.0.0major
  3. 8 releases
  4. 8.5.2target
  5. 2 pre

Start here

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

Release by release

  1. 8.5.2

    18 Nov 20268 fixes
    • Fixed

      Cache client route chunk analysis using normalized route paths and disable dependency optimization in the child compiler, including explicitly included dependencies

    • Fixed

      Serialize concurrent type generation to prevent filesystem races between react-router dev and react-router typegen

    • Fixed

      Pass route component props to exports declared with export specifiers

    • Fixed

      Improve handling of prerendered redirect destinations in Framework Mode and unstable RSC Framework Mode

  2. 8.5.1

    27 Oct 20262 fixes
    • Fixed

      Use resolved Vite environment output directories when reading and writing build artifacts

    • Fixed

      Run prerendering after other Vite plugins finish their application build hooks

  3. 8.5.0

    19 Oct 20263 new · 3 fixes
    • New

      Add ssr: "unstable_api-only" to retain a runtime server for loaders, actions, and route discovery while disabling production document rendering

    • New

      Add the future.unstable_customRouteDiscovery flag to opt into application-controlled route discovery in conventional Framework Mode

    • New

      Add unstable_apiServerOrigin to configure the origin for API-only loader, action, and route discovery requests

    • Fixed

      Fix critical CSS collection in dev registering server-only route imports as client dependencies, which triggered dependency re-optimization and full page reloads

    • Fixed

      Fix intermittent Prerender: Request failed for ... connect ECONNREFUSED errors during prerendering

    • Fixed

      Fix source maps for route modules in unstable RSC Framework Mode

  4. 8.4.0

    15 Sep 20263 fixes
    • Fixed

      Fix action submissions behind an HTTPS reverse proxy in react-router dev and vite preview by using X-Forwarded-Proto when constructing request.url

    • Fixed

      Pass development conditions as CLI flags when relaunching the dev process

    • Fixed

      Fix stack trace locations for split route modules when source maps are enabled in the reactRouter Vite plugin

  5. 8.3.1

    28 Aug 20262 fixes
    • Fixed
    • Fixed

      Generate JavaScript entry files at package build time so react-router reveal --no-typescript does not require Prettier at runtime

  6. 8.3.0

    22 Jul 20264 new
    • New

      Restart react-router dev with --conditions=development when not already configured

    • New

      Allow typescript@7 to be used

    • New

      Add unstable_rsc/client-version client build version virtual module

    • New

      Support the subResourceIntegrity config option in RSC Framework Mode

  7. 8.2.0

    8 Jul 20263 new · 1 fix
    • New

      Add a Web Streams default server entry for non-Node Framework mode apps

    • New

      Detect nub as a supported package manager when installing framework dependencies

    • New

      Add the future.unstable_enableNodeReadableStream flag to opt Node Framework mode apps into using renderToReadableStream instead of renderToPipeableStream

    • Fixed

      Detect user rolldownOptions config in Vite 8+

  8. 8.1.0

    29 Jun 20264 fixes
    • Fixed

      Fix a regression with the new prerendering plugin where the react-router.config.ts buildEnd hook would run before prerendering was completed

    • Fixed

      Fixed react-router typegen crashes under the Bun runtime when Babel default imports are already unwrapped

    • Fixed

      Replace the deprecated envFile:false Vite config with envDir:false to eliminate a deprecation warning when using vite@8.1.0+

    • Fixed

      Only add the "node" Vite server condition for Framework mode apps that declare a Node server adapter dependency

30 internal lines (docs, tests, tooling) left out.

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.