Packages

@clerk/clerk-js

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

Upgrading @clerk/clerk-js From 5.128.3 to 6.0.0

1 release in betweenevery note read

Other targets from 5.128.3Latest6.44.0
  1. 5.128.3yours
  2. 6.0.0target
  3. 30 pre

Before you upgrade

Tick each one off as you go
  • Breaking6.0.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
  • Breaking6.0.0

Security

Release by release

  1. 6.0.0

    Migration needed3 Mar 202620 new · 18 fixes
    • Breaking

      Removed deprecated billing-related props (__unstable_manageBillingUrl, __unstable_manageBillingLabel, __unstable_manageBillingMembersLimit) and experimental__forceOauthFirst

    • Breaking

      Add proactive session token refresh. Tokens are now automatically refreshed in the background before they expire, reducing latency for API calls near token expiration.

    • Breaking

      Updated returned values of Clerk.checkout() and useCheckout.

    • Breaking

      Remove deprecated saml property from UserSettings in favor of enterpriseSSO

10 other lines we could not sort, mostly version bumps
  • 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
  • __unstable__onBeforeSetActive → __internal_onBeforeSetActive (window global)

    6.0.0
  • __unstable__onAfterSetActive → __internal_onAfterSetActive (window global)

    6.0.0
  • getToken() now throws ClerkOfflineError instead of returning null when the client is offline.

    6.0.0

1 internal line (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.