stripe-samples / subscription-use-cases

Create subscriptions with fixed prices or usage based billing.
https://stripe.com/docs/billing
MIT License
786 stars 396 forks source link

chore(deps): bump stripe from 10.4.0 to 10.7.0 in /fixed-price-subscriptions/server/python #1136

Closed dependabot[bot] closed 3 weeks ago

dependabot[bot] commented 1 month ago

Bumps stripe from 10.4.0 to 10.7.0.

Release notes

Sourced from stripe's releases.

v10.7.0

  • #1371 Update generated code
    • Add support for type on resource classes stripe.Charge.PaymentMethodDetails.CardPresent.Offline, stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline, stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline, and stripe.SetupAttempt.PaymentMethodDetails.CardPresent.Offline
    • Add support for offline on resource classes stripe.ConfirmationToken.PaymentMethodPreview.CardPresent and stripe.PaymentMethod.CardPresent
    • Add support for _cls_activate on resource stripe.billing.Alert
    • Add support for _cls_archive on resource stripe.billing.Alert
    • Add support for _cls_deactivate on resource stripe.billing.Alert
    • Add support for activate on resource stripe.billing.Alert
    • Add support for archive on resource stripe.billing.Alert
    • Add support for create on resource stripe.billing.Alert
    • Add support for deactivate on resource stripe.billing.Alert
    • Add support for list on resource stripe.billing.Alert
    • Add support for retrieve on resources stripe.billing.Alert and stripe.tax.Calculation
    • Add support for related_customer on parameter classes stripe.identity.VerificationSession.CreateParams and stripe.identity.VerificationSession.ListParams and resource stripe.identity.VerificationSession
    • Add support for invalid_mandate_reference_prefix_format on enums stripe.Invoice.LastFinalizationError.code, stripe.PaymentIntent.LastPaymentError.code, stripe.SetupAttempt.SetupError.code, and stripe.SetupIntent.LastSetupError.code
    • Add support for girocard on enums stripe.PaymentIntent.PaymentMethodOptions.Card.network, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCard.network, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCard.network, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCard.network, stripe.SetupIntent.PaymentMethodOptions.Card.network, stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsCard.network, stripe.SetupIntent.CreateParamsPaymentMethodOptionsCard.network, stripe.SetupIntent.ModifyParamsPaymentMethodOptionsCard.network, stripe.Subscription.PaymentSettings.PaymentMethodOptions.Card.network, stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsCard.network, and stripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsCard.network
    • Add support for financial_addresses.aba.forwarding on enums stripe.treasury.FinancialAccount.active_features, stripe.treasury.FinancialAccount.pending_features, and stripe.treasury.FinancialAccount.restricted_features
    • Change type of count on stripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan, stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCardInstallmentsPlan, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCardInstallmentsPlan, and stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCardInstallmentsPlan from int to NotRequired[int]
    • Change type of interval on stripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan, stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCardInstallmentsPlan, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCardInstallmentsPlan, and stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCardInstallmentsPlan from Literal['month'] to NotRequired[Literal['month']]
    • Change type of account on stripe.Person.AdditionalTosAcceptances from Account to Optional[Account]

See the changelog for more details.

v10.7.0b1

  • #1370 Update generated code for beta
    • Add support for app_install on parameter class stripe.AccountSession.CreateParamsComponents
    • Add support for app_viewport on parameter class stripe.AccountSession.CreateParamsComponents
    • Add support for _cls_attach_payment on resource stripe.Invoice
    • Add support for attach_payment on resource stripe.Invoice
    • Add support for lines_invalid on resource class stripe.Quote.StatusDetails.Stale.LastReason
    • Add support for last_price_migration_error on resources stripe.QuotePreviewSubscriptionSchedule, stripe.Subscription, and stripe.SubscriptionSchedule
    • Remove support for partner_rejected_details on resource class stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3
    • Add support for customer.subscription.price_migration_failed on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for subscription_schedule.price_migration_failed on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for lines_invalid on enum stripe.Quote.StatusDetails.Stale.LastReason.type
    • Add support for charge_exceeds_transaction_limit on enum stripe.QuotePreviewInvoice.LastFinalizationError.code

See the changelog for more details.

v10.6.0

  • #1369 Update generated code
    • Add support for resource stripe.billing.Alert
    • ⚠️ Remove support for authorization_code on resource class stripe.Charge.PaymentMethodDetails.Card. This was accidentally released last week.
    • Add support for billing.alert.triggered on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for charge_exceeds_transaction_limit on enums stripe.Invoice.LastFinalizationError.code, stripe.PaymentIntent.LastPaymentError.code, stripe.SetupAttempt.SetupError.code, and stripe.SetupIntent.LastSetupError.code

See the changelog for more details.

v10.6.0b1

  • #1361 Update generated code for beta

... (truncated)

