@clerk/backend
3.29.0 · 14 Nov 2026MIT8.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/backend From 2.20.1 to 3.29.0
137 releases in betweennotes for 136
Counted from 136 of 137 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
- Deprecated3.22.0
- Deprecated3.16.10
- Deprecated3.14.0
- Deprecated3.12.0
- Deprecated3.12.0
- Deprecated3.7.0
Security
Fixes 1 advisory affecting 2.20.1
- Clerk has an authorization bypass when combining organization, billing, or reverification checkshigh · GHSA-w24r-5266-9c3c
- 3.2.13
Add path traversal protections in
joinPaths
Release by release
- 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: trueoption onclerkMiddleware()to publish Poppy and OAuth protected resource discovery on the application domain. - New
Add
sessions.updateSession()to change when a single session expires, andusers.mergeUser()to merge one user into another. Theuser.mergedwebhook event is now part ofUserWebhookEvent, with a payload typed asUserMergedJSON. - New
Add
selfServeSsoEnabledandselfServeDirectorySyncEnabledto the parameters accepted byupdateOrganization().
- New
- New
JWTs without a
catheader are no longer accepted as session tokens:authenticateRequest()returns signed out (token-type-mismatch) andverifyToken()returnstoken-invalid. This includes OIDCid_tokens issued by Clerk. Tests that sign their own session tokens must addcat: 'cl_B7d4PD111AAA'to the header. - New
Add
startingAftertousers.getUserList()so applications can page through user lists with a cursor.
- New
- New
Add
DirectoryGroupWebhookEventandDirectoryGroupMembershipWebhookEventtoWebhookEvent, soverifyWebhook()narrows thedirectoryGroup.created,directoryGroup.updated,directoryGroup.synced,directoryGroup.deleted,directoryGroupMembership.createdanddirectoryGroupMembership.deletedevents that Directory Sync sends. Their payload types are exported asDirectoryGroupWebhookEventJSON,DirectoryGroupMembershipWebhookEventJSONandDeletedDirectoryGroupMembershipWebhookEventJSON.
- New
3.26.6nothing new or fixed in the note
- New
Add
bcrypt_peppered,md5_salted,pbkdf2_sha512,pbkdf2_sha512_hex,sha256_salted, andsha512_symfonyto thePasswordHashertype, so TypeScript accepts every hasher thecreateUser()JSDoc documents. The JSDoc formd5_saltedandsha256_saltednow also shows thepassword_digestformat the Backend API accepts:hash$salt, notsalt$hash. - Fixed
tslibis no longer installed as a runtime dependency. The published builds never imported it.
- New
3.26.4nothing new or fixed in the note
- 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 thelockUser(),unlockUser(),CreateUserParams.locked, andUser.lockedJSDoc to the current guide on user locks. - Fixed
Session
expireAtandabandonAtno longer special-case a0deadline; the backend now always sends a real deadline.
- Fixed
3.26.2nothing new or fixed in the note
5 other lines we could not sort, mostly version bumps
- 3.14.0
EnterpriseConnectionnow exposesprovider,logoPublicUrl,allowOrganizationAccountLinking,authenticatable,disableJitProvisioning, andcustomAttributes. - 3.14.0
EnterpriseConnectionSamlConnectionnow exposesactive,forceAuthn, andloginHint. - 3.14.0
EnterpriseConnectionOauthConfignow exposesproviderKey,authUrl,tokenUrl,userInfoUrl, andrequiresPkce. - 3.14.0
organizationIdis now normalized tonullwhen the Backend API omits it, matching its declaredstring | nulltype. Properties backed by optional API fields (for exampleoauthConfig.clientIdand the SAML IdP fields) are now typed as possiblyundefinedto match runtime behavior. - 3.12.0
nameanddomainsare now required onCreateEnterpriseConnectionParams. 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.
148 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.