Packages

@clerk/shared

4.45.1 · 14 Nov 2026MIT11.8M / weekRepositorynpmAtom feed

Upgrading @clerk/shared From 3.47.6 to 3.48.1

4 releases in betweenevery note read

Other targets from 3.47.6Latest4.45.1
0
changes to make
0
advisories fixed
2
new
3
fixes

Release by release

  1. 3.48.1

    11 Nov 20261 fix
    • 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 reason token-type-mismatch for such a token in the Authorization header or __session cookie. Tokens with no category tag are unaffected.

  2. 3.48.0

    18 Sep 20261 new
    • New

      Internal improvements to Clerk Protect. No action is required.

  3. 3.47.8

    13 Jul 20261 fix
    • 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 like useUser() keeping the cookie-derived stub user after full user data arrives. Adds a timeLimit utility to @clerk/shared/utils that optionally aborts an AbortController on timeout.

  4. 3.47.7

    27 May 20261 new · 1 fix
    • New

      Add oiat (original_issued_at) field to JwtHeader type for Session Minter monotonic token freshness checks.

    • Fixed

      Send previous session token on /tokens requests to support Session Minter edge token minting.

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.