Skip to content

v13.0.0

Compare
Choose a tag to compare
@richardm-stripe richardm-stripe released this 16 Aug 20:23
· 143 commits to master since this release
  • This release changes the pinned API version to 2023-08-16. Please read the API Upgrade Guide and carefully review the API changes before upgrading stripe-node.
  • More information is available in the stripe-node v13 migration guide
    " ⚠️" symbol highlights breaking changes.
  • ⚠️#1803 Change the default behavior to perform 1 reattempt on retryable request failures (previously the default was 0).
  • #1808 Allow request-level options to disable retries.
  • ⚠️Remove deprecated del method on Subcriptions. Please use the cancel method instead, which was introduced in v9.14.0:
  • #1872 Update generated code
    • ⚠️Add support for new values verification_directors_mismatch, verification_document_directors_mismatch, verification_extraneous_directors, and verification_missing_directors on enums Account.future_requirements.errors[].code, Account.requirements.errors[].code, BankAccount.future_requirements.errors[].code, and BankAccount.requirements.errors[].code
    • ⚠️Remove support for values custom_account_update and custom_account_verification from enum AccountLinkCreateParams.type
      • These values are not fully operational
    • ⚠️Remove support for available_on on BalanceTransactionListParams
      • Use of this parameter is discouraged. You may use .AddExtraParam if sending the parameter is still required.
    • ⚠️Remove support for alternate_statement_descriptors and dispute on Charge
      • Use of these fields is discouraged.
    • ⚠️Remove support for destination on Charge
      • Please use transfer_data or on_behalf_of instead.
    • ⚠️Remove support for shipping_rates on Checkout.SessionCreateParams
      • Please use shipping_options instead.
    • ⚠️Remove support for coupon and trial_from_plan on Checkout.SessionCreateParams.subscription_data
      • Please migrate to the Prices API, or suppress the Typescript error with // @ts-ignore or any if sending the parameter is still required.
    • ⚠️Remove support for value card_present from enums CustomerListPaymentMethodsParams.type and PaymentMethodListParams.type
      • This value was not fully operational.
    • ⚠️Remove support for value charge_refunded from enum Dispute.status
      • This value was not fully operational.
    • ⚠️Remove support for blik on Mandate.payment_method_details, PaymentMethodUpdateParams, SetupAttempt.payment_method_details, SetupIntent.payment_method_options, SetupIntentConfirmParams.payment_method_options, SetupIntentCreateParams.payment_method_options, and SetupIntentUpdateParams.payment_method_options
      • These fields were mistakenly released.
    • ⚠️Remove support for acss_debit, affirm, au_becs_debit, bacs_debit, cashapp, sepa_debit, and zip on PaymentMethodUpdateParams
      • These fields are empty.
    • ⚠️Remove support for country on PaymentMethod.link
      • This field was not fully operational.
    • ⚠️Remove support for recurring on PriceUpdateParams
      • This property should be set on create only.
    • ⚠️Remove support for attributes, caption, and deactivate_on on ProductCreateParams, ProductUpdateParams, and Product
      • These fields are not fully operational.
    • ⚠️Add support for new value 2023-08-16 on enum WebhookEndpointCreateParams.api_version

See the changelog for more details.