Packages

@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

0
changes to make
0
advisories fixed
2
new
4
fixes

Release by release

  1. 3.31.4

    20 Nov 20263 fixes
    • Fixed

      Fix debug() returning empty values on the auth object you get back when a request's token type doesn't match acceptsToken. It now returns the same redacted debug data as the original auth object.

    • Fixed

      authenticateRequest() now logs a warning when acceptsToken is 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.

  2. 3.31.1 – 3.31.33 releases, nothing new or fixed in the notes

  3. 3.31.0

    18 Nov 20262 new · 1 fix
    • New

      Add transactional_email_blocked to the ClerkPolicy reasons of the email.suppressed webhook event type. Clerk sends this reason when a queued transactional email is suppressed because sending was blocked for the instance.

    • New

      Add an optional secondFactorVerification parameter ('fresh' | 'stale') to createSignInToken(), which lets a user with a second factor enabled complete the sign-in without being prompted for it. expiresInSeconds is 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 its limit, or no users at all. The count can be slow for a search over many users, and before this change getUserList() failed whenever the count did. Both requests are still sent together, so a page that fills its limit takes as long as before.

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.