Skip to content

chore(deps): update dependency stripe to v19#516

Draft
renovate[bot] wants to merge 1 commit intodevelfrom
renovate/stripe-19.x
Draft

chore(deps): update dependency stripe to v19#516
renovate[bot] wants to merge 1 commit intodevelfrom
renovate/stripe-19.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 26, 2026

This PR contains the following updates:

Package Change Age Confidence
stripe (source, changelog) '~> 18.1.0''~> 19.0.0' age confidence

Release Notes

stripe/stripe-ruby (stripe)

v19.0.0

Compare Source

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
    • ⚠️ Remove support for insights on Radar::PaymentEvaluation

v18.4.2

Compare Source

  • #​1811 Retry on Net::HTTPFatalError
    • Fixes a bug where Net::HTTPFatalError errors were being thrown and not retried (unlike other 5xx responses from the Stripe API)

v18.4.1

Compare Source

  • #​1805 Add Stripe-Request-Trigger header
  • #​1803 Add agent information to UserAgent

v18.4.0

Compare Source

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

  • #​1797 Update generated code
    • Add support for new resources Reserve::Hold, Reserve::Plan, and Reserve::Release
    • Add support for location and reader on Charge::PaymentMethodDetail::CardPresent, Charge::PaymentMethodDetail::InteracPresent, ConfirmationToken::PaymentMethodPreview::Card::GeneratedFrom::PaymentMethodDetail::CardPresent, PaymentAttemptRecord::PaymentMethodDetail::CardPresent, PaymentAttemptRecord::PaymentMethodDetail::InteracPresent, PaymentMethod::Card::GeneratedFrom::PaymentMethodDetail::CardPresent, PaymentRecord::PaymentMethodDetail::CardPresent, and PaymentRecord::PaymentMethodDetail::InteracPresent
    • Add support for display_name and service_user_number on Mandate::PaymentMethodDetail::BacsDebit
    • Change type of PaymentAttemptRecord::PaymentMethodDetail::Boleto.tax_id and PaymentRecord::PaymentMethodDetail::Boleto.tax_id from string to nullable(string)
    • Change type of PaymentAttemptRecord::PaymentMethodDetail::UsBankAccount.expected_debit_date and PaymentRecord::PaymentMethodDetail::UsBankAccount.expected_debit_date from nullable(string) to string
    • Add support for transaction_purpose on PaymentIntent::PaymentMethodOption::UsBankAccount, PaymentIntentConfirmParams::PaymentMethodOption::UsBankAccount, PaymentIntentCreateParams::PaymentMethodOption::UsBankAccount, and PaymentIntentUpdateParams::PaymentMethodOption::UsBankAccount
    • Add support for optional_items on PaymentLinkUpdateParams
    • Remove support for unused card_issuer_decline on Radar::PaymentEvaluation::Insight
    • Add support for payment_behavior on SubscriptionItemDeleteParams
    • Add support for lk on Tax::Registration::CountryOption and Tax::RegistrationCreateParams::CountryOption
    • Add support for cellular and stripe_s710 on Terminal::ConfigurationCreateParams, Terminal::ConfigurationUpdateParams, and Terminal::Configuration
  • #​1796 Ignore unset properties of V2 Request param classes when making requests
  • #​1786 Properly serialize null values in V2
    • Fixes a bug where V2 POST requests were not serializing null values.

v18.3.1

Compare Source

  • #​1777
    • References to Stripe objects from *Param class fields are now fully qualified in stripe.rbi. This ensures that the class fields in .rbi files generated with tapioca are able to refer to the correct type.

v18.3.0

Compare Source

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

  • #​1771 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
    • Change Invoice::PaymentSetting::PaymentMethodOption.payto and Subscription::PaymentSetting::PaymentMethodOption.payto to be required
    • Add support for enforce_arithmetic_validation on PaymentIntentCaptureParams::AmountDetail, PaymentIntentConfirmParams::AmountDetail, PaymentIntentCreateParams::AmountDetail, PaymentIntentIncrementAuthorizationParams::AmountDetail, and PaymentIntentUpdateParams::AmountDetail
    • Add support for error on PaymentIntent::AmountDetail
    • Remove support for bgn on Terminal::Configuration::Tipping, Terminal::ConfigurationCreateParams::Tipping, and Terminal::ConfigurationUpdateParams::Tipping
    • Add support for topup on Treasury::ReceivedDebit::LinkedFlow
    • Add support for contact_phone on V2::Core::AccountCreateParams, V2::Core::AccountTokenCreateParams, V2::Core::AccountUpdateParams, and V2::Core::Account
    • Add support for registration_date on V2::Core::Account::Identity::BusinessDetail, V2::Core::AccountCreateParams::Identity::BusinessDetail, V2::Core::AccountTokenCreateParams::Identity::BusinessDetail, and V2::Core::AccountUpdateParams::Identity::BusinessDetail
  • #​1769 Document usage of undocumented API parameters

v18.2.0

Compare Source

  • #​1767 Update generated code
    • Add support for event notifications V2CoreAccountClosedEvent, V2CoreAccountCreatedEvent, V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationCustomerUpdatedEvent, V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationMerchantUpdatedEvent, V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationRecipientUpdatedEvent, V2CoreAccountIncludingDefaultsUpdatedEvent, V2CoreAccountIncludingFutureRequirementsUpdatedEvent, V2CoreAccountIncludingIdentityUpdatedEvent, V2CoreAccountIncludingRequirementsUpdatedEvent, and V2CoreAccountUpdatedEvent with related object V2::Core::Account
    • Add support for event notification V2CoreAccountLinkReturnedEvent
    • Add support for event notifications V2CoreAccountPersonCreatedEvent, V2CoreAccountPersonDeletedEvent, and V2CoreAccountPersonUpdatedEvent with related object V2::Core::AccountPerson

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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, check this box

This PR was generated by Mend Renovate. View the repository job log.

@simonbaird simonbaird marked this pull request as draft March 26, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants