Packages

@clerk/backend

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

Upgrading @clerk/backend From 0.16.0 to 3.29.0

392 releases in betweennotes for 387

Other targets from 0.16.0Newest 0.x0.38.15
  1. 0.16.0yours
  2. 2 releases
  3. 0.17.0major
  4. 2 releases
  5. 0.18.0major
  6. 1 release
  7. 0.19.0major
  8. 2 releases
  9. 0.20.0major
  10. 1 release
  11. 0.21.0major
  12. 0.22.0major
  13. 0.23.0major
  14. 7 releases
  15. 0.24.0major
  16. 0.25.0major
  17. 1 release
  18. 0.26.0major
  19. 0.27.0major
  20. 0.28.0major
  21. 1 release
  22. 0.29.0major
  23. 3 releases
  24. 0.30.0major
  25. 3 releases
  26. 0.31.0major
  27. 3 releases
  28. 0.32.0major
  29. 1 release
  30. 0.33.0major
  31. 0.34.0major
  32. 3 releases
  33. 0.35.0major
  34. 1 release
  35. 0.36.0major
  36. 1 release
  37. 0.37.0major
  38. 3 releases
  39. 0.38.0major
  40. 15 releases
  41. 1.0.0major
  42. 133 releases
  43. 2.0.0major
  44. 86 releases
  45. 3.0.0major
  46. 13 releases
  47. 3.2.13security
  48. 83 releases
  49. 3.29.0target
  50. 870 pre
52+
changes to make
0
advisories fixed
232+
new
185+
fixes

Counted from 387 of 392 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

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