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

Next major release changes #1103

Merged
merged 5 commits into from
Aug 1, 2022
Merged

Next major release changes #1103

merged 5 commits into from
Aug 1, 2022

Conversation

kamil-stripe
Copy link
Contributor

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

Changelog

7.0.0 - 2022-08-01

Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v7. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01.

"⚠️" symbol highlights breaking changes.

⚠️ Changed

  • retrieve_cash_balance and update_cash_balance methods on Customer resource no longer requires the second argument to always be nil. The methods now now take in customer_id, params, and opts parameters.
  • Update default bundle of CA certificates to April 26, 2022.

Deprecated

  • Deprecate delete method on Subscription resource. Please use cancel method instead.

⚠️ 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.
  • Remove AlipayAccount, BitcoinReceiver, BitcoinTransaction, Issuing::CardDetails, Recipient, RecipientTransfer, and ThreeDSecure resources. The resources were deprecated or no longer in use.
  • Remove ability to list Card resource for a Recipient.
  • Remove cancel method from Transfer resource. The method was deprecated.

dcr-stripe and others added 4 commits June 28, 2022 18:22
* 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
Copy link
Contributor

@yejia-stripe yejia-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm!

lib/stripe/resources/transfer.rb Show resolved Hide resolved
@kamil-stripe kamil-stripe merged commit ec71fd8 into master Aug 1, 2022
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.

3 participants