warehouse
warehouse copied to clipboard
chore(deps): bump stripe from 11.6.0 to 12.0.1
Bumps stripe from 11.6.0 to 12.0.1.
Release notes
Sourced from stripe's releases.
v12.0.1
- #1499 Encode bools with lower case
- Serializes boolean query parameter values to
true/false(lower case) before sending to the Stripe API for compatibility with Stripe V2 endpoints- #1401 Fix type hint for SearchResultObject.data
- #1493 Update readme with clarification on resource based call patterns
See the changelog for more details.
v12.0.0
#1463 Support for APIs in the new API version 2025-03-31.basil
This release changes the pinned API version to
2025-03-31.basil.⚠️ Breaking changes due to changes in the Stripe API
Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.
- Remove support for resources
SubscriptionItemUsageRecordSummaryandSubscriptionItemUsageRecord- Remove support for
createmethod on resourceSubscriptionItemUsageRecord- Remove support for
listmethod on resourceSubscriptionItemUsageRecordSummary- Remove support for
upcomingLinesandupcomingmethods on resourceInvoice- Remove support for
invoiceonChargeandPaymentIntent- Remove support for
shipping_detailsonCheckoutSession- Remove support for
carrier,phone, andtracking_numberonCheckoutSession.CollectedInformation.ShippingDetail- Remove support for
refundonCreditNote.CreateParams,CreditNote.PreviewParams,CreditNotePreviewLines.ListParams, andCreditNote- Remove support for
tax_amountsonCreditNoteLineItem,CreditNote, andInvoiceLineItem- Remove support for
amount_excluding_taxandunit_amount_excluding_taxonCreditNoteLineItemandInvoiceLineItem- Remove support for
coupononCustomer.CreateParams,Customer.UpdateParams,Invoice.CreatePreviewParamsScheduleDetailPhase,Invoice.CreatePreviewParams,Subscription.CreateParams,Subscription.UpdateParams,SubscriptionSchedule.CreateParamsPhase,SubscriptionSchedule.Phase, andSubscriptionSchedule.UpdateParamsPhase- Remove support for
promotion_codeonCustomer.CreateParams,Customer.UpdateParams,Subscription.CreateParams, andSubscription.UpdateParams- Remove support for
priceonInvoice.AddLinesParamsLine,Invoice.UpdateLinesParamsLine,InvoiceItem.CreateParams,InvoiceItem.UpdateParams,InvoiceItem,InvoiceLineItem.UpdateParams, andInvoiceLineItem- Remove support for
billing_thresholdsonInvoice.CreatePreviewParamsScheduleDetailPhaseItem,Invoice.CreatePreviewParamsScheduleDetailPhase,Invoice.CreatePreviewParamsSubscriptionDetailItem,Subscription.CreateParamsItem,Subscription.CreateParams,Subscription.UpdateParamsItem,Subscription.UpdateParams,SubscriptionItem.CreateParams,SubscriptionItem.UpdateParams,SubscriptionItem,SubscriptionSchedule.CreateParamsDefaultSetting,SubscriptionSchedule.CreateParamsPhaseItem,SubscriptionSchedule.CreateParamsPhase,SubscriptionSchedule.DefaultSetting,SubscriptionSchedule.Phase.Item,SubscriptionSchedule.Phase,SubscriptionSchedule.UpdateParamsDefaultSetting,SubscriptionSchedule.UpdateParamsPhaseItem,SubscriptionSchedule.UpdateParamsPhase, andSubscription- Remove support for
application_fee_amount,charge,paid_out_of_band,paid,payment_intent,quote,subscription,subscription_details,subscription_proration_date,tax,total_tax_amounts, andtransfer_dataonInvoice- Remove support for
discountonInvoiceandSubscription- Remove support for
invoice_item,proration_details,proration,tax_rates, andtypeonInvoiceLineItem- Remove support for
planandsubscription_itemonInvoiceItemandInvoiceLineItem- Remove support for
unit_amountonInvoiceItem.CreateParams,InvoiceItem.UpdateParams, andInvoiceItem- Remove support for
subscriptionandunit_amount_decimalonInvoiceItem- Remove support for
naver_payonPaymentMethod.UpdateParams- Remove support for
aggregate_usageonPlan.CreateParams,Plan,Price.CreateParamsRecurring, andPrice.Recurring- Remove support for
current_period_endandcurrent_period_startonSubscription- Remove support for page on
v2.Event.ListParamsandv2.EventDestination.ListParamsChanges
- Change
CheckoutSession.collected_informationto be required- Change
CheckoutSession.CollectedInformation.shipping_detailsto be required- Change
CheckoutSession.CollectedInformation.ShippingDetail.addressto be required- Change
CheckoutSession.CollectedInformation.ShippingDetail.nameto be required- Change
PaymentIntent.ConfirmParamsPaymentMethodOptionWechatPay.client,PaymentIntent.CreateParamsPaymentMethodOptionWechatPay.client, andPaymentIntent.UpdateParamsPaymentMethodOptionWechatPay.clientto be optional- Change
political_exposureon resourcesPersonandTokenand paramsToken.CreateParamsfrom string toenum("existing" | "none")
... (truncated)
Changelog
Sourced from stripe's changelog.
12.0.1 - 2025-04-21
- #1499 Encode bools with lower case
- Serializes boolean query parameter values to
true/false(lower case) before sending to the Stripe API for compatibility with Stripe V2 endpoints- #1401 Fix type hint for SearchResultObject.data
- #1493 Update readme with clarification on resource based call patterns
12.0.0 - 2025-04-01
#1463 Support for APIs in the new API version 2025-03-31.basil
This release changes the pinned API version to
2025-03-31.basil.⚠️ Breaking changes due to changes in the Stripe API
Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.
- Remove support for resources
SubscriptionItemUsageRecordSummaryandSubscriptionItemUsageRecord- Remove support for
createmethod on resourceSubscriptionItemUsageRecord- Remove support for
listmethod on resourceSubscriptionItemUsageRecordSummary- Remove support for
upcomingLinesandupcomingmethods on resourceInvoice- Remove support for
invoiceonChargeandPaymentIntent- Remove support for
shipping_detailsonCheckoutSession- Remove support for
carrier,phone, andtracking_numberonCheckoutSession.CollectedInformation.ShippingDetail- Remove support for
refundonCreditNote.CreateParams,CreditNote.PreviewParams,CreditNotePreviewLines.ListParams, andCreditNote- Remove support for
tax_amountsonCreditNoteLineItem,CreditNote, andInvoiceLineItem- Remove support for
amount_excluding_taxandunit_amount_excluding_taxonCreditNoteLineItemandInvoiceLineItem- Remove support for
coupononCustomer.CreateParams,Customer.UpdateParams,Invoice.CreatePreviewParamsScheduleDetailPhase,Invoice.CreatePreviewParams,Subscription.CreateParams,Subscription.UpdateParams,SubscriptionSchedule.CreateParamsPhase,SubscriptionSchedule.Phase, andSubscriptionSchedule.UpdateParamsPhase- Remove support for
promotion_codeonCustomer.CreateParams,Customer.UpdateParams,Subscription.CreateParams, andSubscription.UpdateParams- Remove support for
priceonInvoice.AddLinesParamsLine,Invoice.UpdateLinesParamsLine,InvoiceItem.CreateParams,InvoiceItem.UpdateParams,InvoiceItem,InvoiceLineItem.UpdateParams, andInvoiceLineItem- Remove support for
billing_thresholdsonInvoice.CreatePreviewParamsScheduleDetailPhaseItem,Invoice.CreatePreviewParamsScheduleDetailPhase,Invoice.CreatePreviewParamsSubscriptionDetailItem,Subscription.CreateParamsItem,Subscription.CreateParams,Subscription.UpdateParamsItem,Subscription.UpdateParams,SubscriptionItem.CreateParams,SubscriptionItem.UpdateParams,SubscriptionItem,SubscriptionSchedule.CreateParamsDefaultSetting,SubscriptionSchedule.CreateParamsPhaseItem,SubscriptionSchedule.CreateParamsPhase,SubscriptionSchedule.DefaultSetting,SubscriptionSchedule.Phase.Item,SubscriptionSchedule.Phase,SubscriptionSchedule.UpdateParamsDefaultSetting,SubscriptionSchedule.UpdateParamsPhaseItem,SubscriptionSchedule.UpdateParamsPhase, andSubscription- Remove support for
application_fee_amount,charge,paid_out_of_band,paid,payment_intent,quote,subscription,subscription_details,subscription_proration_date,tax,total_tax_amounts, andtransfer_dataonInvoice- Remove support for
discountonInvoiceandSubscription- Remove support for
invoice_item,proration_details,proration,tax_rates, andtypeonInvoiceLineItem- Remove support for
planandsubscription_itemonInvoiceItemandInvoiceLineItem- Remove support for
unit_amountonInvoiceItem.CreateParams,InvoiceItem.UpdateParams, andInvoiceItem- Remove support for
subscriptionandunit_amount_decimalonInvoiceItem- Remove support for
naver_payonPaymentMethod.UpdateParams- Remove support for
aggregate_usageonPlan.CreateParams,Plan,Price.CreateParamsRecurring, andPrice.Recurring- Remove support for
current_period_endandcurrent_period_startonSubscription- Remove support for page on
v2.Event.ListParamsandv2.EventDestination.ListParamsChanges
- Change
CheckoutSession.collected_informationto be required- Change
CheckoutSession.CollectedInformation.shipping_detailsto be required- Change
CheckoutSession.CollectedInformation.ShippingDetail.addressto be required- Change
CheckoutSession.CollectedInformation.ShippingDetail.nameto be required- Change
PaymentIntent.ConfirmParamsPaymentMethodOptionWechatPay.client,PaymentIntent.CreateParamsPaymentMethodOptionWechatPay.client, andPaymentIntent.UpdateParamsPaymentMethodOptionWechatPay.clientto be optional- Change
political_exposureon resourcesPersonandTokenand paramsToken.CreateParamsfrom string toenum("existing" | "none")Additions
... (truncated)
Commits
6722e02Bump version to 12.0.1907a985Encode bools with lower case (#1499)61bc99bFix type hint for SearchResultObject.data (#1401)e5e9deeUpdate readme with clarification on resource based call patterns (#1493)54b6d62Remove link for stale youtube video playlist (#1492)7219f8cswitch build systems (#1494)a47da3fUpdate to 22.04 in CI (#1485)3f96801Bump version to 12.0.0e9896f4Update generated code (#1478)e5e1019rename StripeStreamResponseAsync.read() (#1474)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)