@clerk/nextjs
7.10.2 · 17 Nov 2026MIT4.2M / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/nextjs From 5.7.4 to 7.10.2
288 releases in betweennotes for 284
Counted from 284 of 288 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking7.5.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
Fixes 1 advisory affecting 5.7.4
- Official Clerk JavaScript SDKs: Middleware-based route protection bypasscritical · GHSA-vqx2-fgx2-5wq9
- 7.3.5
Bump
nextdevDependency to15.5.18to pick up the fix for GHSA-26hh-7cqf-hhc6, a high-severity (CVSS 7.5) Middleware/Proxy bypass in App Router applications via segment-prefetch routes (incomplete-fix follow-up). If you use the Next.js App Router, we recommend upgrading to Next.js15.5.18,16.2.6, or a later patched release. The16.0.0through16.2.5versions are still affected. - 7.1.0
Bump
nextdevDependency to15.5.15to pick up the fix for CVE-2026-23869, a high-severity (CVSS 7.5) denial-of-service vulnerability in React Server Components. If you use the Next.js App Router, we recommend upgrading to Next.js15.5.15or16.2.3. - 7.0.0
Updating peerDependency for CVE-2025-55182
- 6.14.0
Automatic generation of CSP headers with default security policies compatible with Clerk requirements
- 6.14.0
Support for both standard and strict-dynamic CSP modes
- 6.14.0
Automatic nonce generation for strict-dynamic mode
- 6.14.0
Ability to add custom directives to match project requirements
- 6.12.9
The majority of Clerk applications are not impacted by the NextJS vulnerability disclosed on 22 MAR 2025. Your application might be impacted if you're not using the latest NextJS release and you do not call auth() in your routes or pages. We still recommend upgrading to the latest NextJS version as soon as possible.
Release by release
- Fixed
Fix
setActive()andsignOut()hanging forever in App Router apps when the cache invalidation server action fails, for example after a redeploy or on a network error.
- Fixed
7.10.1nothing new or fixed in the note
- New
Add support for Personal Agent Protocol signed-in browser sessions. Enable the Clerk-defined
poppy: trueoption onclerkMiddleware()to publish Poppy and OAuth protected resource discovery on the application domain.
- New
7.9.24 – 7.9.263 releases, nothing new or fixed in the notes
- Fixed
tslibis no longer installed as a runtime dependency. The published builds never imported it.
- Fixed
7.9.19 – 7.9.224 releases, nothing new or fixed in the notes
- Fixed
Fix the return type of
auth.protect()when a predicate is passed together with thetokenoption. The result is now typed from the accepted token types, soauth.protect(() => true, { token: 'api_key' })resolves to the API key auth object instead of a session auth object.
- Fixed
7.9.16 – 7.9.172 releases, nothing new or fixed in the notes
5 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) - 6.5.0
Replaces
__experimental_useReverificationwithuseReverificationAlso replaces the following APIs: - 6.5.0
____experimental_reverificationError->__reverificationError - 6.5.0
__experimental_reverificationErrorResponse->reverificationErrorResponse
907 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.