Packages

@clerk/backend

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

Upgrading @clerk/backend From 3.20.1 to 3.29.0

18 releases in betweenevery note read

Other targets from 3.20.1Newest 3.x3.31.4
  1. 3.20.1yours
  2. 17 releases
  3. 3.29.0target
  4. 539 pre

Before you upgrade

Tick each one off as you go
  • Deprecated3.22.0

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

17 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.