github clerk/javascript @clerk/types@4.57.0

latest releases: @clerk/types@4.92.0, @clerk/clerk-js@5.99.0, @clerk/fastify@2.4.37...
6 months ago

Minor Changes

  • Mark commerce apis as stable (#5833) by @nikosdouvlis

  • Expose Clerk Billing APIs. (#5833) by @nikosdouvlis

    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.getSubscriptions()
      • Clerk.billing.getInvoices()
      • Clerk.billing.startCheckout()

Patch Changes

  • Move credit at the top-level and remove proration property (#5849) by @octoper

  • Add support for switching to the free plan (#5810) by @aeliox

  • Only allow members with org:sys_billing:manage to manage billing for an Organization (#5835) by @octoper

  • Introduce <Tooltip /> primitive (#5841) by @alexcarpenter

  • Rename __experimental_nextTask to __experimental_navigateToTask (#5715) by @LauraBeatris

  • Introduce checkoutContinueUrl option. (#5807) by @alexcarpenter

  • Adjusts the layout of the PricingTable plan cards (#5824) by @aeliox

  • Allow switching from an existing monthly subscription to an annual subscription for the same plan (#5811) by @aeliox

  • Rename CheckoutProps and PlanDetailsProps to **internal_CheckoutProps and **internal_PlanDetailsProps (#5838) by @nikosdouvlis

  • Update SubscriptionsList UI to be rendered within ProfileSections within UserProfile and OrganizationProfile. (#5847) by @alexcarpenter

  • Update checkout downgrade notice placement and text. (#5837) by @alexcarpenter

  • Rename __experimental_checkoutContinueUrl to checkoutContinueUrl (#5826) by @nikosdouvlis

  • Add Pay with test card button on <AddPaymentSource /> component in dev instance (#5831) by @nikospapcom

  • Replace __experimental_PricingTable with PricingTable (#5828) by @nikosdouvlis

Don't miss a new javascript release

NewReleases is sending notifications on new releases.