-
Notifications
You must be signed in to change notification settings - Fork 253
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
chore(nextjs): Drop deprecations #2006
Conversation
🦋 Changeset detectedLatest commit: a47baa2 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 |
9c16e35
to
a7c014f
Compare
a7c014f
to
a47baa2
Compare
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.
💯
'@clerk/nextjs': major | ||
--- | ||
|
||
Drop deprecations. Migration steps: |
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.
@dimkl Should we mark these as breaking?
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.
I thought that the major version bump should indicate that but we can also mark them as breaking changes. All the changes with major
version are breaking. What do you think?
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.
Merging this to continue with the cleanup and i will update the changeset if we want to somehow mark the changes as breaking.
Description
Drop deprecations. Migration steps:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY
instead ofNEXT_PUBLIC_CLERK_FRONTEND_API
env variableNEXT_PUBLIC_CLERK_JS_VERSION
instead ofCLERK_JS_VERSION
CLERK_SECRET_KEY
instead ofCLERK_API_KEY
publishableKey
instead offrontendApi
isEmailLinkError
instead ofisMagicLinkError
EmailLinkErrorCode
instead ofMagicLinkErrorCode
useEmailLink
instead ofuseMagicLink
@clerk/nextjs
instead of@clerk/nextjs/app-beta
@clerk/nextjs
instead of@clerk/nextjs/ssr
@clerk/nextjs
instead of@clerk/nextjs/edge-middleware
or@clerk/nextjs/edge-middlewarefiles
authMiddleware
instead ofwithClerkMiddleware
API_URL
,API_VERSION
,CLERK_JS_URL
,CLERK_JS_VERSION
,DOMAIN
,IS_SATELLITE
,PROXY_URL
,PUBLISHABLE_KEY
,SECRET_KEY
,SIGN_IN_URL
,SIGN_UP_URL
Extra:
@clerk/clerk-sdk-node
dependency as there is no use anymoreChecklist
npm test
runs as expected.npm run build
runs as expected.Type of change
Packages affected
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/clerk-expo
@clerk/fastify
gatsby-plugin-clerk
@clerk/localizations
@clerk/nextjs
@clerk/clerk-react
@clerk/remix
@clerk/clerk-sdk-node
@clerk/shared
@clerk/themes
@clerk/types
build/tooling/chore