Packages

@clerk/backend

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

Your version

2.6.1

29 Jul 2025Where it was published

2.33.9 is the newest release of 2.x.

In short

1 new2 fixed2 internal

Security

1 advisory affects 2.6.1; 2.33.3 fixes them

Release note

Patch Changes

  • Adds scoping and secret key retrieval to machines BAPI methods:

    // Creates a new machine scope
    clerkClient.machines.createScope('machine_id', 'to_machine_id');
    
    // Deletes a machine scope
    clerkClient.machines.deleteScope('machine_id', 'other_machine_id');
    
    // Retrieve a secret key
    clerkClient.machines.getSecretKey('machine_id');
  • Fix SAML Connection attributeMapping keys not being converted from camelCase to snake_case.

  • Fixes an issue where the Clerk SDK was improperly detecting the request's origin.

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.