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 14.3.0 to 16.7.0 in /fixed-price-subscriptions/server/node #1135

Closed dependabot[bot] closed 3 weeks ago

dependabot[bot] commented 1 month ago

Bumps stripe from 14.3.0 to 16.7.0.

Release notes

Sourced from stripe's releases.

v16.7.0

  • #2147 Update generated code
    • Add support for activate, archive, create, deactivate, list, and retrieve methods on resource Billing.Alert
    • Add support for retrieve method on resource Tax.Calculation
    • Add support for new value invalid_mandate_reference_prefix_format on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
    • Add support for type on Charge.payment_method_details.card_present.offline, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present.offline, PaymentMethod.card.generated_from.payment_method_details.card_present.offline, and SetupAttempt.payment_method_details.card_present.offline
    • Add support for offline on ConfirmationToken.payment_method_preview.card_present and PaymentMethod.card_present
    • Add support for related_customer on Identity.VerificationSessionCreateParams, Identity.VerificationSessionListParams, and Identity.VerificationSession
    • Change InvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.count, InvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.interval, InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.count, InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.interval, PaymentIntentConfirmParams.payment_method_options.card.installments.plan.count, PaymentIntentConfirmParams.payment_method_options.card.installments.plan.interval, PaymentIntentCreateParams.payment_method_options.card.installments.plan.count, PaymentIntentCreateParams.payment_method_options.card.installments.plan.interval, PaymentIntentUpdateParams.payment_method_options.card.installments.plan.count, and PaymentIntentUpdateParams.payment_method_options.card.installments.plan.interval to be optional
    • Add support for new value girocard 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 financial_addresses.aba.forwarding on enums Treasury.FinancialAccount.active_features[], Treasury.FinancialAccount.pending_features[], and Treasury.FinancialAccount.restricted_features[]

See the changelog for more details.

v16.7.0-beta.1

  • #2145 Update generated code for beta
    • Add support for attach_payment method on resource Invoice
    • Add support for app_install and app_viewport on AccountSessionCreateParams.components
    • Remove support for partner_rejected_details on Dispute.evidence_details.enhanced_eligibility.visa_compelling_evidence_3
    • Add support for lines_invalid on Quote.status_details.stale.last_reason
    • Add support for new value lines_invalid on enum Quote.status_details.stale.last_reason.type
    • Add support for last_price_migration_error on SubscriptionSchedule and Subscription

See the changelog for more details.

v16.6.0

  • #2144 Update generated code
    • Add support for new resources Billing.AlertTriggered and Billing.Alert
    • Add support for new value charge_exceeds_transaction_limit on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
    • ⚠️ Remove support for authorization_code on Charge.payment_method_details.card. This was accidentally released last week.
    • Add support for new value billing.alert.triggered on enum Event.type
    • Add support for new value billing.alert.triggered on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

See the changelog for more details.

v16.6.0-beta.1

  • #2137 Update generated code for beta
    • Add support for new resources Billing.AlertTriggered, Billing.Alert, and Tax.Association
    • Add support for activate, archive, create, deactivate, list, and retrieve methods on resource Alert
    • Add support for find method on resource Association
    • Add support for capital on Account.settings, AccountCreateParams.settings, and AccountUpdateParams.settings
    • Add support for new values issuing.account_closed_for_not_providing_business_model_clarification, issuing.account_closed_for_not_providing_url_clarification, and issuing.account_closed_for_not_providing_use_case_clarification on enum AccountNotice.reason
    • Add support for async_workflows on PaymentIntentCaptureParams, PaymentIntentConfirmParams, PaymentIntentCreateParams, PaymentIntentDecrementAuthorizationParams, PaymentIntentIncrementAuthorizationParams, PaymentIntentUpdateParams, and PaymentIntent
    • Add support for payto on PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, and PaymentMethodConfiguration
    • Add support for display_name on Treasury.FinancialAccountCreateParams, Treasury.FinancialAccountUpdateParams, and Treasury.FinancialAccount

See the changelog for more details.

v16.5.0

  • #2143 Update generated code

