Packages

@clerk/clerk-js

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

Your version

5.59.0

3 Apr 2025Where it was published

5.128.3 is the newest release of 5.x.

In short

4 new9 fixed3 internal

Security

Release note

Minor Changes

  • Improve session refresh logic.

    • Switched from interval-based polling to timeout-based polling, ensuring retries for a getToken() call complete before the next poll begins.

    • Clerk.handleUnauthenticated() now sets the session to null when a /client request returns a 500 status code, preventing infinite request loops.

    • Improved error handling: If the /client request fails during initialization, the poller stops, a dummy client is created, a manual request to /tokens is attempted, and polling resumes.

  • Expose retryAfter value on ClerkAPIResponseError for 429 responses.

Patch Changes

  • Remove non-actionable error from Session poller.

  • Treat pending sessions as signed-out by default in Clerk.isSignedIn

  • Add v0 preview domain to opt-in to pop-up auth flow

  • Fix sign in prepare first factor cache key

  • Create a utility that implements Promise.allSettled with ES6/ES2015 compatibility.

  • Remove usage of <PlanCard /> from <SubscriptionDetailDrawer />.

  • Add payment source section to UserProfile

  • Update secured by clerk link URL.

  • Emit captcha errors if the turnstile fails to execute

  • Sorting available factors so factors with primary will always be on top

    • Allows to set primary phone number action when reverification is enabled

  • Filters out non supported strategies for reverification

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.