Packages

@clerk/nextjs

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

Your version

6.12.0

18 Feb 2025Where it was published

6.39.9 is the newest release of 6.x.

In short

1 deprecated2 fixed4 internal

  • Deprecated

    Introduce EmailLinkErrorCodeStatus to support users in custom flows and mark EmailLinkErrorCode as deprecated.

Security

3 advisories affect 6.12.0; 6.39.3 fixes them

Release note

Minor Changes

  • Deprecated

    Introduce EmailLinkErrorCodeStatus to support users in custom flows and mark EmailLinkErrorCode as deprecated.

    - import { EmailLinkErrorCode } from '@clerk/nextjs/errors'
    + import { EmailLinkErrorCodeStatus } from '@clerk/nextjs/errors'

Patch Changes

  • Update clerkMiddleware request callback to accept an asynchronous function

    export default clerkMiddleware(
      (auth, req) => {
        // Add your middleware checks
      },
      async req => {
        const options = await getOptions(req);
        return options;
      },
    );
  • Fix shallow internal-component navigation.

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.