Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 13, 2025

Bumps stripe from 17.7.0 to 19.1.0.

Release notes

Sourced from stripe's releases.

v19.1.0

  • #2453 add missing fetchEvent type for UnknownEventNotification

    • Add missing fetchEvent() declaration to the Stripe.Events.UnknownEventNotification interface
    • Tweak Stripe.Events.fetchRelatedObject so that it's always defined and returns null if there's no related_object. This fixes the situation where the UnknownEventNotification says that fetchRelatedObject() is defined, but calling it throws an error.
  • #2447 Update param in deprecation docs link

  • #2444 Update CHANGELOG.md to point to right API version

See the changelog for more details.

v19.1.0-beta.1

This release changes the pinned API version to 2025-09-30.preview. It is built on top of SDK version 19.0.0 which contains breaking changes. Please review the changelog for 19.0.0 if upgrading from older SDK versions.

  • #2422 Update generated code for beta
    • Add support for attach_cadence method on resource Subscription
    • Add support for billing_cadence on InvoiceCreatePreviewParams, SubscriptionCreateParams, SubscriptionUpdateParams, and Subscription
    • Add support for billing_cadence_details on Invoice.parent and QuotePreviewInvoice.parent
    • Add support for new value billing_cadence_details on enums Invoice.parent.type and QuotePreviewInvoice.parent.type
  • #2410 Update generated code for beta
    • Add support for new resources V2.Billing.BillSettingVersion, V2.Billing.BillSetting, V2.Billing.Cadence, V2.Billing.CollectionSettingVersion, V2.Billing.CollectionSetting, and V2.Billing.Profile
    • Add support for create, list, retrieve, and update methods on resources V2.Billing.BillSetting, V2.Billing.CollectionSetting, and V2.Billing.Profile
    • Add support for list and retrieve methods on resources V2.Billing.BillSettingVersion and V2.Billing.CollectionSettingVersion
    • Add support for cancel, create, list, retrieve, and update methods on resource V2.Billing.Cadence
    • Add support for new value crypto_wallet on enum V2.Core.Account.configuration.recipient.default_outbound_destination.type
    • Add support for profile on V2.Core.Account.defaults, V2.Core.AccountCreateParams.defaults, and V2.Core.AccountUpdateParams.defaults
    • Add support for i_p on V2.Core.Account.identity.attestations.directorship_declaration, V2.Core.Account.identity.attestations.ownership_declaration, V2.Core.Account.identity.attestations.terms_of_service.account, V2.Core.Account.identity.attestations.terms_of_service.storer, V2.Core.Account.identity.individual.additional_terms_of_service.account, V2.Core.AccountCreateParams.identity.attestations.terms_of_service.account, V2.Core.AccountCreateParams.identity.attestations.terms_of_service.storer, V2.Core.AccountUpdateParams.identity.attestations.terms_of_service.account, V2.Core.AccountUpdateParams.identity.attestations.terms_of_service.storer, V2.Core.Person.additional_terms_of_service.account, V2.Core.PersonCreateParams.additional_terms_of_service.account, and V2.Core.PersonUpdateParams.additional_terms_of_service.account
    • Remove support for ip on V2.Core.Account.identity.attestations.directorship_declaration, V2.Core.Account.identity.attestations.ownership_declaration, V2.Core.Account.identity.attestations.terms_of_service.account, V2.Core.Account.identity.attestations.terms_of_service.storer, V2.Core.Account.identity.individual.additional_terms_of_service.account, V2.Core.AccountCreateParams.identity.attestations.terms_of_service.account, V2.Core.AccountCreateParams.identity.attestations.terms_of_service.storer, V2.Core.AccountUpdateParams.identity.attestations.terms_of_service.account, V2.Core.AccountUpdateParams.identity.attestations.terms_of_service.storer, V2.Core.Person.additional_terms_of_service.account, V2.Core.PersonCreateParams.additional_terms_of_service.account, and V2.Core.PersonUpdateParams.additional_terms_of_service.account
    • Remove support for doing_business_as, product_description, and url on V2.Core.Account.identity.business_details, V2.Core.AccountCreateParams.identity.business_details, and V2.Core.AccountUpdateParams.identity.business_details
    • Add support for settlement_currency on V2.MoneyManagement.FinancialAddress
    • Add support for sepa_bank_account on V2.MoneyManagement.FinancialAddress.credentials and V2.MoneyManagement.ReceivedCredit.bank_transfer
    • Add support for new value sepa_bank_account on enum V2.MoneyManagement.FinancialAddress.credentials.type
    • Add support for amount_details and payments_orchestration on V2.Payments.OffSessionPaymentCreateParams and V2.Payments.OffSessionPayment
    • Add support for new value authorization_expired on enum V2.Payments.OffSessionPayment.failure_reason
    • Add support for retry_policy on V2.Payments.OffSessionPayment.retry_details and V2.Payments.OffSessionPaymentCreateParams.retry_details
    • Add support for new values heuristic and scheduled on enums V2.Payments.OffSessionPayment.retry_details.retry_strategy and V2.Payments.OffSessionPaymentCreateParams.retry_details.retry_strategy
    • Change type of V2.MoneyManagement.OutboundPaymentQuote.fx_quote.lock_duration from literal('five_minutes') to enum('five_minutes'|'none')
    • Change type of V2.MoneyManagement.OutboundPaymentQuote.fx_quote.lock_expires_at from DateTime to DateTime | null
    • Add support for new value none on enum V2.MoneyManagement.OutboundPaymentQuote.fx_quote.lock_status
    • Add support for new value crypto_wallet on enums V2.MoneyManagement.OutboundSetupIntentCreateParams.payout_method_data.type, V2.MoneyManagement.OutboundSetupIntentUpdateParams.payout_method_data.type, and V2.MoneyManagement.PayoutMethod.type
    • Add support for origin_type on V2.MoneyManagement.ReceivedCredit.bank_transfer
    • Remove support for payment_method_type on V2.MoneyManagement.ReceivedCredit.bank_transfer
    • Add support for new value prevented on enum Dispute.status
    • Add support for mandate_data and payment_method_options on V2.Payments.OffSessionPaymentCreateParams
    • Add support for type on V2.MoneyManagement.FinancialAddressCreateParams
    • Remove support for currency on V2.MoneyManagement.FinancialAddressCreateParams
    • Add support for new values financial_addressses.crypto_wallets, holds_currencies.usdc, outbound_payments.crypto_wallets, and outbound_transfers.crypto_wallets on enum EventsV2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent.updated_capability
    • Add support for thin event V2BillingBillSettingUpdatedEvent with related object V2.Billing.BillSetting
    • Add support for error type RateLimitError
    • Add support for error code invalid_payout_method_crypto_wallet on InvalidPayoutMethodError
  • #2397 Update generated code for beta

