chore(deps): bump stripe from 18.5.0 to 20.4.0 in /js/common #62

Open
codeflash-ai wants to merge 1 commit from dependabot/npm_and_yarn/js/common/stripe-20.4.0 into main
Owner

Bumps stripe from 18.5.0 to 20.4.0.

Release notes

Sourced from stripe's releases.

v20.4.0

This release changes the pinned API version to 2026-02-25.clover.

  • #2581 Update generated code
    • Add support for new resources Reserve.Hold, Reserve.Plan, and Reserve.Release
    • Add support for location and reader on Charge.payment_method_details.card_present, Charge.payment_method_details.interac_present, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present, PaymentAttemptRecord.payment_method_details.card_present, PaymentAttemptRecord.payment_method_details.interac_present, PaymentMethod.card.generated_from.payment_method_details.card_present, PaymentRecord.payment_method_details.card_present, and PaymentRecord.payment_method_details.interac_present
    • Add support for new value lk_vat on enums Checkout.Session.customer_details.tax_ids[].type, Invoice.customer_tax_ids[].type, Tax.Calculation.customer_details.tax_ids[].type, Tax.Transaction.customer_details.tax_ids[].type, and TaxId.type
    • Add support for new value lk_vat on enums CustomerCreateParams.tax_id_data[].type, CustomerCreateTaxIdParams.type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, Tax.CalculationCreateParams.customer_details.tax_ids[].type, and TaxIdCreateParams.type
    • Add support for new values reserve.hold.created, reserve.hold.updated, reserve.plan.created, reserve.plan.disabled, reserve.plan.expired, reserve.plan.updated, and reserve.release.created on enum Event.type
    • Add support for new values terminal_wifi_certificate and terminal_wifi_private_key on enums File.purpose and FileListParams.purpose
    • Add support for new values terminal_wifi_certificate and terminal_wifi_private_key on enum FileCreateParams.purpose
    • Add support for new value pay_by_bank 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 display_name and service_user_number on Mandate.payment_method_details.bacs_debit
    • Change type of PaymentAttemptRecord.payment_method_details.boleto.tax_id and PaymentRecord.payment_method_details.boleto.tax_id from string to string | null
    • Change type of PaymentAttemptRecord.payment_method_details.us_bank_account.expected_debit_date and PaymentRecord.payment_method_details.us_bank_account.expected_debit_date from string | null to string
    • Add support for transaction_purpose on PaymentIntent.payment_method_options.us_bank_account, PaymentIntentConfirmParams.payment_method_options.us_bank_account, PaymentIntentCreateParams.payment_method_options.us_bank_account, and PaymentIntentUpdateParams.payment_method_options.us_bank_account
    • Add support for optional_items on PaymentLinkUpdateParams
    • Remove support for unused card_issuer_decline on Radar.PaymentEvaluation.insights
    • Add support for payment_behavior on SubscriptionItemDeleteParams
    • Add support for lk on Tax.Registration.country_options and Tax.RegistrationCreateParams.country_options
    • Add support for cellular and stripe_s710 on Terminal.ConfigurationCreateParams, Terminal.ConfigurationUpdateParams, and Terminal.Configuration
    • Add support for new values simulated_stripe_s710 and stripe_s710 on enums Terminal.Reader.device_type and Terminal.ReaderListParams.device_type
    • Add support for new values reserve.hold.created, reserve.hold.updated, reserve.plan.created, reserve.plan.disabled, reserve.plan.expired, reserve.plan.updated, and reserve.release.created on enums WebhookEndpointCreateParams.enabled_events and WebhookEndpointUpdateParams.enabled_events
    • Add support for new value 2026-02-25.clover on enum WebhookEndpointCreateParams.api_version
    • Add support for snapshot events ReserveHoldCreatedEvent and ReserveHoldUpdatedEvent with resource Reserve.Hold
    • Add support for snapshot events ReservePlanCreatedEvent, ReservePlanDisabledEvent, ReservePlanExpiredEvent, and ReservePlanUpdatedEvent with resource Reserve.Plan
    • Add support for snapshot event ReserveReleaseCreatedEvent with resource Reserve.Release
    • Add support for error codes storer_capability_missing and storer_capability_not_active on Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError

See the changelog for more details.

v20.4.0-beta.2

  • #2571 Fix UnhandledPromiseRejection error on failed V2 List operations
    • Fixes a bug where any error returned from the Stripe API on a V2 List call (e.g. a 4xx or 5xx) would crash Node due to an UnhandledPromiseRejection

See the changelog for more details.

v20.4.0-beta.1

This release changes the pinned API version to 2026-01-28.preview.

  • #2552 Update generated code for beta
    • Add support for new resource FinancialConnections.Authorization
    • Add support for retrieve method on resource FinancialConnections.Authorization
    • Add support for detach_payment method on resource Invoice
    • Remove support for cancel, list_line_items, and reopen methods on resource Order
    • Remove support for attach_cadence method on resource Subscription
    • Add support for additional_files and site on Account.settings.paypay_payments, AccountCreateParams.settings.paypay_payments, and AccountUpdateParams.settings.paypay_payments
    • Remove support for capital on Account.settings
    • Change type of Charge.payment_method_details.stripe_balance.source_type, ConfirmationToken.payment_method_preview.stripe_balance.source_type, PaymentAttemptRecord.payment_method_details.stripe_balance.source_type, PaymentMethod.stripe_balance.source_type, and PaymentRecord.payment_method_details.stripe_balance.source_type from enum('bank_account'|'card'|'fpx') to enum('bank_account'|'card'|'fpx') | null
    • Add support for new value pl_nip on enums Checkout.Session.collected_information.tax_ids[].type, Order.tax_details.tax_ids[].type, and QuotePreviewInvoice.customer_tax_ids[].type

