Skip to content

Bump stripe from 18.4.2 to 19.0.0#3253

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/bundler/stripe-19.0.0
Open

Bump stripe from 18.4.2 to 19.0.0#3253
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/bundler/stripe-19.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 27, 2026

Bumps stripe from 18.4.2 to 19.0.0.

Release notes

Sourced from stripe's releases.

v19.0.0

This release changes the pinned API version to 2026-03-25.dahlia and contains breaking changes (prefixed with ⚠️ below). There's also a detailed migration guide to simplify your upgrade process.

Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.

  • ⚠️ Breaking change: #1829 Add decimal_string coercion for v1 and v2 API fields
    • All decimal_string fields changed type from String to BigDecimal in both request params and response objects. Code that reads or writes these fields as String will need to use BigDecimal instead. Affected fields across v1 and v2 APIs:
      • Checkout::Session: fx_rate
      • Climate::Order: metric_tons; Climate::Product: metric_tons_available
      • CreditNoteLineItem: unit_amount_decimal
      • InvoiceItem: quantity_decimal, unit_amount_decimal
      • InvoiceLineItem: quantity_decimal, unit_amount_decimal
      • Issuing::Authorization / Issuing::Transaction (and TestHelpers): quantity_decimal, unit_cost_decimal, gross_amount_decimal, local_amount_decimal, national_amount_decimal
      • Plan: amount_decimal, flat_amount_decimal, unit_amount_decimal
      • Price: unit_amount_decimal, flat_amount_decimal (including currency_options and tiers)
      • V2::Core::Account / V2::Core::AccountPerson: percent_ownership
      • Request params on Invoice, Product, Quote, Subscription, SubscriptionItem, SubscriptionSchedule, PaymentLink: unit_amount_decimal, flat_amount_decimal, quantity_decimal (where applicable)
  • ⚠️ Breaking change: #1828 ⚠️ Throw an error when using the wrong webhook parsing method
  • ⚠️ Breaking change: #1823 ⚠️ Drop support for Ruby 2.6
  • #1825 Require cgi/escape instead of cgi
  • #1814 Add runtime support for V2 int64 string-encoded fields
  • #1817 Remove AlipayAccount and RecipientTransfer resource files
    • ⚠️ Removes Stripe::AlipayAccount and Stripe::RecipientTransfer resource classes (dead code since v7.0.0)
  • #1816 remove v2-specific guards for removing nils from request params
  • #1824 Add gem dependency on logger

See the changelog for more details.

v18.5.0-beta.1

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

  • #1789 Update generated code for beta
    • Add support for smart_disputes on Account::Setting, AccountCreateParams::Setting, AccountUpdateParams::Setting, V2::Core::Account::Configuration::Merchant, V2::Core::AccountCreateParams::Configuration::Merchant, and V2::Core::AccountUpdateParams::Configuration::Merchant
    • Add support for email_customers_on_successful_payment on Account::Setting::Payment, AccountCreateParams::Setting::Payment, and AccountUpdateParams::Setting::Payment
    • Add support for managed_payments on Checkout::SessionCreateParams, Checkout::Session, PaymentIntent, SetupIntent, and Subscription
    • Add support for purpose on V2::MoneyManagement::OutboundPaymentCreateParams and V2::MoneyManagement::OutboundPayment
    • Add support for branch_number and swift_code on V2::MoneyManagement::PayoutMethod::BankAccount
    • Change V2::MoneyManagement::Transaction.flow and V2::MoneyManagement::TransactionEntry::TransactionDetail.flow to be optional

See the changelog for more details.

