Skip to content

Conversation

@dependabot
Copy link

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

Bumps stripe from 15.3.0 to 17.0.0.

Release notes

Sourced from stripe's releases.

v17.0.0

  • #1698 Remove expanded instance variables after a resource has been updated
    • ⚠️ Removes dynamically added instance variables on subsequent non-expanded updates to a resource that had previously been expanded. For example,
    # expand `payments` field on an invoice
    invoice = Stripe::Invoice.retrieve(id: 'in_123', expand: ['payments'])
    pay invoice without expanding payments, so that field would have stale data
    Use expand to keep payments like this: invoice.pay(expand: ['payments'])
    invoice.pay
    This is now nil instead of a stale Hash
    invoice.payments

  • #1699 Improve event notification example
  • #1693 Improve event notification example
  • #1691 Remove manual promotion code test
  • #1690 Update param in deprecation docs link
  • #1687 Update CHANGELOG.md to point to right API version

See the changelog for more details.

v16.1.0-beta.1

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

  • #1671 Update generated code for beta
    • Add support for attach_cadence method on resource Subscription
    • Add support for billing_cadence on Invoice::CreatePreviewParams, Subscription::CreateParams, Subscription::UpdateParams, and Subscription
    • Add support for billing_cadence_details on Invoice::Parent and QuotePreviewInvoice::Parent
  • #1662 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 profile on V2::Core::Account::CreateParams::Default, V2::Core::Account::Default, and V2::Core::Account::UpdateParams::Default
    • Add support for i_p on V2::Core::Account::CreateParams::Identity::Attestation::TermsOfService::Account, V2::Core::Account::CreateParams::Identity::Attestation::TermsOfService::Storer, V2::Core::Account::Identity::Attestation::DirectorshipDeclaration, V2::Core::Account::Identity::Attestation::OwnershipDeclaration, V2::Core::Account::Identity::Attestation::TermsOfService::Account, V2::Core::Account::Identity::Attestation::TermsOfService::Storer, V2::Core::Account::Identity::Individual::AdditionalTermsOfService::Account, V2::Core::Account::UpdateParams::Identity::Attestation::TermsOfService::Account, V2::Core::Account::UpdateParams::Identity::Attestation::TermsOfService::Storer, V2::Core::Person::AdditionalTermsOfService::Account, V2::Core::Person::CreateParams::AdditionalTermsOfService::Account, and V2::Core::Person::UpdateParams::AdditionalTermsOfService::Account
    • Remove support for ip on V2::Core::Account::CreateParams::Identity::Attestation::TermsOfService::Account, V2::Core::Account::CreateParams::Identity::Attestation::TermsOfService::Storer, V2::Core::Account::Identity::Attestation::DirectorshipDeclaration, V2::Core::Account::Identity::Attestation::OwnershipDeclaration, V2::Core::Account::Identity::Attestation::TermsOfService::Account, V2::Core::Account::Identity::Attestation::TermsOfService::Storer, V2::Core::Account::Identity::Individual::AdditionalTermsOfService::Account, V2::Core::Account::UpdateParams::Identity::Attestation::TermsOfService::Account, V2::Core::Account::UpdateParams::Identity::Attestation::TermsOfService::Storer, V2::Core::Person::AdditionalTermsOfService::Account, V2::Core::Person::CreateParams::AdditionalTermsOfService::Account, and V2::Core::Person::UpdateParams::AdditionalTermsOfService::Account
    • Remove support for doing_business_as, product_description, and url on V2::Core::Account::CreateParams::Identity::BusinessDetail, V2::Core::Account::Identity::BusinessDetail, and V2::Core::Account::UpdateParams::Identity::BusinessDetail
    • Add support for settlement_currency on V2::MoneyManagement::FinancialAddress
    • Add support for sepa_bank_account on V2::MoneyManagement::FinancialAddress::Credential and V2::MoneyManagement::ReceivedCredit::BankTransfer
    • Add support for amount_details and payments_orchestration on V2::Payments::OffSessionPayment::CreateParams and V2::Payments::OffSessionPayment
    • Add support for retry_policy on V2::Payments::OffSessionPayment::CreateParams::RetryDetail and V2::Payments::OffSessionPayment::RetryDetail
    • Change type of V2::MoneyManagement::OutboundPaymentQuote::FxQuote.lock_duration from literal('five_minutes') to enum('five_minutes'|'none')
    • Change type of V2::MoneyManagement::OutboundPaymentQuote::FxQuote.lock_expires_at from DateTime to nullable(DateTime)
    • Add support for origin_type on V2::MoneyManagement::ReceivedCredit::BankTransfer
    • Remove support for payment_method_type on V2::MoneyManagement::ReceivedCredit::BankTransfer
    • Add support for mandate_data and payment_method_options on V2::Payments::OffSessionPayment::CreateParams
    • Add support for type on V2::MoneyManagement::FinancialAddress::CreateParams
    • Remove support for currency on V2::MoneyManagement::FinancialAddress::CreateParams
    • Add support for thin event V2BillingBillSettingUpdatedEvent with related object V2::Billing::BillSetting
    • Add support for error type RateLimitError

