Sourced from @clerk/nextjs
's releases.
@clerk/nextjs
@5
.2.2Patch Changes
- Fixes Next.js build warnings (clerk/javascript#3660) where
AsyncLocalStorage
andMessageEvent
were being imported as Node.js modules on the edge runtime. (#3661) by@LauraBeatris
@clerk/nextjs
@5
.2.1Patch Changes
@clerk/nextjs
@5
.2.0Minor Changes
Introduces dynamic keys from
clerkMiddleware
, allowing access by server-side helpers likeauth
. Keys such assignUpUrl
,signInUrl
,publishableKey
andsecretKey
are securely encrypted using AES algorithm. (#3525) by@LauraBeatris
- When providing
secretKey
,CLERK_ENCRYPTION_KEY
is required as the encryption key. IfsecretKey
is not provided,CLERK_SECRET_KEY
is used by default.clerkClient
from@clerk/nextjs
should now be called as a function, and its singleton form is deprecated. This change allows the Clerk backend client to read keys from the current request, which is necessary to support dynamic keys.For more information, refer to the documentation: https://clerk.com/docs/references/nextjs/clerk-middleware#dynamic-keys
Patch Changes
Sourced from @clerk/nextjs
's changelog.
5.2.2
Patch Changes
- Fixes Next.js build warnings (clerk/javascript#3660) where
AsyncLocalStorage
andMessageEvent
were being imported as Node.js modules on the edge runtime. (#3661) by@LauraBeatris
5.2.1
Patch Changes
5.2.0
Minor Changes
Introduces dynamic keys from
clerkMiddleware
, allowing access by server-side helpers likeauth
. Keys such assignUpUrl
,signInUrl
,publishableKey
andsecretKey
are securely encrypted using AES algorithm. (#3525) by@LauraBeatris
- When providing
secretKey
,CLERK_ENCRYPTION_KEY
is required as the encryption key. IfsecretKey
is not provided,CLERK_SECRET_KEY
is used by default.clerkClient
from@clerk/nextjs
should now be called as a function, and its singleton form is deprecated. This change allows the Clerk backend client to read keys from the current request, which is necessary to support dynamic keys.For more information, refer to the documentation: https://clerk.com/docs/references/nextjs/clerk-middleware#dynamic-keys
Patch Changes
5.1.7
Patch Changes
aa35afd
ci(repo): Version packages (#3665)e8a2af5
fix(nextjs): Update imports to avoid Node.js build warnings on edge runtime (...81bd03b
ci(repo): Version packages (#3659)1a704ed
ci(repo): Version packages (#3631)f1847b7
feat(nextjs,backend,integration): Introduce dynamic keys from `clerkMiddlewar...361fc6e
ci(repo): Version packages (#3625)