@clerk/nextjs
7.10.2 · 17 Nov 2026MIT4.2M / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/nextjs From 6.39.9 to 7.0.0
1 release in betweenevery note read
- 15
- changes to make
- 0
- advisories fixed
- 13
- new
- 8
- fixes
Before you upgrade
Tick each one off as you go- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
Security
2 advisories still affect 7.0.0
- Official Clerk JavaScript SDKs: Middleware-based route protection bypasscritical · GHSA-vqx2-fgx2-5wq9
- Clerk has an authorization bypass when combining organization, billing, or reverification checkshigh · GHSA-w24r-5266-9c3c
Upgrading to 7.2.4 clears them.
- 7.0.0
Updating peerDependency for CVE-2025-55182
Release by release
- Security
Updating peerDependency for CVE-2025-55182
- Breaking
Removed deprecated billing-related props (
__unstable_manageBillingUrl,__unstable_manageBillingLabel,__unstable_manageBillingMembersLimit) andexperimental__forceOauthFirst - Breaking
Renamed
__unstable_invokeMiddlewareOnAuthStateChangeto__internal_invokeMiddlewareOnAuthStateChange. - Breaking
useAuth().getTokenis no longerundefinedduring server-side rendering, it is a function and calling it will throw.
- Security
2 other lines we could not sort, mostly version bumps
- 7.0.0
Renamed all
__unstable_*methods to__internal_*(for internal APIs) - 7.0.0
Renamed all
experimental__*andexperimental_*methods to__experimental_*(for beta features)
3 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.