Packages

@clerk/nextjs

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

Your version

4.25.4

12 Oct 2023Where it was published

4.31.8 is the newest release of 4.x.

npm marks 4.25.4 as deprecated: A critical security vulnerability that affects versions in the range of >= 4.7.0,< 4.29.3 has been discovered by the Clerk team. Please upgrade immediately to 4.29.3. For more information, refer to clerk.com/changelog/2024-01-12

In short

3 deprecated2 new5 internal

  • Deprecated

    CLERK_API_KEY

  • Deprecated

    CLERK_FRONTEND_API

  • Deprecated

    NEXT_PUBLIC_CLERK_FRONTEND_API

Security

1 advisory affects 4.25.4; 4.29.3 fixes them

Release note

Patch Changes

  • Warn about environment variables deprecations:

    • CLERK_API_KEY

    • CLERK_FRONTEND_API

    • NEXT_PUBLIC_CLERK_FRONTEND_API

  • Introduce a new property on the core Clerk singleton, sdkMetadata. This will be populated by each host SDK. This metadata will be used to make logging and debugging easier.

  • Introduce new *EmailLink* helpers that will replace the *MagicLink* helpers.

    Also marked all the *MagicLink* as deprecated using JSDocs.

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.