coopflow / fastify-stripe

Stripe Node.js Library instance initialization and encapsulation in fastify framework.
MIT License
22 stars 4 forks source link

chore(deps-dev): bump stripe from 8.222.0 to 9.2.0 #57

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps stripe from 8.222.0 to 9.2.0.

Release notes

Sourced from stripe's releases.

v9.2.0

  • #1422 API Updates
    • Add support for new resources Treasury.CreditReversal, Treasury.DebitReversal, Treasury.FinancialAccountFeatures, Treasury.FinancialAccount, Treasury.FlowDetails, Treasury.InboundTransfer, Treasury.OutboundPayment, Treasury.OutboundTransfer, Treasury.ReceivedCredit, Treasury.ReceivedDebit, Treasury.TransactionEntry, and Treasury.Transaction
    • Add support for retrieve_payment_method method on resource Customer
    • Add support for list_owners and list methods on resource FinancialConnections.Account
    • Change BillingPortalConfigurationCreateParams.features.customer_update.allowed_updates to be optional
    • Change type of BillingPortal.Session.return_url from string to nullable(string)
    • Add support for afterpay_clearpay, au_becs_debit, bacs_debit, eps, fpx, giropay, grabpay, klarna, paynow, and sepa_debit on Checkout.Session.payment_method_options
    • Add support for treasury on Issuing.Authorization, Issuing.Dispute, Issuing.Transaction, and IssuingDisputeCreateParams
    • Add support for financial_account on Issuing.Card and IssuingCardCreateParams
    • Add support for client_secret on Order
    • Add support for networks on PaymentIntentConfirmParams.payment_method_options.us_bank_account, PaymentIntentCreateParams.payment_method_options.us_bank_account, PaymentIntentUpdateParams.payment_method_options.us_bank_account, PaymentMethod.us_bank_account, SetupIntentConfirmParams.payment_method_options.us_bank_account, SetupIntentCreateParams.payment_method_options.us_bank_account, and SetupIntentUpdateParams.payment_method_options.us_bank_account
    • Add support for attach_to_self and flow_directions on SetupIntent
    • Add support for save_default_payment_method on Subscription.payment_settings, SubscriptionCreateParams.payment_settings, and SubscriptionUpdateParams.payment_settings
    • Add support for czk on Terminal.Configuration.tipping, TerminalConfigurationCreateParams.tipping, and TerminalConfigurationUpdateParams.tipping
    • Add support for new values treasury.credit_reversal.created, treasury.credit_reversal.posted, treasury.debit_reversal.completed, treasury.debit_reversal.created, treasury.debit_reversal.initial_credit_granted, treasury.financial_account.closed, treasury.financial_account.created, treasury.financial_account.features_status_updated, treasury.inbound_transfer.canceled, treasury.inbound_transfer.created, treasury.inbound_transfer.failed, treasury.inbound_transfer.succeeded, treasury.outbound_payment.canceled, treasury.outbound_payment.created, treasury.outbound_payment.expected_arrival_date_updated, treasury.outbound_payment.failed, treasury.outbound_payment.posted, treasury.outbound_payment.returned, treasury.outbound_transfer.canceled, treasury.outbound_transfer.created, treasury.outbound_transfer.expected_arrival_date_updated, treasury.outbound_transfer.failed, treasury.outbound_transfer.posted, treasury.outbound_transfer.returned, treasury.received_credit.created, treasury.received_credit.failed, treasury.received_credit.reversed, treasury.received_credit.succeeded, and treasury.received_debit.created on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

See the changelog for more details.

v9.1.0

  • #1420 API Updates
    • Add support for description on CheckoutSessionCreateParams.subscription_data, SubscriptionCreateParams, SubscriptionUpdateParams, and Subscription
    • Add support for consent_collection, payment_intent_data, shipping_options, submit_type, and tax_id_collection on PaymentLinkCreateParams and PaymentLink
    • Add support for customer_creation on PaymentLinkCreateParams, PaymentLinkUpdateParams, and PaymentLink
    • Add support for metadata on SubscriptionSchedule.phases[], SubscriptionScheduleCreateParams.phases[], and SubscriptionScheduleUpdateParams.phases[]
    • Add support for new value billing_portal.session.created on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

See the changelog for more details.

v9.0.0

