-
Notifications
You must be signed in to change notification settings - Fork 418
fix(repo): Use ~ instead of ^ for react peers #7512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🦋 Changeset detectedLatest commit: 9ec818e The changes in this PR will be included in the next version bump. This PR includes changesets to release 19 packages
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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
@clerk/agent-toolkit
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/dev-cli
@clerk/expo
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@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: |
📝 WalkthroughWalkthroughThis change updates React peer dependency version constraints across the Clerk monorepo. The changeset marks multiple packages as having patch-level updates to their React peer dependencies, switching from caret (^) to tilde (~) operators for React 19 versions. The pnpm-workspace.yaml catalog is simultaneously updated to reflect a mixed constraint approach: caret ranges for React 18.x and tilde ranges for React 19.x. These adjustments ensure non-overlapping version constraints across the dependency specifications. Pre-merge checks✅ Passed checks (3 passed)
📜 Recent review detailsConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (3)**/*.{js,jsx,ts,tsx,json,md,yml,yaml}📄 CodeRabbit inference engine (.cursor/rules/development.mdc)
Files:
**/*.{js,ts,jsx,tsx,json,md,yml,yaml}📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)
Files:
**/*⚙️ CodeRabbit configuration file
Files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (25)
Comment |
Description
The previous ranges using
^(e.g.,^19.0.3 || ^19.1.4 || ^19.2.3) created overlapping constraints where^19.0.3already matched versions like19.1.xand19.2.x, making the subsequent entries redundant. By switching to~for React 19 versions, each range now correctly targets a specific minor version track (e.g.,~19.0.3matches only19.0.xpatches), which properly captures the intent of disallowing specific vulnerable versions of react.Related: #7423
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.