Packages

@clerk/nextjs

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

Your version

7.9.15

13 Oct 2026Where it was published

7.10.7 is the newest release of 7.x.

In short

2 fixed

Release note

The section about @clerk/nextjs of a note shared by several packages.

Patch Changes

  • Fix auth.protect() skipping authorization checks for machine tokens. The role, permission, feature, plan, and reverification params and the predicate callback are now evaluated for API key, OAuth token, and M2M token requests. Param-based checks respond with a 401 for those requests.

  • Fix getAuth() and auth() returning OAuth and M2M tokens as signed-in user sessions. They now return a signed-out state for machine tokens. To authenticate OAuth or M2M tokens on a route, use auth({ acceptsToken }).

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.