Packages

@clerk/nextjs

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

Upgrading @clerk/nextjs From 6.39.8 to 7.9.25

103 releases in betweenevery note read

Other targets from 6.39.8Newest 6.x6.39.9Latest7.10.2
  1. 6.39.8yours
  2. 1 release
  3. 7.0.0security
  4. 9 releases
  5. 7.1.0security
  6. 15 releases
  7. 7.3.5security
  8. 6 releases
  9. 7.5.0breaking
  10. 67 releases
  11. 7.9.25target
  12. 742 pre

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

Release by release

  1. 7.9.24 – 7.9.252 releases, nothing new or fixed in the notes

  2. 7.9.23

    30 Oct 20261 fix
    • Fixed

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

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

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

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

  6. 7.9.15

    13 Oct 20262 fixes
    • Fixed

      Fix auth.protect() skipping authorization checks for machine tokens. The role, permission, feature, plan, and reverification params and the predicate callback are now evaluated for API key, OAuth token, and M2M token requests. Param-based checks respond with a 401 for those requests.

    • Fixed

      Fix getAuth() and auth() returning OAuth and M2M tokens as signed-in user sessions. They now return a signed-out state for machine tokens. To authenticate OAuth or M2M tokens on a route, use auth({ acceptsToken }).

  7. 7.9.14nothing new or fixed in the note

  8. 7.9.13

    8 Oct 20261 fix
    • Fixed

      Export <HandleSSOCallback /> from @clerk/nextjs. Previously, importing it from @clerk/nextjs failed, so it could not be used on the SSO callback route of a custom flow.

2 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

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