-
Notifications
You must be signed in to change notification settings - Fork 411
feat(upgrade): Update upgrade CLI structure to support multiple releases #7385
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
base: vincent-and-the-doctor
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 698157f 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 |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
|
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: |
packages/upgrade/src/runner.js
Outdated
| if (transform === 'transform-remove-deprecated-props' && result.stats) { | ||
| renderManualInterventionSummary(result.stats); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: this should be genericized
|
!allow-major |
| export default { | ||
| id: 'core-3', | ||
| name: 'Core 3', | ||
| docsUrl: 'https://clerk.com/docs/upgrade-guides/core-3', | ||
| sdkVersions: { | ||
| nextjs: { from: 6, to: 7 }, | ||
| react: { from: 5, to: 7 }, | ||
| expo: { from: 2, to: 3 }, | ||
| 'react-router': { from: 2, to: 3 }, | ||
| 'tanstack-react-start': { from: 0, to: 1 }, | ||
| astro: { from: 2, to: 3 }, | ||
| nuxt: { from: 2, to: 3 }, | ||
| vue: { from: 2, to: 3 }, | ||
| }, | ||
| codemods: [ | ||
| 'transform-clerk-react-v6', | ||
| 'transform-remove-deprecated-props', | ||
| 'transform-remove-deprecated-appearance-props', | ||
| 'transform-appearance-layout-to-options', | ||
| 'transform-themes-to-ui-themes', | ||
| 'transform-align-experimental-unstable-prefixes', | ||
| ], | ||
| }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New version/release manifest that outlines a version's impacted SDKs and changes. We can use this for only specific SDKs if necessary as well.
Description
The Upgrade CLI has been restructured to better handle current and upcoming releases. The internals have been simplified and release-specific logic has been consolidated out of the core logic.
inkusagecore-2upgrade support. If folks need to upgrade, they can use a previous major of@clerk/upgradeChecklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change