Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate stripe-ruby with breaking changes #1102

Merged
merged 8 commits into from
Jul 27, 2022

Conversation

kamil-stripe
Copy link
Contributor

@kamil-stripe kamil-stripe commented Jul 26, 2022

Changelog

Changed

  • retrieve_cash_balance and update_cash_balance methods on Customer resource no longer requires the second argument to always be nil. The method now takes customer_id, params, and opts parameters.
    # change from
    Stripe::Customer:: update_cash_balance("cus_12345", nil, { /* params */ }, { /* opts */ })
    # to
    Stripe::Customer:: update_cash_balance("cus_12345", { /* params */ }, { /* opts */ })
    

Deprecated

  • Deprecate delete method on Subscription resource. Please use cancel method instead.
    # change from
    Stripe::Subscription::delete("sub_12345")
    # to
    Stripe::Subscription::cancel("sub_12345")
    

Removed

  • Remove details method from Issuing.Card resource. The method was not supported.
  • Remove Issuing.CardDetails resource. Read more at https://stripe.com/docs/issuing/cards/virtual.
  • Remove create method from ReportType resource. The method was not supported.
  • Remove usage_record_summaries method from SubscriptionItem resource. Please use list_usage_record_summaries method instead.
    # change from
    Stripe::SubscriptionItem.usage_record_summaries("si_12345")
    # to
    Stripe::SubscriptionItem.list_usage_record_summaries("si_12345")
    
  • Remove ThreeDSecure resource. The source was deprecated.

@kamil-stripe kamil-stripe changed the title [wip] Generate stripe-ruby with breaking changes Generate stripe-ruby with breaking changes Jul 26, 2022
@kamil-stripe kamil-stripe merged commit 5a4d6fc into sdk-release/next-major Jul 27, 2022
kamil-stripe added a commit that referenced this pull request Aug 1, 2022
* chore!: Update CA certifacte bundle (Apr 26). (#1079)

* Generate stripe-ruby with breaking changes (#1102)

* Generate stripe-ruby with breaking changes

* Remove RecipientTest

* Remove AlipayAccount tests

* Regenerate files

* Delete outdated tests

* Fix more tests

* Fix more tests

* Fix example test manually

* Update retrieve_cash_balance method to have params. (#1104)

Co-authored-by: Dominic Charley-Roy <[email protected]>
@remi-stripe remi-stripe deleted the origin/kamil/override-cleanup branch September 28, 2023 23:08
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.

1 participant