... (truncated)

Changelog

Sourced from stripe's changelog.

20.4.0 - 2026-02-25

This release changes the pinned API version to 2026-02-25.clover.

  • #2581 Update generated code
    • Add support for new resources Reserve.Hold, Reserve.Plan, and Reserve.Release
    • Add support for location and reader on Charge.payment_method_details.card_present, Charge.payment_method_details.interac_present, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present, PaymentAttemptRecord.payment_method_details.card_present, PaymentAttemptRecord.payment_method_details.interac_present, PaymentMethod.card.generated_from.payment_method_details.card_present, PaymentRecord.payment_method_details.card_present, and PaymentRecord.payment_method_details.interac_present
    • Add support for new value lk_vat on enums Checkout.Session.customer_details.tax_ids[].type, Invoice.customer_tax_ids[].type, Tax.Calculation.customer_details.tax_ids[].type, Tax.Transaction.customer_details.tax_ids[].type, and TaxId.type
    • Add support for new value lk_vat on enums CustomerCreateParams.tax_id_data[].type, CustomerCreateTaxIdParams.type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, Tax.CalculationCreateParams.customer_details.tax_ids[].type, and TaxIdCreateParams.type
    • Add support for new values reserve.hold.created, reserve.hold.updated, reserve.plan.created, reserve.plan.disabled, reserve.plan.expired, reserve.plan.updated, and reserve.release.created on enum Event.type
    • Add support for new values terminal_wifi_certificate and terminal_wifi_private_key on enums File.purpose and FileListParams.purpose
    • Add support for new values terminal_wifi_certificate and terminal_wifi_private_key on enum FileCreateParams.purpose
    • Add support for new value pay_by_bank 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 display_name and service_user_number on Mandate.payment_method_details.bacs_debit
    • Change type of PaymentAttemptRecord.payment_method_details.boleto.tax_id and PaymentRecord.payment_method_details.boleto.tax_id from string to string | null
    • Change type of PaymentAttemptRecord.payment_method_details.us_bank_account.expected_debit_date and PaymentRecord.payment_method_details.us_bank_account.expected_debit_date from string | null to string
    • Add support for transaction_purpose on PaymentIntent.payment_method_options.us_bank_account, PaymentIntentConfirmParams.payment_method_options.us_bank_account, PaymentIntentCreateParams.payment_method_options.us_bank_account, and PaymentIntentUpdateParams.payment_method_options.us_bank_account
    • Add support for optional_items on PaymentLinkUpdateParams
    • Remove support for unused card_issuer_decline on Radar.PaymentEvaluation.insights
    • Add support for payment_behavior on SubscriptionItemDeleteParams
    • Add support for lk on Tax.Registration.country_options and Tax.RegistrationCreateParams.country_options
    • Add support for cellular and stripe_s710 on Terminal.ConfigurationCreateParams, Terminal.ConfigurationUpdateParams, and Terminal.Configuration
    • Add support for new values simulated_stripe_s710 and stripe_s710 on enums Terminal.Reader.device_type and Terminal.ReaderListParams.device_type
    • Add support for new values reserve.hold.created, reserve.hold.updated, reserve.plan.created, reserve.plan.disabled, reserve.plan.expired, reserve.plan.updated, and reserve.release.created on enums WebhookEndpointCreateParams.enabled_events and WebhookEndpointUpdateParams.enabled_events
    • Add support for new value 2026-02-25.clover on enum WebhookEndpointCreateParams.api_version
    • Add support for snapshot events ReserveHoldCreatedEvent and ReserveHoldUpdatedEvent with resource Reserve.Hold
    • Add support for snapshot events ReservePlanCreatedEvent, ReservePlanDisabledEvent, ReservePlanExpiredEvent, and ReservePlanUpdatedEvent with resource Reserve.Plan
    • Add support for snapshot event ReserveReleaseCreatedEvent with resource Reserve.Release
    • Add support for error codes storer_capability_missing and storer_capability_not_active on Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError

20.3.1 - 2026-02-05

  • #2571 Fix UnhandledPromiseRejection error on failed V2 List operations
    • Fixes a bug where any error returned from the Stripe API on a V2 List call (e.g. a 4xx or 5xx) would crash Node due to an UnhandledPromiseRejection

20.3.0 - 2026-01-28

