Packages

@clerk/clerk-js

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

Your version

5.27.0

17 Oct 2024Where it was published

5.128.3 is the newest release of 5.x.

In short

5 new1 fixed3 internal

Security

Release note

Minor Changes

  • Drop maxAgeMinutes from __experimental_startVerification.

    Drop types __experimental_SessionVerificationConfig and __experimental_SessionVerificationMaxAgeMinutes.

  • The "Restricted access" screen has been improved for visual consistency and the ability to contact support. The displayed texts have been made more clear and the sign-in button has been moved to the bottom.

  • Add experimental standalone mode for <UserButton /> and <OrganizationSwitcher />.

    When __experimental_asStandalone: true the component will not render its trigger, and instead it will render only the contents of the popover in place.

    APIs that changed:

    • (For internal usage) Added __experimental_prefetchOrganizationSwitcher as a way to mount an internal component that will render the useOrganizationList() hook and prefetch the necessary data for the popover of <OrganizationSwitcher />. This enhances the UX since no loading state will be visible and keeps CLS to the minimum.

    • New property for mountOrganizationSwitcher(node, { __experimental_asStandalone: true })

    • New property for mountUserButton(node, { __experimental_asStandalone: true })

  • Use EIP-4361 message spec for Web3 wallets sign in signature requests

Patch Changes

  • Retry with exponential backoff if loadScript fails to load the script

  • Add the ?render=explicit query parameter to the Turnstile script.

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.