Minor Changes
-
Mark commerce apis as stable (#5833) by @nikosdouvlis
-
Expose Clerk Billing APIs. (#5833) by @nikosdouvlis
Render the pricing table component
Clerk.mountPricingTableClerk.unmountPricingTable
Manage payment methods
Clerk.[user|organization].initializePaymentSource()Clerk.[user|organization].addPaymentSource()Clerk.[user|organization].getPaymentSources()
Billing namespace
Clerk.billingClerk.billing.getPlans()Clerk.billing.getSubscriptions()Clerk.billing.getInvoices()Clerk.billing.startCheckout()
Patch Changes
-
Move
creditat the top-level and removeprorationproperty (#5849) by @octoper -
Add support for switching to the free plan (#5810) by @aeliox
-
Only allow members with
org:sys_billing:manageto manage billing for an Organization (#5835) by @octoper -
Replace Toggle component with Switch component in active subscription drawer (#5853) by @nikospapcom
-
Introduce
<Tooltip />primitive (#5841) by @alexcarpenter -
Move
<__experimental_PaymentSources />component underBilling->Subscriptionstab and deletePayment methodstab (#5825) by @nikospapcom -
Rename
__experimental_nextTaskto__experimental_navigateToTask(#5715) by @LauraBeatris -
Fix interactive turnstile layout issue on SSO callback. (#5783) by @anagstef
-
Introduce
checkoutContinueUrloption. (#5807) by @alexcarpenter -
Show a localized message for all errors returned from the backend if the user tries to perform an invalid plan change. (#5805) by @nikosdouvlis
-
Always revalidate when checkout drawer opens (#5798) by @octoper
-
Adjusts the layout of the
PricingTableplan cards (#5824) by @aeliox -
Add entry animations to CheckoutComplete component to smooth our the transition between checking out to successful state. (#5802) by @alexcarpenter
-
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
-
Fix turnstile language fallback warning on captcha modal. (#5827) by @anagstef
-
Update SubscriptionsList UI to be rendered within ProfileSections within UserProfile and OrganizationProfile. (#5847) by @alexcarpenter
-
Adjusts the order and layout of the checkout form's line items (#5804) by @aeliox
-
Display generic payment icon in payment source row when payment method is not card (#5851) by @nikospapcom
-
Sort subscriptions and add free plan to subsciption list if it's upcoming (#5854) by @octoper
-
Update checkout downgrade notice placement and text. (#5837) by @alexcarpenter
-
Rename __experimental_checkoutContinueUrl to checkoutContinueUrl (#5826) by @nikosdouvlis
-
Add
Pay with test cardbutton on<AddPaymentSource />component in dev instance (#5831) by @nikospapcom -
Update internal Switch component to require a label. (#5845) by @LekoArts
-
Replace __experimental_PricingTable with PricingTable (#5828) by @nikosdouvlis
-
Updated dependencies [
db0138f,aa97231,c792f37,3bf08a9,a7c45b3,74cf3b2,037b113,c15a412,7726a03,ed10566,b846a9a,e66c800,45e8298,b9d90da,9c41091,29462b4,322c43f,17397f9,45e8298]:- @clerk/types@4.57.0
- @clerk/localizations@3.15.0
- @clerk/shared@3.8.0