Skip to content

Update react-router to v8.0.1#1121

Merged
krusche merged 1 commit into
developfrom
feature/react-router-v8
Jun 20, 2026
Merged

Update react-router to v8.0.1#1121
krusche merged 1 commit into
developfrom
feature/react-router-v8

Conversation

@krusche

@krusche krusche commented Jun 20, 2026

Copy link
Copy Markdown
Member

Summary

Bumps react-router 7.17.0 → 8.0.1 (major). Kept separate from the routine dependency-update PR (#1120) because it crosses a major version, per request.

Why no code changes were needed

react-router v8's breaking changes are confined to framework/data mode and tooling, none of which this app uses:

v8 breaking change Impact here
meta APIs: dataloaderData ❌ not used (no framework-mode meta)
future.v8_middleware flag removed; middleware always on ❌ no middleware
MiddlewareEnabled / UNSAFE_MiddlewareEnabled type removed ❌ not used
<Form> onSubmit type override removed <Form> not used
Min Node 22.22.0 ✅ on Node 24
Peer react/react-dom ≥ 19.2.7 ✅ already on 19.2.7

The app uses declarative mode<BrowserRouter> / <Routes> / <Route> with only stable hooks/components (useParams, useNavigate, useSearchParams, useLocation, useNavigationType, Link, Navigate). All 52 react-router imports come from the unified react-router package; the API surface is unchanged in v8.

Verification

  • pnpm build
  • tsc --noEmit ✓ (no errors — would flag any changed API signatures)
  • eslint src/ ✓ (0 errors)
  • pnpm test ✓ (26 pass)
  • no react-router peer-dependency issues
  • SBOM regenerated; staleness-check hash verified

Runtime routing is additionally exercised by the Playwright e2e suite in CI.

Notes

🤖 Generated with Claude Code

Major version bump (7.17.0 -> 8.0.1), kept separate from the routine
dependency-update PR because it crosses a major version.

react-router v8's breaking changes are all in framework/data mode and
tooling: the `meta` `data`->`loaderData` rename, the always-on
`v8_middleware` (flag + `MiddlewareEnabled` type removed), the `<Form>`
`onSubmit` type override removal, and a Node >= 22.22.0 minimum. This app
uses declarative mode (`<BrowserRouter>`/`<Routes>`/`<Route>`) with only
stable hooks (useParams, useNavigate, useSearchParams, useLocation,
useNavigationType, Link, Navigate), runs on Node 24, and is already on
React 19.2.7 (v8's required peer), so none of them apply — no code changes
were needed.

SBOM regenerated.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 20, 2026 07:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Jun 20, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@krusche, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 45 minutes and 22 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 569e20a4-6aa2-47a9-93f0-cdaec92d639f

📥 Commits

Reviewing files that changed from the base of the PR and between 20f320b and a759316.

⛔ Files ignored due to path filters (1)
  • client/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (3)
  • client/package.json
  • client/sbom/.lock-hash
  • client/sbom/bom.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/react-router-v8

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@krusche krusche merged commit 979e968 into develop Jun 20, 2026
11 of 12 checks passed
@krusche krusche deleted the feature/react-router-v8 branch June 20, 2026 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants