stripe 6.4.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +33 -1
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/data/ca-certificates.crt +1241 -1937
- data/lib/stripe/api_version.rb +8 -0
- data/lib/stripe/object_types.rb +0 -7
- data/lib/stripe/resources/card.rb +1 -3
- data/lib/stripe/resources/checkout/session.rb +18 -3
- data/lib/stripe/resources/credit_note.rb +8 -8
- data/lib/stripe/resources/customer.rb +21 -38
- data/lib/stripe/resources/invoice.rb +14 -14
- data/lib/stripe/resources/issuing/card.rb +76 -14
- data/lib/stripe/resources/reporting/report_type.rb +0 -1
- data/lib/stripe/resources/subscription.rb +43 -1
- data/lib/stripe/resources/subscription_item.rb +0 -11
- data/lib/stripe/resources/transfer.rb +0 -18
- data/lib/stripe/resources.rb +0 -7
- data/lib/stripe/util.rb +9 -0
- data/lib/stripe/version.rb +1 -1
- metadata +3 -7
- data/lib/stripe/resources/bitcoin_receiver.rb +0 -24
- data/lib/stripe/resources/bitcoin_transaction.rb +0 -16
- data/lib/stripe/resources/issuing/card_details.rb +0 -10
- data/lib/stripe/resources/recipient.rb +0 -14
- data/lib/stripe/resources/three_d_secure.rb +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8c056c26e7e957d838175e3ce97e714dd57d135d4334514d941a66774eaa01f
|
4
|
+
data.tar.gz: 4419dec5287e23621c54ac8f66eee626cfcdb1148d08febec6a58f0c490dac77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1554ab4b614fcc677450b098fc96933d496e7c00e8a8711a564b827adf4785427cc4c6539b4ee74f014f98760cb6cc75de5d62d8d709a3c68366a67cf4ff620d
|
7
|
+
data.tar.gz: 0347a43b7406f460889a749c964135ee686211c34f7d3de568dd86ebf0026a34f38ecafa6d5419e8ff34100822295b9864cab52ae763db82db9bc4e14de1ad5a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,37 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 7.0.0 - 2022-08-02
|
4
|
+
|
5
|
+
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.
|
6
|
+
|
7
|
+
"⚠️" symbol highlights breaking changes.
|
8
|
+
|
9
|
+
* [#1106](https://github.com/stripe/stripe-ruby/pull/1106) API Updates
|
10
|
+
* [#1092](https://github.com/stripe/stripe-ruby/pull/1092) API Updates
|
11
|
+
* [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods
|
12
|
+
* [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes
|
13
|
+
|
14
|
+
### ⚠️ Changed
|
15
|
+
* `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.
|
16
|
+
* Update default bundle of CA certificates to April 26, 2022.
|
17
|
+
|
18
|
+
### Deprecated
|
19
|
+
* Deprecate `delete` method on `Subscription` resource. Please use `cancel` method instead.
|
20
|
+
|
21
|
+
### ⚠️ Removed
|
22
|
+
* Remove `details` method from `Issuing.Card` resource. The method was not supported.
|
23
|
+
* Remove `Issuing.CardDetails` resource. Read more at https://stripe.com/docs/issuing/cards/virtual.
|
24
|
+
* Remove `create` method from `ReportType` resource. The method was not supported.
|
25
|
+
* Remove `usage_record_summaries` method from `SubscriptionItem` resource. Please use `list_usage_record_summaries` method instead.
|
26
|
+
* Remove `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `Issuing::CardDetails`, `Recipient`, ` RecipientTransfer`, and `ThreeDSecure` resources. The resources were deprecated or no longer in use.
|
27
|
+
* Remove ability to list `Card` resource for a `Recipient`.
|
28
|
+
* Remove `cancel` method from `Transfer` resource. The method was deprecated.
|
29
|
+
|
30
|
+
## 6.5.0 - 2022-06-29
|
31
|
+
* [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
|
32
|
+
* Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card`
|
33
|
+
* [#1076](https://github.com/stripe/stripe-ruby/pull/1076) fix: Update logging to coerce ASCII-8BIT into UTF-8.
|
34
|
+
|
3
35
|
## 6.4.0 - 2022-06-17
|
4
36
|
* [#1073](https://github.com/stripe/stripe-ruby/pull/1073) API Updates
|
5
37
|
* Add support for `fund_cash_balance` test helper method on resource `Customer`
|
@@ -7,7 +39,7 @@
|
|
7
39
|
* [#1072](https://github.com/stripe/stripe-ruby/pull/1072) Trigger workflows on beta branches
|
8
40
|
* [#1071](https://github.com/stripe/stripe-ruby/pull/1071) Use request_stripe_object for all requests
|
9
41
|
* [#1070](https://github.com/stripe/stripe-ruby/pull/1070) API Updates
|
10
|
-
|
42
|
+
|
11
43
|
Switch from using meta-programing to generating explicit methods for custom methods.
|
12
44
|
* [#1069](https://github.com/stripe/stripe-ruby/pull/1069) chore: Stop special implementation of Account.persons method.
|
13
45
|
|
data/OPENAPI_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
v174
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
7.0.0
|