chore(react-router): Bump minimum react-router version to 8.3.0#9229
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 8a705bf The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-google-signin
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
API Changes Report
Summary
No API Changes DetectedAll packages have stable APIs with no detected changes. Report generated by Break Check Last ran on |
📝 WalkthroughWalkthroughReact Router-related template dependencies were upgraded from 8.0.1 to 8.3.0. The package peer dependency range now permits React Router Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@integration/templates/react-router-node/package.json`:
- Line 13: Update the `@react-router/serve` dependency version in package.json
from 8.3.01 to the valid 8.3.0 release, preserving the rest of the dependency
configuration.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Organization UI (inherited)
Review profile: CHILL
Plan: Pro Plus
Run ID: 33e1761c-9ca4-44e0-bdf2-c04f6e0ad431
📒 Files selected for processing (3)
integration/templates/react-router-node/package.jsonintegration/templates/react-router-node/vite.config.tspackages/react-router/package.json
🔗 Linked repositories identified
CodeRabbit considers these linked repositories for cross-repo context during reviews:
clerk/clerk_go(manual)clerk/dashboard(manual)clerk/accounts(manual)clerk/backoffice(manual)clerk/clerk(manual) → reviewed against open PR#3026rob/react-router-v3-fixinstead of the default branchclerk/clerk-docs(manual)clerk/cloudflare-workers(manual)clerk/clerk-ios(auto-detected)clerk/cli(auto-detected)clerk/clerk-android(auto-detected)
Description
Bumps the minimum supported React Router v8 version to
8.3.0. Earlier v8 releases ship separatedevelopmentandproductionexport conditions, so duringreact-router devthe externalized@clerk/react-routerpackage resolved a differentreact-routerinstance than the app, breaking the Router context (remix-run/react-router#15232). React Router 8.3.0 fixes this, so upgrading removes the need for workarounds likessr.noExternal: ['@clerk/react-router']. The v7 range (^7.9.0) is unchanged.Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change