Packages

@clerk/nextjs

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

Upgrading @clerk/nextjs From 5.2.4 to 5.2.5

1 release in betweenevery note read

Other targets from 5.2.4Newest 5.x, Clears its advisory5.7.6Latest7.10.2
  1. 5.2.4yours
  2. 5.2.5target
0
changes to make
0
advisories fixed
0
new
3
fixes

Security

1 advisory still affects 5.2.5

Upgrading to 5.7.6 clears it.

Release by release

  1. 5.2.5

    23 Jul 20243 fixes
    • Fixed

      Fixes regression on @clerk/nextjs/server (introduced on #3758) where server-only module was being resolved in runtimes without react-server available, such as getAuth on getServerSideProps.

    • Fixed

      Return build-time error if auth and currentUser server-side helpers are imported into Client Components.

    • Fixed

      Stop throwing "Error: Clerk: auth() was called but Clerk can't detect usage of authMiddleware()." errors when no user action is needed by removing sourcemaps for all Clerk-bundled server actions.

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.