Ghost icon indicating copy to clipboard operation
Ghost copied to clipboard

Update dependency stripe to v10

Open renovate[bot] opened this issue 3 years ago • 1 comments

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
stripe 8.222.0 -> 10.10.0 age adoption passing confidence

Release Notes

stripe/stripe-node

v10.10.0

Compare Source

  • #​1552 API Updates
    • Add support for pix on Charge.payment_method_details, Checkout.Session.payment_method_options, CheckoutSessionCreateParams.payment_method_options, 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, PaymentMethodCreateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for new value pix on enum CheckoutSessionCreateParams.payment_method_types[]
    • Add support for new value pix on enums CustomerListPaymentMethodsParams.type and PaymentMethodListParams.type
    • Add support for from_invoice on InvoiceCreateParams and Invoice
    • Add support for latest_revision on Invoice
    • Add support for amount on IssuingDisputeCreateParams and IssuingDisputeUpdateParams
    • Add support for new value pix on enums 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 pix_display_qr_code on PaymentIntent.next_action
    • Add support for new value pix on enums PaymentLink.payment_method_types[], PaymentLinkCreateParams.payment_method_types[], and PaymentLinkUpdateParams.payment_method_types[]
    • Add support for new value pix on enum PaymentMethodCreateParams.type
    • Add support for new value pix on enum PaymentMethod.type
    • Add support for created on Treasury.CreditReversal and Treasury.DebitReversal

v10.8.0

Compare Source

  • #​1544 API Updates
    • Add support for new value terminal_reader_splashscreen on enums File.purpose and FileListParams.purpose

v10.7.0

Compare Source

  • #​1540 API Updates
    • Add support for new values de-CH, en-CH, en-PL, en-PT, fr-CH, it-CH, pl-PL, and pt-PT 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
    • Add support for description on PaymentLink.subscription_data and PaymentLinkCreateParams.subscription_data

v10.6.0

Compare Source

  • #​1534 API Updates
    • Change Account.company.name, Charge.refunds, PaymentIntent.charges, Product.caption, Product.statement_descriptor, Product.unit_label, Terminal.Configuration.tipping.aud.fixed_amounts, Terminal.Configuration.tipping.aud.percentages, Terminal.Configuration.tipping.cad.fixed_amounts, Terminal.Configuration.tipping.cad.percentages, Terminal.Configuration.tipping.chf.fixed_amounts, Terminal.Configuration.tipping.chf.percentages, Terminal.Configuration.tipping.czk.fixed_amounts, Terminal.Configuration.tipping.czk.percentages, Terminal.Configuration.tipping.dkk.fixed_amounts, Terminal.Configuration.tipping.dkk.percentages, Terminal.Configuration.tipping.eur.fixed_amounts, Terminal.Configuration.tipping.eur.percentages, Terminal.Configuration.tipping.gbp.fixed_amounts, Terminal.Configuration.tipping.gbp.percentages, Terminal.Configuration.tipping.hkd.fixed_amounts, Terminal.Configuration.tipping.hkd.percentages, Terminal.Configuration.tipping.myr.fixed_amounts, Terminal.Configuration.tipping.myr.percentages, Terminal.Configuration.tipping.nok.fixed_amounts, Terminal.Configuration.tipping.nok.percentages, Terminal.Configuration.tipping.nzd.fixed_amounts, Terminal.Configuration.tipping.nzd.percentages, Terminal.Configuration.tipping.sek.fixed_amounts, Terminal.Configuration.tipping.sek.percentages, Terminal.Configuration.tipping.sgd.fixed_amounts, Terminal.Configuration.tipping.sgd.percentages, Terminal.Configuration.tipping.usd.fixed_amounts, Terminal.Configuration.tipping.usd.percentages, Treasury.FinancialAccount.active_features, Treasury.FinancialAccount.pending_features, Treasury.FinancialAccount.platform_restrictions, and Treasury.FinancialAccount.restricted_features to be optional
    • Add support for login_page on BillingPortal.Configuration, BillingPortalConfigurationCreateParams, and BillingPortalConfigurationUpdateParams
    • Add support for new value deutsche_bank_ag on enums Charge.payment_method_details.eps.bank, PaymentIntentConfirmParams.payment_method_data.eps.bank, PaymentIntentCreateParams.payment_method_data.eps.bank, PaymentIntentUpdateParams.payment_method_data.eps.bank, PaymentMethod.eps.bank, PaymentMethodCreateParams.eps.bank, SetupIntentConfirmParams.payment_method_data.eps.bank, SetupIntentCreateParams.payment_method_data.eps.bank, and SetupIntentUpdateParams.payment_method_data.eps.bank
    • Add support for customs and phone_number on Issuing.Card.shipping and IssuingCardCreateParams.shipping
    • Add support for description on Quote.subscription_data, QuoteCreateParams.subscription_data, QuoteUpdateParams.subscription_data, SubscriptionSchedule.default_settings, SubscriptionSchedule.phases[], SubscriptionScheduleCreateParams.default_settings, SubscriptionScheduleCreateParams.phases[], SubscriptionScheduleUpdateParams.default_settings, and SubscriptionScheduleUpdateParams.phases[]
  • #​1532 Update coveralls step to run for one node version, remove finish step
  • #​1531 Regen yarn.lock.

v10.5.0

Compare Source

  • #​1527 fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
  • #​1528 Update README.md to use a new NOTE notation
  • #​1526 Add test coverage using Coveralls

v10.4.0

Compare Source

  • #​1520 Add beta readme.md section
  • #​1524 API Updates
    • Change Terminal.Reader.action to be required
    • Change TreasuryOutboundTransferCreateParams.destination_payment_method to be optional
    • Change type of Treasury.OutboundTransfer.destination_payment_method from string to string | null
    • Change the return type of Customer.fundCashBalance test helper from CustomerBalanceTransaction to CustomerCashBalanceTransaction.
      • This would generally be considered a breaking change, but we've worked with all existing users to migrate and are comfortable releasing this as a minor as it is solely a test helper method. This was essentially broken prior to this change.

v10.3.0

Compare Source

  • #​1516 API Updates
    • Add support for new resource CustomerCashBalanceTransaction
    • Remove support for value paypal from enums Order.payment.settings.payment_method_types[], OrderCreateParams.payment.settings.payment_method_types[], and OrderUpdateParams.payment.settings.payment_method_types[]
    • Add support for currency on PaymentLink
    • Add support for network on SetupIntentConfirmParams.payment_method_options.card, SetupIntentCreateParams.payment_method_options.card, SetupIntentUpdateParams.payment_method_options.card, Subscription.payment_settings.payment_method_options.card, SubscriptionCreateParams.payment_settings.payment_method_options.card, and SubscriptionUpdateParams.payment_settings.payment_method_options.card
    • Change Subscription.currency to be required
    • Change type of Topup.source from Source to Source | null
    • Add support for new value customer_cash_balance_transaction.created on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]
  • #​1515 Add a support section to the readme

v10.2.0

Compare Source

  • #​1510 API Updates
    • Add support for payment_method_collection on Checkout.Session, CheckoutSessionCreateParams, PaymentLinkCreateParams, PaymentLinkUpdateParams, and PaymentLink

v10.1.0

Compare Source

  • #​1506 API Updates
    • Add support for process_config on Terminal.Reader.action.process_payment_intent
  • #​1505 Simplify AddressParam definitions
    • Rename AddressParam to ShippingAddressParam, and change type of Source.source_order.shipping.address, SourceUpdateParams.SourceOrder.Shipping.address, and SessionCreateParams.PaymentIntentData.Shipping.address to ShippingAddressParam
    • Rename AccountAddressParam go AddressParam, and change type of AccountCreateParams.BusinessProfile.support_address, AccountCreateParams.Company.address, AccountCreateParams.Individual.address , AccountCreateParams.Individual.registered_address, AccountUpdateParams.BusinessProfile.support_address, AccountUpdateParams.Company.address, AccountUpdateParams.Individual.address, AccountUpdateParams.Individual.registered_address, ChargeCreateParams.Shipping.address, ChargeUpdateParams.Shipping.address, CustomerCreateParams.Shipping.address, CustomerUpdateParams.Shipping.address, CustomerSourceUpdateParams.Owner.address, InvoiceListUpcomingLinesParams.CustomerDetails.Shipping.address, InvoiceRetrieveUpcomingParams.CustomerDetails.Shipping.address, OrderCreateParams.BillingDetails.address, OrderCreateParams.ShippingDetails.address, OrderUpdateParams.BillingDetails.address, OrderUpdateParams.ShippingDetails.address, PaymentIntentCreateParams.Shipping.address, PaymentIntentUpdateParams.Shipping.address, PaymentIntentConfirmParams.Shipping.address, PersonCreateParams.address, PersonCreateParams.registered_address, PersonUpdateParams.address, PersonUpdateParams.registered_address, SourceCreateParams.Owner.address, SourceUpdateParams.Owner.address, TokenCreateParams.Account.Company.address, TokenCreateParams.Account.Individual.address, TokenCreateParams.Account.Individual.registered_address, TokenCreateParams.Person.address, TokenCreateParams.Person.registered_address, and Terminal.LocationUpdateParams.address to AddressParam
  • #​1503 API Updates
    • Add support for expires_at on Apps.Secret and AppsSecretCreateParams

v10.0.0

Compare Source

This release includes breaking changes resulting from:

  • Moving to use the new API version "2022-08-01". To learn more about these changes to Stripe products, see https://stripe.com/docs/upgrades#​2022-08-01
  • Cleaning up the SDK to remove deprecated/unused APIs and rename classes/methods/properties to sync with product APIs. Read more detailed description at https://github.com/stripe/stripe-node/wiki/Migration-guide-for-v10.

"⚠️" symbol highlights breaking changes.

Added
  • Add support for new value invalid_tos_acceptance on enums Account.future_requirements.errors[].code, Account.requirements.errors[].code, Capability.future_requirements.errors[].code, Capability.requirements.errors[].code, Person.future_requirements.errors[].code, and Person.requirements.errors[].code
  • Add support for shipping_cost and shipping_details on Checkout.Session
⚠️ Changed
  • Change type of business_profile, business_type, country, default_currency, and settings properties on Account resource to be nullable.
  • Change type of currency property on Checkout.Session resource from string to 'cad' | 'usd'.
  • Change location of TypeScript definitions for CreditNoteLineItemListPreviewParams, CreditNoteLineItemListPreviewParams.Line, CreditNoteLineItemListPreviewParams.Line.Type, and CreditNoteLineItemListPreviewParams.Line.Reason interfaces from CreditNoteLineItems.d.ts to CreditNotes.d.ts.
  • Change type of address, currency, delinquent, discount, invoice_prefix, name, phone, and preferred_locales properties on Customer resource to be nullable.
  • Rename InvoiceRetrieveUpcomingParams to InvoiceListUpcomingLinesParams.
⚠️ Removed
  • Remove for AlipayAccount, DeletedAlipayAccount, BitcoinReceiver, DeletedBitcoinReceiver, BitcoinTransaction, and BitcoinTransactionListParams definitions.
  • Remove AlipayAccount and BitcoinReceiver from CustomerSource.
  • Remove Stripe.DeletedAlipayAccount and Stripe.DeletedBitcoinReceiver from possible values of source property in PaymentIntent.
  • Remove IssuerFraudRecord, IssuerFraudRecordRetrieveParams, IssuerFraudRecordListParams, and IssuerFraudRecordsResource, definitions.
  • Remove treasury.received_credit.reversed webhook event constant. Please use treasury.received_credit.returned instead.
  • Remove order.payment_failed, transfer.failed, and transfer.paid. The events were deprecated.
  • Remove retrieveDetails method from Issuing.Card resource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual.
  • Remove Issuing.CardDetails and CardRetrieveDetailsParams definition.
  • Remove IssuerFraudRecords resource.
  • Remove Recipient resource andrecipient property from Card resource.
  • Remove InvoiceMarkUncollectibleParams definition.
  • Remove deprecated Stripe.Errors and StripeError (and derived StripeCardError, StripeInvalidRequestError, StripeAPIError, StripeAuthenticationError, StripePermissionError, StripeRateLimitError, StripeConnectionError, StripeSignatureVerificationError, StripeIdempotencyError, and StripeInvalidGrantError) definitions.
  • Remove redirect_url from LoginLinks definition. The property is no longer supported.
  • Remove LineItemListParams definition. The interface was no longer in use.
⚠️ Renamed
  • Rename listUpcomingLineItems method on Invoice resource to listUpcomingLines.
  • Rename InvoiceLineItemListUpcomingParams to InvoiceListUpcomingLinesParams.
  • Rename InvoiceRetrieveUpcomingParams to InvoiceListUpcomingLinesParams.

v9.16.0

Compare Source

  • #​1492 API Updates
    • Add support for new value exempted on enums Charge.payment_method_details.card.three_d_secure.result and SetupAttempt.payment_method_details.card.three_d_secure.result
    • Add support for customer_balance on Checkout.Session.payment_method_options and CheckoutSessionCreateParams.payment_method_options
    • Add support for new value customer_balance on enum CheckoutSessionCreateParams.payment_method_types[]
    • Add support for new values en-CA and fr-CA 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

v9.15.0

Compare Source

  • #​1486 API Updates
    • Add support for installments on Checkout.Session.payment_method_options.card, CheckoutSessionCreateParams.payment_method_options.card, Invoice.payment_settings.payment_method_options.card, InvoiceCreateParams.payment_settings.payment_method_options.card, and InvoiceUpdateParams.payment_settings.payment_method_options.card
    • Add support for default_currency and invoice_credit_balance on Customer
    • Add support for currency on InvoiceCreateParams
    • Add support for default_mandate on Invoice.payment_settings, InvoiceCreateParams.payment_settings, and InvoiceUpdateParams.payment_settings
    • Add support for mandate on InvoicePayParams
    • Add support for product_data on OrderCreateParams.line_items[] and OrderUpdateParams.line_items[]

v9.14.0

Compare Source

  • #​1477 API Updates
    • Add support for blik_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for blik on Charge.payment_method_details, Mandate.payment_method_details, 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, PaymentMethodCreateParams, PaymentMethodUpdateParams, PaymentMethod, SetupAttempt.payment_method_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
    • Change type of Checkout.Session.consent_collection.promotions, CheckoutSessionCreateParams.consent_collection.promotions, PaymentLink.consent_collection.promotions, and PaymentLinkCreateParams.consent_collection.promotions from literal('auto') to enum('auto'|'none')
    • Add support for new value blik on enum CheckoutSessionCreateParams.payment_method_types[]
    • Add support for new value blik on enums CustomerListPaymentMethodsParams.type and PaymentMethodListParams.type
    • Add support for new value blik on enums 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 blik on enums PaymentLink.payment_method_types[], PaymentLinkCreateParams.payment_method_types[], and PaymentLinkUpdateParams.payment_method_types[]
    • Add support for new value blik on enum PaymentMethodCreateParams.type
    • Add support for new value blik on enum PaymentMethod.type
  • #​1476 fix: Include trailing slash when passing empty query parameters.
  • #​1475 Move @​types/node to devDependencies

v9.13.0

Compare Source

  • #​1473 API Updates
    • Add support for customer_details on CheckoutSessionListParams
    • Change LineItem.amount_discount and LineItem.amount_tax to be required
    • Change Transfer.source_type to be optional and not nullable
  • #​1471 Update readme to include a note on beta packages

v9.12.0

Compare Source

  • #​1468 API Updates
    • Add support for currency on CheckoutSessionCreateParams, InvoiceUpcomingLinesParams, InvoiceUpcomingParams, PaymentLinkCreateParams, SubscriptionCreateParams, SubscriptionSchedule.phases[], SubscriptionScheduleCreateParams.phases[], SubscriptionScheduleUpdateParams.phases[], and Subscription
    • Add support for currency_options on CheckoutSessionCreateParams.shipping_options[].shipping_rate_data.fixed_amount, CouponCreateParams, CouponUpdateParams, Coupon, OrderCreateParams.shipping_cost.shipping_rate_data.fixed_amount, OrderUpdateParams.shipping_cost.shipping_rate_data.fixed_amount, PriceCreateParams, PriceUpdateParams, Price, ProductCreateParams.default_price_data, PromotionCode.restrictions, PromotionCodeCreateParams.restrictions, ShippingRate.fixed_amount, and ShippingRateCreateParams.fixed_amount
    • Add support for restrictions on PromotionCodeUpdateParams
    • Add support for fixed_amount and tax_behavior on ShippingRateUpdateParams
  • #​1467 API Updates
    • Add support for customer on CheckoutSessionListParams and RefundCreateParams
    • Add support for currency and origin on RefundCreateParams
    • Add support for new values financial_connections.account.created, financial_connections.account.deactivated, financial_connections.account.disconnected, financial_connections.account.reactivated, and financial_connections.account.refreshed_balance on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

v9.11.0

Compare Source

  • #​1462 API Updates
    • Add support for deliver_card, fail_card, return_card, and ship_card test helper methods on resource Issuing.Card
    • Change type of PaymentLink.payment_method_types[], PaymentLinkCreateParams.payment_method_types[], and PaymentLinkUpdateParams.payment_method_types[] from literal('card') to enum
    • Add support for hosted_regulatory_receipt_url on Treasury.ReceivedCredit and Treasury.ReceivedDebit

v9.10.0

Compare Source

  • #​1459 API Updates
    • Add support for capture_method on PaymentIntentConfirmParams and PaymentIntentUpdateParams
  • #​1458 API Updates
    • Add support for promptpay_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for promptpay on Charge.payment_method_details, 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, PaymentMethodCreateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for new value promptpay on enum CheckoutSessionCreateParams.payment_method_types[]
    • Add support for subtotal_excluding_tax on CreditNote and Invoice
    • Add support for amount_excluding_tax and unit_amount_excluding_tax on CreditNoteLineItem and InvoiceLineItem
    • Add support for new value promptpay on enums CustomerListPaymentMethodsParams.type and PaymentMethodListParams.type
    • Add support for rendering_options on InvoiceCreateParams and InvoiceUpdateParams
    • Add support for new value promptpay 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 total_excluding_tax on Invoice
    • Add support for automatic_payment_methods on Order.payment.settings
    • Add support for new value promptpay on enums 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 promptpay_display_qr_code on PaymentIntent.next_action
    • Add support for new value promptpay on enum PaymentMethodCreateParams.type
    • Add support for new value promptpay on enum PaymentMethod.type
  • #​1455 fix: Stop using path.join to create URLs.

v9.9.0

Compare Source

  • #​1453 API Updates
    • Add support for fund_cash_balance test helper method on resource Customer
    • Add support for statement_descriptor_prefix_kana and statement_descriptor_prefix_kanji on Account.settings.card_payments, Account.settings.payments, AccountCreateParams.settings.card_payments, and AccountUpdateParams.settings.card_payments
    • Add support for statement_descriptor_suffix_kana and statement_descriptor_suffix_kanji on Checkout.Session.payment_method_options.card, CheckoutSessionCreateParams.payment_method_options.card, PaymentIntent.payment_method_options.card, PaymentIntentConfirmParams.payment_method_options.card, PaymentIntentCreateParams.payment_method_options.card, and PaymentIntentUpdateParams.payment_method_options.card
    • Add support for total_excluding_tax on CreditNote
    • Change type of CustomerCreateParams.invoice_settings.rendering_options and CustomerUpdateParams.invoice_settings.rendering_options from rendering_options_param to emptyStringable(rendering_options_param)
    • Add support for rendering_options on Customer.invoice_settings and Invoice
  • #​1452 Fix non-conforming changelog entries and port the Makefile fix
  • #​1450 Only publish stable version to the latest tag

v9.8.0

Compare Source

  • #​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

v9.7.0

Compare Source

  • #​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

v9.6.0

Compare Source

  • #​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

v9.5.0

Compare Source

  • #​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.

v9.4.0

Compare Source

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

v9.3.0

Compare Source

  • #​1430 API Updates
    • Add support for new resource Apps.Secret
    • Add support for affirm on Charge.payment_method_details, 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, PaymentMethodCreateParams, PaymentMethodUpdateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for link on Charge.payment_method_details, Mandate.payment_method_details, OrderCreateParams.payment.settings.payment_method_options, OrderUpdateParams.payment.settings.payment_method_options, 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, PaymentMethodCreateParams, PaymentMethodUpdateParams, PaymentMethod, SetupAttempt.payment_method_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 values affirm and link on enums CustomerListPaymentMethodsParams.type and PaymentMethodListParams.type
    • Add support for new value link 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 values affirm and link on enums 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 values affirm and link on enum PaymentMethodCreateParams.type
    • Add support for new values affirm and link on enum PaymentMethod.type

v9.2.0

Compare Source

  • #​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

v9.1.0

Compare Source

  • #​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[]

v9.0.0

Compare Source

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

Configuration

📅 Schedule: Branch creation - "every weekday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] avatar Aug 02 '22 18:08 renovate[bot]

Codecov Report

Base: 53.62% // Head: 53.63% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (5e96226) compared to base (eb4e591). Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #15131   +/-   ##
=======================================
  Coverage   53.62%   53.63%           
=======================================
  Files        1505     1505           
  Lines       98201    98201           
  Branches    11019    11016    -3     
=======================================
+ Hits        52665    52667    +2     
  Misses      44265    44265           
+ Partials     1271     1269    -2     
Impacted Files Coverage Δ
...tor/lib/tables/members-paid-subscription-events.js 89.74% <0.00%> (-10.26%) :arrow_down:
.../data-generator/lib/tables/members-login-events.js 90.90% <0.00%> (-9.10%) :arrow_down:
ghost/data-generator/lib/tables/members.js 98.48% <0.00%> (-1.52%) :arrow_down:
ghost/admin/app/utils/publish-options.js 75.72% <0.00%> (-1.16%) :arrow_down:
ghost/admin/app/components/gh-image-uploader.js 87.07% <0.00%> (+2.72%) :arrow_up:
...host/data-generator/lib/tables/members-products.js 100.00% <0.00%> (+2.85%) :arrow_up:
ghost/data-generator/lib/tables/subscriptions.js 100.00% <0.00%> (+4.61%) :arrow_up:
...ata-generator/lib/tables/members-created-events.js 100.00% <0.00%> (+8.57%) :arrow_up:
ghost/admin/app/helpers/gh-price-amount.js 66.66% <0.00%> (+22.22%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar Aug 02 '22 18:08 codecov[bot]