Major version release - The migration guide contains a detailed list of backwards-incompatible changes with upgrade instructions. (⚠️ = breaking changes):

  • ⚠️#1336 feat(http-client): retry closed connection errors
  • #1415 #1417 API Updates
    • ⚠️ Replace the legacy Order API with the new Order API.
      • Resource modified: Order.
      • New methods: cancel, list_line_items, reopen, and submit
      • Removed methods: pay and return_order
      • Removed resources: OrderItem and OrderReturn
      • Removed references from other resources: Charge.order
    • Add support for amount_discount, amount_tax, and product on LineItem
    • Change type of Charge.shipping.name, Checkout.Session.shipping.name, Customer.shipping.name, Invoice.customer_shipping.name, PaymentIntent.shipping.name, ShippingDetails.name, and Source.source_order.shipping.name from nullable(string) to string

See the changelog for more details.

Changelog

Sourced from stripe's changelog.

9.2.0 - 2022-05-19

  • #1422 API Updates
    • Add support for new Treasury APIs: CreditReversal, DebitReversal, FinancialAccountFeatures, FinancialAccount, FlowDetails, InboundTransfer, OutboundPayment, OutboundTransfer, ReceivedCredit, ReceivedDebit, TransactionEntry, and Transaction
    • Add support for treasury on Issuing.Authorization, Issuing.Dispute, Issuing.Transaction, and IssuingDisputeCreateParams
    • Add support for retrieve_payment_method method on resource Customer
    • Add support for list_owners and list methods on resource FinancialConnections.Account
    • Change BillingPortalConfigurationCreateParams.features.customer_update.allowed_updates to be optional
    • Change type of BillingPortal.Session.return_url from string to nullable(string)
    • Add support for afterpay_clearpay, au_becs_debit, bacs_debit, eps, fpx, giropay, grabpay, klarna, paynow, and sepa_debit on Checkout.Session.payment_method_options
    • Add support for financial_account on Issuing.Card and IssuingCardCreateParams
    • Add support for client_secret on Order
    • Add support for networks on PaymentIntentConfirmParams.payment_method_options.us_bank_account, PaymentIntentCreateParams.payment_method_options.us_bank_account, PaymentIntentUpdateParams.payment_method_options.us_bank_account, PaymentMethod.us_bank_account, SetupIntentConfirmParams.payment_method_options.us_bank_account, SetupIntentCreateParams.payment_method_options.us_bank_account, and SetupIntentUpdateParams.payment_method_options.us_bank_account
    • Add support for attach_to_self and flow_directions on SetupIntent
    • Add support for save_default_payment_method on Subscription.payment_settings, SubscriptionCreateParams.payment_settings, and SubscriptionUpdateParams.payment_settings
    • Add support for czk on Terminal.Configuration.tipping, TerminalConfigurationCreateParams.tipping, and TerminalConfigurationUpdateParams.tipping

9.1.0 - 2022-05-11

  • #1420 API Updates
    • Add support for description on CheckoutSessionCreateParams.subscription_data, SubscriptionCreateParams, SubscriptionUpdateParams, and Subscription
    • Add support for consent_collection, payment_intent_data, shipping_options, submit_type, and tax_id_collection on PaymentLinkCreateParams and PaymentLink
    • Add support for customer_creation on PaymentLinkCreateParams, PaymentLinkUpdateParams, and PaymentLink
    • Add support for metadata on SubscriptionSchedule.phases[], SubscriptionScheduleCreateParams.phases[], and SubscriptionScheduleUpdateParams.phases[]
    • Add support for new value billing_portal.session.created on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

9.0.0 - 2022-05-09

Major version release - The migration guide contains a detailed list of backwards-incompatible changes with upgrade instructions. (⚠️ = breaking changes):

  • ⚠️#1336 feat(http-client): retry closed connection errors
  • #1415 #1417 API Updates
    • ⚠️ Replace the legacy Order API with the new Order API.
      • Resource modified: Order.
      • New methods: cancel, list_line_items, reopen, and submit
      • Removed methods: pay and return_order
      • Removed resources: OrderItem and OrderReturn
      • Removed references from other resources: Charge.order
    • Add support for amount_discount, amount_tax, and product on LineItem
    • Change type of Charge.shipping.name, Checkout.Session.shipping.name, Customer.shipping.name, Invoice.customer_shipping.name, PaymentIntent.shipping.name, ShippingDetails.name, and Source.source_order.shipping.name from nullable(string) to string
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)
dependabot[bot] commented 2 years ago

Superseded by #58.