Packages

@clerk/clerk-js

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

Upgrading @clerk/clerk-js From 5.128.1 to 6.42.2

93 releases in betweenevery note read

Other targets from 5.128.1Newest 5.x5.128.3Latest6.44.0
  1. 5.128.1yours
  2. 2 releases
  3. 6.0.0major
  4. 30 releases
  5. 6.15.0breaking
  6. 3 releases
  7. 6.18.0security
  8. 54 releases
  9. 6.42.2target
  10. 697 pre

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

  • Update the preact version 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.

    6.18.0

Release by release

  1. 6.42.2

    3 Nov 20263 fixes
    • Fixed

      In @clerk/expo apps 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.

  2. 6.42.1

    30 Oct 20263 fixes
    • 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.

  3. 6.42.0

    27 Oct 20261 new
    • New

      Add the optional slackTeamIdHint workspace hint to Slack sign-in and sign-up attempts, including redirect, popup, and unified SSO flows.

  4. 6.41.0

    26 Oct 20261 new · 1 fix
    • New

      Add selfServeDirectorySyncEnabled to OrganizationResource. Self-serve Directory Sync is now enabled per organization by this setting instead of following selfServeSSOEnabled. 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 expireAt and abandonAt no longer special-case a 0 deadline; the backend now always sends a real deadline.

  5. 6.40.1

    23 Oct 20261 fix
    • Fixed

      Keep a session's expireAt and abandonAt at Unix epoch zero when the session has no maximum lifetime, instead of falling back to the current time.

  6. 6.40.0

    20 Oct 20261 new
    • New

      Support passkeys as a second factor during sign-in and session reverification.

  7. 6.39.1

    16 Oct 20262 fixes
    • Fixed

      Fix oidcPrompt being ignored for OAuth strategies in signIn.sso() and signIn.authenticateWithRedirect(). The value is now sent when the sign-in is created, so a prompt such as select_account reaches the OAuth provider.

    • Fixed

      session.getToken() no longer skips the network request when navigator.onLine reports false. Some environments, such as Chrome behind certain VPN clients, can report offline while the network works, which caused every token refresh to fail with clerk_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 as ClerkOfflineError. 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.

  8. 6.39.0

    9 Oct 20262 new
    • 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 the org:sys_memberships:manage permission and while the organization's role set is being migrated.

    • New

      Add an enterpriseConnectionsUrl option to handleRedirectCallback() 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 the enterprise-connections route of your sign-up page.

13 other lines we could not sort, mostly version bumps
  • Hide the Verified domains section when there are no domains and the user lacks permission to add them

    6.18.0
  • Rename the Organization profile section to Profile for consistency with UserProfile

    6.18.0
  • Align the enterprise accounts section with the account data

    6.18.0
  • Renamed all __unstable_* methods to __internal_* (for internal APIs)

    6.0.0
  • Renamed all experimental__* and experimental_* 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

    6.0.0

88 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.