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.8.0 #63

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps stripe from 8.222.0 to 9.8.0.

Release notes

Sourced from stripe's releases.

v9.8.0

  • #1448 Add types for extra request options
  • #1446 API Updates
    • Add support for treasury on Account.settings, AccountCreateParams.settings, and AccountUpdateParams.settings
    • Add support for rendering_options on CustomerCreateParams.invoice_settings and CustomerUpdateParams.invoice_settings
    • Add support for eu_bank_transfer on CustomerCreateFundingInstructionsParams.bank_transfer, Invoice.payment_settings.payment_method_options.customer_balance.bank_transfer, InvoiceCreateParams.payment_settings.payment_method_options.customer_balance.bank_transfer, InvoiceUpdateParams.payment_settings.payment_method_options.customer_balance.bank_transfer, Order.payment.settings.payment_method_options.customer_balance.bank_transfer, OrderCreateParams.payment.settings.payment_method_options.customer_balance.bank_transfer, OrderUpdateParams.payment.settings.payment_method_options.customer_balance.bank_transfer, PaymentIntent.payment_method_options.customer_balance.bank_transfer, PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer, PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer, PaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer, Subscription.payment_settings.payment_method_options.customer_balance.bank_transfer, SubscriptionCreateParams.payment_settings.payment_method_options.customer_balance.bank_transfer, and SubscriptionUpdateParams.payment_settings.payment_method_options.customer_balance.bank_transfer
    • Change type of CustomerCreateFundingInstructionsParams.bank_transfer.requested_address_types[] from literal('zengin') to enum('iban'|'sort_code'|'spei'|'zengin')
    • Change type of CustomerCreateFundingInstructionsParams.bank_transfer.type, Order.payment.settings.payment_method_options.customer_balance.bank_transfer.type, OrderCreateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.type, OrderUpdateParams.payment.settings.payment_method_options.customer_balance.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 from literal('jp_bank_transfer') to enum('eu_bank_transfer'|'gb_bank_transfer'|'jp_bank_transfer'|'mx_bank_transfer')
    • Add support for iban, sort_code, and spei on FundingInstructions.bank_transfer.financial_addresses[] and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[]
    • Add support for new values bacs, fps, and spei on enums FundingInstructions.bank_transfer.financial_addresses[].supported_networks[] and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].supported_networks[]
    • Add support for new values sort_code and spei on enums FundingInstructions.bank_transfer.financial_addresses[].type and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].type
    • Change type of 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[], OrderUpdateParams.payment.settings.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[] from literal('zengin') to enum
    • Add support for custom_unit_amount on PriceCreateParams and Price

See the changelog for more details.

v9.8.0-beta.1

  • #1442 API Updates
    • Add support for network_details method on resource ReceivedCredits/ReceivedDebits

See the changelog for more details.

v9.7.0

  • #1441 API Updates
    • Add support for affirm, bancontact, card, ideal, p24, and sofort on Checkout.Session.payment_method_options and CheckoutSessionCreateParams.payment_method_options
    • Add support for afterpay_clearpay, au_becs_debit, bacs_debit, eps, fpx, giropay, grabpay, klarna, paynow, and sepa_debit on CheckoutSessionCreateParams.payment_method_options
    • Add support for setup_future_usage on Checkout.Session.payment_method_options.* and CheckoutSessionCreateParams.payment_method_options.*,
    • Change PaymentMethod.us_bank_account.networks and SetupIntent.flow_directions to be required
    • Add support for attach_to_self on SetupAttempt, SetupIntentCreateParams, SetupIntentListParams, and SetupIntentUpdateParams
    • Add support for flow_directions on SetupAttempt, SetupIntentCreateParams, and SetupIntentUpdateParams

See the changelog for more details.

v9.6.0

  • #1439 API Updates
    • Add support for radar_options on ChargeCreateParams, Charge, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams, PaymentIntentUpdateParams.payment_method_data, PaymentMethodCreateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for account_holder_name, account_number, account_type, bank_code, bank_name, branch_code, and branch_name on FundingInstructions.bank_transfer.financial_addresses[].zengin and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].zengin
    • Add support for new values en-AU and en-NZ on enums OrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale, OrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale, PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale, PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale, and PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
    • Change type of Order.payment.settings.payment_method_options.customer_balance.bank_transfer.type and PaymentIntent.payment_method_options.customer_balance.bank_transfer.type from enum to literal('jp_bank_transfer')
      • This is technically breaking in Typescript, but now accurately represents the behavior that was allowed by the server. We haven't historically treated breaking Typescript changes as requiring a major.
    • Change PaymentIntent.next_action.display_bank_transfer_instructions.hosted_instructions_url to be required
    • Add support for network on SetupIntent.payment_method_options.card
    • Add support for new value simulated_wisepos_e on enums Terminal.Reader.device_type and TerminalReaderListParams.device_type

See the changelog for more details.

v9.5.0

  • #1434 API Updates
    • Add support for affirm_payments and link_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for id_number_secondary on AccountCreateParams.individual, AccountUpdateParams.individual, PersonCreateParams, PersonUpdateParams, TokenCreateParams.account.individual, and TokenCreateParams.person

... (truncated)

Changelog

Sourced from stripe's changelog.

9.8.0 - 2022-06-09

  • #1448 Add types for extra request options
  • #1446 API Updates
    • Add support for treasury on Account.settings, AccountCreateParams.settings, and AccountUpdateParams.settings
    • Add support for rendering_options on CustomerCreateParams.invoice_settings and CustomerUpdateParams.invoice_settings
    • Add support for eu_bank_transfer on CustomerCreateFundingInstructionsParams.bank_transfer, Invoice.payment_settings.payment_method_options.customer_balance.bank_transfer, InvoiceCreateParams.payment_settings.payment_method_options.customer_balance.bank_transfer, InvoiceUpdateParams.payment_settings.payment_method_options.customer_balance.bank_transfer, Order.payment.settings.payment_method_options.customer_balance.bank_transfer, OrderCreateParams.payment.settings.payment_method_options.customer_balance.bank_transfer, OrderUpdateParams.payment.settings.payment_method_options.customer_balance.bank_transfer, PaymentIntent.payment_method_options.customer_balance.bank_transfer, PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer, PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer, PaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer, Subscription.payment_settings.payment_method_options.customer_balance.bank_transfer, SubscriptionCreateParams.payment_settings.payment_method_options.customer_balance.bank_transfer, and SubscriptionUpdateParams.payment_settings.payment_method_options.customer_balance.bank_transfer
    • Change type of CustomerCreateFundingInstructionsParams.bank_transfer.requested_address_types[] from literal('zengin') to enum('iban'|'sort_code'|'spei'|'zengin')
    • Change type of CustomerCreateFundingInstructionsParams.bank_transfer.type, Order.payment.settings.payment_method_options.customer_balance.bank_transfer.type, OrderCreateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.type, OrderUpdateParams.payment.settings.payment_method_options.customer_balance.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 from literal('jp_bank_transfer') to enum('eu_bank_transfer'|'gb_bank_transfer'|'jp_bank_transfer'|'mx_bank_transfer')
    • Add support for iban, sort_code, and spei on FundingInstructions.bank_transfer.financial_addresses[] and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[]
    • Add support for new values bacs, fps, and spei on enums FundingInstructions.bank_transfer.financial_addresses[].supported_networks[] and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].supported_networks[]
    • Add support for new values sort_code and spei on enums FundingInstructions.bank_transfer.financial_addresses[].type and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].type
    • Change type of 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[], OrderUpdateParams.payment.settings.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[] from literal('zengin') to enum
    • Add support for custom_unit_amount on PriceCreateParams and Price

9.7.0 - 2022-06-08

  • #1441 API Updates
    • Add support for affirm, bancontact, card, ideal, p24, and sofort on Checkout.Session.payment_method_options and CheckoutSessionCreateParams.payment_method_options
    • Add support for afterpay_clearpay, au_becs_debit, bacs_debit, eps, fpx, giropay, grabpay, klarna, paynow, and sepa_debit on CheckoutSessionCreateParams.payment_method_options
    • Add support for setup_future_usage on Checkout.Session.payment_method_options.* and CheckoutSessionCreateParams.payment_method_options.*,
    • Change PaymentMethod.us_bank_account.networks and SetupIntent.flow_directions to be required
    • Add support for attach_to_self on SetupAttempt, SetupIntentCreateParams, SetupIntentListParams, and SetupIntentUpdateParams
    • Add support for flow_directions on SetupAttempt, SetupIntentCreateParams, and SetupIntentUpdateParams

9.6.0 - 2022-06-01

  • #1439 API Updates
    • Add support for radar_options on ChargeCreateParams, Charge, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams, PaymentIntentUpdateParams.payment_method_data, PaymentMethodCreateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for account_holder_name, account_number, account_type, bank_code, bank_name, branch_code, and branch_name on FundingInstructions.bank_transfer.financial_addresses[].zengin and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].zengin
    • Add support for new values en-AU and en-NZ on enums OrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale, OrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale, PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale, PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale, and PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
    • Change type of Order.payment.settings.payment_method_options.customer_balance.bank_transfer.type and PaymentIntent.payment_method_options.customer_balance.bank_transfer.type from enum to literal('jp_bank_transfer')
      • This is technically breaking in Typescript, but now accurately represents the behavior that was allowed by the server. We haven't historically treated breaking Typescript changes as requiring a major.
    • Change PaymentIntent.next_action.display_bank_transfer_instructions.hosted_instructions_url to be required
    • Add support for network on SetupIntent.payment_method_options.card
    • Add support for new value simulated_wisepos_e on enums Terminal.Reader.device_type and TerminalReaderListParams.device_type

9.5.0 - 2022-05-26

  • #1434 API Updates

    • Add support for affirm_payments and link_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for id_number_secondary on AccountCreateParams.individual, AccountUpdateParams.individual, PersonCreateParams, PersonUpdateParams, TokenCreateParams.account.individual, and TokenCreateParams.person
    • Add support for new value affirm on enum CheckoutSessionCreateParams.payment_method_types[]
    • Add support for hosted_instructions_url on PaymentIntent.next_action.display_bank_transfer_instructions
    • Add support for id_number_secondary_provided on Person
    • Add support for card_issuing on TreasuryFinancialAccountCreateParams.features, TreasuryFinancialAccountUpdateFeaturesParams, and TreasuryFinancialAccountUpdateParams.features
  • #1432 docs: Update HttpClient documentation to remove experimental status.

9.4.0 - 2022-05-23

  • #1431 API Updates
    • Add support for treasury on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities

... (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)
dependabot[bot] commented 2 years ago

Superseded by #69.