@clerk/express
2.1.90 · 14 Nov 2026MIT604.4k / weekRepositoryHomepagenpmAtom feed
2.1.98 is the newest release of 2.x.
In short
1 fixed2 internal
Release note
Patch Changes
Forward all
AuthenticateRequestOptionsandVerifyTokenOptionspassed toclerkMiddleware()through to the backendauthenticateRequest()call. Previously only a hand-picked subset was forwarded, so options likeorganizationSyncOptions,skipJwksCache, andheaderTypewere accepted by the TypeScript types but silently ignored at runtime — the same class of bug that causedclockSkewInMsto be dropped.Additionally, when
apiUrlorapiVersionare passed toclerkMiddleware()and no customclerkClientis supplied, the middleware now builds a per-middlewareClerkClientconfigured with those values instead of using the env-only default singleton. This is required because@clerk/backendpinsapiUrl/apiVersionat client construction time and ignores runtime overrides onauthenticateRequest(). Passing your ownclerkClientcontinues 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.