Packages

@clerk/backend

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

Upgrading @clerk/backend From 0.25.1 to 3.29.0

367 releases in betweennotes for 364

Other targets from 0.25.1Newest 0.x0.38.15
  1. 0.25.1yours
  2. 0.26.0major
  3. 0.27.0major
  4. 0.28.0major
  5. 1 release
  6. 0.29.0major
  7. 3 releases
  8. 0.30.0major
  9. 3 releases
  10. 0.31.0major
  11. 3 releases
  12. 0.32.0major
  13. 1 release
  14. 0.33.0major
  15. 0.34.0major
  16. 3 releases
  17. 0.35.0major
  18. 1 release
  19. 0.36.0major
  20. 1 release
  21. 0.37.0major
  22. 3 releases
  23. 0.38.0major
  24. 15 releases
  25. 1.0.0major
  26. 133 releases
  27. 2.0.0major
  28. 86 releases
  29. 3.0.0major
  30. 13 releases
  31. 3.2.13security
  32. 83 releases
  33. 3.29.0target
  34. 870 pre
51+
changes to make
0
advisories fixed
222+
new
179+
fixes

Counted from 364 of 367 release notes, and the breaking changes of 6 pre-releases on the way to a major. Advisories are counted from the advisory database, in full.

Start here

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
  • Breaking1.0.0-alpha-v5.9
  • Breaking1.0.0-alpha-v5.10
  • Breaking1.0.0-alpha-v5.10
  • Breaking1.0.0-alpha-v5.10

Security

  • Add path traversal protections in joinPaths

    3.2.13

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

9 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
  • 💅 Redesigned and improved component UIs.

    1.0.0
  • 🔪 The 401 & "flash of white page" that was visible sometimes when syncing auth state was eliminated.

    1.0.0
  • 🧹 A large number of smaller housekeeping changes, bugfixes, and improvements.

    1.0.0
  • 📊 Telemetry to allow us to better determine feature usage and priority (easy opt-out if you don't like this)

    1.0.0

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