This release changes the pinned API version to 2026-01-28.clover.

  • #2564 Update generated code
    • Add support for new resource Radar.PaymentEvaluation
    • Add support for create method on resource Radar.PaymentEvaluation
    • Add support for adjustable_quantity on LineItem
    • Add support for new value risk_reserved on enum BalanceTransaction.balance_type
    • Add support for new values reserve_hold and reserve_release on enum BalanceTransaction.type
    • Add support for new values 2.3.0 and 2.3.1 on enums Charge.payment_method_details.card.three_d_secure.version, PaymentIntentConfirmParams.payment_method_options.card.three_d_secure.version, PaymentIntentCreateParams.payment_method_options.card.three_d_secure.version, PaymentIntentUpdateParams.payment_method_options.card.three_d_secure.version, SetupAttempt.payment_method_details.card.three_d_secure.version, SetupIntentConfirmParams.payment_method_options.card.three_d_secure.version, SetupIntentCreateParams.payment_method_options.card.three_d_secure.version, and SetupIntentUpdateParams.payment_method_options.card.three_d_secure.version
    • Add support for new value adyen on enums Charge.payment_method_details.ideal.bank, ConfirmationToken.payment_method_preview.ideal.bank, ConfirmationTokenCreateParams.testHelpers.payment_method_data.ideal.bank, PaymentAttemptRecord.payment_method_details.ideal.bank, PaymentIntentConfirmParams.payment_method_data.ideal.bank, PaymentIntentCreateParams.payment_method_data.ideal.bank, PaymentIntentUpdateParams.payment_method_data.ideal.bank, PaymentMethod.ideal.bank, PaymentMethodCreateParams.ideal.bank, PaymentRecord.payment_method_details.ideal.bank, SetupAttempt.payment_method_details.ideal.bank, SetupIntentConfirmParams.payment_method_data.ideal.bank, SetupIntentCreateParams.payment_method_data.ideal.bank, and SetupIntentUpdateParams.payment_method_data.ideal.bank
    • Add support for new value ADYBNL2A on enums Charge.payment_method_details.ideal.bic, ConfirmationToken.payment_method_preview.ideal.bic, PaymentAttemptRecord.payment_method_details.ideal.bic, PaymentMethod.ideal.bic, PaymentRecord.payment_method_details.ideal.bic, and SetupAttempt.payment_method_details.ideal.bic
    • Add support for new value pl_nip on enums Checkout.Session.customer_details.tax_ids[].type, Invoice.customer_tax_ids[].type, Tax.Calculation.customer_details.tax_ids[].type, Tax.Transaction.customer_details.tax_ids[].type, and TaxId.type
    • Add support for new value pl_nip on enums CustomerCreateParams.tax_id_data[].type, CustomerCreateTaxIdParams.type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, Tax.CalculationCreateParams.customer_details.tax_ids[].type, and TaxIdCreateParams.type
    • Change Invoice.payment_settings.payment_method_options.payto and Subscription.payment_settings.payment_method_options.payto to be required
    • Add support for enforce_arithmetic_validation on PaymentIntentCaptureParams.amount_details, PaymentIntentConfirmParams.amount_details, PaymentIntentCreateParams.amount_details, PaymentIntentIncrementAuthorizationParams.amount_details, and PaymentIntentUpdateParams.amount_details
    • Add support for error on PaymentIntent.amount_details

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for stripe since your current version.


Dependabot compatibility score

