Bump stripe from 14.0.0 to 15.0.0 #2105

Merged
dependabot[bot] merged 2 commits from dependabot/bundler/stripe-15.0.0 into main 2025-04-14 21:05:41 +08:00
dependabot[bot] commented 2025-04-14 15:56:18 +08:00 (Migrated from github.com)

Bumps stripe from 14.0.0 to 15.0.0.

Release notes

Sourced from stripe's releases.

v15.0.0

Breaking change

  • #1574 Rename object_id in V2::Core::EventService::ListParams to object_id_

    • ⚠️ Change name of parameter from object_id to object_id_ on Stripe::V2::Core::EventService::ListParams to avoid conflict with Ruby native attribute, as found in stripe/stripe-ruby#1567
    • This is a no-op unless you are using this specific parameter that was introduced in v14.0.0
  • #1576 Explicitly pass through custom headers in retrieve

    • Fix custom options passing for resource-based retrieve
  • #1571 Validate all instance variable keys returned from the API

    • Validate all keys returned from the API, including custom response fields, to make sure they can be set in an instance variable, as brought up in stripe/stripe-ruby#1564
      • We do not set instance variables for invalid field names (as defined by the Ruby spec). We recommend for custom hash map response fields, use the [] accessor.
        c = client.v1.customers.retrieve("cus_123")
        c.metadata["invalid-variable-name!"]
        c.metadata["valid_key_name_works_too"]
        
  • #1575 Remove unused youtube playlist link

  • #1573 Remove link for stale youtube video playlist

See the changelog for more details.

v14.1.0-beta.1

  • #1563, #1558, #1547 Update generated code for beta

    This release changes the pinned API version to 2025-03-31.preview

    Breaking changes

    • Change type of QuotePreviewInvoice::Parent::SubscriptionDetail.subscription from string to expandable($Subscription)
    • Remove support for value on TerminalReader::Action::CollectInput::Input::Selection::Choice, TerminalReader::Action::CollectInput::Input::Selection, and TerminalReader::CollectInputsParams::Input::Selection::Choice

    Additions

    • Add support for payment_method_options on ConfirmationToken::CreateParams
    • Add support for installments on ConfirmationToken::PaymentMethodOption::Card
    • Change BillingCreditBalanceSummary::RetrieveParams.customer, BillingCreditBalanceTransaction::ListParams.customer, BillingCreditGrant::CreateParams.customer, BillingPortalSession::CreateParams.customer, CustomerSession::CreateParams.customer, InvoiceItem::CreateParams.customer, PaymentMethod::AttachParams.customer, and Subscription::CreateParams.customer to be optional
    • Add support for update_line_items on CheckoutSession::CreateParams::Permission and CheckoutSession::Permission
    • Add support for billie on PaymentIntent::ConfirmParams::PaymentMethodOption, PaymentIntent::CreateParams::PaymentMethodOption, PaymentIntent::PaymentMethodOption, and PaymentIntent::UpdateParams::PaymentMethodOption
    • Add support for id and text on TerminalReader::Action::CollectInput::Input::Selection::Choice, TerminalReader::Action::CollectInput::Input::Selection, and TerminalReader::CollectInputsParams::Input::Selection::Choice
    • Add support for new resources BalanceSettings
    • Add support for retrieve and update methods on resource BalanceSettings
    • Add support for create, delete, list, retrieve, and update methods on a new ExternalAccountService class to access cards and bank accounts made available in the new path v1/external_accounts. Access this via StripeClient.external_accounts

    New APIs for Money CardManagement

    • Add support for new resources V2::Core::Vault::UsBankAccount, V2::FinancialAddressCreditSimulation, V2::FinancialAddressGeneratedMicrodeposits, V2::MoneyManagement::Adjustment, V2::MoneyManagement::FinancialAccount, V2::MoneyManagement::FinancialAddress, V2::MoneyManagement::InboundTransfer, V2::MoneyManagement::OutboundPaymentQuote, V2::MoneyManagement::OutboundPayment, V2::MoneyManagement::OutboundSetupIntent, V2::MoneyManagement::OutboundTransfer, V2::MoneyManagement::PayoutMethod, V2::MoneyManagement::PayoutMethodsBankAccountSpec, V2::MoneyManagement::ReceivedCredit, V2::MoneyManagement::ReceivedDebit, V2::MoneyManagement::TransactionEntry, and V2::MoneyManagement::Transaction
    • Add support for create method on resource V2::MoneyManagement::OutboundPaymentQuote
    • Add support for list and retrieve methods on resources V2::MoneyManagement::Adjustment, V2::MoneyManagement::FinancialAccount, V2::MoneyManagement::ReceivedCredit, V2::MoneyManagement::ReceivedDebit, V2::MoneyManagement::TransactionEntry, and V2::MoneyManagement::Transaction
    • Add support for create, list, and retrieve methods on resources V2::MoneyManagement::FinancialAddress and V2::MoneyManagement::InboundTransfer
    • Add support for cancel, create, list, and retrieve methods on resources V2::MoneyManagement::OutboundPayment and V2::MoneyManagement::OutboundTransfer
    • Add support for archive, list, retrieve, and unarchive methods on resource V2::MoneyManagement::PayoutMethod
    • Add support for cancel, create, list, retrieve, and update methods on resource V2::MoneyManagement::OutboundSetupIntent

