howardchung / watchparty

Watch anything together in-sync with your friends
https://www.watchparty.me
MIT License
741 stars 136 forks source link

Bump stripe from 8.222.0 to 12.9.0 #822

Open dependabot[bot] opened 1 year ago

dependabot[bot] commented 1 year ago

Bumps stripe from 8.222.0 to 12.9.0.

Release notes

Sourced from stripe's releases.

v12.9.0

  • #1809 Update generated code
    • Change Charge.payment_method_details.cashapp.buyer_id, Charge.payment_method_details.cashapp.cashtag, PaymentMethod.cashapp.buyer_id, and PaymentMethod.cashapp.cashtag to be required
    • Add support for taxability_reason on Tax.Calculation.tax_breakdown[]
  • #1812 More helpful error when signing secrets contain whitespace

See the changelog for more details.

v12.9.0-beta.1

  • #1801 Update generated code for beta
    • Add support for subscription_details on Invoice
    • Add support for new values aba and swift on enums Order.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[], OrderCreateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[], and OrderUpdateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
    • Add support for new value us_bank_transfer on enums Order.payment.settings.payment_method_options.customer_balance.bank_transfer.type, OrderCreateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.type, and OrderUpdateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.type
    • Add support for set_pause_collection on QuoteCreateParams.lines[], QuoteLine, QuoteUpdateParams.lines[], and SubscriptionScheduleAmendParams.amendments[]
    • Add support for new value pause_collection_start on enums Quote.subscription_data.bill_on_acceptance.bill_from.type, Quote.subscription_data_overrides[].bill_on_acceptance.bill_from.type, QuoteCreateParams.subscription_data.bill_on_acceptance.bill_from.type, QuoteCreateParams.subscription_data_overrides[].bill_on_acceptance.bill_from.type, QuoteUpdateParams.subscription_data.bill_on_acceptance.bill_from.type, and QuoteUpdateParams.subscription_data_overrides[].bill_on_acceptance.bill_from.type
    • Add support for pause_collection on SubscriptionSchedule.phases[], SubscriptionScheduleCreateParams.phases[], and SubscriptionScheduleUpdateParams.phases[]
    • Add support for local_amusement_tax on Tax.Registration.country_options.us and TaxRegistrationCreateParams.country_options.us
    • Remove support for locations on Tax.Settings and TaxSettingUpdateParams
    • Add support for new values customer.subscription.collection_paused and customer.subscription.collection_resumed on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]
  • #1775 Introduce stripe.rawRequest as a canonical way to request APIs without definitions

See the changelog for more details.

v12.8.0

  • #1799 Update generated code
    • Add support for numeric and text on CheckoutSessionCreateParams.custom_fields[], PaymentLinkCreateParams.custom_fields[], and PaymentLinkUpdateParams.custom_fields[]
    • Add support for new values aba and swift on enums Checkout.Session.payment_method_options.customer_balance.bank_transfer.requested_address_types[], CheckoutSessionCreateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[], PaymentIntent.payment_method_options.customer_balance.bank_transfer.requested_address_types[], PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[], PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[], and PaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
    • Add support for new value us_bank_transfer on enums Checkout.Session.payment_method_options.customer_balance.bank_transfer.type, CheckoutSessionCreateParams.payment_method_options.customer_balance.bank_transfer.type, CustomerCreateFundingInstructionsParams.bank_transfer.type, PaymentIntent.next_action.display_bank_transfer_instructions.type, PaymentIntent.payment_method_options.customer_balance.bank_transfer.type, PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer.type, PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer.type, and PaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer.type
    • Add support for maximum_length and minimum_length on Checkout.Session.custom_fields[].numeric and Checkout.Session.custom_fields[].text
    • Add support for preferred_locales on Issuing.Cardholder, IssuingCardholderCreateParams, and IssuingCardholderUpdateParams
    • Add support for description, iin, and issuer on PaymentMethod.card_present and PaymentMethod.interac_present
    • Add support for payer_email on PaymentMethod.paypal

See the changelog for more details.

v12.8.0-beta.1

  • #1795 Update generated code for beta

See the changelog for more details.

v12.7.0

  • #1797 Update generated code
    • Add support for zip_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Change type of Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code from string to enum
    • Add support for zip on Charge.payment_method_details, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodCreateParams, PaymentMethodUpdateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for new value zip on enums CheckoutSessionCreateParams.payment_method_types[] and PaymentMethodCreateParams.type
    • Add support for new value zip on enums CustomerListPaymentMethodsParams.type and PaymentMethodListParams.type
    • Add support for new value zip on enums PaymentIntentConfirmParams.payment_method_data.type, PaymentIntentCreateParams.payment_method_data.type, PaymentIntentUpdateParams.payment_method_data.type, SetupIntentConfirmParams.payment_method_data.type, SetupIntentCreateParams.payment_method_data.type, and SetupIntentUpdateParams.payment_method_data.type
    • Add support for new value zip on enum PaymentMethod.type

... (truncated)

Changelog

Sourced from stripe's changelog.

12.9.0 - 2023-06-08

  • #1809 Update generated code
    • Change Charge.payment_method_details.cashapp.buyer_id, Charge.payment_method_details.cashapp.cashtag, PaymentMethod.cashapp.buyer_id, and PaymentMethod.cashapp.cashtag to be required
    • Add support for taxability_reason on Tax.Calculation.tax_breakdown[]
  • #1812 More helpful error when signing secrets contain whitespace

12.8.0 - 2023-06-01

  • #1799 Update generated code
    • Add support for numeric and text on CheckoutSessionCreateParams.custom_fields[], PaymentLinkCreateParams.custom_fields[], and PaymentLinkUpdateParams.custom_fields[]
    • Add support for new values aba and swift on enums Checkout.Session.payment_method_options.customer_balance.bank_transfer.requested_address_types[], CheckoutSessionCreateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[], PaymentIntent.payment_method_options.customer_balance.bank_transfer.requested_address_types[], PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[], PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[], and PaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
    • Add support for new value us_bank_transfer on enums Checkout.Session.payment_method_options.customer_balance.bank_transfer.type, CheckoutSessionCreateParams.payment_method_options.customer_balance.bank_transfer.type, CustomerCreateFundingInstructionsParams.bank_transfer.type, PaymentIntent.next_action.display_bank_transfer_instructions.type, PaymentIntent.payment_method_options.customer_balance.bank_transfer.type, PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer.type, PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer.type, and PaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer.type
    • Add support for maximum_length and minimum_length on Checkout.Session.custom_fields[].numeric and Checkout.Session.custom_fields[].text
    • Add support for preferred_locales on Issuing.Cardholder, IssuingCardholderCreateParams, and IssuingCardholderUpdateParams
    • Add support for description, iin, and issuer on PaymentMethod.card_present and PaymentMethod.interac_present
    • Add support for payer_email on PaymentMethod.paypal

12.7.0 - 2023-05-25

  • #1797 Update generated code
    • Add support for zip_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Change type of Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code from string to enum
    • Add support for zip on Charge.payment_method_details, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodCreateParams, PaymentMethodUpdateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for new value zip on enums CheckoutSessionCreateParams.payment_method_types[] and PaymentMethodCreateParams.type
    • Add support for new value zip on enums CustomerListPaymentMethodsParams.type and PaymentMethodListParams.type
    • Add support for new value zip on enums PaymentIntentConfirmParams.payment_method_data.type, PaymentIntentCreateParams.payment_method_data.type, PaymentIntentUpdateParams.payment_method_data.type, SetupIntentConfirmParams.payment_method_data.type, SetupIntentCreateParams.payment_method_data.type, and SetupIntentUpdateParams.payment_method_data.type
    • Add support for new value zip on enum PaymentMethod.type

12.6.0 - 2023-05-19

  • #1787 Update generated code
    • Add support for subscription_update_confirm and subscription_update on BillingPortal.Session.flow and BillingPortalSessionCreateParams.flow_data
    • Add support for new values subscription_update_confirm and subscription_update on enums BillingPortal.Session.flow.type and BillingPortalSessionCreateParams.flow_data.type
    • Add support for link on Charge.payment_method_details.card.wallet and PaymentMethod.card.wallet
    • Add support for buyer_id and cashtag on Charge.payment_method_details.cashapp and PaymentMethod.cashapp
    • Add support for new values amusement_tax and communications_tax on enums TaxRate.tax_type, TaxRateCreateParams.tax_type, and TaxRateUpdateParams.tax_type

12.5.0 - 2023-05-11

  • #1785 Update generated code
    • Add support for paypal on Charge.payment_method_details, CheckoutSessionCreateParams.payment_method_options, Mandate.payment_method_details, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodCreateParams, PaymentMethod, SetupAttempt.payment_method_details, SetupIntent.payment_method_options, SetupIntentConfirmParams.payment_method_data, SetupIntentConfirmParams.payment_method_options, SetupIntentCreateParams.payment_method_data, SetupIntentCreateParams.payment_method_options, SetupIntentUpdateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_options
    • Add support for network_token on Charge.payment_method_details.card
    • Add support for new value paypal on enums CheckoutSessionCreateParams.payment_method_types[] and PaymentMethodCreateParams.type
    • Add support for taxability_reason and taxable_amount on Checkout.Session.shipping_cost.taxes[], Checkout.Session.total_details.breakdown.taxes[], CreditNote.shipping_cost.taxes[], CreditNote.tax_amounts[], Invoice.shipping_cost.taxes[], Invoice.total_tax_amounts[], LineItem.taxes[], Quote.computed.recurring.total_details.breakdown.taxes[], Quote.computed.upfront.total_details.breakdown.taxes[], and Quote.total_details.breakdown.taxes[]
    • Add support for new value paypal on enums CustomerListPaymentMethodsParams.type and PaymentMethodListParams.type
    • Add support for new value paypal on enums Invoice.payment_settings.payment_method_types[], InvoiceCreateParams.payment_settings.payment_method_types[], InvoiceUpdateParams.payment_settings.payment_method_types[], Subscription.payment_settings.payment_method_types[], SubscriptionCreateParams.payment_settings.payment_method_types[], and SubscriptionUpdateParams.payment_settings.payment_method_types[]
    • Add support for new value paypal on enums PaymentIntentConfirmParams.payment_method_data.type, PaymentIntentCreateParams.payment_method_data.type, PaymentIntentUpdateParams.payment_method_data.type, SetupIntentConfirmParams.payment_method_data.type, SetupIntentCreateParams.payment_method_data.type, and SetupIntentUpdateParams.payment_method_data.type
    • Add support for new value eftpos_au on enums PaymentIntent.payment_method_options.card.network, PaymentIntentConfirmParams.payment_method_options.card.network, PaymentIntentCreateParams.payment_method_options.card.network, PaymentIntentUpdateParams.payment_method_options.card.network, SetupIntent.payment_method_options.card.network, SetupIntentConfirmParams.payment_method_options.card.network, SetupIntentCreateParams.payment_method_options.card.network, SetupIntentUpdateParams.payment_method_options.card.network, Subscription.payment_settings.payment_method_options.card.network, SubscriptionCreateParams.payment_settings.payment_method_options.card.network, and SubscriptionUpdateParams.payment_settings.payment_method_options.card.network
    • Add support for new value paypal on enums PaymentLink.payment_method_types[], PaymentLinkCreateParams.payment_method_types[], and PaymentLinkUpdateParams.payment_method_types[]
    • Add support for brand, cardholder_name, country, exp_month, exp_year, fingerprint, funding, last4, networks, and read_method on PaymentMethod.card_present and PaymentMethod.interac_present
    • Add support for preferred_locales on PaymentMethod.interac_present
    • Add support for new value paypal on enum PaymentMethod.type
    • Add support for effective_percentage on TaxRate
    • Add support for gb_bank_transfer and jp_bank_transfer on CustomerCashBalanceTransaction.Funded.BankTransfer

... (truncated)

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 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)