Packages

@clerk/backend

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

Your version

2.2.0

23 Jun 2025Where it was published

2.33.9 is the newest release of 2.x.

In short

3 new1 faster2 internal

Security

2 advisories affect 2.2.0; 2.33.3 fixes them

Release note

Minor Changes

  • Add support for expiresInSeconds parameter in session token generation. This allows setting custom expiration times for tokens both with and without templates via the backend API.

  • Optimize auth() calls to avoid unnecessary verification calls when the provided token type is not in the acceptsToken array.

    • Add handling for invalid token types when acceptsToken is an array in authenticateRequest(): now returns a clear unauthenticated state (tokenType: null) if the token is not in the accepted list.

  • Introduce API keys Backend SDK methods

Patch Changes

  • Add logic to ensure that we consider the proxy_url when creating the frontendApi url.

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.