@clerk/clerk-js
6.44.0 · 17 Nov 2026MIT1.5M / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/clerk-js From 4.73.14 to 6.42.2
350 releases in betweennotes for 347
Counted from 347 of 350 release notes. Advisories are counted from the advisory database, in full.
Start here
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
Fixes 1 advisory affecting 4.73.14
- Clerk-js vulnerable to bypass of OAuth authentication flow by manipulating request at OTP verification stagemoderate · GHSA-3mm3-wfpv-q85g
- 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. - 5.52.2
Update
@coinbase/wallet-sdkdependency to4.3.0, to resolve SDK Security Advisory - 5.26.2
Updates webpack to address CVE-2024-43788.
Release by release
- 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
- Fixed
Keep a session's
expireAtandabandonAtat Unix epoch zero when the session has no maximum lifetime, instead of falling back to the current time.
- Fixed
- New
Support passkeys as a second factor during sign-in and session reverification.
- New
- Fixed
Fix
oidcPromptbeing ignored for OAuth strategies insignIn.sso()andsignIn.authenticateWithRedirect(). The value is now sent when the sign-in is created, so a prompt such asselect_accountreaches the OAuth provider. - Fixed
session.getToken()no longer skips the network request whennavigator.onLinereportsfalse. Some environments, such as Chrome behind certain VPN clients, can report offline while the network works, which caused every token refresh to fail withclerk_offline. HTTP errors from the Frontend API, including ones with non-JSON bodies such as a proxy's HTML 502, are now surfaced as-is instead of being relabeled asClerkOfflineError. When a resource cache is configured (e.g. Expo), a 5xx response during startup now falls back to the cached resources, and non-JSON 5xx responses no longer clear the Chrome extension's stored development browser token.
- Fixed
- New
Add a role mapping step to the self-serve Directory Sync setup in
<OrganizationProfile />. Organization admins can now assign an organization role to each directory group their identity provider pushes, set which group wins when a member belongs to several, and turn role syncing on or off. Members in no mapped group keep the organization's default role. The step is read-only for members without theorg:sys_memberships:managepermission and while the organization's role set is being migrated. - New
Add an
enterpriseConnectionsUrloption tohandleRedirectCallback()and<AuthenticateWithRedirectCallback />. When the Clerk API asks an OAuth sign-up to choose between several enterprise connections for the same email domain, the callback navigates to this URL, which defaults to theenterprise-connectionsroute of your sign-up page.
- New
23 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
628 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.