Packages

@clerk/nextjs

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

Your version

6.29.0

6 Aug 2025Where it was published

6.39.9 is the newest release of 6.x.

In short

1 new1 fixed4 internal

Security

2 advisories affect 6.29.0; 6.39.3 fixes them

Release note

Minor Changes

  • Stricter return type of useCheckout to improve inference of other properties.

Patch Changes

  • Propagate treatPendingAsSignedOut to auth from clerkMiddleware

    export default clerkMiddleware(async (auth, req) => {
      // If the session has a `pending` status, `userId` will be `null` by default, treated as a signed-out state
      const { userId } = await auth();
    });
    export default clerkMiddleware(async (auth, req) => {
      // If the session has a `pending` status, `userId` will be defined, treated as a signed-in state
      const { userId } = await auth({ treatPendingAsSignedOut: false });
    });

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.