chore(nextjs)!: Throw when missing encryption key#7360
chore(nextjs)!: Throw when missing encryption key#7360nikosdouvlis merged 1 commit intovincent-and-the-doctorfrom
Conversation
🦋 Changeset detectedLatest commit: 32e5469 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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
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 |
|
!allow-major |
@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: |
Description
When passing a secret key at runtime to
clerkMiddleware(), we need a stable encryption key to safely pass the value from the middleware to the application server. Previously, we avoided throwing an error to prevent a breaking change. Now that we're releasing a major, we are changing this to throw an error.fixes USER-3057
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change