... (truncated)

Changelog

Sourced from stripe's changelog.

17.0.0 - 2025-10-09

  • #1698 Remove expanded instance variables after a resource has been updated
    • ⚠️ Removes dynamically added instance variables on subsequent non-expanded updates to a resource that had previously been expanded. For example,
    # expand `payments` field on an invoice
    invoice = Stripe::Invoice.retrieve(id: 'in_123', expand: ['payments'])
    pay invoice without expanding payments, so that field would have stale data
    Use expand to keep payments like this: invoice.pay(expand: ['payments'])
    invoice.pay
    This is now nil instead of a stale Hash
    invoice.payments

  • #1699 Improve event notification example
  • #1693 Improve event notification example
  • #1691 Remove manual promotion code test
  • #1690 Update param in deprecation docs link
  • #1687 Update CHANGELOG.md to point to right API version

16.0.0 - 2025-09-30

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

  • #1652 ⚠️ Deserialize inner types in resources for more detailed types
    • ⚠️ Deserialize inner classes, so inner class types will now reflect generated inner classes
      • For example, Stripe::Customer.address is deserialized to specific a Stripe::Customer::Address class instead of the generic Stripe::StripeObject, as is suggested by the static type annotations
      • This should not affect any normal use cases of the SDK, as inner types remain children of Stripe::StripeObject
  • #1649 Explicitly define methods for RBIs and ship combined RBI for Tapioca
    • Improvements for Tapioca
      • Explicitly define methods for attributes in RBIs to allow Tapioca to reflect them
      • Ship combined RBI for shorter Tapioca time
  • #1677 Move V2.Event API resources to V2.Core.Events
    • ⚠️ Move Stripe::V2::Event and Stripe::V2::EventDestination to Stripe::V2::Core::Event and Stripe::V2::Core::EventDestination respectively. They now correctly match their API path
  • #1664 Add StripeContext object
    • Add the StripeContext class. Previously you could set the stripe_context to only a string value. Now you can use the new class as well
    • ⚠️ Change EventNotification (formerly known as ThinEvent)'s context property from string to StripeContext
  • #1684 ⚠️ Drop support for Ruby < 2.6 & clarify version policy
    • Read our new language version support policy
      • ⚠️ In this release, we drop support for Ruby 2.3, 2.4, and 2.5
      • Ruby 2.6 support is deprecated and will be removed in the next scheduled major release (March 2026)
  • #1651 ⚠️ 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.
    • ⚠️ Deeply nested param hashes with no properties no longer have classes generated for them. Instead, they're typed as T::Hash[String, T.untyped]. Because there were no params, it's unlikely you were using these classes.
  • #1650 ⚠️ 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.
    • Added matching EventNotification classes to every v2 Event
      • For example, there's now a V1BillingMeterErrorReportTriggeredEventNotification to match the existing V1BillingMeterErrorReportTriggeredEvent
      • Each notification class defines a fetch_event() method to retrieve its corresponding event
      • For events with related objects, there's a fetch_related_object() method that performs the API call and casts the response to the correct type on both the EventNotification and Event.
    • ⚠️ Rename function StripeClient.parse_thin_event to StripeClient.parse_event_notification and remove the Stripe::ThinEvent class.

... (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-ruby) from 15.3.0 to 17.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@v15.3.0...v17.0.0)

---
updated-dependencies:
- dependency-name: stripe
  dependency-version: 17.0.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 ruby Pull requests that update Ruby code labels Oct 9, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 17, 2025

Superseded by #140.

@dependabot dependabot bot closed this Oct 17, 2025
@dependabot dependabot bot deleted the dependabot/bundler/stripe-17.0.0 branch October 17, 2025 21:13
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.

1 participant