Changelog

Sourced from stripe's changelog.

10.7.0 - 2024-08-08

  • #1371 Update generated code
    • Add support for type on resource classes stripe.Charge.PaymentMethodDetails.CardPresent.Offline, stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline, stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline, and stripe.SetupAttempt.PaymentMethodDetails.CardPresent.Offline
    • Add support for offline on resource classes stripe.ConfirmationToken.PaymentMethodPreview.CardPresent and stripe.PaymentMethod.CardPresent
    • Add support for _cls_activate on resource stripe.billing.Alert
    • Add support for _cls_archive on resource stripe.billing.Alert
    • Add support for _cls_deactivate on resource stripe.billing.Alert
    • Add support for activate on resource stripe.billing.Alert
    • Add support for archive on resource stripe.billing.Alert
    • Add support for create on resource stripe.billing.Alert
    • Add support for deactivate on resource stripe.billing.Alert
    • Add support for list on resource stripe.billing.Alert
    • Add support for retrieve on resources stripe.billing.Alert and stripe.tax.Calculation
    • Add support for related_customer on parameter classes stripe.identity.VerificationSession.CreateParams and stripe.identity.VerificationSession.ListParams and resource stripe.identity.VerificationSession
    • Add support for invalid_mandate_reference_prefix_format on enums stripe.Invoice.LastFinalizationError.code, stripe.PaymentIntent.LastPaymentError.code, stripe.SetupAttempt.SetupError.code, and stripe.SetupIntent.LastSetupError.code
    • Add support for girocard on enums stripe.PaymentIntent.PaymentMethodOptions.Card.network, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCard.network, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCard.network, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCard.network, stripe.SetupIntent.PaymentMethodOptions.Card.network, stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsCard.network, stripe.SetupIntent.CreateParamsPaymentMethodOptionsCard.network, stripe.SetupIntent.ModifyParamsPaymentMethodOptionsCard.network, stripe.Subscription.PaymentSettings.PaymentMethodOptions.Card.network, stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsCard.network, and stripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsCard.network
    • Add support for financial_addresses.aba.forwarding on enums stripe.treasury.FinancialAccount.active_features, stripe.treasury.FinancialAccount.pending_features, and stripe.treasury.FinancialAccount.restricted_features
    • Change type of count on stripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan, stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCardInstallmentsPlan, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCardInstallmentsPlan, and stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCardInstallmentsPlan from int to NotRequired[int]
    • Change type of interval on stripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan, stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCardInstallmentsPlan, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCardInstallmentsPlan, and stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCardInstallmentsPlan from Literal['month'] to NotRequired[Literal['month']]
    • Change type of account on stripe.Person.AdditionalTosAcceptances from Account to Optional[Account]

10.6.0 - 2024-08-01

  • #1369 Update generated code
    • Add support for resource stripe.billing.Alert
    • ⚠️ Remove support for authorization_code on resource class stripe.Charge.PaymentMethodDetails.Card. This was accidentally released last week.
    • Add support for billing.alert.triggered on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for charge_exceeds_transaction_limit on enums stripe.Invoice.LastFinalizationError.code, stripe.PaymentIntent.LastPaymentError.code, stripe.SetupAttempt.SetupError.code, and stripe.SetupIntent.LastSetupError.code

10.5.0 - 2024-07-25

  • #1368 Update generated code
    • Add support for tax_registrations on resource class stripe.AccountSession.Components and parameter class stripe.AccountSession.CreateParamsComponents
    • Add support for tax_settings on resource class stripe.AccountSession.Components and parameter class stripe.AccountSession.CreateParamsComponents
  • #1364 Update generated code
    • Add support for transaction_id on resource class stripe.Charge.PaymentMethodDetails.Affirm
    • Add support for buyer_id on resource class stripe.Charge.PaymentMethodDetails.Blik
    • Add support for authorization_code on resource class stripe.Charge.PaymentMethodDetails.Card
    • Add support for brand_product on resource classes stripe.Charge.PaymentMethodDetails.CardPresent, stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent, stripe.ConfirmationToken.PaymentMethodPreview.CardPresent, stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent, and stripe.PaymentMethod.CardPresent
    • Add support for network_transaction_id on resource classes stripe.Charge.PaymentMethodDetails.CardPresent, stripe.Charge.PaymentMethodDetails.InteracPresent, stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent, and stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent
    • Add support for case_type on resource class stripe.Dispute.PaymentMethodDetails.Card
    • Add support for twint on parameter classes stripe.PaymentMethodConfiguration.CreateParams and stripe.PaymentMethodConfiguration.ModifyParams and resource stripe.PaymentMethodConfiguration
    • Add support for modify on resource stripe.checkout.Session
    • Add support for invoice.overdue on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for invoice.will_be_due on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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] commented 3 weeks ago

Superseded by #1139.