Packages

@clerk/backend

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

Upgrading @clerk/backend From 1.34.0 to 3.27.0

184 releases in betweennotes for 183

Other targets from 1.34.0Latest3.29.0
  1. 1.34.0yours
  2. 2.0.0major
  3. 31 releases
  4. 2.14.0breaking
  5. 54 releases
  6. 3.0.0major
  7. 1 release
  8. 3.0.2breaking
  9. 11 releases
  10. 3.2.13security
  11. 81 releases
  12. 3.27.0target
  13. 771 pre
18+
changes to make
0
advisories fixed
110+
new
104+
fixes

Counted from 183 of 184 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking3.0.2
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking2.14.0
  • Breaking2.0.0
  • Deprecated3.22.0
  • Deprecated3.16.10
  • Deprecated3.14.0
  • Deprecated3.12.0

Security

  • Add path traversal protections in joinPaths

    3.2.13

Release by release

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

  2. 3.26.6nothing new or fixed in the note

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

  4. 3.26.4nothing new or fixed in the note

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

  6. 3.26.2nothing new or fixed in the note

  7. 3.26.1

    21 Oct 20261 fix
    • Fixed

      Stop accepting the legacy cl_I7d4PD111III JWT category as a session or handshake token. Clerk no longer issues it, so authenticateRequest() now returns a signed-out state with reason token-type-mismatch for a token carrying it, the same as for other non-session categories.

  8. 3.26.0

    20 Oct 20261 new · 1 fix
    • New

      Add webhook types for transactional email delivery, delays, bounces, complaints, failures, and suppressions. Bounce events distinguish Permanent, Transient, and Undetermined classifications. verifyWebhook() preserves the original event timestamp and instance ID for outcome handlers. These types prepare for the transactional email pilot; receiving the events requires the corresponding backend rollout.

    • Fixed

      Clarify issuer validation for session tokens and document that machine token verification ignores the issuer option.

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

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