Packages

@clerk/nextjs

7.10.2 · 17 Nov 2026MIT4.2M / weekRepositoryHomepagenpmAtom feed

Upgrading @clerk/nextjs From 3.5.0 to 7.10.2

539 releases in betweennotes for 417

Reading releases, release notes and advisories…

Other targets from 3.5.0Newest 3.x3.8.3
4.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below; the migration guide covers them.
  1. 3.5.0yours
  2. 18 releases
  3. 4.0.0major
  4. 170 releases
  5. 4.31.8security
  6. 5.0.0major
  7. 62 releases
  8. 6.0.0major
  9. 62 releases
  10. 6.12.9security
  11. 4 releases
  12. 6.14.0security
  13. 111 releases
  14. 7.0.0security
  15. 9 releases
  16. 7.1.0security
  17. 15 releases
  18. 7.3.5security
  19. 78 releases
  20. 7.10.2target
  21. 897 pre
37+
changes to make
0
advisories fixed
126+
new
161+
fixes

Counted from 417 of 539 release notes, and the breaking changes of 1 pre-release on the way to a major. 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

  • Bump next devDependency to 15.5.18 to 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.js 15.5.18, 16.2.6, or a later patched release. The 16.0.0 through 16.2.5 versions are still affected.

    7.3.5
  • Bump next devDependency to 15.5.15 to 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.js 15.5.15 or 16.2.3.

    7.1.0
  • Updating peerDependency for CVE-2025-55182

    7.0.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.14.0
  • 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.

    6.12.9
  • The Vercel team disclosed a NextJS vulnerability on 22 MAR 2025. Your application might be impacted if you're not using the latest NextJS release so we recommend upgrading to the latest NextJS version as soon as possible.

    4.31.8

Release by release

  1. 7.10.2

    17 Nov 20261 fix
    • Fixed

      Fix setActive() and signOut() hanging forever in App Router apps when the cache invalidation server action fails, for example after a redeploy or on a network error.

  2. 7.10.1nothing new or fixed in the note

  3. 7.10.0

    14 Nov 20261 new
    • New

      Add support for Personal Agent Protocol signed-in browser sessions. Enable the Clerk-defined poppy: true option on clerkMiddleware() to publish Poppy and OAuth protected resource discovery on the application domain.

  4. 7.9.24 – 7.9.263 releases, nothing new or fixed in the notes

  5. 7.9.23

    30 Oct 20261 fix
    • Fixed

      tslib is no longer installed as a runtime dependency. The published builds never imported it.

  6. 7.9.19 – 7.9.224 releases, nothing new or fixed in the notes

  7. 7.9.18

    20 Oct 20261 fix
    • Fixed

      Fix the return type of auth.protect() when a predicate is passed together with the token option. The result is now typed from the accepted token types, so auth.protect(() => true, { token: 'api_key' }) resolves to the API key auth object instead of a session auth object.

  8. 7.9.16 – 7.9.172 releases, nothing new or fixed in the notes

9 other lines we could not sort, mostly version bumps
  • Renamed all __unstable_* methods to __internal_* (for internal APIs)

    7.0.0
  • Renamed all experimental__* and experimental_* methods to __experimental_* (for beta features)

    7.0.0
  • Replaces __experimental_useReverification with useReverification Also replaces the following APIs:

    6.5.0
  • ____experimental_reverificationError -> __reverificationError

    6.5.0
  • __experimental_reverificationErrorResponse -> reverificationErrorResponse

    6.5.0
  • 💅 Redesigned and improved component UIs.

    5.0.0
  • 🔪 The 401 & "flash of white page" that was visible sometimes when syncing auth state was eliminated.

    5.0.0
  • 🧹 A large number of smaller housekeeping changes, bugfixes, and improvements.

    5.0.0
  • 📊 Telemetry to allow us to better determine feature usage and priority (easy opt-out if you don't like this)

    5.0.0

1297 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.