Packages

@clerk/nextjs

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

Upgrading @clerk/nextjs From 6.3.0 to 6.39.9

170 releases in betweennotes for 169

Other targets from 6.3.0Clears its 3 advisories6.39.3Latest7.10.2
  1. 6.3.0yours
  2. 53 releases
  3. 6.12.9security
  4. 4 releases
  5. 6.14.0security
  6. 110 releases
  7. 6.39.9target
2+
changes to make
3
advisories fixed
58+
new
61+
fixes

Counted from 169 of 170 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Deprecated6.12.0
  • Deprecated6.5.2

Security

  • 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

Release by release

  1. 6.39.3 – 6.39.97 releases, nothing new or fixed; 1 without a note

  2. 6.39.2

    15 Apr 20261 fix
    • Fixed

      Normalize URL paths in createPathMatcher to prevent route protection bypass

  3. 6.39.1nothing new or fixed in the note

  4. 6.39.0

    27 Feb 20261 new
    • New

      Added support for JWT token format when creating and verifying machine-to-machine (M2M) tokens. This enables fully networkless verification when using the public JWT key.

  5. 6.38.1 – 6.38.33 releases, nothing new or fixed in the notes

  6. 6.38.0

    18 Feb 20261 new · 1 fix
    • New

      Introduces MFA setup session task for handling require MFA after sign-in and sign-up

    • Fixed

      Fix infinite handshake redirect loop when deploying Next.js apps with Clerk development instances to Netlify

  7. 6.37.3 – 6.37.53 releases, nothing new or fixed in the notes

  8. 6.37.2

    4 Feb 20261 fix
    • Fixed

      Fixed an issue where JWT OAuth access tokens where not treated as a machine token

3 other lines we could not sort, mostly version bumps
  • 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

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