Packages

@react-router/dev

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

Your version

8.0.0

major17 Jun 2026Where it was published

8.5.2 is the newest release of 8.x.

In short

8 breaking1 removed2 new1 fixed3 internal

  • Breaking

    Remove @react-router/dev/vite/cloudflare dev proxy export; use @cloudflare/vite-plugin instead

  • Breaking

    Remove the future.v8_trailingSlashAwareDataRequests flag

  • Breaking

    Remove future.v8_passThroughRequests flag - the raw incoming request is now always passed through to loader/action.

  • Breaking

    Move future.v8_splitRouteModules to a top-level splitRouteModules config option and change the default behavior to true

  • Breaking

    Update minimum Node version to 22.22.0

  • Breaking

    Require Vite 7+ and make the Vite Environment API build path mandatory

  • Breaking

    Removed the future.v8_viteEnvironmentApi flag because the Vite Environment API is always enabled

  • Breaking

    Removed the future.unstable_previewServerPrerendering flag and make prerendering with the Vite Environment API the default.

Release note

The section about @react-router/dev of a note shared by several packages.

Major Changes

  • Breaking

    Remove @react-router/dev/vite/cloudflare dev proxy export; use @cloudflare/vite-plugin instead

  • Breaking

    Remove the future.v8_trailingSlashAwareDataRequests flag

    • Trailing slash-aware data request URLs are now the default behavior.

  • Breaking

    Remove future.v8_passThroughRequests flag - the raw incoming request is now always passed through to loader/action.

  • Breaking

    Move future.v8_splitRouteModules to a top-level splitRouteModules config option and change the default behavior to true

    • Set splitRouteModules: false to keep route modules in a single chunk

    • Set splitRouteModules: "enforce" to require all routes to be splittable

  • Breaking

    Update minimum Node version to 22.22.0

  • Breaking

    Require Vite 7+ and make the Vite Environment API build path mandatory

  • Breaking

    Removed the future.v8_viteEnvironmentApi flag because the Vite Environment API is always enabled

  • Breaking

    Removed the future.unstable_previewServerPrerendering flag and make prerendering with the Vite Environment API the default.

Minor Changes

  • Bump dependencies

  • Replace cookie and set-cookie-parser with cookie-es

  • Removed

    Removed the vite-node dependency in favor of Vite's native module runner APIs

Patch Changes

  • Bump dependencies

    • Bumped @babel/core from ^7.29.0 to ^7.29.7

    • Bumped @babel/generator from ^7.29.1 to ^7.29.7

    • Bumped @babel/parser from ^7.29.3 to ^7.29.7

    • Bumped @babel/plugin-syntax-jsx from ^7.28.6 to ^7.29.7

    • Bumped @babel/preset-typescript from ^7.28.5 to ^7.29.7

    • Bumped @babel/traverse from ^7.29.0 to ^7.29.7

    • Bumped @babel/types from ^7.29.0 to ^7.29.7

    • Bumped babel-dead-code-elimination from ^1.0.6 to ^1.0.12

    • Bumped chokidar from ^4.0.0 to ^5.0.0

    • Bumped es-module-lexer from ^1.3.1 to ^2.1.0

    • Bumped exit-hook from 2.2.1 to 5.1.0

    • Bumped isbot from ^5.1.11 to ^5.1.40

    • Bumped p-map from ^7.0.3 to ^7.0.4

    • Bumped pathe from ^1.1.2 to ^2.0.3

    • Bumped pkg-types from ^2.3.0 to ^2.3.1

    • Bumped react-refresh from ^0.14.0 to ^0.18.0

    • Bumped semver from ^7.8.0 to ^7.8.1

    • Bumped tinyglobby from ^0.2.14 to ^0.2.16

    • Bumped valibot from ^1.4.0 to ^1.4.1

  • Fix Windows libuv assertion (!(handle->flags & UV_HANDLE_CLOSING) in src/win/async.c) during prerendering by using node:http instead of fetch for internal prerender requests against the Vite preview server

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.