@clerk/nextjs
7.10.2 · 17 Nov 2026MIT4.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/nextjs From 5.1.7 to 5.2.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 1
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Deprecated5.2.0
Security
1 advisory still affects 5.2.0
- Official Clerk JavaScript SDKs: Middleware-based route protection bypasscritical · GHSA-vqx2-fgx2-5wq9
Upgrading to 5.7.6 clears it.
Release by release
- Deprecated
clerkClientfrom@clerk/nextjsshould now be called as a function, and its singleton form is deprecated. - New
Introduces dynamic keys from
clerkMiddleware, allowing access by server-side helpers likeauth. Keys such assignUpUrl,signInUrl,publishableKeyandsecretKeyare securely encrypted using AES algorithm.
- Deprecated
1 internal line (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.