Packages

@clerk/clerk-js

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

Your version

4.65.0

9 Nov 2023Where it was published

4.73.14 is the newest release of 4.x.

In short

3 new8 fixed3 internal

Security

1 advisory affects 4.65.0; 5.89.0 fixes them

Release note

Minor Changes

  • Add support for custom roles in <OrganizationProfile/>.

    The previous roles (admin and basic_member), are still kept as a fallback.

  • Experimental support for <Gate/> with role checks.

  • Handle user_locked error encountered in an oauth flow by redirecting to /sign-up or /sign-in

  • Add a private __navigateWithError util function to clerk for use in User Lockout scenarios

Patch Changes

  • Fix incorrect pagination counters in data tables inside <OrganizationProfile/>.

  • Use strict equality operator to check for lockout errors in handleRedirectCallback

  • Rename the @staging tag to @canary. Drop support for @next tag.

  • Emit session when permissions or role of the active memberships change.

  • Enhance CreateOrganizationForm by replacing AvatarPreview with an upload button to prevent layout shifts

  • Re-initialize the Client to default values when is destroyed

  • Refresh invited members upon revocation

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.