Packages

@clerk/nextjs

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

Upgrading @clerk/nextjs From 5.1.7 to 5.2.0

1 release in betweenevery note read

Other targets from 5.1.7Newest 5.x, Clears its advisory5.7.6Latest7.10.2
  1. 5.1.7yours
  2. 5.2.0target
1
change to make
0
advisories fixed
1
new
0
fixes

Before you upgrade

Tick each one off as you go
  • Deprecated5.2.0

Security

1 advisory still affects 5.2.0

Upgrading to 5.7.6 clears it.

Release by release

  1. 5.2.0

    Deprecation2 Jul 20241 new
    • Deprecated

      clerkClient from @clerk/nextjs should now be called as a function, and its singleton form is deprecated.

    • New

      Introduces dynamic keys from clerkMiddleware, allowing access by server-side helpers like auth. Keys such as signUpUrl, signInUrl, publishableKey and secretKey are securely encrypted using AES algorithm.

1 internal line (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.