Packages

@clerk/express

2.1.90 · 14 Nov 2026MIT604.4k / weekRepositoryHomepagenpmAtom feed

Your version

2.1.15

8 May 2026Where it was published

2.1.98 is the newest release of 2.x.

In short

1 fixed2 internal

Release note

Patch Changes

  • Forward all AuthenticateRequestOptions and VerifyTokenOptions passed to clerkMiddleware() through to the backend authenticateRequest() call. Previously only a hand-picked subset was forwarded, so options like organizationSyncOptions, skipJwksCache, and headerType were accepted by the TypeScript types but silently ignored at runtime — the same class of bug that caused clockSkewInMs to be dropped.

    Additionally, when apiUrl or apiVersion are passed to clerkMiddleware() and no custom clerkClient is supplied, the middleware now builds a per-middleware ClerkClient configured with those values instead of using the env-only default singleton. This is required because @clerk/backend pins apiUrl/apiVersion at client construction time and ignores runtime overrides on authenticateRequest(). Passing your own clerkClient continues to take precedence.

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.