Packages

@clerk/backend

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

Upgrading @clerk/backend From 3.2.13 to 3.29.0

84 releases in betweenevery note read

Other targets from 3.2.13Newest 3.x3.31.4Clears its advisory3.2.14
  1. 3.2.13yours
  2. 83 releases
  3. 3.29.0target
  4. 788 pre

Before you upgrade

Tick each one off as you go
  • Deprecated3.22.0
  • Deprecated3.16.10
  • Deprecated3.14.0
  • Deprecated3.12.0
  • Deprecated3.12.0
  • Deprecated3.7.0
  • Deprecated3.7.0
  • Deprecated3.4.11

Security

Release by release

  1. 3.29.0

    14 Nov 20264 new
    • New

      Fetch the Poppy JSON artifact with the Clerk-defined clerkClient.artifacts.getPoppyJson() method.

    • New

      Add support for Personal Agent Protocol signed-in browser sessions. Enable the Clerk-defined poppy: true option on clerkMiddleware() to publish Poppy and OAuth protected resource discovery on the application domain.

    • New

      Add sessions.updateSession() to change when a single session expires, and users.mergeUser() to merge one user into another. The user.merged webhook event is now part of UserWebhookEvent, with a payload typed as UserMergedJSON.

    • New

      Add selfServeSsoEnabled and selfServeDirectorySyncEnabled to the parameters accepted by updateOrganization().

  2. 3.28.0

    12 Nov 20262 new
    • New

      JWTs without a cat header are no longer accepted as session tokens: authenticateRequest() returns signed out (token-type-mismatch) and verifyToken() returns token-invalid. This includes OIDC id_tokens issued by Clerk. Tests that sign their own session tokens must add cat: 'cl_B7d4PD111AAA' to the header.

    • New

      Add startingAfter to users.getUserList() so applications can page through user lists with a cursor.

  3. 3.27.0

    5 Nov 20261 new
    • New

      Add DirectoryGroupWebhookEvent and DirectoryGroupMembershipWebhookEvent to WebhookEvent, so verifyWebhook() narrows the directoryGroup.created, directoryGroup.updated, directoryGroup.synced, directoryGroup.deleted, directoryGroupMembership.created and directoryGroupMembership.deleted events that Directory Sync sends. Their payload types are exported as DirectoryGroupWebhookEventJSON, DirectoryGroupMembershipWebhookEventJSON and DeletedDirectoryGroupMembershipWebhookEventJSON.

  4. 3.26.6nothing new or fixed in the note

  5. 3.26.5

    30 Oct 20261 new · 1 fix
    • New

      Add bcrypt_peppered, md5_salted, pbkdf2_sha512, pbkdf2_sha512_hex, sha256_salted, and sha512_symfony to the PasswordHasher type, so TypeScript accepts every hasher the createUser() JSDoc documents. The JSDoc for md5_salted and sha256_salted now also shows the password_digest format the Backend API accepts: hash$salt, not salt$hash.

    • Fixed

      tslib is no longer installed as a runtime dependency. The published builds never imported it.

  6. 3.26.4nothing new or fixed in the note

  7. 3.26.3

    26 Oct 20262 fixes
    • Fixed

      Update the lockUser() JSDoc to link to the Protections page under Protect (/~/protect/protections) in the Clerk Dashboard. Point the user lock links in the lockUser(), unlockUser(), CreateUserParams.locked, and User.locked JSDoc to the current guide on user locks.

    • Fixed

      Session expireAt and abandonAt no longer special-case a 0 deadline; the backend now always sends a real deadline.

  8. 3.26.2nothing new or fixed in the note

5 other lines we could not sort, mostly version bumps
  • EnterpriseConnection now exposes provider, logoPublicUrl, allowOrganizationAccountLinking, authenticatable, disableJitProvisioning, and customAttributes.

    3.14.0
  • EnterpriseConnectionSamlConnection now exposes active, forceAuthn, and loginHint.

    3.14.0
  • EnterpriseConnectionOauthConfig now exposes providerKey, authUrl, tokenUrl, userInfoUrl, and requiresPkce.

    3.14.0
  • organizationId is now normalized to null when the Backend API omits it, matching its declared string | null type. Properties backed by optional API fields (for example oauthConfig.clientId and the SAML IdP fields) are now typed as possibly undefined to match runtime behavior.

    3.14.0
  • name and domains are now required on CreateEnterpriseConnectionParams. The Backend API already rejected requests missing either of them, so calls that omitted these fields failed at runtime; the types now surface this at compile time.

    3.12.0

76 internal lines (docs, tests, tooling) left out.

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.