Packages

@clerk/backend

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

Upgrading @clerk/backend From 1.34.0 to 2.0.0

1 release in betweenevery note read

Other targets from 1.34.0Latest3.29.0
  1. 1.34.0yours
  2. 2.0.0target
  3. 30 pre
1
change to make
0
advisories fixed
2
new
2
fixes

Before you upgrade

Tick each one off as you go
  • Breaking2.0.0

Security

Release by release

  1. 2.0.0

    Migration needed4 Jun 20252 new · 2 fixes
    • Breaking

      Introduces machine authentication, supporting four token types: api_key, oauth_token, machine_token, and session_token. For backwards compatibility, session_token remains the default when no token type is specified. This enables machine-to-machine authentication and use cases such as API keys and OAuth integrations. Existing applications continue to work without modification.

    • New

      The svix dependency is no longer needed when using the verifyWebhook() function. verifyWebhook() was refactored to not rely on svix anymore while keeping the same functionality and behavior.

    • New

      Introduce getAuthObjectFromJwt as internal utility function that centralizes the logic for generating auth objects from session JWTs.

    • Fixed

      Improve JSDoc comments for verifyWebhook and verifyToken

    • Fixed

      Improve JSDoc comments

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