... (truncated)

Changelog

Sourced from stripe's changelog.

15.0.0 - 2025-04-09

Breaking change

  • #1574 Rename object_id in V2::Core::EventService::ListParams to object_id_

    • ⚠️ Change name of parameter from object_id to object_id_ on Stripe::V2::Core::EventService::ListParams to avoid conflict with Ruby native attribute, as found in stripe/stripe-ruby#1567
    • This is a no-op unless you are using this specific parameter that was introduced in v14.0.0
  • #1576 Explicitly pass through custom headers in retrieve

    • Fix custom options passing for resource-based retrieve
  • #1571 Validate all instance variable keys returned from the API

    • Validate all keys returned from the API, including custom response fields, to make sure they can be set in an instance variable, as brought up in stripe/stripe-ruby#1564
      • We do not set instance variables for invalid field names (as defined by the Ruby spec). We recommend for custom hash map response fields, use the [] accessor.
        c = client.v1.customers.retrieve("cus_123")
        c.metadata["invalid-variable-name!"]
        c.metadata["valid_key_name_works_too"]
        
  • #1575 Remove unused youtube playlist link

  • #1573 Remove link for stale youtube video playlist

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 14.0.0 to 15.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/stripe/stripe-ruby/releases">stripe's releases</a>.</em></p> <blockquote> <h2>v15.0.0</h2> <h3>Breaking change</h3> <ul> <li> <p><a href="https://redirect.github.com/stripe/stripe-ruby/pull/1574">#1574</a> Rename <code>object_id</code> in V2::Core::EventService::ListParams to <code>object_id_</code></p> <ul> <li>⚠️ Change name of parameter from <code>object_id</code> to <code>object_id_</code> on <code>Stripe::V2::Core::EventService::ListParams</code> to avoid conflict with Ruby native attribute, as found in <a href="https://redirect.github.com/stripe/stripe-ruby/issues/1567">stripe/stripe-ruby#1567</a></li> <li>This is a no-op unless you are using this specific parameter that was introduced in <code>v14.0.0</code></li> </ul> </li> <li> <p><a href="https://redirect.github.com/stripe/stripe-ruby/pull/1576">#1576</a> Explicitly pass through custom headers in retrieve</p> <ul> <li>Fix custom options passing for resource-based retrieve</li> </ul> </li> <li> <p><a href="https://redirect.github.com/stripe/stripe-ruby/pull/1571">#1571</a> Validate all instance variable keys returned from the API</p> <ul> <li>Validate all keys returned from the API, including custom response fields, to make sure they can be set in an instance variable, as brought up in <a href="https://redirect.github.com/stripe/stripe-ruby/issues/1564">stripe/stripe-ruby#1564</a> <ul> <li>We do not set instance variables for invalid field names (as defined by the <a href="https://ruby-doc.org/docs/ruby-doc-bundle/Manual/man-1.4/syntax.html#ident">Ruby spec</a>). We recommend for custom hash map response fields, use the <code>[]</code> accessor. <pre lang="ruby"><code>c = client.v1.customers.retrieve(&quot;cus_123&quot;) c.metadata[&quot;invalid-variable-name!&quot;] c.metadata[&quot;valid_key_name_works_too&quot;] </code></pre> </li> </ul> </li> </ul> </li> <li> <p><a href="https://redirect.github.com/stripe/stripe-ruby/pull/1575">#1575</a> Remove unused youtube playlist link</p> </li> <li> <p><a href="https://redirect.github.com/stripe/stripe-ruby/pull/1573">#1573</a> Remove link for stale youtube video playlist</p> </li> </ul> <p>See <a href="https://github.com/stripe/stripe-ruby/blob/v15.0.0/CHANGELOG.md">the changelog for more details</a>.</p> <h2>v14.1.0-beta.1</h2> <ul> <li> <p><a href="https://redirect.github.com/stripe/stripe-ruby/pull/1563">#1563</a>, <a href="https://redirect.github.com/stripe/stripe-ruby/pull/1558">#1558</a>, <a href="https://redirect.github.com/stripe/stripe-ruby/pull/1547">#1547</a> Update generated code for beta</p> <p>This release changes the pinned API version to <code>2025-03-31.preview</code></p> <h3>Breaking changes</h3> <ul> <li>Change type of <code>QuotePreviewInvoice::Parent::SubscriptionDetail.subscription</code> from <code>string</code> to <code>expandable($Subscription)</code></li> <li>Remove support for <code>value</code> on <code>TerminalReader::Action::CollectInput::Input::Selection::Choice</code>, <code>TerminalReader::Action::CollectInput::Input::Selection</code>, and <code>TerminalReader::CollectInputsParams::Input::Selection::Choice</code></li> </ul> <h3>Additions</h3> <ul> <li>Add support for <code>payment_method_options</code> on <code>ConfirmationToken::CreateParams</code></li> <li>Add support for <code>installments</code> on <code>ConfirmationToken::PaymentMethodOption::Card</code></li> <li>Change <code>BillingCreditBalanceSummary::RetrieveParams.customer</code>, <code>BillingCreditBalanceTransaction::ListParams.customer</code>, <code>BillingCreditGrant::CreateParams.customer</code>, <code>BillingPortalSession::CreateParams.customer</code>, <code>CustomerSession::CreateParams.customer</code>, <code>InvoiceItem::CreateParams.customer</code>, <code>PaymentMethod::AttachParams.customer</code>, and <code>Subscription::CreateParams.customer</code> to be optional</li> <li>Add support for <code>update_line_items</code> on <code>CheckoutSession::CreateParams::Permission</code> and <code>CheckoutSession::Permission</code></li> <li>Add support for <code>billie</code> on <code>PaymentIntent::ConfirmParams::PaymentMethodOption</code>, <code>PaymentIntent::CreateParams::PaymentMethodOption</code>, <code>PaymentIntent::PaymentMethodOption</code>, and <code>PaymentIntent::UpdateParams::PaymentMethodOption</code></li> <li>Add support for <code>id</code> and <code>text</code> on <code>TerminalReader::Action::CollectInput::Input::Selection::Choice</code>, <code>TerminalReader::Action::CollectInput::Input::Selection</code>, and <code>TerminalReader::CollectInputsParams::Input::Selection::Choice</code></li> <li>Add support for new resources <code>BalanceSettings</code></li> <li>Add support for <code>retrieve</code> and <code>update</code> methods on resource <code>BalanceSettings</code></li> <li>Add support for <code>create</code>, <code>delete</code>, <code>list</code>, <code>retrieve</code>, and <code>update</code> methods on a new <code>ExternalAccountService</code> class to access cards and bank accounts made available in the new path <code>v1/external_accounts</code>. Access this via <code>StripeClient.external_accounts</code></li> </ul> <h4>New APIs for Money CardManagement</h4> <ul> <li>Add support for new resources <code>V2::Core::Vault::UsBankAccount</code>, <code>V2::FinancialAddressCreditSimulation</code>, <code>V2::FinancialAddressGeneratedMicrodeposits</code>, <code>V2::MoneyManagement::Adjustment</code>, <code>V2::MoneyManagement::FinancialAccount</code>, <code>V2::MoneyManagement::FinancialAddress</code>, <code>V2::MoneyManagement::InboundTransfer</code>, <code>V2::MoneyManagement::OutboundPaymentQuote</code>, <code>V2::MoneyManagement::OutboundPayment</code>, <code>V2::MoneyManagement::OutboundSetupIntent</code>, <code>V2::MoneyManagement::OutboundTransfer</code>, <code>V2::MoneyManagement::PayoutMethod</code>, <code>V2::MoneyManagement::PayoutMethodsBankAccountSpec</code>, <code>V2::MoneyManagement::ReceivedCredit</code>, <code>V2::MoneyManagement::ReceivedDebit</code>, <code>V2::MoneyManagement::TransactionEntry</code>, and <code>V2::MoneyManagement::Transaction</code></li> <li>Add support for <code>create</code> method on resource <code>V2::MoneyManagement::OutboundPaymentQuote</code></li> <li>Add support for <code>list</code> and <code>retrieve</code> methods on resources <code>V2::MoneyManagement::Adjustment</code>, <code>V2::MoneyManagement::FinancialAccount</code>, <code>V2::MoneyManagement::ReceivedCredit</code>, <code>V2::MoneyManagement::ReceivedDebit</code>, <code>V2::MoneyManagement::TransactionEntry</code>, and <code>V2::MoneyManagement::Transaction</code></li> <li>Add support for <code>create</code>, <code>list</code>, and <code>retrieve</code> methods on resources <code>V2::MoneyManagement::FinancialAddress</code> and <code>V2::MoneyManagement::InboundTransfer</code></li> <li>Add support for <code>cancel</code>, <code>create</code>, <code>list</code>, and <code>retrieve</code> methods on resources <code>V2::MoneyManagement::OutboundPayment</code> and <code>V2::MoneyManagement::OutboundTransfer</code></li> <li>Add support for <code>archive</code>, <code>list</code>, <code>retrieve</code>, and <code>unarchive</code> methods on resource <code>V2::MoneyManagement::PayoutMethod</code></li> <li>Add support for <code>cancel</code>, <code>create</code>, <code>list</code>, <code>retrieve</code>, and <code>update</code> methods on resource <code>V2::MoneyManagement::OutboundSetupIntent</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-ruby/blob/master/CHANGELOG.md">stripe's changelog</a>.</em></p> <blockquote> <h2>15.0.0 - 2025-04-09</h2> <h3>Breaking change</h3> <ul> <li> <p><a href="https://redirect.github.com/stripe/stripe-ruby/pull/1574">#1574</a> Rename <code>object_id</code> in V2::Core::EventService::ListParams to <code>object_id_</code></p> <ul> <li>⚠️ Change name of parameter from <code>object_id</code> to <code>object_id_</code> on <code>Stripe::V2::Core::EventService::ListParams</code> to avoid conflict with Ruby native attribute, as found in <a href="https://redirect.github.com/stripe/stripe-ruby/issues/1567">stripe/stripe-ruby#1567</a></li> <li>This is a no-op unless you are using this specific parameter that was introduced in <code>v14.0.0</code></li> </ul> </li> <li> <p><a href="https://redirect.github.com/stripe/stripe-ruby/pull/1576">#1576</a> Explicitly pass through custom headers in retrieve</p> <ul> <li>Fix custom options passing for resource-based retrieve</li> </ul> </li> <li> <p><a href="https://redirect.github.com/stripe/stripe-ruby/pull/1571">#1571</a> Validate all instance variable keys returned from the API</p> <ul> <li>Validate all keys returned from the API, including custom response fields, to make sure they can be set in an instance variable, as brought up in <a href="https://redirect.github.com/stripe/stripe-ruby/issues/1564">stripe/stripe-ruby#1564</a> <ul> <li>We do not set instance variables for invalid field names (as defined by the <a href="https://ruby-doc.org/docs/ruby-doc-bundle/Manual/man-1.4/syntax.html#ident">Ruby spec</a>). We recommend for custom hash map response fields, use the <code>[]</code> accessor. <pre lang="ruby"><code>c = client.v1.customers.retrieve(&quot;cus_123&quot;) c.metadata[&quot;invalid-variable-name!&quot;] c.metadata[&quot;valid_key_name_works_too&quot;] </code></pre> </li> </ul> </li> </ul> </li> <li> <p><a href="https://redirect.github.com/stripe/stripe-ruby/pull/1575">#1575</a> Remove unused youtube playlist link</p> </li> <li> <p><a href="https://redirect.github.com/stripe/stripe-ruby/pull/1573">#1573</a> Remove link for stale youtube video playlist</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/stripe/stripe-ruby/commit/10006bf66859d96b503756d6a4ac09c675ebc554"><code>10006bf</code></a> Bump version to 15.0.0</li> <li><a href="https://github.com/stripe/stripe-ruby/commit/6d343769609e52d8aa421bb3d443302697bb4461"><code>6d34376</code></a> Explicitly pass through custom headers in retrieve (<a href="https://redirect.github.com/stripe/stripe-ruby/issues/1576">#1576</a>)</li> <li><a href="https://github.com/stripe/stripe-ruby/commit/5b68a448894f8aecda4ec2b7f981c17040074d88"><code>5b68a44</code></a> Rename object_id parameter (<a href="https://redirect.github.com/stripe/stripe-ruby/issues/1574">#1574</a>)</li> <li><a href="https://github.com/stripe/stripe-ruby/commit/fdb39ed488d9ae81a518b5f9cd0f99ba78ff4fe6"><code>fdb39ed</code></a> Remove unused youtube playlist link (<a href="https://redirect.github.com/stripe/stripe-ruby/issues/1575">#1575</a>)</li> <li><a href="https://github.com/stripe/stripe-ruby/commit/04f8d1b43af97869ea12625bfa3629e1a99ded44"><code>04f8d1b</code></a> Validate all instance variable keys returned from the API (<a href="https://redirect.github.com/stripe/stripe-ruby/issues/1571">#1571</a>)</li> <li><a href="https://github.com/stripe/stripe-ruby/commit/182d4dc838e57f5163cb02cdce88360b29d1fecb"><code>182d4dc</code></a> Remove link for stale youtube video playlist (<a href="https://redirect.github.com/stripe/stripe-ruby/issues/1573">#1573</a>)</li> <li>See full diff in <a href="https://github.com/stripe/stripe-ruby/compare/v14.0.0...v15.0.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=stripe&package-manager=bundler&previous-version=14.0.0&new-version=15.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-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 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) </details>
Sign in to join this conversation.