v18.5.0-alpha.4

  • #1818 Update generated code for private-preview
    • Add support for simulate_crypto_deposit test helper method on resource PaymentIntent
    • Add support for deposit_options and mode on PaymentIntent::PaymentMethodOption::Crypto, PaymentIntentConfirmParams::PaymentMethodOption::Crypto, PaymentIntentCreateParams::PaymentMethodOption::Crypto, and PaymentIntentUpdateParams::PaymentMethodOption::Crypto
    • Add support for crypto_display_details on PaymentIntent::NextAction
  • #1812 Update generated code for private-preview
    • Add support for new resources Orchestration::PaymentAttempt and Radar::CustomerEvaluation
    • Add support for retrieve method on resource Orchestration::PaymentAttempt
    • Add support for create and update methods on resource Radar::CustomerEvaluation

... (truncated)

Changelog

Sourced from stripe's changelog.

19.0.0 - 2026-03-25

This release changes the pinned API version to 2026-03-25.dahlia and contains breaking changes (prefixed with ⚠️ below). There's also a detailed migration guide to simplify your upgrade process.

Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.

  • ⚠️ Breaking change: #1829 Add decimal_string coercion for v1 and v2 API fields
    • All decimal_string fields changed type from String to BigDecimal in both request params and response objects. Code that reads or writes these fields as String will need to use BigDecimal instead. Affected fields across v1 and v2 APIs:
      • Checkout::Session: fx_rate
      • Climate::Order: metric_tons; Climate::Product: metric_tons_available
      • CreditNoteLineItem: unit_amount_decimal
      • InvoiceItem: quantity_decimal, unit_amount_decimal
      • InvoiceLineItem: quantity_decimal, unit_amount_decimal
      • Issuing::Authorization / Issuing::Transaction (and TestHelpers): quantity_decimal, unit_cost_decimal, gross_amount_decimal, local_amount_decimal, national_amount_decimal
      • Plan: amount_decimal, flat_amount_decimal, unit_amount_decimal
      • Price: unit_amount_decimal, flat_amount_decimal (including currency_options and tiers)
      • V2::Core::Account / V2::Core::AccountPerson: percent_ownership
      • Request params on Invoice, Product, Quote, Subscription, SubscriptionItem, SubscriptionSchedule, PaymentLink: unit_amount_decimal, flat_amount_decimal, quantity_decimal (where applicable)
  • ⚠️ Breaking change: #1828 ⚠️ Throw an error when using the wrong webhook parsing method
  • ⚠️ Breaking change: #1823 ⚠️ Drop support for Ruby 2.6
  • #1825 Require cgi/escape instead of cgi
  • #1814 Add runtime support for V2 int64 string-encoded fields
  • #1817 Remove AlipayAccount and RecipientTransfer resource files
    • ⚠️ Removes Stripe::AlipayAccount and Stripe::RecipientTransfer resource classes (dead code since v7.0.0)
  • #1816 remove v2-specific guards for removing nils from request params
  • #1824 Add gem dependency on logger

