warehouse icon indicating copy to clipboard operation
warehouse copied to clipboard

chore(deps): bump stripe from 11.6.0 to 12.0.1

Open dependabot[bot] opened this issue 7 months ago • 0 comments

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 SubscriptionItemUsageRecordSummary and SubscriptionItemUsageRecord
    • Remove support for create method on resource SubscriptionItemUsageRecord
    • Remove support for list method on resource SubscriptionItemUsageRecordSummary
    • Remove support for upcomingLines and upcoming methods on resource Invoice
    • Remove support for invoice on Charge and PaymentIntent
    • Remove support for shipping_details on CheckoutSession
    • Remove support for carrier, phone, and tracking_number on CheckoutSession.CollectedInformation.ShippingDetail
    • Remove support for refund on CreditNote.CreateParams, CreditNote.PreviewParams, CreditNotePreviewLines.ListParams, and CreditNote
    • Remove support for tax_amounts on CreditNoteLineItem, CreditNote, and InvoiceLineItem
    • Remove support for amount_excluding_tax and unit_amount_excluding_tax on CreditNoteLineItem and InvoiceLineItem
    • Remove support for coupon on Customer.CreateParams, Customer.UpdateParams, Invoice.CreatePreviewParamsScheduleDetailPhase, Invoice.CreatePreviewParams, Subscription.CreateParams, Subscription.UpdateParams, SubscriptionSchedule.CreateParamsPhase, SubscriptionSchedule.Phase, and SubscriptionSchedule.UpdateParamsPhase
    • Remove support for promotion_code on Customer.CreateParams, Customer.UpdateParams, Subscription.CreateParams, and Subscription.UpdateParams
    • Remove support for price on Invoice.AddLinesParamsLine, Invoice.UpdateLinesParamsLine, InvoiceItem.CreateParams, InvoiceItem.UpdateParams, InvoiceItem, InvoiceLineItem.UpdateParams, and InvoiceLineItem
    • Remove support for billing_thresholds on Invoice.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, and Subscription
    • 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, and transfer_data on Invoice
    • Remove support for discount on Invoice and Subscription
    • Remove support for invoice_item, proration_details, proration, tax_rates, and type on InvoiceLineItem
    • Remove support for plan and subscription_item on InvoiceItem and InvoiceLineItem
    • Remove support for unit_amount on InvoiceItem.CreateParams, InvoiceItem.UpdateParams, and InvoiceItem
    • Remove support for subscription and unit_amount_decimal on InvoiceItem
    • Remove support for naver_pay on PaymentMethod.UpdateParams
    • Remove support for aggregate_usage on Plan.CreateParams, Plan, Price.CreateParamsRecurring, and Price.Recurring
    • Remove support for current_period_end and current_period_start on Subscription
    • Remove support for page on v2.Event.ListParams and v2.EventDestination.ListParams

    Changes

    • Change CheckoutSession.collected_information to be required
    • Change CheckoutSession.CollectedInformation.shipping_details to be required
    • Change CheckoutSession.CollectedInformation.ShippingDetail.address to be required
    • Change CheckoutSession.CollectedInformation.ShippingDetail.name to be required
    • Change PaymentIntent.ConfirmParamsPaymentMethodOptionWechatPay.client, PaymentIntent.CreateParamsPaymentMethodOptionWechatPay.client, and PaymentIntent.UpdateParamsPaymentMethodOptionWechatPay.client to be optional
    • Change political_exposure on resources Person and Token and params Token.CreateParams from string to enum("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 SubscriptionItemUsageRecordSummary and SubscriptionItemUsageRecord
    • Remove support for create method on resource SubscriptionItemUsageRecord
    • Remove support for list method on resource SubscriptionItemUsageRecordSummary
    • Remove support for upcomingLines and upcoming methods on resource Invoice
    • Remove support for invoice on Charge and PaymentIntent
    • Remove support for shipping_details on CheckoutSession
    • Remove support for carrier, phone, and tracking_number on CheckoutSession.CollectedInformation.ShippingDetail
    • Remove support for refund on CreditNote.CreateParams, CreditNote.PreviewParams, CreditNotePreviewLines.ListParams, and CreditNote
    • Remove support for tax_amounts on CreditNoteLineItem, CreditNote, and InvoiceLineItem
    • Remove support for amount_excluding_tax and unit_amount_excluding_tax on CreditNoteLineItem and InvoiceLineItem
    • Remove support for coupon on Customer.CreateParams, Customer.UpdateParams, Invoice.CreatePreviewParamsScheduleDetailPhase, Invoice.CreatePreviewParams, Subscription.CreateParams, Subscription.UpdateParams, SubscriptionSchedule.CreateParamsPhase, SubscriptionSchedule.Phase, and SubscriptionSchedule.UpdateParamsPhase
    • Remove support for promotion_code on Customer.CreateParams, Customer.UpdateParams, Subscription.CreateParams, and Subscription.UpdateParams
    • Remove support for price on Invoice.AddLinesParamsLine, Invoice.UpdateLinesParamsLine, InvoiceItem.CreateParams, InvoiceItem.UpdateParams, InvoiceItem, InvoiceLineItem.UpdateParams, and InvoiceLineItem
    • Remove support for billing_thresholds on Invoice.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, and Subscription
    • 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, and transfer_data on Invoice
    • Remove support for discount on Invoice and Subscription
    • Remove support for invoice_item, proration_details, proration, tax_rates, and type on InvoiceLineItem
    • Remove support for plan and subscription_item on InvoiceItem and InvoiceLineItem
    • Remove support for unit_amount on InvoiceItem.CreateParams, InvoiceItem.UpdateParams, and InvoiceItem
    • Remove support for subscription and unit_amount_decimal on InvoiceItem
    • Remove support for naver_pay on PaymentMethod.UpdateParams
    • Remove support for aggregate_usage on Plan.CreateParams, Plan, Price.CreateParamsRecurring, and Price.Recurring
    • Remove support for current_period_end and current_period_start on Subscription
    • Remove support for page on v2.Event.ListParams and v2.EventDestination.ListParams

    Changes

    • Change CheckoutSession.collected_information to be required
    • Change CheckoutSession.CollectedInformation.shipping_details to be required
    • Change CheckoutSession.CollectedInformation.ShippingDetail.address to be required
    • Change CheckoutSession.CollectedInformation.ShippingDetail.name to be required
    • Change PaymentIntent.ConfirmParamsPaymentMethodOptionWechatPay.client, PaymentIntent.CreateParamsPaymentMethodOptionWechatPay.client, and PaymentIntent.UpdateParamsPaymentMethodOptionWechatPay.client to be optional
    • Change political_exposure on resources Person and Token and params Token.CreateParams from string to enum("existing" | "none")

    Additions

... (truncated)

Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependabot[bot] avatar Apr 22 '25 09:04 dependabot[bot]