... (truncated)

Changelog

Sourced from stripe's changelog.

16.7.0 - 2024-08-08

  • #2147 Update generated code
    • Add support for activate, archive, create, deactivate, list, and retrieve methods on resource Billing.Alert
    • Add support for retrieve method on resource Tax.Calculation
    • Add support for new value invalid_mandate_reference_prefix_format on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
    • Add support for type on Charge.payment_method_details.card_present.offline, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present.offline, PaymentMethod.card.generated_from.payment_method_details.card_present.offline, and SetupAttempt.payment_method_details.card_present.offline
    • Add support for offline on ConfirmationToken.payment_method_preview.card_present and PaymentMethod.card_present
    • Add support for related_customer on Identity.VerificationSessionCreateParams, Identity.VerificationSessionListParams, and Identity.VerificationSession
    • Change InvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.count, InvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.interval, InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.count, InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.interval, PaymentIntentConfirmParams.payment_method_options.card.installments.plan.count, PaymentIntentConfirmParams.payment_method_options.card.installments.plan.interval, PaymentIntentCreateParams.payment_method_options.card.installments.plan.count, PaymentIntentCreateParams.payment_method_options.card.installments.plan.interval, PaymentIntentUpdateParams.payment_method_options.card.installments.plan.count, and PaymentIntentUpdateParams.payment_method_options.card.installments.plan.interval to be optional
    • Add support for new value girocard 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 financial_addresses.aba.forwarding on enums Treasury.FinancialAccount.active_features[], Treasury.FinancialAccount.pending_features[], and Treasury.FinancialAccount.restricted_features[]

16.6.0 - 2024-08-01

  • #2144 Update generated code
    • Add support for new resources Billing.AlertTriggered and Billing.Alert
    • Add support for new value charge_exceeds_transaction_limit on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
    • ⚠️ Remove support for authorization_code on Charge.payment_method_details.card. This was accidentally released last week.
    • Add support for new value billing.alert.triggered on enum Event.type
    • Add support for new value billing.alert.triggered on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

16.5.0 - 2024-07-25

  • #2143 Update generated code
    • Add support for tax_registrations and tax_settings on AccountSession.components and AccountSessionCreateParams.components
  • #2140 Update generated code
    • Add support for update method on resource Checkout.Session
    • Add support for transaction_id on Charge.payment_method_details.affirm
    • Add support for buyer_id on Charge.payment_method_details.blik
    • Add support for authorization_code on Charge.payment_method_details.card
    • Add support for brand_product on Charge.payment_method_details.card_present, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present, ConfirmationToken.payment_method_preview.card_present, PaymentMethod.card.generated_from.payment_method_details.card_present, and PaymentMethod.card_present
    • Add support for network_transaction_id on Charge.payment_method_details.card_present, Charge.payment_method_details.interac_present, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present, and PaymentMethod.card.generated_from.payment_method_details.card_present
    • Add support for case_type on Dispute.payment_method_details.card
    • Add support for new values invoice.overdue and invoice.will_be_due on enum Event.type
    • Add support for twint on PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, and PaymentMethodConfiguration
    • Add support for new values invoice.overdue and invoice.will_be_due on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

16.4.0 - 2024-07-18

  • #2138 Update generated code
    • Add support for customer on ConfirmationToken.payment_method_preview
    • Add support for new value issuing_dispute.funds_rescinded on enum Event.type
    • Add support for new value multibanco 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 stripe_s700 on enums Terminal.Reader.device_type and Terminal.ReaderListParams.device_type
    • Add support for new value issuing_dispute.funds_rescinded on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]
  • #2136 Update changelog

16.3.0 - 2024-07-11

  • #2130 Update generated code
    • ⚠️ Remove support for 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 from enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code.
    • ⚠️ Remove support for value payment_intent_fx_quote_invalid from enum StripeError.code. The was mistakenly released last week.
    • Add support for payment_method_options on ConfirmationToken
    • Add support for payment_element on CustomerSession.components and CustomerSessionCreateParams.components

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

Superseded by #1140.