@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
- 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
- 3.2.13
Add path traversal protections in
joinPaths
Release by release
- 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
- Fixed
Stop accepting the legacy
cl_I7d4PD111IIIJWT category as a session or handshake token. Clerk no longer issues it, soauthenticateRequest()now returns a signed-out state with reasontoken-type-mismatchfor a token carrying it, the same as for other non-session categories.
- Fixed
- New
Add webhook types for transactional email delivery, delays, bounces, complaints, failures, and suppressions. Bounce events distinguish
Permanent,Transient, andUndeterminedclassifications.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.
- New
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.
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.