You can trigger a rebase of this PR 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Note

Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [stripe](https://github.com/stripe/stripe-node) from 18.5.0 to 20.4.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/stripe/stripe-node/releases">stripe's releases</a>.</em></p> <blockquote> <h2>v20.4.0</h2> <p>This release changes the pinned API version to <code>2026-02-25.clover</code>.</p> <ul> <li><a href="https://redirect.github.com/stripe/stripe-node/pull/2581">#2581</a> Update generated code <ul> <li>Add support for new resources <code>Reserve.Hold</code>, <code>Reserve.Plan</code>, and <code>Reserve.Release</code></li> <li>Add support for <code>location</code> and <code>reader</code> on <code>Charge.payment_method_details.card_present</code>, <code>Charge.payment_method_details.interac_present</code>, <code>ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present</code>, <code>PaymentAttemptRecord.payment_method_details.card_present</code>, <code>PaymentAttemptRecord.payment_method_details.interac_present</code>, <code>PaymentMethod.card.generated_from.payment_method_details.card_present</code>, <code>PaymentRecord.payment_method_details.card_present</code>, and <code>PaymentRecord.payment_method_details.interac_present</code></li> <li>Add support for new value <code>lk_vat</code> on enums <code>Checkout.Session.customer_details.tax_ids[].type</code>, <code>Invoice.customer_tax_ids[].type</code>, <code>Tax.Calculation.customer_details.tax_ids[].type</code>, <code>Tax.Transaction.customer_details.tax_ids[].type</code>, and <code>TaxId.type</code></li> <li>Add support for new value <code>lk_vat</code> on enums <code>CustomerCreateParams.tax_id_data[].type</code>, <code>CustomerCreateTaxIdParams.type</code>, <code>InvoiceCreatePreviewParams.customer_details.tax_ids[].type</code>, <code>Tax.CalculationCreateParams.customer_details.tax_ids[].type</code>, and <code>TaxIdCreateParams.type</code></li> <li>Add support for new values <code>reserve.hold.created</code>, <code>reserve.hold.updated</code>, <code>reserve.plan.created</code>, <code>reserve.plan.disabled</code>, <code>reserve.plan.expired</code>, <code>reserve.plan.updated</code>, and <code>reserve.release.created</code> on enum <code>Event.type</code></li> <li>Add support for new values <code>terminal_wifi_certificate</code> and <code>terminal_wifi_private_key</code> on enums <code>File.purpose</code> and <code>FileListParams.purpose</code></li> <li>Add support for new values <code>terminal_wifi_certificate</code> and <code>terminal_wifi_private_key</code> on enum <code>FileCreateParams.purpose</code></li> <li>Add support for new value <code>pay_by_bank</code> on enums <code>Invoice.payment_settings.payment_method_types</code>, <code>InvoiceCreateParams.payment_settings.payment_method_types</code>, <code>InvoiceUpdateParams.payment_settings.payment_method_types</code>, <code>Subscription.payment_settings.payment_method_types</code>, <code>SubscriptionCreateParams.payment_settings.payment_method_types</code>, and <code>SubscriptionUpdateParams.payment_settings.payment_method_types</code></li> <li>Add support for <code>display_name</code> and <code>service_user_number</code> on <code>Mandate.payment_method_details.bacs_debit</code></li> <li>Change type of <code>PaymentAttemptRecord.payment_method_details.boleto.tax_id</code> and <code>PaymentRecord.payment_method_details.boleto.tax_id</code> from <code>string</code> to <code>string | null</code></li> <li>Change type of <code>PaymentAttemptRecord.payment_method_details.us_bank_account.expected_debit_date</code> and <code>PaymentRecord.payment_method_details.us_bank_account.expected_debit_date</code> from <code>string | null</code> to <code>string</code></li> <li>Add support for <code>transaction_purpose</code> on <code>PaymentIntent.payment_method_options.us_bank_account</code>, <code>PaymentIntentConfirmParams.payment_method_options.us_bank_account</code>, <code>PaymentIntentCreateParams.payment_method_options.us_bank_account</code>, and <code>PaymentIntentUpdateParams.payment_method_options.us_bank_account</code></li> <li>Add support for <code>optional_items</code> on <code>PaymentLinkUpdateParams</code></li> <li>Remove support for unused <code>card_issuer_decline</code> on <code>Radar.PaymentEvaluation.insights</code></li> <li>Add support for <code>payment_behavior</code> on <code>SubscriptionItemDeleteParams</code></li> <li>Add support for <code>lk</code> on <code>Tax.Registration.country_options</code> and <code>Tax.RegistrationCreateParams.country_options</code></li> <li>Add support for <code>cellular</code> and <code>stripe_s710</code> on <code>Terminal.ConfigurationCreateParams</code>, <code>Terminal.ConfigurationUpdateParams</code>, and <code>Terminal.Configuration</code></li> <li>Add support for new values <code>simulated_stripe_s710</code> and <code>stripe_s710</code> on enums <code>Terminal.Reader.device_type</code> and <code>Terminal.ReaderListParams.device_type</code></li> <li>Add support for new values <code>reserve.hold.created</code>, <code>reserve.hold.updated</code>, <code>reserve.plan.created</code>, <code>reserve.plan.disabled</code>, <code>reserve.plan.expired</code>, <code>reserve.plan.updated</code>, and <code>reserve.release.created</code> on enums <code>WebhookEndpointCreateParams.enabled_events</code> and <code>WebhookEndpointUpdateParams.enabled_events</code></li> <li>Add support for new value <code>2026-02-25.clover</code> on enum <code>WebhookEndpointCreateParams.api_version</code></li> <li>Add support for snapshot events <code>ReserveHoldCreatedEvent</code> and <code>ReserveHoldUpdatedEvent</code> with resource <code>Reserve.Hold</code></li> <li>Add support for snapshot events <code>ReservePlanCreatedEvent</code>, <code>ReservePlanDisabledEvent</code>, <code>ReservePlanExpiredEvent</code>, and <code>ReservePlanUpdatedEvent</code> with resource <code>Reserve.Plan</code></li> <li>Add support for snapshot event <code>ReserveReleaseCreatedEvent</code> with resource <code>Reserve.Release</code></li> <li>Add support for error codes <code>storer_capability_missing</code> and <code>storer_capability_not_active</code> on <code>Invoice.last_finalization_error</code>, <code>PaymentIntent.last_payment_error</code>, <code>SetupAttempt.setup_error</code>, <code>SetupIntent.last_setup_error</code>, and <code>StripeError</code></li> </ul> </li> </ul> <p>See <a href="https://github.com/stripe/stripe-node/blob/v20.4.0/CHANGELOG.md">the changelog for more details</a>.</p> <h2>v20.4.0-beta.2</h2> <ul> <li><a href="https://redirect.github.com/stripe/stripe-node/pull/2571">#2571</a> Fix <code>UnhandledPromiseRejection</code> error on failed V2 List operations <ul> <li>Fixes a bug where any error returned from the Stripe API on a V2 List call (e.g. a 4xx or 5xx) would crash Node due to an <code>UnhandledPromiseRejection</code></li> </ul> </li> </ul> <p>See <a href="https://github.com/stripe/stripe-node/blob/v20.4.0-beta.2/CHANGELOG.md">the changelog for more details</a>.</p> <h2>v20.4.0-beta.1</h2> <p>This release changes the pinned API version to <code>2026-01-28.preview</code>.</p> <ul> <li><a href="https://redirect.github.com/stripe/stripe-node/pull/2552">#2552</a> Update generated code for beta <ul> <li>Add support for new resource <code>FinancialConnections.Authorization</code></li> <li>Add support for <code>retrieve</code> method on resource <code>FinancialConnections.Authorization</code></li> <li>Add support for <code>detach_payment</code> method on resource <code>Invoice</code></li> <li>Remove support for <code>cancel</code>, <code>list_line_items</code>, and <code>reopen</code> methods on resource <code>Order</code></li> <li>Remove support for <code>attach_cadence</code> method on resource <code>Subscription</code></li> <li>Add support for <code>additional_files</code> and <code>site</code> on <code>Account.settings.paypay_payments</code>, <code>AccountCreateParams.settings.paypay_payments</code>, and <code>AccountUpdateParams.settings.paypay_payments</code></li> <li>Remove support for <code>capital</code> on <code>Account.settings</code></li> <li>Change type of <code>Charge.payment_method_details.stripe_balance.source_type</code>, <code>ConfirmationToken.payment_method_preview.stripe_balance.source_type</code>, <code>PaymentAttemptRecord.payment_method_details.stripe_balance.source_type</code>, <code>PaymentMethod.stripe_balance.source_type</code>, and <code>PaymentRecord.payment_method_details.stripe_balance.source_type</code> from <code>enum('bank_account'|'card'|'fpx')</code> to <code>enum('bank_account'|'card'|'fpx') | null</code></li> <li>Add support for new value <code>pl_nip</code> on enums <code>Checkout.Session.collected_information.tax_ids[].type</code>, <code>Order.tax_details.tax_ids[].type</code>, and <code>QuotePreviewInvoice.customer_tax_ids[].type</code></li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md">stripe's changelog</a>.</em></p> <blockquote> <h2>20.4.0 - 2026-02-25</h2> <p>This release changes the pinned API version to <code>2026-02-25.clover</code>.</p> <ul> <li><a href="https://redirect.github.com/stripe/stripe-node/pull/2581">#2581</a> Update generated code <ul> <li>Add support for new resources <code>Reserve.Hold</code>, <code>Reserve.Plan</code>, and <code>Reserve.Release</code></li> <li>Add support for <code>location</code> and <code>reader</code> on <code>Charge.payment_method_details.card_present</code>, <code>Charge.payment_method_details.interac_present</code>, <code>ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present</code>, <code>PaymentAttemptRecord.payment_method_details.card_present</code>, <code>PaymentAttemptRecord.payment_method_details.interac_present</code>, <code>PaymentMethod.card.generated_from.payment_method_details.card_present</code>, <code>PaymentRecord.payment_method_details.card_present</code>, and <code>PaymentRecord.payment_method_details.interac_present</code></li> <li>Add support for new value <code>lk_vat</code> on enums <code>Checkout.Session.customer_details.tax_ids[].type</code>, <code>Invoice.customer_tax_ids[].type</code>, <code>Tax.Calculation.customer_details.tax_ids[].type</code>, <code>Tax.Transaction.customer_details.tax_ids[].type</code>, and <code>TaxId.type</code></li> <li>Add support for new value <code>lk_vat</code> on enums <code>CustomerCreateParams.tax_id_data[].type</code>, <code>CustomerCreateTaxIdParams.type</code>, <code>InvoiceCreatePreviewParams.customer_details.tax_ids[].type</code>, <code>Tax.CalculationCreateParams.customer_details.tax_ids[].type</code>, and <code>TaxIdCreateParams.type</code></li> <li>Add support for new values <code>reserve.hold.created</code>, <code>reserve.hold.updated</code>, <code>reserve.plan.created</code>, <code>reserve.plan.disabled</code>, <code>reserve.plan.expired</code>, <code>reserve.plan.updated</code>, and <code>reserve.release.created</code> on enum <code>Event.type</code></li> <li>Add support for new values <code>terminal_wifi_certificate</code> and <code>terminal_wifi_private_key</code> on enums <code>File.purpose</code> and <code>FileListParams.purpose</code></li> <li>Add support for new values <code>terminal_wifi_certificate</code> and <code>terminal_wifi_private_key</code> on enum <code>FileCreateParams.purpose</code></li> <li>Add support for new value <code>pay_by_bank</code> on enums <code>Invoice.payment_settings.payment_method_types</code>, <code>InvoiceCreateParams.payment_settings.payment_method_types</code>, <code>InvoiceUpdateParams.payment_settings.payment_method_types</code>, <code>Subscription.payment_settings.payment_method_types</code>, <code>SubscriptionCreateParams.payment_settings.payment_method_types</code>, and <code>SubscriptionUpdateParams.payment_settings.payment_method_types</code></li> <li>Add support for <code>display_name</code> and <code>service_user_number</code> on <code>Mandate.payment_method_details.bacs_debit</code></li> <li>Change type of <code>PaymentAttemptRecord.payment_method_details.boleto.tax_id</code> and <code>PaymentRecord.payment_method_details.boleto.tax_id</code> from <code>string</code> to <code>string | null</code></li> <li>Change type of <code>PaymentAttemptRecord.payment_method_details.us_bank_account.expected_debit_date</code> and <code>PaymentRecord.payment_method_details.us_bank_account.expected_debit_date</code> from <code>string | null</code> to <code>string</code></li> <li>Add support for <code>transaction_purpose</code> on <code>PaymentIntent.payment_method_options.us_bank_account</code>, <code>PaymentIntentConfirmParams.payment_method_options.us_bank_account</code>, <code>PaymentIntentCreateParams.payment_method_options.us_bank_account</code>, and <code>PaymentIntentUpdateParams.payment_method_options.us_bank_account</code></li> <li>Add support for <code>optional_items</code> on <code>PaymentLinkUpdateParams</code></li> <li>Remove support for unused <code>card_issuer_decline</code> on <code>Radar.PaymentEvaluation.insights</code></li> <li>Add support for <code>payment_behavior</code> on <code>SubscriptionItemDeleteParams</code></li> <li>Add support for <code>lk</code> on <code>Tax.Registration.country_options</code> and <code>Tax.RegistrationCreateParams.country_options</code></li> <li>Add support for <code>cellular</code> and <code>stripe_s710</code> on <code>Terminal.ConfigurationCreateParams</code>, <code>Terminal.ConfigurationUpdateParams</code>, and <code>Terminal.Configuration</code></li> <li>Add support for new values <code>simulated_stripe_s710</code> and <code>stripe_s710</code> on enums <code>Terminal.Reader.device_type</code> and <code>Terminal.ReaderListParams.device_type</code></li> <li>Add support for new values <code>reserve.hold.created</code>, <code>reserve.hold.updated</code>, <code>reserve.plan.created</code>, <code>reserve.plan.disabled</code>, <code>reserve.plan.expired</code>, <code>reserve.plan.updated</code>, and <code>reserve.release.created</code> on enums <code>WebhookEndpointCreateParams.enabled_events</code> and <code>WebhookEndpointUpdateParams.enabled_events</code></li> <li>Add support for new value <code>2026-02-25.clover</code> on enum <code>WebhookEndpointCreateParams.api_version</code></li> <li>Add support for snapshot events <code>ReserveHoldCreatedEvent</code> and <code>ReserveHoldUpdatedEvent</code> with resource <code>Reserve.Hold</code></li> <li>Add support for snapshot events <code>ReservePlanCreatedEvent</code>, <code>ReservePlanDisabledEvent</code>, <code>ReservePlanExpiredEvent</code>, and <code>ReservePlanUpdatedEvent</code> with resource <code>Reserve.Plan</code></li> <li>Add support for snapshot event <code>ReserveReleaseCreatedEvent</code> with resource <code>Reserve.Release</code></li> <li>Add support for error codes <code>storer_capability_missing</code> and <code>storer_capability_not_active</code> on <code>Invoice.last_finalization_error</code>, <code>PaymentIntent.last_payment_error</code>, <code>SetupAttempt.setup_error</code>, <code>SetupIntent.last_setup_error</code>, and <code>StripeError</code></li> </ul> </li> </ul> <h2>20.3.1 - 2026-02-05</h2> <ul> <li><a href="https://redirect.github.com/stripe/stripe-node/pull/2571">#2571</a> Fix <code>UnhandledPromiseRejection</code> error on failed V2 List operations <ul> <li>Fixes a bug where any error returned from the Stripe API on a V2 List call (e.g. a 4xx or 5xx) would crash Node due to an <code>UnhandledPromiseRejection</code></li> </ul> </li> </ul> <h2>20.3.0 - 2026-01-28</h2> <p>This release changes the pinned API version to <code>2026-01-28.clover</code>.</p> <ul> <li><a href="https://redirect.github.com/stripe/stripe-node/pull/2564">#2564</a> Update generated code <ul> <li>Add support for new resource <code>Radar.PaymentEvaluation</code></li> <li>Add support for <code>create</code> method on resource <code>Radar.PaymentEvaluation</code></li> <li>Add support for <code>adjustable_quantity</code> on <code>LineItem</code></li> <li>Add support for new value <code>risk_reserved</code> on enum <code>BalanceTransaction.balance_type</code></li> <li>Add support for new values <code>reserve_hold</code> and <code>reserve_release</code> on enum <code>BalanceTransaction.type</code></li> <li>Add support for new values <code>2.3.0</code> and <code>2.3.1</code> on enums <code>Charge.payment_method_details.card.three_d_secure.version</code>, <code>PaymentIntentConfirmParams.payment_method_options.card.three_d_secure.version</code>, <code>PaymentIntentCreateParams.payment_method_options.card.three_d_secure.version</code>, <code>PaymentIntentUpdateParams.payment_method_options.card.three_d_secure.version</code>, <code>SetupAttempt.payment_method_details.card.three_d_secure.version</code>, <code>SetupIntentConfirmParams.payment_method_options.card.three_d_secure.version</code>, <code>SetupIntentCreateParams.payment_method_options.card.three_d_secure.version</code>, and <code>SetupIntentUpdateParams.payment_method_options.card.three_d_secure.version</code></li> <li>Add support for new value <code>adyen</code> on enums <code>Charge.payment_method_details.ideal.bank</code>, <code>ConfirmationToken.payment_method_preview.ideal.bank</code>, <code>ConfirmationTokenCreateParams.testHelpers.payment_method_data.ideal.bank</code>, <code>PaymentAttemptRecord.payment_method_details.ideal.bank</code>, <code>PaymentIntentConfirmParams.payment_method_data.ideal.bank</code>, <code>PaymentIntentCreateParams.payment_method_data.ideal.bank</code>, <code>PaymentIntentUpdateParams.payment_method_data.ideal.bank</code>, <code>PaymentMethod.ideal.bank</code>, <code>PaymentMethodCreateParams.ideal.bank</code>, <code>PaymentRecord.payment_method_details.ideal.bank</code>, <code>SetupAttempt.payment_method_details.ideal.bank</code>, <code>SetupIntentConfirmParams.payment_method_data.ideal.bank</code>, <code>SetupIntentCreateParams.payment_method_data.ideal.bank</code>, and <code>SetupIntentUpdateParams.payment_method_data.ideal.bank</code></li> <li>Add support for new value <code>ADYBNL2A</code> on enums <code>Charge.payment_method_details.ideal.bic</code>, <code>ConfirmationToken.payment_method_preview.ideal.bic</code>, <code>PaymentAttemptRecord.payment_method_details.ideal.bic</code>, <code>PaymentMethod.ideal.bic</code>, <code>PaymentRecord.payment_method_details.ideal.bic</code>, and <code>SetupAttempt.payment_method_details.ideal.bic</code></li> <li>Add support for new value <code>pl_nip</code> on enums <code>Checkout.Session.customer_details.tax_ids[].type</code>, <code>Invoice.customer_tax_ids[].type</code>, <code>Tax.Calculation.customer_details.tax_ids[].type</code>, <code>Tax.Transaction.customer_details.tax_ids[].type</code>, and <code>TaxId.type</code></li> <li>Add support for new value <code>pl_nip</code> on enums <code>CustomerCreateParams.tax_id_data[].type</code>, <code>CustomerCreateTaxIdParams.type</code>, <code>InvoiceCreatePreviewParams.customer_details.tax_ids[].type</code>, <code>Tax.CalculationCreateParams.customer_details.tax_ids[].type</code>, and <code>TaxIdCreateParams.type</code></li> <li>Change <code>Invoice.payment_settings.payment_method_options.payto</code> and <code>Subscription.payment_settings.payment_method_options.payto</code> to be required</li> <li>Add support for <code>enforce_arithmetic_validation</code> on <code>PaymentIntentCaptureParams.amount_details</code>, <code>PaymentIntentConfirmParams.amount_details</code>, <code>PaymentIntentCreateParams.amount_details</code>, <code>PaymentIntentIncrementAuthorizationParams.amount_details</code>, and <code>PaymentIntentUpdateParams.amount_details</code></li> <li>Add support for <code>error</code> on <code>PaymentIntent.amount_details</code></li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/stripe/stripe-node/commit/8472887ad6cc55a5c0f91e505de6f0641ca2dc01"><code>8472887</code></a> Bump version to 20.4.0</li> <li><a href="https://github.com/stripe/stripe-node/commit/1e699b72e083be332ef39754cc31d7b9631a8933"><code>1e699b7</code></a> Update generated code (<a href="https://redirect.github.com/stripe/stripe-node/issues/2581">#2581</a>)</li> <li><a href="https://github.com/stripe/stripe-node/commit/1781cf1444feda4da338e4d5b1010dd5dd587900"><code>1781cf1</code></a> Add instructions to use <code>getId</code> helper method to Readme (<a href="https://redirect.github.com/stripe/stripe-node/issues/2579">#2579</a>)</li> <li><a href="https://github.com/stripe/stripe-node/commit/47cdb5eb972d00bd682aa9078e0cfdc1049f7226"><code>47cdb5e</code></a> Bump version to 20.3.1</li> <li><a href="https://github.com/stripe/stripe-node/commit/cdeb573df53773a7f42b2918c2caa68322a29e9e"><code>cdeb573</code></a> Fix <code>UnhandledPromiseRejection</code> error on failed V2 List operations (<a href="https://redirect.github.com/stripe/stripe-node/issues/2571">#2571</a>)</li> <li><a href="https://github.com/stripe/stripe-node/commit/be0b1d5e9969539bcf043c6bc75434a2117af7d1"><code>be0b1d5</code></a> Bump version to 20.3.0</li> <li><a href="https://github.com/stripe/stripe-node/commit/279eb3d5bb820f3b4f6c7124be6554ec9dff906e"><code>279eb3d</code></a> Update generated code (<a href="https://redirect.github.com/stripe/stripe-node/issues/2564">#2564</a>)</li> <li><a href="https://github.com/stripe/stripe-node/commit/cfdcb83fc5f352fc78d83084d68da960d941769c"><code>cfdcb83</code></a> Remove <code>qs</code> dependency (<a href="https://redirect.github.com/stripe/stripe-node/issues/2558">#2558</a>)</li> <li><a href="https://github.com/stripe/stripe-node/commit/fe1248c266eefdb639f7a83ca5adae334b8870b0"><code>fe1248c</code></a> Update README.md (<a href="https://redirect.github.com/stripe/stripe-node/issues/2561">#2561</a>)</li> <li><a href="https://github.com/stripe/stripe-node/commit/477f59423a08bfa6ff8c5d27a129bb7781dc26ff"><code>477f594</code></a> Document usage of undocumented API parameters (<a href="https://redirect.github.com/stripe/stripe-node/issues/2562">#2562</a>)</li> <li>Additional commits viewable in <a href="https://github.com/stripe/stripe-node/compare/v18.5.0...v20.4.0">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for stripe since your current version.</p> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=stripe&package-manager=npm_and_yarn&previous-version=18.5.0&new-version=20.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
codeflash-ai added 1 commit 2026-05-05 00:24:40 +00:00
chore(deps): bump stripe from 18.5.0 to 20.4.0 in /js/common
Some checks failed
django-unit-tests / unit-tests (pull_request) Blocked by required conditions
django-unit-tests / django-unit-tests-status (pull_request) Blocked by required conditions
end-to-end-tests / No relevant changes detected (pull_request) Blocked by required conditions
end-to-end-tests / Wait for unit tests (pull_request) Blocked by required conditions
end-to-end-tests / coverage (pull_request) Blocked by required conditions
end-to-end-tests / futurehouse (pull_request) Blocked by required conditions
end-to-end-tests / init-optimization (pull_request) Blocked by required conditions
end-to-end-tests / tracer-replay (pull_request) Blocked by required conditions
end-to-end-tests / bubblesort-unittest (pull_request) Blocked by required conditions
end-to-end-tests / topological-sort (pull_request) Blocked by required conditions
end-to-end-tests / bubblesort-pytest-no-git (pull_request) Blocked by required conditions
end-to-end-tests / E2E Tests Status (pull_request) Blocked by required conditions
Mypy Type Checking for Aiservice / skip-type-check (pull_request) Blocked by required conditions
Mypy Type Checking for Aiservice / type-check-aiservice (pull_request) Blocked by required conditions
Mypy Type Checking for Aiservice / mypy-aiservice-status (pull_request) Blocked by required conditions
Next.js Build Check / skip-build (pull_request) Blocked by required conditions
Next.js Build Check / build (pull_request) Blocked by required conditions
Build VSCode Extension / build (pull_request) Blocked by required conditions
CF-API CI / check-changes (pull_request) Failing after 1s
Claude Code / pr-review (pull_request) Failing after 2s
Claude Code / claude-mention (pull_request) Has been skipped
Codeflash AiService / check-changes (pull_request) Failing after 2s
Codeflash JS/TS Optimization / check-changes (pull_request) Failing after 1s
django-unit-tests / check-changes (pull_request) Failing after 2s
Duplicate Code Detector / detect-duplicates (pull_request) Failing after 2s
end-to-end-tests / check-changes (pull_request) Failing after 1s
Mypy Type Checking for Aiservice / check-changes (pull_request) Failing after 2s
Next.js Build Check / check-changes (pull_request) Failing after 2s
Prek (pre-commit checks) checks / prek (pull_request) Failing after 1s
Build VSCode Extension / check-min-version (pull_request) Failing after 5s
f43bd0c32b
Bumps [stripe](https://github.com/stripe/stripe-node) from 18.5.0 to 20.4.0.
- [Release notes](https://github.com/stripe/stripe-node/releases)
- [Changelog](https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stripe/stripe-node/compare/v18.5.0...v20.4.0)

---
updated-dependencies:
- dependency-name: stripe
  dependency-version: 20.4.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Some checks failed
CF-API CI / skip-validate (pull_request) Blocked by required conditions
CF-API CI / validate (pull_request) Blocked by required conditions
Codeflash AiService / No aiservice changes detected (pull_request) Blocked by required conditions
Codeflash AiService / Optimize new code in this PR (pull_request) Blocked by required conditions
Codeflash JS/TS Optimization / No JS/TS changes detected (pull_request) Blocked by required conditions
Codeflash JS/TS Optimization / Optimize cf-api (pull_request) Blocked by required conditions
Codeflash JS/TS Optimization / Optimize cf-webapp (pull_request) Blocked by required conditions
django-unit-tests / No aiservice changes detected (pull_request) Blocked by required conditions
django-unit-tests / unit-tests (pull_request) Blocked by required conditions
django-unit-tests / django-unit-tests-status (pull_request) Blocked by required conditions
end-to-end-tests / No relevant changes detected (pull_request) Blocked by required conditions
end-to-end-tests / Wait for unit tests (pull_request) Blocked by required conditions
end-to-end-tests / coverage (pull_request) Blocked by required conditions
end-to-end-tests / futurehouse (pull_request) Blocked by required conditions
end-to-end-tests / init-optimization (pull_request) Blocked by required conditions
end-to-end-tests / tracer-replay (pull_request) Blocked by required conditions
end-to-end-tests / bubblesort-unittest (pull_request) Blocked by required conditions
end-to-end-tests / topological-sort (pull_request) Blocked by required conditions
end-to-end-tests / bubblesort-pytest-no-git (pull_request) Blocked by required conditions
end-to-end-tests / E2E Tests Status (pull_request) Blocked by required conditions
Mypy Type Checking for Aiservice / skip-type-check (pull_request) Blocked by required conditions
Mypy Type Checking for Aiservice / type-check-aiservice (pull_request) Blocked by required conditions
Mypy Type Checking for Aiservice / mypy-aiservice-status (pull_request) Blocked by required conditions
Next.js Build Check / skip-build (pull_request) Blocked by required conditions
Next.js Build Check / build (pull_request) Blocked by required conditions
Build VSCode Extension / build (pull_request) Blocked by required conditions
CF-API CI / check-changes (pull_request) Failing after 1s
Claude Code / pr-review (pull_request) Failing after 2s
Claude Code / claude-mention (pull_request) Has been skipped
Mypy Type Checking for Aiservice / check-changes (pull_request) Failing after 2s
Codeflash AiService / check-changes (pull_request) Failing after 2s
Codeflash JS/TS Optimization / check-changes (pull_request) Failing after 1s
django-unit-tests / check-changes (pull_request) Failing after 2s
Duplicate Code Detector / detect-duplicates (pull_request) Failing after 2s
end-to-end-tests / check-changes (pull_request) Failing after 1s
Next.js Build Check / check-changes (pull_request) Failing after 2s
Prek (pre-commit checks) checks / prek (pull_request) Failing after 1s
Build VSCode Extension / check-min-version (pull_request) Failing after 5s
This pull request has changes conflicting with the target branch.
  • js/common/package-lock.json
  • js/common/package.json
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dependabot/npm_and_yarn/js/common/stripe-20.4.0:dependabot/npm_and_yarn/js/common/stripe-20.4.0
git checkout dependabot/npm_and_yarn/js/common/stripe-20.4.0

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff dependabot/npm_and_yarn/js/common/stripe-20.4.0
git checkout dependabot/npm_and_yarn/js/common/stripe-20.4.0
git rebase main
git checkout main
git merge --ff-only dependabot/npm_and_yarn/js/common/stripe-20.4.0
git checkout dependabot/npm_and_yarn/js/common/stripe-20.4.0
git rebase main
git checkout main
git merge --no-ff dependabot/npm_and_yarn/js/common/stripe-20.4.0
git checkout main
git merge --squash dependabot/npm_and_yarn/js/common/stripe-20.4.0
git checkout main
git merge --ff-only dependabot/npm_and_yarn/js/common/stripe-20.4.0
git checkout main
git merge dependabot/npm_and_yarn/js/common/stripe-20.4.0
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: codeflash-ai/codeflash-internal#62
No description provided.