@clerk/clerk-js
6.44.0 · 17 Nov 2026MIT1.5M / weekRepositoryHomepagenpmAtom feed
4.73.14 is the newest release of 4.x.
In short
6 deprecated6 new5 fixed3 internal
- Deprecated
MagicLinkError - Deprecated
isMagicLinkError - Deprecated
MagicLinkErrorCode - Deprecated
handleMagicLinkVerification - Deprecated
createMagicLinkFlow - Deprecated
useMagicLink
Security
1 advisory affects 4.61.0; 5.89.0 fixes them
- ModerateClerk-js vulnerable to bypass of OAuth authentication flow by manipulating request at OTP verification stageGHSA-3mm3-wfpv-q85g · 20 Nov 2025Fixed in 5.89.0
Release note
Minor Changes
The sign-in form will now switch to the phone input if the only initial value provided was that of the phone number.
Add support for LinkedIn OIDC
Patch Changes
Warn about MagicLink deprecations:
MagicLinkErrorisMagicLinkErrorMagicLinkErrorCodehandleMagicLinkVerificationcreateMagicLinkFlowuseMagicLink
Updated the OAuth buttons in the SignIn and SignUp components to prevent layout shifts while loading.
Introduces a new
isAuthorized()method in theSessionclass. Returns a promise and checks whether the active user is allowed to perform an action based on the passed (required) permission and the ones attached to the membership.Introduce a new property on the core Clerk singleton,
sdkMetadata. This will be populated by each host SDK. This metadata will be used to make logging and debugging easier.Fix incorrect path of types for the clerk-js headless variant.
Throw an error if the
signInUrlis on the same origin of a satellite application or if it is of invalid formatIntroduces an internal
<Gate/>component (supporting hook and HOC) which enables us to conditionally render parts of our components based on a users permissions.Correctly set idle card state when an error occurs during the MFA set up phase.
Introduce new
*EmailLink*helpers that will replace the*MagicLink*helpers.Also marked all the
*MagicLink*as deprecated using JSDocs.Disable country picker button when form is submitted
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.