... (truncated)

Changelog

Sourced from stripe's changelog.

19.1.0 - 2025-10-03

  • #2453 add missing fetchEvent type for UnknownEventNotification

    • Add missing fetchEvent() declaration to the Stripe.Events.UnknownEventNotification interface
    • Tweak Stripe.Events.fetchRelatedObject so that it's always defined and returns null if there's no related_object. This fixes the situation where the UnknownEventNotification says that fetchRelatedObject() is defined, but calling it throws an error.
  • #2447 Update param in deprecation docs link

  • #2444 Update CHANGELOG.md to point to right API version

19.0.0 - 2025-09-30

This release changes the pinned API version to 2025-09-30.clover and contains breaking changes (prefixed with ⚠️ below)

  • #2427 Move V2.Event API resources to V2.Core.Events

    • ⚠️ Move the below event related interfaces and types from Stripe.V2 to Stripe.V2.Core. This enables us to correctly match the API path to the namespace
      • Stripe.V2.EventDestination -> Stripe.V2.Core.EventDestination
      • Stripe.V2.Event -> Stripe.V2.Core.Event
      • Stripe.V2.EventBase -> Stripe.V2.Core.EventBase
      • Stripe.V2.Events.RelatedObject -> Stripe.V2.Core.Events.RelatedObject
  • #2370 Add strongly typed EventNotifications We've overhauled how V2 Events are handled in the SDK! This approach should provide a lot more information at authoring and compile time, leading to more robust integrations. As part of this process, there are a number of changes to be aware of.

    • ⚠️ Rename function StripeClient.parseThinEvent to StripeClient.parseEventNotification and remove the Stripe.ThinEvent interface.
      • This function now returns a Stripe.V2.EventNotification which is a union of all possible event notifications instead of Stripe.ThinEvent. When applicable, these event notifications will have the relatedObject field and a function fetchRelatedObject(). They also have a fetchEvent() method to retrieve their corresponding event.
      • If this union type does not cover a new event notification that you parsed, you can cast it to UnknownEventNotification to then access the relatedObject field and the function fetchRelatedObject()
  • #2432 Drop support for Node < 16 & clarify policy

    • Publish our new language version support policy and add a link to the README.
    • ⚠️ Drop support for Node versions < 16
    • Node 16 support is deprecated and will be removed in the next scheduled major release (March 2026)
  • #2426 Add StripeContext object

    • Add the StripeContext class. It can be used anywhere the context option is supplied and gets serialized to a string when making requests.
    • ⚠️ Change EventNotification (formerly known as ThinEvent)'s context property from string to StripeContext
    • ⚠️ We no longer remove the stripe-context header from /v1 requests and the stripe-account header from /v2 requests. The server may reject a request with both of these headers, so if you're sending both, remove any reference to stripeAccount (since the headers are identical, but context is preferred)
  • #2398 ⚠️ Build SDK w/ V2 OpenAPI spec

    • ⚠️ The delete methods for v2 APIs (the ones in the StripeClient.v2 namespace) now return a V2DeletedObject which has the id of the object that has been deleted and a string representing the type of the object that has been deleted.
    • ⚠️ Change the types of nullable properties in objects returned by v2 APIs (the ones in the StripeClient.v2 namespace) from a null union to optional (e.g. prop: string | null -> prop?: string).
  • #2420 Fixed file uploading in Bun runtimes

    • Fixed issue (#2416) with file uploads in runtimes using FetchHttpClient (e.g. Bun). This bug affected Node SDK versions between 18.1.0 to 18.5.0.
  • #2405 support more npm tags

    • ⚠️ Starting with this release, we'll no longer be tagging releases with beta npm tag. Instead, we'll use latest, public-preview, or private-preview to more closely align with Stripe's release phases
  • #2402, #2413, #2430, #2428 Update generated code based on incoming API changes in the 2025-09-30.clover API version.

    • ⚠️ Remove support for balance_report and payout_reconciliation_report on AccountSession.components and AccountSessionCreateParams.components
    • ⚠️ Remove support for values saturday and sunday from enums Account.settings.payouts.schedule.weekly_payout_days, AccountCreateParams.settings.payouts.schedule.weekly_payout_days, and AccountUpdateParams.settings.payouts.schedule.weekly_payout_days
      • Add support for new values external_request and unsupported_business_type on enums Account.future_requirements.errors[].code, Account.requirements.errors[].code, BankAccount.future_requirements.errors[].code, BankAccount.requirements.errors[].code, Capability.future_requirements.errors[].code, Capability.requirements.errors[].code, Person.future_requirements.errors[].code, and Person.requirements.errors[].code
      • Remove support for link and pay_by_bank on PaymentMethodUpdateParams
    • ⚠️ Remove support for coupon on Discount, PromotionCodeCreateParams, and PromotionCode. Use Discount.source.coupon, PromotionCodeCreateParams.promotion.coupon and PromotionCode.coupon instead.
    • Change Invoice.id to be required.
    • Add support for new value prevented on enum Dispute.status
    • Add support for new resource BalanceSettings
    • Add support for retrieve and update methods on resource BalanceSettings
    • Add support for mb_way_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for source on Discount

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot 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)

Bumps [stripe](https://github.com/stripe/stripe-node) from 17.7.0 to 19.1.0.
- [Release notes](https://github.com/stripe/stripe-node/releases)
- [Changelog](https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md)
- [Commits](stripe/stripe-node@v17.7.0...v19.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 13, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 15, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/enatega-multivendor-web/stripe-19.1.0 branch October 15, 2025 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant