@clerk/shared
4.45.1 · 14 Nov 2026MIT11.8M / weekRepositorynpmAtom feed
Upgrading @clerk/shared From 3.47.4 to 3.48.1
6 releases in betweennotes for 5
- ?
- changes to make
- 1
- advisory fixed
- 2+
- new
- 3+
- fixes
Counted from 5 of 6 release notes. Advisories are counted from the advisory database, in full.
Security
Fixes 1 advisory affecting 3.47.4
- Clerk has an authorization bypass when combining organization, billing, or reverification checkshigh · GHSA-w24r-5266-9c3c
- 3.47.6
Bump
js-cookieto3.0.7to address GHSA-qjx8-664m-686j.
Release by release
- Fixed
Reject JWTs of another category, such as JWT templates, M2M tokens and OIDC ID tokens, where a session or handshake token is expected.
authenticateRequest()now returns a signed-out state with reasontoken-type-mismatchfor such a token in theAuthorizationheader or__sessioncookie. Tokens with no category tag are unaffected.
- Fixed
- New
Internal improvements to Clerk Protect. No action is required.
- New
- Fixed
Fail fast when the Clerk Frontend API (FAPI) is slow or unreachable during load. The client request and the load-recovery token mint are now bounded by a timeout, and the timed-out client request is aborted instead of being left in flight. A cold
Clerk.load()renders identity from a freshly minted session token (falling back to the session cookie if the mint fails) in seconds instead of hanging while retries run. After a degraded load, the client is re-fetched in the background without a time limit, so a slow-but-healthy origin recovers full client data (user profile, other sessions) without a reload. Also fixes hooks likeuseUser()keeping the cookie-derived stub user after full user data arrives. Adds atimeLimitutility to@clerk/shared/utilsthat optionally aborts anAbortControlleron timeout.
- Fixed
- New
Add
oiat(original_issued_at) field toJwtHeadertype for Session Minter monotonic token freshness checks. - Fixed
Send previous session token on
/tokensrequests to support Session Minter edge token minting.
- New
- Security
Bump
js-cookieto3.0.7to address GHSA-qjx8-664m-686j.
- Security
3.47.5no release note
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.