@clerk/nextjs
7.10.2 · 17 Nov 2026MIT4.2M / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/nextjs From 6.39.9 to 7.2.4
16 releases in betweenevery note read
- 15
- changes to make
- 0
- advisories fixed
- 16
- new
- 13
- 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
- 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
Release by release
- New
Add helpful TypeScript error for incorrect
authimport path - Fixed
Fix an authorization bypass in
has(),auth.protect(), and related predicates when a single call combined conditions from more than one dimension (for example,{ permission, reverification }or{ feature, permission }). A dimension that should have denied the request was treated as indeterminate and ignored by the combining logic, allowing other passing dimensions to carry the result and authorize the call when it should have failed closed.
- New
7.2.2 – 7.2.32 releases, nothing new or fixed in the notes
- Fixed
Normalize URL paths in
createPathMatcherto prevent route protection bypass
- Fixed
- New
Introduce internal
<OAuthConsent />component for rendering a zero-config OAuth consent screen on an OAuth authorize redirect page.
- New
- Security
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. - New
Introduce internal
useOAuthConsent()hook for fetching OAuth consent screen metadata for the signed-in user.
- Security
- Fixed
Re-exports
useAPIKeys()hook.
- Fixed
7.0.4 – 7.0.116 releases, nothing new or fixed in the notes
- Fixed
Fix build failures when using
cacheComponents: truewith dynamic routes (e.g.[id])
- Fixed
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)
43 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.