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.8.0 in /fixed-price-subscriptions/server/node #1140

Closed dependabot[bot] closed 1 week ago

dependabot[bot] commented 3 weeks ago

Bumps stripe from 14.3.0 to 16.8.0.

Release notes

Sourced from stripe's releases.

v16.8.0

  • #2155 Update generated code
    • Add support for authorization_code on Charge.payment_method_details.card
    • Add support for wallet 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 mandate_options on PaymentIntent.payment_method_options.bacs_debit, PaymentIntentConfirmParams.payment_method_options.bacs_debit, PaymentIntentCreateParams.payment_method_options.bacs_debit, and PaymentIntentUpdateParams.payment_method_options.bacs_debit
    • Add support for bacs_debit on SetupIntent.payment_method_options, SetupIntentConfirmParams.payment_method_options, SetupIntentCreateParams.payment_method_options, and SetupIntentUpdateParams.payment_method_options
    • Add support for chips on Treasury.OutboundPayment.tracking_details.us_domestic_wire, Treasury.OutboundPaymentUpdateParams.testHelpers.tracking_details.us_domestic_wire, Treasury.OutboundTransfer.tracking_details.us_domestic_wire, and Treasury.OutboundTransferUpdateParams.testHelpers.tracking_details.us_domestic_wire
    • Change type of Treasury.OutboundPayment.tracking_details.us_domestic_wire.imad and Treasury.OutboundTransfer.tracking_details.us_domestic_wire.imad from string to string | null

See the changelog for more details.

v16.8.0-beta.1

  • #2148 Update generated code for beta
    • Add support for capital_financing_application and capital_financing on AccountSession.components
    • Add support for payto on Checkout.Session.payment_method_options and Checkout.SessionCreateParams.payment_method_options
    • Add support for new value payto on enum Checkout.SessionCreateParams.payment_method_types[]
    • Add support for new value custom on enums Checkout.Session.ui_mode and Checkout.SessionCreateParams.ui_mode
    • ⚠️ Remove support for risk_correlation_id on PaymentIntent.payment_method_options.rechnung, PaymentIntentConfirmParams.payment_method_options.rechnung, PaymentIntentCreateParams.payment_method_options.rechnung, and PaymentIntentUpdateParams.payment_method_options.rechnung
    • Add support for new value payto on enums PaymentLink.payment_method_types[], PaymentLinkCreateParams.payment_method_types[], and PaymentLinkUpdateParams.payment_method_types[]
    • Change QuoteLine.cancel_subscription_schedule to be required

See the changelog for more details.

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

... (truncated)

Changelog

Sourced from stripe's changelog.

16.8.0 - 2024-08-15

  • #2155 Update generated code
    • Add support for authorization_code on Charge.payment_method_details.card
    • Add support for wallet 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 mandate_options on PaymentIntent.payment_method_options.bacs_debit, PaymentIntentConfirmParams.payment_method_options.bacs_debit, PaymentIntentCreateParams.payment_method_options.bacs_debit, and PaymentIntentUpdateParams.payment_method_options.bacs_debit
    • Add support for bacs_debit on SetupIntent.payment_method_options, SetupIntentConfirmParams.payment_method_options, SetupIntentCreateParams.payment_method_options, and SetupIntentUpdateParams.payment_method_options
    • Add support for chips on Treasury.OutboundPayment.tracking_details.us_domestic_wire, Treasury.OutboundPaymentUpdateParams.testHelpers.tracking_details.us_domestic_wire, Treasury.OutboundTransfer.tracking_details.us_domestic_wire, and Treasury.OutboundTransferUpdateParams.testHelpers.tracking_details.us_domestic_wire
    • Change type of Treasury.OutboundPayment.tracking_details.us_domestic_wire.imad and Treasury.OutboundTransfer.tracking_details.us_domestic_wire.imad from string to string | null

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

... (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 1 week ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.