Packages

@clerk/backend

3.29.0 · 14 Nov 2026MIT8.4M / weekRepositoryHomepagenpmAtom feed

Your version

1.33.0

22 May 2025Where it was published

1.34.0 is the newest release of 1.x.

In short

1 new1 fixed1 internal

Release note

Minor Changes

  • Introduce treatPendingAsSignedOut option to getAuth

    // `pending` sessions will be treated as signed-out by default
    const { userId } = getAuth(req);
    // Both `active` and `pending` sessions will be treated as authenticated when `treatPendingAsSignedOut` is false
    const { userId } = getAuth(req, { treatPendingAsSignedOut: false });

Patch Changes

  • Fixes an issue with infinite redirect detection in the handshake flow.

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.