Packages

@clerk/clerk-js

6.44.0 · 17 Nov 2026MIT1.5M / weekRepositoryHomepagenpmAtom feed

Your version

6.16.1

11 Jun 2026Where it was published

6.46.3 is the newest release of 6.x.

In short

1 deprecated1 fixed1 internal

  • Deprecated

    Deprecate passing unsafeMetadata to user.update().

Release note

Patch Changes

  • Migrate the build pipeline to tsdown and TypeScript 6.0. This is an internal tooling change with no intended changes to the public API or runtime behavior.

  • Deprecated

    Deprecate passing unsafeMetadata to user.update().

    Use user.updateMetadata() when you want to partially update unsafe metadata with deep-merge semantics:

    await user.updateMetadata({
      unsafeMetadata: { onboardingComplete: true },
    });

    user.update({ unsafeMetadata }) continues to work for now and preserves its existing full-replacement behavior:

    await user.update({
      unsafeMetadata: { theme: 'dark' },
    });

    New code should prefer user.updateMetadata({ unsafeMetadata }) for metadata-only updates.

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.