Skip to content

chore(deps): bump stripe from 11.6.0 to 12.0.1 #18000

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 22, 2025

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 dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 22, 2025
@dependabot dependabot bot requested a review from a team as a code owner April 22, 2025 09:16
Bumps [stripe](https://github.com/stripe/stripe-python) from 11.6.0 to 12.0.1.
- [Release notes](https://github.com/stripe/stripe-python/releases)
- [Changelog](https://github.com/stripe/stripe-python/blob/master/CHANGELOG.md)
- [Commits](stripe/stripe-python@v11.6.0...v12.0.1)

---
updated-dependencies:
- dependency-name: stripe
  dependency-version: 12.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/stripe-12.0.1 branch from bf11a7b to 8d8ba79 Compare April 25, 2025 09:26
@pypi-combine-prs pypi-combine-prs bot mentioned this pull request Apr 25, 2025
@miketheman miketheman added the blocked Issues we can't or shouldn't get to yet label Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Issues we can't or shouldn't get to yet dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant