odota / core

Open source Dota 2 data platform
https://www.opendota.com
MIT License
1.5k stars 300 forks source link

Bump stripe from 9.16.0 to 15.1.0 #2788

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

Bumps stripe from 9.16.0 to 15.1.0.

Release notes

Sourced from stripe's releases.

v15.1.0

  • #2062 Update generated code
    • Add support for account_management and notification_banner on AccountSession.components and AccountSessionCreateParams.components
    • Add support for external_account_collection on AccountSession.components.account_onboarding.features and AccountSessionCreateParams.components.account_onboarding.features
    • Add support for new values billing_policy_remote_function_response_invalid, billing_policy_remote_function_timeout, billing_policy_remote_function_unexpected_status_code, and billing_policy_remote_function_unreachable on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
    • Change Billing.MeterEventAdjustmentCreateParams.cancel.identifier and Billing.MeterEventAdjustmentCreateParams.cancel to be optional
    • Change Billing.MeterEventAdjustmentCreateParams.type to be required
    • Change type of Billing.MeterEventAdjustment.cancel from BillingMeterResourceBillingMeterEventAdjustmentCancel to BillingMeterResourceBillingMeterEventAdjustmentCancel | null
    • Add support for amazon_pay on Charge.payment_method_details, Checkout.Session.payment_method_options, Checkout.SessionCreateParams.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.testHelpers.payment_method_data, 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, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, Refund.destination_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 new value ownership on enums Checkout.Session.payment_method_options.us_bank_account.financial_connections.prefetch[], Checkout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], PaymentIntent.payment_method_options.us_bank_account.financial_connections.prefetch[], PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[], PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], SetupIntent.payment_method_options.us_bank_account.financial_connections.prefetch[], SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[], SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], and SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]
    • Add support for new value amazon_pay on enum Checkout.SessionCreateParams.payment_method_types[]
    • Add support for new values bh_vat, kz_bin, ng_tin, and om_vat on enums Checkout.Session.customer_details.tax_ids[].type, Invoice.customer_tax_ids[].type, Tax.Calculation.customer_details.tax_ids[].type, Tax.Transaction.customer_details.tax_ids[].type, and TaxId.type
    • Add support for new value amazon_pay on enums ConfirmationTokenCreateParams.testHelpers.payment_method_data.type, 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 amazon_pay on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Add support for new values bh_vat, kz_bin, ng_tin, and om_vat on enums CustomerCreateParams.tax_id_data[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, Tax.CalculationCreateParams.customer_details.tax_ids[].type, and TaxIdCreateParams.type
    • Add support for new value amazon_pay on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Add support for next_refresh_available_at on FinancialConnections.Account.ownership_refresh
    • Add support for new value ownership on enums Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.permissions[] and Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.permissions[]

See the changelog for more details.

v15.0.0

  • #2057

    • This release changes the pinned API version to 2024-04-10. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

    ⚠️ Breaking changes

    • Rename event type InvoiceitemCreatedEvent to InvoiceItemCreatedEvent
    • Rename event type InvoiceitemDeletedEvent to InvoiceItemDeletedEvent
    • Rename features to marketing_features on ProductCreateOptions, ProductUpdateOptions, and Product.

    ⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API

    • Remove subscription_pause from the below as the feature to pause subscription on the portal has been deprecated.
      • BillingPortal.Configuration.Features
      • BillingPortal.ConfigurationCreateParams.Features
      • BillingPortal.ConfigurationUpdateParams.Features
    • Remove the below deprecated values for the type BalanceTransaction.Type
      • obligation_inbound
      • obligation_payout
      • obligation_payout_failure
      • 'obligation_reversal_outbound'
    • Remove deprecated value various for the type Climate.Supplier.RemovalPathway
    • Remove deprecated events
      • invoiceitem.updated
      • order.created
      • recipient.created
      • recipient.deleted
      • recipient.updated

... (truncated)

Changelog

Sourced from stripe's changelog.

15.1.0 - 2024-04-11

  • #2062 Update generated code
    • Add support for account_management and notification_banner on AccountSession.components and AccountSessionCreateParams.components
    • Add support for external_account_collection on AccountSession.components.account_onboarding.features and AccountSessionCreateParams.components.account_onboarding.features
    • Add support for new values billing_policy_remote_function_response_invalid, billing_policy_remote_function_timeout, billing_policy_remote_function_unexpected_status_code, and billing_policy_remote_function_unreachable on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
    • Change Billing.MeterEventAdjustmentCreateParams.cancel.identifier and Billing.MeterEventAdjustmentCreateParams.cancel to be optional
    • Change Billing.MeterEventAdjustmentCreateParams.type to be required
    • Change type of Billing.MeterEventAdjustment.cancel from BillingMeterResourceBillingMeterEventAdjustmentCancel to BillingMeterResourceBillingMeterEventAdjustmentCancel | null
    • Add support for amazon_pay on Charge.payment_method_details, Checkout.Session.payment_method_options, Checkout.SessionCreateParams.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.testHelpers.payment_method_data, 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, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, Refund.destination_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 new value ownership on enums Checkout.Session.payment_method_options.us_bank_account.financial_connections.prefetch[], Checkout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], PaymentIntent.payment_method_options.us_bank_account.financial_connections.prefetch[], PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[], PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], SetupIntent.payment_method_options.us_bank_account.financial_connections.prefetch[], SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[], SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[], Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], and SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]
    • Add support for new value amazon_pay on enum Checkout.SessionCreateParams.payment_method_types[]
    • Add support for new values bh_vat, kz_bin, ng_tin, and om_vat on enums Checkout.Session.customer_details.tax_ids[].type, Invoice.customer_tax_ids[].type, Tax.Calculation.customer_details.tax_ids[].type, Tax.Transaction.customer_details.tax_ids[].type, and TaxId.type
    • Add support for new value amazon_pay on enums ConfirmationTokenCreateParams.testHelpers.payment_method_data.type, 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 amazon_pay on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Add support for new values bh_vat, kz_bin, ng_tin, and om_vat on enums CustomerCreateParams.tax_id_data[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, Tax.CalculationCreateParams.customer_details.tax_ids[].type, and TaxIdCreateParams.type
    • Add support for new value amazon_pay on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Add support for next_refresh_available_at on FinancialConnections.Account.ownership_refresh
    • Add support for new value ownership on enums Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.permissions[] and Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.permissions[]

15.0.0 - 2024-04-10

  • #2057

    • This release changes the pinned API version to 2024-04-10. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

    ⚠️ Breaking changes

    • Rename event type InvoiceitemCreatedEvent to InvoiceItemCreatedEvent
    • Rename event type InvoiceitemDeletedEvent to InvoiceItemDeletedEvent
    • Rename features to marketing_features on ProductCreateOptions, ProductUpdateOptions, and Product.

    ⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API

    • Remove subscription_pause from the below as the feature to pause subscription on the portal has been deprecated.
      • BillingPortal.Configuration.Features
      • BillingPortal.ConfigurationCreateParams.Features
      • BillingPortal.ConfigurationUpdateParams.Features
    • Remove the below deprecated values for the type BalanceTransaction.Type
      • obligation_inbound
      • obligation_payout
      • obligation_payout_failure
      • 'obligation_reversal_outbound'
    • Remove deprecated value various for the type Climate.Supplier.RemovalPathway
    • Remove deprecated events
      • invoiceitem.updated
      • order.created
      • recipient.created
      • recipient.deleted
      • recipient.updated
      • sku.created
      • sku.deleted

... (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 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 months ago

Superseded by #2791.