⚠️ Breaking changes due to changes in the Stripe API

  • Generated changes from #1804, #1834, #1831, #1830
    • Add support for upi_payments on Account::Capability, AccountCreateParams::Capability, and AccountUpdateParams::Capability
    • Add support for upi on Charge::PaymentMethodDetail, Checkout::Session::PaymentMethodOption, Checkout::SessionCreateParams::PaymentMethodOption, ConfirmationToken::PaymentMethodPreview, ConfirmationTokenCreateParams::PaymentMethodDatum, Mandate::PaymentMethodDetail, PaymentAttemptRecord::PaymentMethodDetail, PaymentIntent::PaymentMethodOption, PaymentIntentConfirmParams::PaymentMethodDatum, PaymentIntentConfirmParams::PaymentMethodOption, PaymentIntentCreateParams::PaymentMethodDatum, PaymentIntentCreateParams::PaymentMethodOption, PaymentIntentUpdateParams::PaymentMethodDatum, PaymentIntentUpdateParams::PaymentMethodOption, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, PaymentRecord::PaymentMethodDetail, SetupAttempt::PaymentMethodDetail, SetupIntent::PaymentMethodOption, SetupIntentConfirmParams::PaymentMethodDatum, SetupIntentConfirmParams::PaymentMethodOption, SetupIntentCreateParams::PaymentMethodDatum, SetupIntentCreateParams::PaymentMethodOption, SetupIntentUpdateParams::PaymentMethodDatum, and SetupIntentUpdateParams::PaymentMethodOption
    • Add support for integration_identifier on Checkout::SessionCreateParams and Checkout::Session
    • Add support for crypto on Checkout::SessionCreateParams::PaymentMethodOption
    • Add support for pending_invoice_item_interval on Checkout::SessionCreateParams::SubscriptionDatum
    • Add support for metadata on CreditNoteCreateParams::Line, CreditNoteLineItem, CreditNoteListPreviewLineItemsParams::Line, and CreditNotePreviewParams::Line
    • Add support for quantity_decimal on InvoiceAddLinesParams::Line, InvoiceCreatePreviewParams::InvoiceItem, InvoiceItemCreateParams, InvoiceItemUpdateParams, InvoiceItem, InvoiceLineItemUpdateParams, InvoiceLineItem, and InvoiceUpdateLinesParams::Line
    • ⚠️ Add support for level on Issuing::AuthorizationCreateParams::RiskAssessment::CardTestingRisk and Issuing::AuthorizationCreateParams::RiskAssessment::MerchantDisputeRisk
    • ⚠️ Remove support for risk_level on Issuing::AuthorizationCreateParams::RiskAssessment::CardTestingRisk and Issuing::AuthorizationCreateParams::RiskAssessment::MerchantDisputeRisk
    • Add support for lifecycle_controls on Issuing::CardCreateParams and Issuing::Card
    • ⚠️ Change type of Issuing::Token::NetworkDatum::Visa.card_reference_id from string to nullable(string)
    • ⚠️ Change type of PaymentAttemptRecord::PaymentMethodDetail::Card.brand and PaymentRecord::PaymentMethodDetail::Card.brand from enum to nullable(enum)
    • ⚠️ Change type of PaymentAttemptRecord::PaymentMethodDetail::Card.exp_month and PaymentRecord::PaymentMethodDetail::Card.exp_month from longInteger to nullable(longInteger)
    • ⚠️ Change type of PaymentAttemptRecord::PaymentMethodDetail::Card.exp_year and PaymentRecord::PaymentMethodDetail::Card.exp_year from longInteger to nullable(longInteger)
    • ⚠️ Change type of PaymentAttemptRecord::PaymentMethodDetail::Card.funding and PaymentRecord::PaymentMethodDetail::Card.funding from enum('credit'|'debit'|'prepaid'|'unknown') to nullable(enum('credit'|'debit'|'prepaid'|'unknown'))
    • ⚠️ Change type of PaymentAttemptRecord::PaymentMethodDetail::Card.last4 and PaymentRecord::PaymentMethodDetail::Card.last4 from string to nullable(string)
    • ⚠️ Change type of PaymentAttemptRecord::PaymentMethodDetail::Card.moto and PaymentRecord::PaymentMethodDetail::Card.moto from boolean to nullable(boolean)
    • Add support for cryptogram, electronic_commerce_indicator, exemption_indicator_applied, and exemption_indicator on PaymentAttemptRecord::PaymentMethodDetail::Card::ThreeDSecure and PaymentRecord::PaymentMethodDetail::Card::ThreeDSecure
    • Add support for upi_handle_redirect_or_display_qr_code on PaymentIntent::NextAction and SetupIntent::NextAction
    • Add support for recommended_action and signals on Radar::PaymentEvaluation

... (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 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-ruby) from 18.4.2 to 19.0.0.
- [Release notes](https://github.com/stripe/stripe-ruby/releases)
- [Changelog](https://github.com/stripe/stripe-ruby/blob/master/CHANGELOG.md)
- [Commits](stripe/stripe-ruby@v18.4.2...v19.0.0)

---
updated-dependencies:
- dependency-name: stripe
  dependency-version: 19.0.0
  dependency-type: direct:development
  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 ruby Pull requests that update ruby code labels Mar 27, 2026
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 ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants