@clerk/backend
3.29.0 · 14 Nov 2026MIT8.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/backend From 3.30.0 to 3.31.4
5 releases in betweenevery note read
Release by release
- Fixed
Fix
debug()returning empty values on the auth object you get back when a request's token type doesn't matchacceptsToken. It now returns the same redacted debug data as the original auth object. - Fixed
authenticateRequest()now logs a warning whenacceptsTokenis set to an invalid value. A future major version will throw an error instead. - Fixed
Fix
auth().debug()in route handlers not redacting its data for requests authenticated with an M2M token, OAuth token or API key. Debug data is now redacted the same way as for session tokens.
- Fixed
3.31.1 – 3.31.33 releases, nothing new or fixed in the notes
- New
Add
transactional_email_blockedto theClerkPolicyreasons of theemail.suppressedwebhook event type. Clerk sends this reason when a queued transactional email is suppressed because sending was blocked for the instance. - New
Add an optional
secondFactorVerificationparameter ('fresh' | 'stale') tocreateSignInToken(), which lets a user with a second factor enabled complete the sign-in without being prompted for it.expiresInSecondsis now optional. - Fixed
users.getUserList()no longer waits for the user count when the page it lists already shows the total: a page with fewer users than itslimit, or no users at all. The count can be slow for a search over many users, and before this changegetUserList()failed whenever the count did. Both requests are still sent together, so a page that fills itslimittakes as long as before.
- New
5 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.