Packages

@clerk/nextjs

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

Upgrading @clerk/nextjs From 6.20.2 to 6.21.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 6.20.2Newest 6.x6.39.9Clears its 3 advisories6.39.3Latest7.10.2
  1. 6.20.2yours
  2. 6.21.0target
0
changes to make
0
advisories fixed
3
new
1
fix

Security

Release by release

  1. 6.21.0

    4 Jun 20253 new · 1 fix
    • New

      Introduces machine authentication, supporting four token types: api_key, oauth_token, machine_token, and session_token. For backwards compatibility, session_token remains the default when no token type is specified. This enables machine-to-machine authentication and use cases such as API keys and OAuth integrations. Existing applications continue to work without modification.

    • New

      The svix dependency is no longer needed when using the verifyWebhook() function. verifyWebhook() was refactored to not rely on svix anymore while keeping the same functionality and behavior.

    • New

      Introduce getAuthObjectFromJwt as internal utility function that centralizes the logic for generating auth objects from session JWTs.

    • Fixed

      Updated URL for 'auth() was called but Clerk can't detect usage of clerkMiddleware()'

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