Skip to content

build(deps): bump react-router from 7.18.4 to 8.4.0 in /web - #50

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/web/react-router-8.4.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/web/react-router-8.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Bumps react-router from 7.18.4 to 8.4.0.

Release notes

Sourced from react-router's releases.

v8.4.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v840

v8.3.1

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v831

v8.3.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v830

v8.2.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v820

v8.1.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v810

v8.0.1

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v801

v8.0.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v800

Changelog

Sourced from react-router's changelog.

v8.4.0

Minor Changes

  • Deprecate the createStaticRouter({ branches }) option (#15297)
    • createStaticRouter now caches route branches internally, ignores branches, and logs a deprecation warning when the option is provided
    • The deprecated EntryContext.branches property remains available for compatibility but is always an empty array

Patch Changes

  • Prevent stale route discovery during manifest version-mismatch recovery (#15489)
    • Keep concurrent manifest responses pending while a document reload is in progress
    • Report a discovery error when a previous reload failed to resolve a version mismatch instead of loading a stale route or reloading repeatedly
    • Fail pending requests if a document reload does not complete within five seconds or the document is restored from the back-forward cache, allowing subsequent requests to recover
  • Preserve lazy route module import errors during SPA navigations instead of replacing them with a missing dataStrategy result error (#15464)
  • Switch to more granular internal router contexts to avoid unnecessary route component re-renders when unrelated data router state changes (#15376)
    • ⚠️ This contains some breaking changes to exported UNSAFE_ contexts, so please review carefully if you are using those unsafe exports
  • Correctly escape streamed RSC redirect locations in meta tag attributes (#15491)
  • Avoid unintended document.startViewTransition calls during initial hydration and router.revalidate() calls (#15484)
  • Fix SingleFetchNoResultError thrown when a fetcher revalidates against a splat route during lazy route discovery (#15395)
    • Track discovery per fetcher load so revalidation waits for the current load's discovery, even when the fetcher key is reused, while still restarting interrupted loaders after discovery completes
  • Preserve the underlying decode failure as the cause of the Unable to decode turbo-stream response error (#15450)

Unstable Changes

⚠️ Unstable features are not recommended for production use

  • Add a Data Mode future.unstable_routePatternMatching flag for more efficient route matching powered by @remix-run/route-pattern (#15298)
    • Add an unstable_validateParams route field to reject invalid parameter values and continue matching
  • Document access control requirements for RSC Server Functions (#15490)
    • Treat every Server Function as a public endpoint that must perform all of its own access control checks
    • Recommend route actions when access control should be provided by route middleware

v8.3.1

Patch Changes

  • Fix Expected fetcher: <key> error thrown on navigation when a fetcher is aborted during its post-action revalidation (#15365)
  • Fix lazy route discovery caching a path as discovered when the triggering navigation was aborted after the manifest response settled but before the route tree was patched, which permanently (for the session) shadowed the real route behind a catch-all or produced 404s on every subsequent visit (#15399)
  • Improve route matching performance for long paths (#15417)
  • Improve validation of action request origins (#15419)
  • Fix <ScrollRestoration> leaving history.scrollRestoration set to "auto" after a bfcache restore, which let the browser restore scroll on subsequent history traversals before the destination route had rendered (#15397)
  • Properly respect the relative option in useSubmit/fetcher.submit when resolivng the action path (#15400)
  • Add additional URL validation on client side navigations/redirects (#15445)

v8.3.0

Patch Changes

  • Encode path params in href/generatePath per RFC 3986 path-segment rules instead of encodeURIComponent (#15310)

... (truncated)

Commits

@dependabot dependabot Bot added the dependencies Dependency updates label Oct 5, 2026
@dependabot
dependabot Bot requested a review from Sulaiman-Dauda as a code owner October 5, 2026 03:55
@dependabot dependabot Bot added the dependencies Dependency updates label Oct 5, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/web/react-router-8.4.0 branch from f6990cd to a6fb66a Compare October 6, 2026 14:08
Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) from 7.18.4 to 8.4.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/[email protected]/packages/react-router)

---
updated-dependencies:
- dependency-name: react-router
  dependency-version: 8.4.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/web/react-router-8.4.0 branch from a6fb66a to 91b55ad Compare October 6, 2026 14:10
Sulaiman-Dauda added a commit that referenced this pull request Oct 6, 2026
* Move the frontend to React 19, Vite 8 and React Router 8

Dependabot raised these as separate PRs that cannot pass alone (#49, #50,
#52): react-dom 19 needs @types/react 19 in step, @vitejs/plugin-react 6
needs Vite 8, and React Router 8 needs React 19.2.7 or later. They move
together here (#41).

- react, react-dom, @types/react and @types/react-dom 18 to 19.3
- vite 6.4 to 8.3 and @vitejs/plugin-react 4 to 6
- react-router 7.18 to 8.4

The only source change is the type of useModalFocus's ref. React 19 types
useRef(null) as RefObject<T | null>, and the hook already handled a null
element.

The lockfile drops Babel, Rollup and esbuild for Rolldown and Lightning
CSS, adds no package with an install script, and moves source-map-js to
1.2.2, which closes Dependabot alert 7. The libc markers on the Linux
native packages are kept, so npm ci installs only the glibc builds.

Fixes #41

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Keep licence headers in the built bundle, and ask contributors for Node 22.22

Vite 8 minifies with Rolldown and Lightning CSS, which drop the @license
comments esbuild kept. The release binary embeds web/dist, so it would
have shipped React, React Router and xterm without the notices their MIT
licences require. Rolldown's comments.legal option keeps them. xterm's
notice in its stylesheet still goes, but the same notice ships in its
JavaScript, as it did before.

React Router 8 needs Node 22.22 or later, so CONTRIBUTING.md now says so.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
@Sulaiman-Dauda

Copy link
Copy Markdown
Owner

Superseded by #58, which moves React, Vite and React Router together so the peer dependencies line up.

@dependabot @github

dependabot Bot commented on behalf of github Oct 6, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/web/react-router-8.4.0 branch October 6, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant