Update dependency stripe to v10
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| stripe | 8.222.0 -> 10.10.0 |
Release Notes
stripe/stripe-node
v10.10.0
-
#1552 API Updates
- Add support for
pixonCharge.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, andSetupIntentUpdateParams.payment_method_data - Add support for new value
pixon enumCheckoutSessionCreateParams.payment_method_types[] - Add support for new value
pixon enumsCustomerListPaymentMethodsParams.typeandPaymentMethodListParams.type - Add support for
from_invoiceonInvoiceCreateParamsandInvoice - Add support for
latest_revisiononInvoice - Add support for
amountonIssuingDisputeCreateParamsandIssuingDisputeUpdateParams - Add support for new value
pixon enumsPaymentIntentConfirmParams.payment_method_data.type,PaymentIntentCreateParams.payment_method_data.type,PaymentIntentUpdateParams.payment_method_data.type,SetupIntentConfirmParams.payment_method_data.type,SetupIntentCreateParams.payment_method_data.type, andSetupIntentUpdateParams.payment_method_data.type - Add support for
pix_display_qr_codeonPaymentIntent.next_action - Add support for new value
pixon enumsPaymentLink.payment_method_types[],PaymentLinkCreateParams.payment_method_types[], andPaymentLinkUpdateParams.payment_method_types[] - Add support for new value
pixon enumPaymentMethodCreateParams.type - Add support for new value
pixon enumPaymentMethod.type - Add support for
createdonTreasury.CreditReversalandTreasury.DebitReversal
- Add support for
v10.8.0
-
#1544 API Updates
- Add support for new value
terminal_reader_splashscreenon enumsFile.purposeandFileListParams.purpose
- Add support for new value
v10.7.0
-
#1540 API Updates
- Add support for new values
de-CH,en-CH,en-PL,en-PT,fr-CH,it-CH,pl-PL, andpt-PTon enumsOrderCreateParams.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, andPaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale - Add support for
descriptiononPaymentLink.subscription_dataandPaymentLinkCreateParams.subscription_data
- Add support for new values
v10.6.0
-
#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, andTreasury.FinancialAccount.restricted_featuresto be optional- This is a bug fix. These fields were all actually optional and not guaranteed to be returned by the Stripe API, however the type annotations did not correctly reflect this.
- Fixes https://github.com/stripe/stripe-node/issues/1518.
- Add support for
login_pageonBillingPortal.Configuration,BillingPortalConfigurationCreateParams, andBillingPortalConfigurationUpdateParams - Add support for new value
deutsche_bank_agon enumsCharge.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, andSetupIntentUpdateParams.payment_method_data.eps.bank - Add support for
customsandphone_numberonIssuing.Card.shippingandIssuingCardCreateParams.shipping - Add support for
descriptiononQuote.subscription_data,QuoteCreateParams.subscription_data,QuoteUpdateParams.subscription_data,SubscriptionSchedule.default_settings,SubscriptionSchedule.phases[],SubscriptionScheduleCreateParams.default_settings,SubscriptionScheduleCreateParams.phases[],SubscriptionScheduleUpdateParams.default_settings, andSubscriptionScheduleUpdateParams.phases[]
- Change
- #1532 Update coveralls step to run for one node version, remove finish step
- #1531 Regen yarn.lock.
v10.5.0
- #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
- #1520 Add beta readme.md section
-
#1524 API Updates
- Change
Terminal.Reader.actionto be required - Change
TreasuryOutboundTransferCreateParams.destination_payment_methodto be optional - Change type of
Treasury.OutboundTransfer.destination_payment_methodfromstringtostring | null - Change the return type of
Customer.fundCashBalancetest helper fromCustomerBalanceTransactiontoCustomerCashBalanceTransaction.- 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.
- Change
v10.3.0
-
#1516 API Updates
- Add support for new resource
CustomerCashBalanceTransaction - Remove support for value
paypalfrom enumsOrder.payment.settings.payment_method_types[],OrderCreateParams.payment.settings.payment_method_types[], andOrderUpdateParams.payment.settings.payment_method_types[] - Add support for
currencyonPaymentLink - Add support for
networkonSetupIntentConfirmParams.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, andSubscriptionUpdateParams.payment_settings.payment_method_options.card - Change
Subscription.currencyto be required - Change type of
Topup.sourcefromSourcetoSource | null - Add support for new value
customer_cash_balance_transaction.createdon enumsWebhookEndpointCreateParams.enabled_events[]andWebhookEndpointUpdateParams.enabled_events[]
- Add support for new resource
- #1515 Add a support section to the readme
v10.2.0
-
#1510 API Updates
- Add support for
payment_method_collectiononCheckout.Session,CheckoutSessionCreateParams,PaymentLinkCreateParams,PaymentLinkUpdateParams, andPaymentLink
- Add support for
v10.1.0
-
#1506 API Updates
- Add support for
process_configonTerminal.Reader.action.process_payment_intent
- Add support for
-
#1505 Simplify AddressParam definitions
- Rename
AddressParamtoShippingAddressParam, and change type ofSource.source_order.shipping.address,SourceUpdateParams.SourceOrder.Shipping.address, andSessionCreateParams.PaymentIntentData.Shipping.addresstoShippingAddressParam - Rename
AccountAddressParamgoAddressParam, and change type ofAccountCreateParams.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, andTerminal.LocationUpdateParams.addresstoAddressParam
- Rename
-
#1503 API Updates
- Add support for
expires_atonApps.SecretandAppsSecretCreateParams
- Add support for
v10.0.0
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_acceptanceon enumsAccount.future_requirements.errors[].code,Account.requirements.errors[].code,Capability.future_requirements.errors[].code,Capability.requirements.errors[].code,Person.future_requirements.errors[].code, andPerson.requirements.errors[].code - Add support for
shipping_costandshipping_detailsonCheckout.Session
⚠️ Changed
- Change type of
business_profile,business_type,country,default_currency, andsettingsproperties onAccountresource to be nullable. - Change type of
currencyproperty onCheckout.Sessionresource fromstringto'cad' | 'usd'. - Change location of TypeScript definitions for
CreditNoteLineItemListPreviewParams,CreditNoteLineItemListPreviewParams.Line,CreditNoteLineItemListPreviewParams.Line.Type, andCreditNoteLineItemListPreviewParams.Line.Reasoninterfaces fromCreditNoteLineItems.d.tstoCreditNotes.d.ts. - Change type of
address,currency,delinquent,discount,invoice_prefix,name,phone, andpreferred_localesproperties onCustomerresource to be nullable. - Rename
InvoiceRetrieveUpcomingParamstoInvoiceListUpcomingLinesParams.
⚠️ Removed
- Remove for
AlipayAccount,DeletedAlipayAccount,BitcoinReceiver,DeletedBitcoinReceiver,BitcoinTransaction, andBitcoinTransactionListParamsdefinitions. - Remove
AlipayAccountandBitcoinReceiverfromCustomerSource. - Remove
Stripe.DeletedAlipayAccountandStripe.DeletedBitcoinReceiverfrom possible values ofsourceproperty inPaymentIntent. - Remove
IssuerFraudRecord,IssuerFraudRecordRetrieveParams,IssuerFraudRecordListParams, andIssuerFraudRecordsResource, definitions. - Remove
treasury.received_credit.reversedwebhook event constant. Please usetreasury.received_credit.returnedinstead. - Remove
order.payment_failed,transfer.failed, andtransfer.paid. The events were deprecated. - Remove
retrieveDetailsmethod fromIssuing.Cardresource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual. - Remove
Issuing.CardDetailsandCardRetrieveDetailsParamsdefinition. - Remove
IssuerFraudRecordsresource. - Remove
Recipientresource andrecipientproperty fromCardresource. - Remove
InvoiceMarkUncollectibleParamsdefinition. - Remove deprecated
Stripe.ErrorsandStripeError(and derivedStripeCardError,StripeInvalidRequestError,StripeAPIError,StripeAuthenticationError,StripePermissionError,StripeRateLimitError,StripeConnectionError,StripeSignatureVerificationError,StripeIdempotencyError, andStripeInvalidGrantError) definitions. - Remove
redirect_urlfromLoginLinksdefinition. The property is no longer supported. - Remove
LineItemListParamsdefinition. The interface was no longer in use.
⚠️ Renamed
- Rename
listUpcomingLineItemsmethod onInvoiceresource tolistUpcomingLines. - Rename
InvoiceLineItemListUpcomingParamstoInvoiceListUpcomingLinesParams. - Rename
InvoiceRetrieveUpcomingParamstoInvoiceListUpcomingLinesParams.
v9.16.0
-
#1492 API Updates
- Add support for new value
exemptedon enumsCharge.payment_method_details.card.three_d_secure.resultandSetupAttempt.payment_method_details.card.three_d_secure.result - Add support for
customer_balanceonCheckout.Session.payment_method_optionsandCheckoutSessionCreateParams.payment_method_options - Add support for new value
customer_balanceon enumCheckoutSessionCreateParams.payment_method_types[] - Add support for new values
en-CAandfr-CAon enumsOrderCreateParams.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, andPaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
- Add support for new value
v9.15.0
-
#1486 API Updates
- Add support for
installmentsonCheckout.Session.payment_method_options.card,CheckoutSessionCreateParams.payment_method_options.card,Invoice.payment_settings.payment_method_options.card,InvoiceCreateParams.payment_settings.payment_method_options.card, andInvoiceUpdateParams.payment_settings.payment_method_options.card - Add support for
default_currencyandinvoice_credit_balanceonCustomer - Add support for
currencyonInvoiceCreateParams - Add support for
default_mandateonInvoice.payment_settings,InvoiceCreateParams.payment_settings, andInvoiceUpdateParams.payment_settings - Add support for
mandateonInvoicePayParams - Add support for
product_dataonOrderCreateParams.line_items[]andOrderUpdateParams.line_items[]
- Add support for
v9.14.0
-
#1477 API Updates
- Add support for
blik_paymentsonAccount.capabilities,AccountCreateParams.capabilities, andAccountUpdateParams.capabilities - Add support for
blikonCharge.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, andSetupIntentUpdateParams.payment_method_options - Change type of
Checkout.Session.consent_collection.promotions,CheckoutSessionCreateParams.consent_collection.promotions,PaymentLink.consent_collection.promotions, andPaymentLinkCreateParams.consent_collection.promotionsfromliteral('auto')toenum('auto'|'none') - Add support for new value
blikon enumCheckoutSessionCreateParams.payment_method_types[] - Add support for new value
blikon enumsCustomerListPaymentMethodsParams.typeandPaymentMethodListParams.type - Add support for new value
blikon enumsPaymentIntentConfirmParams.payment_method_data.type,PaymentIntentCreateParams.payment_method_data.type,PaymentIntentUpdateParams.payment_method_data.type,SetupIntentConfirmParams.payment_method_data.type,SetupIntentCreateParams.payment_method_data.type, andSetupIntentUpdateParams.payment_method_data.type - Add support for new value
blikon enumsPaymentLink.payment_method_types[],PaymentLinkCreateParams.payment_method_types[], andPaymentLinkUpdateParams.payment_method_types[] - Add support for new value
blikon enumPaymentMethodCreateParams.type - Add support for new value
blikon enumPaymentMethod.type
- Add support for
- #1476 fix: Include trailing slash when passing empty query parameters.
- #1475 Move @types/node to devDependencies
v9.13.0
-
#1473 API Updates
- Add support for
customer_detailsonCheckoutSessionListParams - Change
LineItem.amount_discountandLineItem.amount_taxto be required - Change
Transfer.source_typeto be optional and not nullable
- Add support for
- #1471 Update readme to include a note on beta packages
v9.12.0
-
#1468 API Updates
- Add support for
currencyonCheckoutSessionCreateParams,InvoiceUpcomingLinesParams,InvoiceUpcomingParams,PaymentLinkCreateParams,SubscriptionCreateParams,SubscriptionSchedule.phases[],SubscriptionScheduleCreateParams.phases[],SubscriptionScheduleUpdateParams.phases[], andSubscription - Add support for
currency_optionsonCheckoutSessionCreateParams.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, andShippingRateCreateParams.fixed_amount - Add support for
restrictionsonPromotionCodeUpdateParams - Add support for
fixed_amountandtax_behavioronShippingRateUpdateParams
- Add support for
-
#1467 API Updates
- Add support for
customeronCheckoutSessionListParamsandRefundCreateParams - Add support for
currencyandoriginonRefundCreateParams - Add support for new values
financial_connections.account.created,financial_connections.account.deactivated,financial_connections.account.disconnected,financial_connections.account.reactivated, andfinancial_connections.account.refreshed_balanceon enumsWebhookEndpointCreateParams.enabled_events[]andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
v9.11.0
-
#1462 API Updates
- Add support for
deliver_card,fail_card,return_card, andship_cardtest helper methods on resourceIssuing.Card - Change type of
PaymentLink.payment_method_types[],PaymentLinkCreateParams.payment_method_types[], andPaymentLinkUpdateParams.payment_method_types[]fromliteral('card')toenum - Add support for
hosted_regulatory_receipt_urlonTreasury.ReceivedCreditandTreasury.ReceivedDebit
- Add support for
v9.10.0
-
#1459 API Updates
- Add support for
capture_methodonPaymentIntentConfirmParamsandPaymentIntentUpdateParams
- Add support for
-
#1458 API Updates
- Add support for
promptpay_paymentsonAccount.capabilities,AccountCreateParams.capabilities, andAccountUpdateParams.capabilities - Add support for
promptpayonCharge.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, andSetupIntentUpdateParams.payment_method_data - Add support for new value
promptpayon enumCheckoutSessionCreateParams.payment_method_types[] - Add support for
subtotal_excluding_taxonCreditNoteandInvoice - Add support for
amount_excluding_taxandunit_amount_excluding_taxonCreditNoteLineItemandInvoiceLineItem - Add support for new value
promptpayon enumsCustomerListPaymentMethodsParams.typeandPaymentMethodListParams.type - Add support for
rendering_optionsonInvoiceCreateParamsandInvoiceUpdateParams - Add support for new value
promptpayon enumsInvoice.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[], andSubscriptionUpdateParams.payment_settings.payment_method_types[] - Add support for
total_excluding_taxonInvoice - Add support for
automatic_payment_methodsonOrder.payment.settings - Add support for new value
promptpayon enumsPaymentIntentConfirmParams.payment_method_data.type,PaymentIntentCreateParams.payment_method_data.type,PaymentIntentUpdateParams.payment_method_data.type,SetupIntentConfirmParams.payment_method_data.type,SetupIntentCreateParams.payment_method_data.type, andSetupIntentUpdateParams.payment_method_data.type - Add support for
promptpay_display_qr_codeonPaymentIntent.next_action - Add support for new value
promptpayon enumPaymentMethodCreateParams.type - Add support for new value
promptpayon enumPaymentMethod.type
- Add support for
- #1455 fix: Stop using path.join to create URLs.
v9.9.0
-
#1453 API Updates
- Add support for
fund_cash_balancetest helper method on resourceCustomer - Add support for
statement_descriptor_prefix_kanaandstatement_descriptor_prefix_kanjionAccount.settings.card_payments,Account.settings.payments,AccountCreateParams.settings.card_payments, andAccountUpdateParams.settings.card_payments - Add support for
statement_descriptor_suffix_kanaandstatement_descriptor_suffix_kanjionCheckout.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, andPaymentIntentUpdateParams.payment_method_options.card - Add support for
total_excluding_taxonCreditNote - Change type of
CustomerCreateParams.invoice_settings.rendering_optionsandCustomerUpdateParams.invoice_settings.rendering_optionsfromrendering_options_paramtoemptyStringable(rendering_options_param) - Add support for
rendering_optionsonCustomer.invoice_settingsandInvoice
- Add support for
- #1452 Fix non-conforming changelog entries and port the Makefile fix
- #1450 Only publish stable version to the latest tag
v9.8.0
- #1448 Add types for extra request options
-
#1446 API Updates
- Add support for
treasuryonAccount.settings,AccountCreateParams.settings, andAccountUpdateParams.settings - Add support for
rendering_optionsonCustomerCreateParams.invoice_settingsandCustomerUpdateParams.invoice_settings - Add support for
eu_bank_transferonCustomerCreateFundingInstructionsParams.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, andSubscriptionUpdateParams.payment_settings.payment_method_options.customer_balance.bank_transfer - Change type of
CustomerCreateFundingInstructionsParams.bank_transfer.requested_address_types[]fromliteral('zengin')toenum('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, andPaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer.typefromliteral('jp_bank_transfer')toenum('eu_bank_transfer'|'gb_bank_transfer'|'jp_bank_transfer'|'mx_bank_transfer') - Add support for
iban,sort_code, andspeionFundingInstructions.bank_transfer.financial_addresses[]andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[] - Add support for new values
bacs,fps, andspeion enumsFundingInstructions.bank_transfer.financial_addresses[].supported_networks[]andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].supported_networks[] - Add support for new values
sort_codeandspeion enumsFundingInstructions.bank_transfer.financial_addresses[].typeandPaymentIntent.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[], andPaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]fromliteral('zengin')toenum - Add support for
custom_unit_amountonPriceCreateParamsandPrice
- Add support for
v9.7.0
-
#1441 API Updates
- Add support for
affirm,bancontact,card,ideal,p24, andsofortonCheckout.Session.payment_method_optionsandCheckoutSessionCreateParams.payment_method_options - Add support for
afterpay_clearpay,au_becs_debit,bacs_debit,eps,fpx,giropay,grabpay,klarna,paynow, andsepa_debitonCheckoutSessionCreateParams.payment_method_options - Add support for
setup_future_usageonCheckout.Session.payment_method_options.*andCheckoutSessionCreateParams.payment_method_options.*, - Change
PaymentMethod.us_bank_account.networksandSetupIntent.flow_directionsto be required - Add support for
attach_to_selfonSetupAttempt,SetupIntentCreateParams,SetupIntentListParams, andSetupIntentUpdateParams - Add support for
flow_directionsonSetupAttempt,SetupIntentCreateParams, andSetupIntentUpdateParams
- Add support for
v9.6.0
-
#1439 API Updates
- Add support for
radar_optionsonChargeCreateParams,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, andSetupIntentUpdateParams.payment_method_data - Add support for
account_holder_name,account_number,account_type,bank_code,bank_name,branch_code, andbranch_nameonFundingInstructions.bank_transfer.financial_addresses[].zenginandPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].zengin - Add support for new values
en-AUanden-NZon enumsOrderCreateParams.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, andPaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale - Change type of
Order.payment.settings.payment_method_options.customer_balance.bank_transfer.typeandPaymentIntent.payment_method_options.customer_balance.bank_transfer.typefromenumtoliteral('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_urlto be required - Add support for
networkonSetupIntent.payment_method_options.card - Add support for new value
simulated_wisepos_eon enumsTerminal.Reader.device_typeandTerminalReaderListParams.device_type
- Add support for
v9.5.0
-
#1434 API Updates
- Add support for
affirm_paymentsandlink_paymentsonAccount.capabilities,AccountCreateParams.capabilities, andAccountUpdateParams.capabilities - Add support for
id_number_secondaryonAccountCreateParams.individual,AccountUpdateParams.individual,PersonCreateParams,PersonUpdateParams,TokenCreateParams.account.individual, andTokenCreateParams.person - Add support for new value
affirmon enumCheckoutSessionCreateParams.payment_method_types[] - Add support for
hosted_instructions_urlonPaymentIntent.next_action.display_bank_transfer_instructions - Add support for
id_number_secondary_providedonPerson - Add support for
card_issuingonTreasuryFinancialAccountCreateParams.features,TreasuryFinancialAccountUpdateFeaturesParams, andTreasuryFinancialAccountUpdateParams.features
- Add support for
-
#1432 docs: Update HttpClient documentation to remove experimental status.
v9.4.0
-
#1431 API Updates
- Add support for
treasuryonAccount.capabilities,AccountCreateParams.capabilities, andAccountUpdateParams.capabilities
- Add support for
v9.3.0
-
#1430 API Updates
- Add support for new resource
Apps.Secret - Add support for
affirmonCharge.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, andSetupIntentUpdateParams.payment_method_data - Add support for
linkonCharge.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, andSetupIntentUpdateParams.payment_method_options - Add support for new values
affirmandlinkon enumsCustomerListPaymentMethodsParams.typeandPaymentMethodListParams.type - Add support for new value
linkon enumsInvoice.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[], andSubscriptionUpdateParams.payment_settings.payment_method_types[] - Add support for new values
affirmandlinkon enumsPaymentIntentConfirmParams.payment_method_data.type,PaymentIntentCreateParams.payment_method_data.type,PaymentIntentUpdateParams.payment_method_data.type,SetupIntentConfirmParams.payment_method_data.type,SetupIntentCreateParams.payment_method_data.type, andSetupIntentUpdateParams.payment_method_data.type - Add support for new values
affirmandlinkon enumPaymentMethodCreateParams.type - Add support for new values
affirmandlinkon enumPaymentMethod.type
- Add support for new resource
v9.2.0
-
#1422 API Updates
- Add support for new
TreasuryAPIs:CreditReversal,DebitReversal,FinancialAccountFeatures,FinancialAccount,FlowDetails,InboundTransfer,OutboundPayment,OutboundTransfer,ReceivedCredit,ReceivedDebit,TransactionEntry, andTransaction - Add support for
treasuryonIssuing.Authorization,Issuing.Dispute,Issuing.Transaction, andIssuingDisputeCreateParams - Add support for
retrieve_payment_methodmethod on resourceCustomer - Add support for
list_ownersandlistmethods on resourceFinancialConnections.Account - Change
BillingPortalConfigurationCreateParams.features.customer_update.allowed_updatesto be optional - Change type of
BillingPortal.Session.return_urlfromstringtonullable(string) - Add support for
afterpay_clearpay,au_becs_debit,bacs_debit,eps,fpx,giropay,grabpay,klarna,paynow, andsepa_debitonCheckout.Session.payment_method_options - Add support for
financial_accountonIssuing.CardandIssuingCardCreateParams - Add support for
client_secretonOrder - Add support for
networksonPaymentIntentConfirmParams.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, andSetupIntentUpdateParams.payment_method_options.us_bank_account - Add support for
attach_to_selfandflow_directionsonSetupIntent - Add support for
save_default_payment_methodonSubscription.payment_settings,SubscriptionCreateParams.payment_settings, andSubscriptionUpdateParams.payment_settings - Add support for
czkonTerminal.Configuration.tipping,TerminalConfigurationCreateParams.tipping, andTerminalConfigurationUpdateParams.tipping
- Add support for new
v9.1.0
-
#1420 API Updates
- Add support for
descriptiononCheckoutSessionCreateParams.subscription_data,SubscriptionCreateParams,SubscriptionUpdateParams, andSubscription - Add support for
consent_collection,payment_intent_data,shipping_options,submit_type, andtax_id_collectiononPaymentLinkCreateParamsandPaymentLink - Add support for
customer_creationonPaymentLinkCreateParams,PaymentLinkUpdateParams, andPaymentLink - Add support for
metadataonSubscriptionSchedule.phases[],SubscriptionScheduleCreateParams.phases[], andSubscriptionScheduleUpdateParams.phases[] - Add support for new value
billing_portal.session.createdon enumsWebhookEndpointCreateParams.enabled_events[]andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
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
OrderAPI with the newOrderAPI.- Resource modified:
Order. - New methods:
cancel,list_line_items,reopen, andsubmit - Removed methods:
payandreturn_order - Removed resources:
OrderItemandOrderReturn - Removed references from other resources:
Charge.order
- Resource modified:
- Add support for
amount_discount,amount_tax, andproductonLineItem - Change type of
Charge.shipping.name,Checkout.Session.shipping.name,Customer.shipping.name,Invoice.customer_shipping.name,PaymentIntent.shipping.name,ShippingDetails.name, andSource.source_order.shipping.namefromnullable(string)tostring
- ⚠️ Replace the legacy
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.
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.