Packages

@clerk/clerk-js

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

Your version

5.64.0

6 May 2025Where it was published

5.128.3 is the newest release of 5.x.

In short

8 new19 fixed3 internal

Security

Release note

Minor Changes

  • Mark commerce apis as stable

  • Expose Clerk Billing APIs.

Render the pricing table component

-   `Clerk.mountPricingTable`  
-   `Clerk.unmountPricingTable`

Manage payment methods

-   `Clerk.[user|organization].initializePaymentSource()`  
-   `Clerk.[user|organization].addPaymentSource()`  
-   `Clerk.[user|organization].getPaymentSources()`

Billing namespace

- **Clerk.billing:** `Clerk.billing.getPlans()`  
- **Clerk.billing:** `Clerk.billing.getSubscriptions()`  
- **Clerk.billing:** `Clerk.billing.getInvoices()`  
- **Clerk.billing:** `Clerk.billing.startCheckout()`

Patch Changes

  • Move credit at the top-level and remove proration property

  • Add support for switching to the free plan

  • Only allow members with org:sys_billing:manage to manage billing for an Organization

  • Replace Toggle component with Switch component in active subscription drawer

  • Introduce <Tooltip /> primitive

  • Move <__experimental_PaymentSources /> component under Billing -> Subscriptions tab and delete Payment methods tab

  • Rename __experimental_nextTask to __experimental_navigateToTask

  • Fix interactive turnstile layout issue on SSO callback.

  • Introduce checkoutContinueUrl option.

  • Show a localized message for all errors returned from the backend if the user tries to perform an invalid plan change.

  • Always revalidate when checkout drawer opens

  • Adjusts the layout of the PricingTable plan cards

  • Add entry animations to CheckoutComplete component to smooth our the transition between checking out to successful state.

  • Allow switching from an existing monthly subscription to an annual subscription for the same plan

  • Rename CheckoutProps and PlanDetailsProps to **internal_CheckoutProps and **internal_PlanDetailsProps

  • Fix turnstile language fallback warning on captcha modal.

  • Update SubscriptionsList UI to be rendered within ProfileSections within UserProfile and OrganizationProfile.

  • Adjusts the order and layout of the checkout form's line items

  • Display generic payment icon in payment source row when payment method is not card

  • Sort subscriptions and add free plan to subsciption list if it's upcoming

  • Update checkout downgrade notice placement and text.

  • Rename __experimental_checkoutContinueUrl to checkoutContinueUrl

  • Add Pay with test card button on <AddPaymentSource /> component in dev instance

  • Update internal Switch component to require a label.

  • Replace __experimental_PricingTable with PricingTable

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.