@clerk/clerk-js
6.44.0 · 17 Nov 2026MIT1.5M / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/clerk-js From 5.128.3 to 6.44.0
95 releases in betweenevery note read
- 17
- changes to make
- 0
- advisories fixed
- 77
- new
- 104
- fixes
Before you upgrade
Tick each one off as you go- Breaking6.15.0
- Breaking6.15.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
Security
- 6.18.0
Update the
preactversion bundled inside the lazily-loaded Coinbase Wallet web3 chunk to 10.27.3, clearing a dependency security advisory. Only the Coinbase web3 wallet code path is affected.
Release by release
- New
Let users whose password was found in a data breach pass reverification by resetting it. Until now the reverification modal only showed the breached-password error, so these users couldn't make any change that needs reverification, including changing that password. The modal now offers "Reset your password": the user sets a new password and enters a code sent to their email or phone, as in sign-in. Their other verification methods stay available.
- New
6.43.1nothing new or fixed in the note
- New
Add a
preferImmediatelyAvailableCredentialsoption tosignIn.authenticateWithPasskey()andsignIn.passkey(). With@clerk/expo-passkeyson iOS 16+ and Android, it limits sign-in to passkeys already on the device, and the request fails without showing the "use a passkey from another device" sheet when there are none. This lets an app prompt for a passkey automatically when its sign-in screen opens. Browsers ignore it. - Fixed
Fix sign-ups failing with "There is no account to transfer" when
handleRedirectCallback()was called again while an earlier call was still running, for example because<SignIn />remounted during the OAuth callback. Calls made while one is running now share its result instead of starting a second transfer.
- New
- Fixed
Fix
getToken()and React Native startup hanging when a Frontend API request never gets a response. In React Native, session token requests now time out after 10 seconds and are retried. In React Native apps that use__experimental_resourceCache, startup requests time out after 7 seconds and Clerk loads from the cached resources. Token requests in browsers are unchanged. - Fixed
Prevent Chrome extensions from loading Device Intelligence scripts from remote URLs.
- Fixed
Fix users occasionally being signed out right after completing sign-up.
setActive({ session })now rejects with a network error instead of signing the user out when it cannot confirm a newly created session.
- Fixed
- Fixed
In
@clerk/expoapps on iOS and Android, Clerk now finishes loading once its requests succeed again after a failed load, such as while Clerk rejects an outdated app version. Previously it stayed failed until the app restarted. - Fixed
Fix sign-ins and sign-ups being blocked by Device Intelligence checks when the same origin served more than one Clerk instance, such as an app moving from development to production keys. The Device Intelligence token is now stored per instance, so a token acquired for one instance is no longer sent to another.
- Fixed
Fixes signing out of all accounts on satellite domains to preserve device recognition when Device Trust and client persistence are enabled. Preserves existing navigation callbacks when cross-domain repair is unavailable, and skips the repair redirect when Device Trust or client persistence is disabled. Malformed redirect URLs no longer prevent the sign-out request.
- Fixed
- Fixed
Keep a Device Intelligence result that arrives after ClerkJS has stopped waiting for it, and use it for the next sign-in or sign-up instead of discarding it. Users on slow connections who retry are less likely to have sign-ups blocked by protections that require a Device Intelligence result.
- Fixed
Wait up to 10 seconds, instead of 5, for the Device Intelligence check to finish before sending a sign-in or sign-up without its result. This applies when an instance hasn't configured its own limit. Users on slow connections are less likely to have sign-ups blocked by protections that require a Device Intelligence result.
- Fixed
Fix
getToken()returning an expired session token when the device clock runs behind and a token is cached again, or a staler token arrives after a fresher one.
- Fixed
- New
Add the optional
slackTeamIdHintworkspace hint to Slack sign-in and sign-up attempts, including redirect, popup, and unified SSO flows.
- New
- New
Add
selfServeDirectorySyncEnabledtoOrganizationResource. Self-serve Directory Sync is now enabled per organization by this setting instead of followingselfServeSSOEnabled. In<OrganizationProfile />, the Security page now appears for organizations that have only Directory Sync enabled, and their admins can manage the connection's directory. Organizations that have self-serve SSO without Directory Sync no longer see the Directory Sync section. - Fixed
Session
expireAtandabandonAtno longer special-case a0deadline; the backend now always sends a real deadline.
- New
13 other lines we could not sort, mostly version bumps
- 6.18.0
Hide the
Verified domainssection when there are no domains and the user lacks permission to add them - 6.18.0
Rename the
Organization profilesection toProfilefor consistency withUserProfile - 6.18.0
Align the enterprise accounts section with the account data
- 6.0.0
Renamed all
__unstable_*methods to__internal_*(for internal APIs) - 6.0.0
Renamed all
experimental__*andexperimental_*methods to__experimental_*(for beta features) - 6.0.0
__unstable__environment→__internal_environment - 6.0.0
__unstable__updateProps→__internal_updateProps - 6.0.0
__unstable__setEnvironment→__internal_setEnvironment - 6.0.0
__unstable__onBeforeRequest→__internal_onBeforeRequest - 6.0.0
__unstable__onAfterResponse→__internal_onAfterResponse
90 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.