@clerk/nextjs
7.10.2 · 17 Nov 2026MIT4.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/nextjs From 4.24.2 to 4.25.0
1 release in betweenevery note read
- 5
- changes to make
- 0
- advisories fixed
- 1
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Deprecated4.25.0
- Deprecated4.25.0
- Deprecated4.25.0
- Deprecated4.25.0
- Deprecated4.25.0
Security
1 advisory still affects 4.25.0
- @clerk/nextjs auth() and getAuth() methods vulnerable to insecure direct object reference (IDOR) critical · GHSA-q6w5-jg5q-47vg
Upgrading to 4.29.3 clears it.
Release by release
- Deprecated
CLERK_JS_VERSIONenvironment variable - Deprecated
CLERK_API_KEYenvironment variable - Deprecated
NEXT_PUBLIC_CLERK_FRONTEND_APIenvironment variable - Deprecated
withClerkMiddleware - Deprecated
withServerSideAuth - New
Add the
use clientdirective in@clerk/sharedto make the package compatible with an RSC environment.
- Deprecated
4 internal lines (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.