stripe 9.0.0 → 9.2.0.pre.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +480 -331
- data/OPENAPI_VERSION +1 -1
- data/README.md +11 -0
- data/VERSION +1 -1
- data/lib/stripe/api_operations/request.rb +2 -0
- data/lib/stripe/api_version.rb +1 -0
- data/lib/stripe/object_types.rb +18 -0
- data/lib/stripe/request_signing_authenticator.rb +83 -0
- data/lib/stripe/resources/account_session.rb +17 -0
- data/lib/stripe/resources/capital/financing_offer.rb +32 -0
- data/lib/stripe/resources/capital/financing_summary.rb +12 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +13 -0
- data/lib/stripe/resources/customer_session.rb +12 -0
- data/lib/stripe/resources/financial_connections/account.rb +39 -0
- data/lib/stripe/resources/financial_connections/inferred_balance.rb +13 -0
- data/lib/stripe/resources/financial_connections/transaction.rb +13 -0
- data/lib/stripe/resources/gift_cards/card.rb +25 -0
- data/lib/stripe/resources/gift_cards/transaction.rb +56 -0
- data/lib/stripe/resources/issuing/card.rb +18 -0
- data/lib/stripe/resources/issuing/card_bundle.rb +13 -0
- data/lib/stripe/resources/issuing/card_design.rb +58 -0
- data/lib/stripe/resources/order.rb +89 -0
- data/lib/stripe/resources/payment_method_configuration.rb +13 -0
- data/lib/stripe/resources/quote.rb +100 -0
- data/lib/stripe/resources/quote_phase.rb +29 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +42 -0
- data/lib/stripe/resources/quote_preview_schedule.rb +10 -0
- data/lib/stripe/resources/subscription_schedule.rb +18 -0
- data/lib/stripe/resources/tax/form.rb +39 -0
- data/lib/stripe/resources/tax/registration.rb +19 -0
- data/lib/stripe/resources/terminal/reader.rb +54 -0
- data/lib/stripe/resources.rb +18 -0
- data/lib/stripe/stripe_client.rb +60 -26
- data/lib/stripe/stripe_configuration.rb +2 -0
- data/lib/stripe/util.rb +8 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +2 -1
- data/lib/stripe.rb +46 -0
- metadata +23 -4
data/CHANGELOG.md
CHANGED
@@ -1,295 +1,443 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## 9.0.
|
4
|
-
|
5
|
-
|
6
|
-
* [#1253](https://github.com/stripe/stripe-ruby/pull/1253) [#1260](https://github.com/stripe/stripe-ruby/pull/1260) Pin latest API version as the default
|
7
|
-
In this release, Stripe API Version `2023-08-16` (the latest at time of release) will be sent by default on all requests. This is a significant change with wide ramifications. The API version affects the properties you see on responses, the parameters you are allowed to send on requests, and so on. The previous default was to use your [Stripe account's default API version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version).
|
8
|
-
|
9
|
-
To successfully upgrade to stripe-ruby v9, you must either
|
10
|
-
|
11
|
-
1. **(Recommended) Upgrade your integration to be compatible with API Version `2023-08-16`.**
|
12
|
-
|
13
|
-
Please read the API Changelog carefully for each API Version from `2023-08-16` back to your [Stripe account's default API version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version). Determine if you are using any of the APIs that have changed in a breaking way, and adjust your integration accordingly. Carefully test your changes with Stripe [Test Mode](https://stripe.com/docs/keys#test-live-modes) before deploying them to production.
|
14
|
-
|
15
|
-
You can read the [v9 migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v9) for more detailed instructions.
|
16
|
-
2. **(Alternative option) Specify a version other than `2023-08-16` when initializing `stripe-ruby`.**
|
17
|
-
|
18
|
-
If you were previously initializing stripe-ruby without an explicit API Version, you can postpone modifying your integration by specifying a version equal to your [Stripe account's default API version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version). For example:
|
19
|
-
|
20
|
-
```diff
|
21
|
-
require 'stripe'
|
22
|
-
Stripe.api_key = "sk_test_..."
|
23
|
-
+ Stripe.api_version = '2020-08-27'
|
24
|
-
```
|
25
|
-
|
26
|
-
If you were already initializing stripe-ruby with an explicit API Version, upgrading to v9 will not affect your integration.
|
27
|
-
|
28
|
-
Read the [v9 migration guide](https://github.com/stripe-ruby/wiki/Migration-guide-for-v9) for more details.
|
29
|
-
|
30
|
-
Going forward, each major release of this library will be *pinned* by default to the latest Stripe API Version at the time of release.
|
31
|
-
|
32
|
-
That is, instead of upgrading stripe-ruby and separately upgrading your Stripe API Version through the Stripe Dashboard. whenever you upgrade major versions of stripe-ruby, you should also upgrade your integration to be compatible with the latest Stripe API version.
|
3
|
+
## 9.2.0-beta.1 - 2023-08-31
|
4
|
+
* [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
|
5
|
+
* Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
|
33
6
|
|
34
|
-
##
|
35
|
-
* [#
|
36
|
-
Add resources `
|
7
|
+
## 9.0.0-beta.1 - 2023-08-24
|
8
|
+
* [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
|
9
|
+
* Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
|
10
|
+
* [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
|
37
11
|
|
38
|
-
## 8.6.0 - 2023-07-13
|
39
|
-
* [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
|
40
|
-
* Add support for new resource `Tax.Settings`
|
41
|
-
* Add support for `retrieve` and `update` methods on resource `Settings`
|
42
|
-
* [#1241](https://github.com/stripe/stripe-ruby/pull/1241) Update generated code
|
43
12
|
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
* [#
|
48
|
-
|
13
|
+
## 9.0.0 - 2023-08-16
|
14
|
+
**⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️**
|
15
|
+
|
16
|
+
* [#1253](https://github.com/stripe/stripe-ruby/pull/1253) [#1260](https://github.com/stripe/stripe-ruby/pull/1260) Pin latest API version as the default
|
17
|
+
|
18
|
+
In this release, Stripe API Version `2023-08-16` (the latest at time of release) will be sent by default on all requests. This is a significant change with wide ramifications. The API version affects the properties you see on responses, the parameters you are allowed to send on requests, and so on. The previous default was to use your [Stripe account's default API version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version).
|
19
|
+
|
20
|
+
To successfully upgrade to stripe-ruby v9, you must either
|
21
|
+
|
22
|
+
1. **(Recommended) Upgrade your integration to be compatible with API Version `2023-08-16`.**
|
23
|
+
|
24
|
+
Please read the API Changelog carefully for each API Version from `2023-08-16` back to your [Stripe account's default API version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version). Determine if you are using any of the APIs that have changed in a breaking way, and adjust your integration accordingly. Carefully test your changes with Stripe [Test Mode](https://stripe.com/docs/keys#test-live-modes) before deploying them to production.
|
25
|
+
|
26
|
+
You can read the [v9 migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v9) for more detailed instructions.
|
27
|
+
2. **(Alternative option) Specify a version other than `2023-08-16` when initializing `stripe-ruby`.**
|
28
|
+
|
29
|
+
If you were previously initializing stripe-ruby without an explicit API Version, you can postpone modifying your integration by specifying a version equal to your [Stripe account's default API version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version). For example:
|
30
|
+
|
31
|
+
```diff
|
32
|
+
require 'stripe'
|
33
|
+
Stripe.api_key = "sk_test_..."
|
34
|
+
+ Stripe.api_version = '2020-08-27'
|
35
|
+
```
|
36
|
+
|
37
|
+
If you were already initializing stripe-ruby with an explicit API Version, upgrading to v9 will not affect your integration.
|
38
|
+
|
39
|
+
Read the [v9 migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v9) for more details.
|
40
|
+
|
41
|
+
Going forward, each major release of this library will be *pinned* by default to the latest Stripe API Version at the time of release.
|
42
|
+
|
43
|
+
That is, instead of upgrading stripe-ruby and separately upgrading your Stripe API Version through the Stripe Dashboard. whenever you upgrade major versions of stripe-ruby, you should also upgrade your integration to be compatible with the latest Stripe API version.
|
49
44
|
|
50
|
-
|
51
|
-
|
52
|
-
*
|
45
|
+
## 8.8.0-beta.1 - 2023-08-10
|
46
|
+
* [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
|
47
|
+
* Updated stable APIs to the latest version
|
53
48
|
|
54
|
-
|
49
|
+
## 8.7.0 - 2023-08-10
|
50
|
+
* [#1256](https://github.com/stripe/stripe-ruby/pull/1256) Update generated code
|
51
|
+
Add resources `Tax::CalculationLineItem`, `Tax::TransactionLineItem`, and `Treasury::FinancialAccountFeatures`. These resources have no methods on them, but do represent the return type of methods elsewhere.
|
52
|
+
|
53
|
+
## 8.7.0-beta.3 - 2023-08-03
|
54
|
+
* [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
|
55
|
+
* Add support for `submit_card` test helper method on resource `Issuing.Card`
|
56
|
+
* [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
|
57
|
+
|
58
|
+
## 8.7.0-beta.2 - 2023-07-28
|
59
|
+
* [#1251](https://github.com/stripe/stripe-ruby/pull/1251) Update generated code for beta
|
60
|
+
* Add support for new resource `Tax.Form`
|
61
|
+
* Add support for `list`, `pdf`, and `retrieve` methods on resource `Form`
|
62
|
+
* [#1249](https://github.com/stripe/stripe-ruby/pull/1249) Update generated code for beta
|
63
|
+
* [#1246](https://github.com/stripe/stripe-ruby/pull/1246) Update generated code for beta
|
64
|
+
|
65
|
+
## 8.7.0-beta.1 - 2023-07-13
|
66
|
+
* [#1245](https://github.com/stripe/stripe-ruby/pull/1245) Update generated code for beta
|
67
|
+
Release specs are identical.
|
68
|
+
* [#1243](https://github.com/stripe/stripe-ruby/pull/1243) Update generated code for beta
|
69
|
+
* Add support for new resource `PaymentMethodConfiguration`
|
70
|
+
* Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
|
71
|
+
* [#1239](https://github.com/stripe/stripe-ruby/pull/1239) Update generated code for beta
|
55
72
|
|
56
|
-
|
57
|
-
* [#
|
73
|
+
## 8.6.0 - 2023-07-13
|
74
|
+
* [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
|
75
|
+
* Add support for new resource `Tax.Settings`
|
76
|
+
* Add support for `retrieve` and `update` methods on resource `Settings`
|
77
|
+
* [#1241](https://github.com/stripe/stripe-ruby/pull/1241) Update generated code
|
78
|
+
|
79
|
+
* [#1209](https://github.com/stripe/stripe-ruby/pull/1209) Update shoulda-context version
|
80
|
+
* [#1235](https://github.com/stripe/stripe-ruby/pull/1235) Allow "error" string as log level
|
81
|
+
* [#1238](https://github.com/stripe/stripe-ruby/pull/1238) Update log level error message to include `error`
|
82
|
+
* [#1231](https://github.com/stripe/stripe-ruby/pull/1231) fix: variable typo in README for instrumentation
|
83
|
+
* [#1234](https://github.com/stripe/stripe-ruby/pull/1234) Update generated code
|
84
|
+
|
85
|
+
* [#1230](https://github.com/stripe/stripe-ruby/pull/1230) Update generated code
|
86
|
+
* Release specs are identical.
|
87
|
+
* [#1226](https://github.com/stripe/stripe-ruby/pull/1226) Update generated code
|
88
|
+
|
89
|
+
* [#1223](https://github.com/stripe/stripe-ruby/pull/1223) Update generated code
|
90
|
+
|
91
|
+
* [#1225](https://github.com/stripe/stripe-ruby/pull/1225) Downgrade jaro_winkler
|
92
|
+
* [#1219](https://github.com/stripe/stripe-ruby/pull/1219) Update generated code
|
58
93
|
|
59
|
-
Documentation updates.
|
60
|
-
* [#1215](https://github.com/stripe/stripe-ruby/pull/1215) Update generated code
|
61
|
-
|
62
|
-
* [#1208](https://github.com/stripe/stripe-ruby/pull/1208) Update generated code
|
63
|
-
|
94
|
+
Documentation updates.
|
95
|
+
* [#1215](https://github.com/stripe/stripe-ruby/pull/1215) Update generated code
|
96
|
+
|
97
|
+
* [#1208](https://github.com/stripe/stripe-ruby/pull/1208) Update generated code
|
98
|
+
|
64
99
|
* [#1204](https://github.com/stripe/stripe-ruby/pull/1204) Update generated code
|
65
100
|
|
101
|
+
## 8.6.0-beta.6 - 2023-06-22
|
102
|
+
* [#1237](https://github.com/stripe/stripe-ruby/pull/1237) Update generated code for beta
|
103
|
+
* Add support for new resource `CustomerSession`
|
104
|
+
* Add support for `create` method on resource `CustomerSession`
|
105
|
+
* [#1233](https://github.com/stripe/stripe-ruby/pull/1233) Update generated code for beta
|
106
|
+
* [#1229](https://github.com/stripe/stripe-ruby/pull/1229) Update generated code for beta
|
107
|
+
|
108
|
+
## 8.6.0-beta.5 - 2023-06-01
|
109
|
+
* [#1227](https://github.com/stripe/stripe-ruby/pull/1227) Update generated code for beta
|
110
|
+
* [#1228](https://github.com/stripe/stripe-ruby/pull/1228) Document raw_request
|
111
|
+
* [#1222](https://github.com/stripe/stripe-ruby/pull/1222) Update generated code for beta
|
112
|
+
* [#1224](https://github.com/stripe/stripe-ruby/pull/1224) Handle developer message in preview error responses
|
113
|
+
|
114
|
+
## 8.6.0-beta.4 - 2023-05-19
|
115
|
+
* [#1220](https://github.com/stripe/stripe-ruby/pull/1220) Update generated code for beta
|
116
|
+
* Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
|
117
|
+
* [#1217](https://github.com/stripe/stripe-ruby/pull/1217) Add raw_request
|
118
|
+
* [#1216](https://github.com/stripe/stripe-ruby/pull/1216) Update generated code for beta
|
119
|
+
* [#1214](https://github.com/stripe/stripe-ruby/pull/1214) Update generated code for beta
|
120
|
+
|
121
|
+
## 8.6.0-beta.3 - 2023-04-17
|
122
|
+
* [#1211](https://github.com/stripe/stripe-ruby/pull/1211) Update generated code for beta
|
123
|
+
* [#1210](https://github.com/stripe/stripe-ruby/pull/1210), [#1212](https://github.com/stripe/stripe-ruby/pull/1212), [#1213](https://github.com/stripe/stripe-ruby/pull/1213) Add support for request signing
|
124
|
+
|
125
|
+
## 8.6.0-beta.2 - 2023-04-13
|
126
|
+
* [#1206](https://github.com/stripe/stripe-ruby/pull/1206) Update generated code for beta
|
127
|
+
* Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
|
128
|
+
* [#1205](https://github.com/stripe/stripe-ruby/pull/1205) Update generated code for beta
|
129
|
+
|
130
|
+
## 8.6.0-beta.1 - 2023-03-30
|
131
|
+
* [#1202](https://github.com/stripe/stripe-ruby/pull/1202) Update generated code for beta
|
66
132
|
|
67
133
|
## 8.5.0 - 2023-03-30
|
68
|
-
* [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
|
134
|
+
* [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
|
69
135
|
* Remove support for `create` method on resource `Tax.Transaction`
|
70
|
-
* This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the `create_from_calculation` method.
|
136
|
+
* This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the `create_from_calculation` method.
|
71
137
|
* [#1201](https://github.com/stripe/stripe-ruby/pull/1201) Update save deprecation message
|
72
138
|
|
139
|
+
## 8.5.0-beta.1 - 2023-03-23
|
140
|
+
* [#1194](https://github.com/stripe/stripe-ruby/pull/1194) Update generated code for beta (new)
|
141
|
+
* Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
|
142
|
+
* Add support for `collect_inputs` method on resource `Terminal.Reader`
|
143
|
+
|
73
144
|
## 8.4.0 - 2023-03-23
|
74
|
-
* [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
|
75
|
-
* Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
|
76
|
-
* Add support for `create` and `list_line_items` methods on resource `Calculation`
|
77
|
-
* Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
|
145
|
+
* [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
|
146
|
+
* Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
|
147
|
+
* Add support for `create` and `list_line_items` methods on resource `Calculation`
|
148
|
+
* Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
|
78
149
|
* [#1152](https://github.com/stripe/stripe-ruby/pull/1152) Symbolize hash keys inside `convert_to_stripe_object_with_params`
|
79
150
|
|
151
|
+
## 8.4.0-beta.4 - 2023-03-16
|
152
|
+
* [#1189](https://github.com/stripe/stripe-ruby/pull/1189) Update generated code for beta (new)
|
153
|
+
* Add support for `create_from_calculation` method on resource `Tax.Transaction`
|
154
|
+
* [#1188](https://github.com/stripe/stripe-ruby/pull/1188) Update generated code for beta (new)
|
155
|
+
* Remove support for resources `Capital.FinancingOffer` and `Capital.FinancingSummary`
|
156
|
+
* Remove support for `list`, `mark_delivered`, and `retrieve` methods on resource `FinancingOffer`
|
157
|
+
* Remove support for `retrieve` method on resource `FinancingSummary`
|
158
|
+
* [#1187](https://github.com/stripe/stripe-ruby/pull/1187) Merge upstream master
|
159
|
+
|
160
|
+
## 8.4.0-beta.3 - 2023-03-09
|
161
|
+
* [#1184](https://github.com/stripe/stripe-ruby/pull/1184) API Updates for beta branch
|
162
|
+
* Updated stable APIs to the latest version
|
163
|
+
* Remove support for `list_transactions` method on resource `Tax.Transaction`
|
164
|
+
|
165
|
+
## 8.4.0-beta.2 - 2023-03-03
|
166
|
+
* [#1183](https://github.com/stripe/stripe-ruby/pull/1183) API Updates for beta branch
|
167
|
+
* Updated stable APIs to the latest version
|
168
|
+
* Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
|
169
|
+
* Add support for `list` and `retrieve` methods on resource `CardBundle`
|
170
|
+
* Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
|
171
|
+
|
172
|
+
## 8.4.0-beta.1 - 2023-02-23
|
173
|
+
* [#1182](https://github.com/stripe/stripe-ruby/pull/1182) API Updates for beta branch
|
174
|
+
* Updated stable APIs to the latest version
|
175
|
+
|
80
176
|
## 8.3.0 - 2023-02-16
|
81
|
-
* [#1175](https://github.com/stripe/stripe-ruby/pull/1175) API Updates
|
177
|
+
* [#1175](https://github.com/stripe/stripe-ruby/pull/1175) API Updates
|
82
178
|
* Add support for `refund_payment` method on resource `Terminal.Reader`
|
83
179
|
|
180
|
+
## 8.3.0-beta.1 - 2023-02-02
|
181
|
+
* [#1174](https://github.com/stripe/stripe-ruby/pull/1174) API Updates for beta branch
|
182
|
+
* Updated stable APIs to the latest version
|
183
|
+
* Add support for new resource `FinancialConnections.Transaction`
|
184
|
+
* Add support for `list` method on resource `Transaction`
|
185
|
+
|
84
186
|
## 8.2.0 - 2023-02-02
|
85
|
-
* [#1173](https://github.com/stripe/stripe-ruby/pull/1173) API Updates
|
86
|
-
* Add support for `resume` method on resource `Subscription`
|
187
|
+
* [#1173](https://github.com/stripe/stripe-ruby/pull/1173) API Updates
|
188
|
+
* Add support for `resume` method on resource `Subscription`
|
87
189
|
* [#1171](https://github.com/stripe/stripe-ruby/pull/1171) Remove unused `partial` param from `initialize_from`
|
88
190
|
|
191
|
+
## 8.2.0-beta.3 - 2023-01-26
|
192
|
+
* [#1172](https://github.com/stripe/stripe-ruby/pull/1172) API Updates for beta branch
|
193
|
+
* Updated stable APIs to the latest version
|
194
|
+
* Add support for `list_transactions` method on resource `Tax.Transaction`
|
195
|
+
|
196
|
+
## 8.2.0-beta.2 - 2023-01-19
|
197
|
+
* [#1170](https://github.com/stripe/stripe-ruby/pull/1170) API Updates for beta branch
|
198
|
+
* Updated stable APIs to the latest version
|
199
|
+
* Add support for `Tax.Settings` resource.
|
200
|
+
|
201
|
+
## 8.2.0-beta.1 - 2023-01-12
|
202
|
+
* [#1167](https://github.com/stripe/stripe-ruby/pull/1167) API Updates for beta branch
|
203
|
+
* Updated stable APIs to the latest version
|
204
|
+
* Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
|
205
|
+
* Add support for `Tax::Register` resource
|
206
|
+
|
89
207
|
## 8.1.0 - 2023-01-12
|
90
208
|
* [#1162](https://github.com/stripe/stripe-ruby/pull/1162) Improve request events instrumentation
|
91
209
|
|
210
|
+
## 8.1.0-beta.4 - 2023-01-05
|
211
|
+
* [#1164](https://github.com/stripe/stripe-ruby/pull/1164) API Updates for beta branch
|
212
|
+
* Updated stable APIs to the latest version
|
213
|
+
* Add support for `mark_stale_quote` method on resource `Quote`
|
214
|
+
|
215
|
+
## 8.1.0-beta.3 - 2022-12-22
|
216
|
+
* [#1158](https://github.com/stripe/stripe-ruby/pull/1158) API Updates for beta branch
|
217
|
+
* Updated stable APIs to the latest version
|
218
|
+
* Move `TaxCalculation` and `TaxTransaction` to `Tax::Calculation` and `Tax::Transaction`.
|
219
|
+
|
220
|
+
## 8.1.0-beta.2 - 2022-12-15
|
221
|
+
* [#1156](https://github.com/stripe/stripe-ruby/pull/1156) API Updates for beta branch
|
222
|
+
* Updated stable APIs to the latest version
|
223
|
+
* Add support for new resources `TaxCalculation`, and `TaxTransaction`
|
224
|
+
* Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
|
225
|
+
* Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
|
226
|
+
* [#1155](https://github.com/stripe/stripe-ruby/pull/1155) API Updates for beta branch
|
227
|
+
* Updated stable APIs to the latest version
|
228
|
+
* Add support for new resource `QuoteLine`.
|
229
|
+
|
230
|
+
## 8.1.0-beta.1 - 2022-12-08
|
231
|
+
* [#1153](https://github.com/stripe/stripe-ruby/pull/1153) API Updates for beta branch
|
232
|
+
* Updated stable APIs to the latest version
|
233
|
+
* [#1146](https://github.com/stripe/stripe-ruby/pull/1146) API Updates for beta branch
|
234
|
+
* Updated stable APIs to the latest version
|
235
|
+
|
92
236
|
## 8.0.0 - 2022-11-16
|
93
|
-
* [#1144](https://github.com/stripe/stripe-ruby/pull/1144) Next major release changes
|
237
|
+
* [#1144](https://github.com/stripe/stripe-ruby/pull/1144) Next major release changes
|
238
|
+
|
239
|
+
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-11-15.
|
240
|
+
|
241
|
+
"⚠️" symbol highlights breaking changes.
|
94
242
|
|
95
|
-
|
243
|
+
## 7.2.0-beta.5 - 2022-11-02
|
244
|
+
* [#1139](https://github.com/stripe/stripe-ruby/pull/1139) API Updates for beta branch
|
245
|
+
* Updated beta APIs to the latest stable version
|
246
|
+
* [#1135](https://github.com/stripe/stripe-ruby/pull/1135) API Updates for beta branch
|
247
|
+
* Updated stable APIs to the latest version
|
96
248
|
|
97
|
-
|
249
|
+
## 7.2.0-beta.4 - 2022-10-07
|
250
|
+
* [#999](https://github.com/stripe/stripe-ruby/pull/999) DESCRIBE CHANGES HERE (try to use the same style, tense, etc. as the other entries)
|
98
251
|
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
refund = Stripe::Refund.retrieve("re_123")
|
104
|
-
refund.description = "Refund description"
|
105
|
-
refund.save
|
106
|
-
|
107
|
-
# after
|
108
|
-
Stripe::Refund.update("re_123", description: "Refund description")
|
109
|
-
```
|
110
|
-
|
111
|
-
### ⚠️ Removed
|
112
|
-
- Removed deprecated `Sku` resource.
|
113
|
-
- Removed deprecated `Orders` resource.
|
114
|
-
- Removed deprecated `delete` method on `Subscription` resource. Please use `cancel` method instead.
|
115
|
-
```ruby
|
116
|
-
# before
|
117
|
-
Stripe::Subscription::delete("sub_12345")
|
118
|
-
|
119
|
-
# after
|
120
|
-
Stripe::Subscription::cancel("sub_12345")
|
121
|
-
```
|
252
|
+
## 7.2.0-beta.3 - 2022-09-26
|
253
|
+
* [#1129](https://github.com/stripe/stripe-ruby/pull/1129) API Updates for beta branch
|
254
|
+
* Updated stable APIs to the latest version
|
255
|
+
* Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
|
122
256
|
|
257
|
+
## 7.2.0-beta.2 - 2022-08-26
|
258
|
+
* [#1127](https://github.com/stripe/stripe-ruby/pull/1127) API Updates for beta branch
|
259
|
+
* Updated stable APIs to the latest version
|
260
|
+
* Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
|
261
|
+
|
262
|
+
## 7.2.0-beta.1 - 2022-08-23
|
263
|
+
* [#1122](https://github.com/stripe/stripe-ruby/pull/1122) API Updates for beta branch
|
264
|
+
- Updated stable APIs to the latest version
|
265
|
+
- `Stripe-Version` beta headers are not pinned by-default and need to be manually specified, please refer to [beta SDKs README section](https://github.com/stripe/stripe-ruby/blob/master/README.md#beta-sdks)
|
123
266
|
|
124
267
|
## 7.1.0 - 2022-08-19
|
125
|
-
* [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
|
126
|
-
* Add support for new resource `CustomerCashBalanceTransaction`
|
127
|
-
* [#1118](https://github.com/stripe/stripe-ruby/pull/1118) Update AllowedChars in rubocop config
|
128
|
-
* [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
|
268
|
+
* [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
|
269
|
+
* Add support for new resource `CustomerCashBalanceTransaction`
|
270
|
+
* [#1118](https://github.com/stripe/stripe-ruby/pull/1118) Update AllowedChars in rubocop config
|
271
|
+
* [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
|
129
272
|
* [#1115](https://github.com/stripe/stripe-ruby/pull/1115) Add a support section to the readme
|
130
273
|
|
131
|
-
## 7.0.
|
132
|
-
|
133
|
-
|
274
|
+
## 7.1.0-beta.2 - 2022-08-11
|
275
|
+
* [#1113](https://github.com/stripe/stripe-ruby/pull/1113) API Updates for beta branch
|
276
|
+
- Updated stable APIs to the latest version
|
277
|
+
- Add `refund_payment` method to Terminal resource
|
134
278
|
|
135
|
-
|
279
|
+
## 7.1.0-beta.1 - 2022-08-03
|
280
|
+
* [#1107](https://github.com/stripe/stripe-ruby/pull/1107) API Updates for beta branch
|
281
|
+
- Updated stable APIs to the latest version
|
282
|
+
- Added the `Order` resource support
|
136
283
|
|
137
|
-
|
138
|
-
|
139
|
-
|
284
|
+
## 7.0.0 - 2022-08-02
|
285
|
+
|
286
|
+
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.
|
287
|
+
|
288
|
+
"⚠️" symbol highlights breaking changes.
|
289
|
+
|
290
|
+
* [#1106](https://github.com/stripe/stripe-ruby/pull/1106) API Updates
|
291
|
+
* [#1092](https://github.com/stripe/stripe-ruby/pull/1092) API Updates
|
292
|
+
* [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods
|
140
293
|
* [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes
|
141
294
|
|
142
|
-
|
143
|
-
*
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
*
|
153
|
-
|
154
|
-
*
|
155
|
-
* Remove ability to list `Card` resource for a `Recipient`.
|
156
|
-
* Remove `cancel` method from `Transfer` resource. The method was deprecated.
|
295
|
+
## 6.6.0-beta.1 - 2022-07-22
|
296
|
+
* [#1100](https://github.com/stripe/stripe-ruby/pull/1100) API Updates for beta branch
|
297
|
+
- Updated stable APIs to the latest version
|
298
|
+
- Add `QuotePhase` resource
|
299
|
+
* [#1097](https://github.com/stripe/stripe-ruby/pull/1097) API Updates for beta branch
|
300
|
+
- Updated stable APIs to the latest version
|
301
|
+
- Add `SubscriptionSchedule.amend` method.
|
302
|
+
* [#1093](https://github.com/stripe/stripe-ruby/pull/1093) API Updates for beta branch
|
303
|
+
- Include `server_side_confirmation_beta=v1` beta
|
304
|
+
- Add `secretKeyConfirmation` to `PaymentIntent`
|
305
|
+
* [#1085](https://github.com/stripe/stripe-ruby/pull/1085) API Updates for beta branch
|
306
|
+
- Updated stable APIs to the latest version
|
307
|
+
* [#1075](https://github.com/stripe/stripe-ruby/pull/1075) Use the generated API version
|
157
308
|
|
158
309
|
## 6.5.0 - 2022-06-29
|
159
|
-
* [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
|
160
|
-
* Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card`
|
310
|
+
* [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
|
311
|
+
* Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card`
|
161
312
|
* [#1076](https://github.com/stripe/stripe-ruby/pull/1076) fix: Update logging to coerce ASCII-8BIT into UTF-8.
|
162
313
|
|
163
314
|
## 6.4.0 - 2022-06-17
|
164
|
-
* [#1073](https://github.com/stripe/stripe-ruby/pull/1073) API Updates
|
165
|
-
* Add support for `fund_cash_balance` test helper method on resource `Customer`
|
166
|
-
* [#1074](https://github.com/stripe/stripe-ruby/pull/1074) Support updating pre-release versions
|
167
|
-
* [#1072](https://github.com/stripe/stripe-ruby/pull/1072) Trigger workflows on beta branches
|
168
|
-
* [#1071](https://github.com/stripe/stripe-ruby/pull/1071) Use request_stripe_object for all requests
|
169
|
-
* [#1070](https://github.com/stripe/stripe-ruby/pull/1070) API Updates
|
170
|
-
|
171
|
-
Switch from using meta-programing to generating explicit methods for custom methods.
|
315
|
+
* [#1073](https://github.com/stripe/stripe-ruby/pull/1073) API Updates
|
316
|
+
* Add support for `fund_cash_balance` test helper method on resource `Customer`
|
317
|
+
* [#1074](https://github.com/stripe/stripe-ruby/pull/1074) Support updating pre-release versions
|
318
|
+
* [#1072](https://github.com/stripe/stripe-ruby/pull/1072) Trigger workflows on beta branches
|
319
|
+
* [#1071](https://github.com/stripe/stripe-ruby/pull/1071) Use request_stripe_object for all requests
|
320
|
+
* [#1070](https://github.com/stripe/stripe-ruby/pull/1070) API Updates
|
321
|
+
|
322
|
+
Switch from using meta-programing to generating explicit methods for custom methods.
|
172
323
|
* [#1069](https://github.com/stripe/stripe-ruby/pull/1069) chore: Stop special implementation of Account.persons method.
|
173
324
|
|
174
325
|
## 6.3.0 - 2022-06-08
|
175
326
|
* [#1063](https://github.com/stripe/stripe-ruby/pull/1063) fix: Update cash balance methods to no longer require nested ID.
|
176
327
|
|
177
328
|
## 6.2.0 - 2022-05-23
|
178
|
-
* [#1060](https://github.com/stripe/stripe-ruby/pull/1060) API Updates
|
329
|
+
* [#1060](https://github.com/stripe/stripe-ruby/pull/1060) API Updates
|
179
330
|
* Add support for new resource `Apps.Secret`
|
180
331
|
|
181
332
|
## 6.1.0 - 2022-05-19
|
182
|
-
* [#1057](https://github.com/stripe/stripe-ruby/pull/1057) API Updates
|
183
|
-
* Add support for new resources `Treasury.CreditReversal`, `Treasury.DebitReversal`, `Treasury.FinancialAccountFeatures`, `Treasury.FinancialAccount`, `Treasury.FlowDetails`, `Treasury.InboundTransfer`, `Treasury.OutboundPayment`, `Treasury.OutboundTransfer`, `Treasury.ReceivedCredit`, `Treasury.ReceivedDebit`, `Treasury.TransactionEntry`, and `Treasury.Transaction`
|
184
|
-
* Add support for `retrieve_payment_method` method on resource `Customer`
|
333
|
+
* [#1057](https://github.com/stripe/stripe-ruby/pull/1057) API Updates
|
334
|
+
* Add support for new resources `Treasury.CreditReversal`, `Treasury.DebitReversal`, `Treasury.FinancialAccountFeatures`, `Treasury.FinancialAccount`, `Treasury.FlowDetails`, `Treasury.InboundTransfer`, `Treasury.OutboundPayment`, `Treasury.OutboundTransfer`, `Treasury.ReceivedCredit`, `Treasury.ReceivedDebit`, `Treasury.TransactionEntry`, and `Treasury.Transaction`
|
335
|
+
* Add support for `retrieve_payment_method` method on resource `Customer`
|
185
336
|
* Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
|
186
|
-
|
187
|
-
|
188
337
|
|
189
338
|
## 6.0.0 - 2022-05-09
|
190
|
-
* [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
|
191
|
-
Major version release. The [migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-Guide-for-v6) contains more information.
|
192
|
-
|
193
|
-
(⚠️ = breaking changes):
|
194
|
-
* ⚠️ Replace the legacy `Order` API with the new `Order` API.
|
195
|
-
* New methods: `cancel`, `list_line_items`, `reopen`, and `submit`
|
196
|
-
* Removed methods: `pay` and `return_order`
|
197
|
-
* Removed resources: `OrderItem` and `OrderReturn`
|
339
|
+
* [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
|
340
|
+
Major version release. The [migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-Guide-for-v6) contains more information.
|
341
|
+
|
342
|
+
(⚠️ = breaking changes):
|
343
|
+
* ⚠️ Replace the legacy `Order` API with the new `Order` API.
|
344
|
+
* New methods: `cancel`, `list_line_items`, `reopen`, and `submit`
|
345
|
+
* Removed methods: `pay` and `return_order`
|
346
|
+
* Removed resources: `OrderItem` and `OrderReturn`
|
198
347
|
* ⚠️ Rename `FinancialConnections::Account.refresh` to `FinancialConnections::Account.refresh_account
|
199
348
|
|
200
349
|
## 5.55.0 - 2022-05-05
|
201
|
-
* [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
|
350
|
+
* [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
|
202
351
|
* Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
|
203
|
-
|
204
352
|
|
205
353
|
## 5.54.0 - 2022-05-03
|
206
|
-
* [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
|
354
|
+
* [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
|
207
355
|
* Add support for new resource `CashBalance`
|
208
356
|
|
209
357
|
## 5.53.0 - 2022-04-21
|
210
|
-
* [#1050](https://github.com/stripe/stripe-ruby/pull/1050) API Updates
|
358
|
+
* [#1050](https://github.com/stripe/stripe-ruby/pull/1050) API Updates
|
211
359
|
* Add support for `expire` test helper method on resource `Refund`
|
212
360
|
|
213
361
|
## 5.52.0 - 2022-04-18
|
214
|
-
* [#1046](https://github.com/stripe/stripe-ruby/pull/1046) [#1047](https://github.com/stripe/stripe-ruby/pull/1047) API Updates
|
362
|
+
* [#1046](https://github.com/stripe/stripe-ruby/pull/1046) [#1047](https://github.com/stripe/stripe-ruby/pull/1047) API Updates
|
215
363
|
* Add support for new resources `FundingInstructions` and `Terminal.Configuration`
|
216
364
|
|
217
365
|
## 5.51.0 - 2022-04-15
|
218
366
|
* [#1046](https://github.com/stripe/stripe-ruby/pull/1046) This release was incomplete and was yanked from RubyGems immediately after it was published.
|
219
367
|
|
220
368
|
## 5.50.0 - 2022-04-13
|
221
|
-
* [#1045](https://github.com/stripe/stripe-ruby/pull/1045) API Updates
|
369
|
+
* [#1045](https://github.com/stripe/stripe-ruby/pull/1045) API Updates
|
222
370
|
* Add support for `increment_authorization` method on resource `PaymentIntent`
|
223
371
|
|
224
372
|
## 5.49.0 - 2022-04-08
|
225
|
-
* [#1043](https://github.com/stripe/stripe-ruby/pull/1043) API Updates
|
373
|
+
* [#1043](https://github.com/stripe/stripe-ruby/pull/1043) API Updates
|
226
374
|
* Add support for `apply_customer_balance` method on resource `PaymentIntent`
|
227
375
|
|
228
376
|
## 5.48.0 - 2022-03-30
|
229
|
-
* [#1041](https://github.com/stripe/stripe-ruby/pull/1041) API Updates
|
377
|
+
* [#1041](https://github.com/stripe/stripe-ruby/pull/1041) API Updates
|
230
378
|
* Add support for `cancel_action`, `process_payment_intent`, `process_setup_intent`, and `set_reader_display` methods on resource `Terminal.Reader`
|
231
379
|
|
232
380
|
## 5.47.0 - 2022-03-29
|
233
|
-
* [#1040](https://github.com/stripe/stripe-ruby/pull/1040) API Updates
|
234
|
-
* Add support for Search API
|
235
|
-
* Add support for `search` method on resources `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription`
|
236
|
-
|
381
|
+
* [#1040](https://github.com/stripe/stripe-ruby/pull/1040) API Updates
|
382
|
+
* Add support for Search API
|
383
|
+
* Add support for `search` method on resources `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription`
|
384
|
+
|
237
385
|
* [#1034](https://github.com/stripe/stripe-ruby/pull/1034) Add supporting classes for test helper generation
|
238
386
|
|
239
387
|
## 5.46.0 - 2022-03-23
|
240
|
-
* [#1039](https://github.com/stripe/stripe-ruby/pull/1039) API Updates
|
241
|
-
* Add support for `cancel` method on resource `Refund`
|
388
|
+
* [#1039](https://github.com/stripe/stripe-ruby/pull/1039) API Updates
|
389
|
+
* Add support for `cancel` method on resource `Refund`
|
242
390
|
* [#992](https://github.com/stripe/stripe-ruby/pull/992) Add support for Search API
|
243
391
|
|
244
392
|
## 5.45.0 - 2022-03-01
|
245
|
-
* [#1035](https://github.com/stripe/stripe-ruby/pull/1035) API Updates
|
393
|
+
* [#1035](https://github.com/stripe/stripe-ruby/pull/1035) API Updates
|
246
394
|
* Add support for new resource `TestHelpers.TestClock`
|
247
395
|
|
248
396
|
## 5.44.0 - 2022-02-16
|
249
|
-
* [#1032](https://github.com/stripe/stripe-ruby/pull/1032) API Updates
|
397
|
+
* [#1032](https://github.com/stripe/stripe-ruby/pull/1032) API Updates
|
250
398
|
* Add support for `verify_microdeposits` method on resources `PaymentIntent` and `SetupIntent`
|
251
399
|
|
252
400
|
## 5.43.0 - 2022-01-20
|
253
|
-
* [#1031](https://github.com/stripe/stripe-ruby/pull/1031) API Updates
|
401
|
+
* [#1031](https://github.com/stripe/stripe-ruby/pull/1031) API Updates
|
254
402
|
* Add support for new resource `PaymentLink`
|
255
403
|
|
256
404
|
## 5.42.0 - 2021-12-13
|
257
405
|
* [#1022](https://github.com/stripe/stripe-ruby/pull/1022) Add connection manager logging and include object IDs in logging.
|
258
406
|
|
259
407
|
## 5.41.0 - 2021-11-16
|
260
|
-
* [#1017](https://github.com/stripe/stripe-ruby/pull/1017) API Updates
|
408
|
+
* [#1017](https://github.com/stripe/stripe-ruby/pull/1017) API Updates
|
261
409
|
* Add support for new resource `ShippingRate`
|
262
410
|
|
263
411
|
## 5.40.0 - 2021-11-11
|
264
|
-
* [#1015](https://github.com/stripe/stripe-ruby/pull/1015) API Updates
|
265
|
-
* Add support for `expire` method on resource `Checkout.Session`
|
266
|
-
* [#1013](https://github.com/stripe/stripe-ruby/pull/1013) Add tests for child resources.
|
267
|
-
* [#1012](https://github.com/stripe/stripe-ruby/pull/1012) Add tests for namespaced resources.
|
412
|
+
* [#1015](https://github.com/stripe/stripe-ruby/pull/1015) API Updates
|
413
|
+
* Add support for `expire` method on resource `Checkout.Session`
|
414
|
+
* [#1013](https://github.com/stripe/stripe-ruby/pull/1013) Add tests for child resources.
|
415
|
+
* [#1012](https://github.com/stripe/stripe-ruby/pull/1012) Add tests for namespaced resources.
|
268
416
|
* [#1011](https://github.com/stripe/stripe-ruby/pull/1011) codegen: 3 more files
|
269
417
|
|
270
418
|
## 5.39.0 - 2021-10-11
|
271
|
-
* [#1010](https://github.com/stripe/stripe-ruby/pull/1010) API Updates
|
419
|
+
* [#1010](https://github.com/stripe/stripe-ruby/pull/1010) API Updates
|
272
420
|
* Add support for `list_payment_methods` method on resource `Customer`
|
273
421
|
|
274
422
|
## 5.38.0 - 2021-08-10
|
275
|
-
* [#993](https://github.com/stripe/stripe-ruby/pull/993) Add `request_id` to RequestEndEvent
|
276
|
-
* [#991](https://github.com/stripe/stripe-ruby/pull/991) Codegen more files
|
423
|
+
* [#993](https://github.com/stripe/stripe-ruby/pull/993) Add `request_id` to RequestEndEvent
|
424
|
+
* [#991](https://github.com/stripe/stripe-ruby/pull/991) Codegen more files
|
277
425
|
* [#989](https://github.com/stripe/stripe-ruby/pull/989) Remove unused API error types from docs.
|
278
426
|
|
279
427
|
## 5.37.0 - 2021-07-14
|
280
|
-
* [#988](https://github.com/stripe/stripe-ruby/pull/988) API Updates
|
428
|
+
* [#988](https://github.com/stripe/stripe-ruby/pull/988) API Updates
|
281
429
|
* Add support for `list_computed_upfront_line_items` method on resource `Quote`
|
282
430
|
|
283
431
|
## 5.36.0 - 2021-07-09
|
284
432
|
* [#987](https://github.com/stripe/stripe-ruby/pull/987) Add support for `Quote` API
|
285
433
|
|
286
434
|
## 5.35.0 - 2021-06-30
|
287
|
-
* [#985](https://github.com/stripe/stripe-ruby/pull/985) Update normalize_opts to use dup instead of clone.
|
288
|
-
* [#982](https://github.com/stripe/stripe-ruby/pull/982) Deprecate travis
|
435
|
+
* [#985](https://github.com/stripe/stripe-ruby/pull/985) Update normalize_opts to use dup instead of clone.
|
436
|
+
* [#982](https://github.com/stripe/stripe-ruby/pull/982) Deprecate travis
|
289
437
|
* [#983](https://github.com/stripe/stripe-ruby/pull/983) Add support for making a request and receiving the response as a stream.
|
290
438
|
|
291
439
|
## 5.34.0 - 2021-06-04
|
292
|
-
* [#981](https://github.com/stripe/stripe-ruby/pull/981) API Updates
|
440
|
+
* [#981](https://github.com/stripe/stripe-ruby/pull/981) API Updates
|
293
441
|
* Add support for `TaxCode` API.
|
294
442
|
|
295
443
|
## 5.33.0 - 2021-05-19
|
@@ -302,10 +450,10 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
302
450
|
* [#973](https://github.com/stripe/stripe-ruby/pull/973) Reduce packed gem size
|
303
451
|
|
304
452
|
## 5.31.0 - 2021-04-02
|
305
|
-
* [#968](https://github.com/stripe/stripe-ruby/pull/968) Allow StripeClient to be configured per instance
|
306
|
-
* [#971](https://github.com/stripe/stripe-ruby/pull/971) On config change, only clear connection managers for changed config
|
307
|
-
* [#972](https://github.com/stripe/stripe-ruby/pull/972) Rename `Stripe.configuration` to `Stripe.config`
|
308
|
-
* [#970](https://github.com/stripe/stripe-ruby/pull/970) Reserve some critical field names when adding `StripeObject` accessors
|
453
|
+
* [#968](https://github.com/stripe/stripe-ruby/pull/968) Allow StripeClient to be configured per instance
|
454
|
+
* [#971](https://github.com/stripe/stripe-ruby/pull/971) On config change, only clear connection managers for changed config
|
455
|
+
* [#972](https://github.com/stripe/stripe-ruby/pull/972) Rename `Stripe.configuration` to `Stripe.config`
|
456
|
+
* [#970](https://github.com/stripe/stripe-ruby/pull/970) Reserve some critical field names when adding `StripeObject` accessors
|
309
457
|
* [#967](https://github.com/stripe/stripe-ruby/pull/967) CI: github actions
|
310
458
|
|
311
459
|
## 5.30.0 - 2021-02-22
|
@@ -330,7 +478,7 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
330
478
|
* [#944](https://github.com/stripe/stripe-ruby/pull/944) Add support for the Issuing Dispute Submit API
|
331
479
|
|
332
480
|
## 5.24.0 - 2020-08-26
|
333
|
-
* [#939](https://github.com/stripe/stripe-ruby/pull/939) Extract configurations into separate object
|
481
|
+
* [#939](https://github.com/stripe/stripe-ruby/pull/939) Extract configurations into separate object
|
334
482
|
* [#940](https://github.com/stripe/stripe-ruby/pull/940) Fix typo in documentation of `stripe_object.rb`
|
335
483
|
|
336
484
|
## 5.23.1 - 2020-08-05
|
@@ -358,16 +506,16 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
358
506
|
* [#907](https://github.com/stripe/stripe-ruby/pull/907) Add `StripeError#idempotent_replayed?`
|
359
507
|
|
360
508
|
## 5.16.0 - 2020-02-26
|
361
|
-
* [#906](https://github.com/stripe/stripe-ruby/pull/906) Add support for listing Checkout sessions
|
509
|
+
* [#906](https://github.com/stripe/stripe-ruby/pull/906) Add support for listing Checkout sessions
|
362
510
|
* [#903](https://github.com/stripe/stripe-ruby/pull/903) Upgrade to Rubocop 0.80
|
363
511
|
|
364
512
|
## 5.15.0 - 2020-02-10
|
365
513
|
* [#902](https://github.com/stripe/stripe-ruby/pull/902) Add `request_begin` instrumentation callback
|
366
514
|
|
367
515
|
## 5.14.0 - 2020-01-14
|
368
|
-
* [#896](https://github.com/stripe/stripe-ruby/pull/896) Add support for `CreditNoteLineItem`
|
369
|
-
* [#894](https://github.com/stripe/stripe-ruby/pull/894) Clean up test output by capturing `$stderr` when we expect warnings
|
370
|
-
* [#892](https://github.com/stripe/stripe-ruby/pull/892) Explicitly pass a parameter as hash to be more ruby 2.7 friendly
|
516
|
+
* [#896](https://github.com/stripe/stripe-ruby/pull/896) Add support for `CreditNoteLineItem`
|
517
|
+
* [#894](https://github.com/stripe/stripe-ruby/pull/894) Clean up test output by capturing `$stderr` when we expect warnings
|
518
|
+
* [#892](https://github.com/stripe/stripe-ruby/pull/892) Explicitly pass a parameter as hash to be more ruby 2.7 friendly
|
371
519
|
* [#893](https://github.com/stripe/stripe-ruby/pull/893) Upgrade Rubocop to 0.79
|
372
520
|
|
373
521
|
## 5.13.0 - 2020-01-08
|
@@ -389,9 +537,9 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
389
537
|
* [#870](https://github.com/stripe/stripe-ruby/pull/870) Add request instrumentation callback (see `README.md` for usage example)
|
390
538
|
|
391
539
|
## 5.8.0 - 2019-11-05
|
392
|
-
* [#879](https://github.com/stripe/stripe-ruby/pull/879) Add support for `Mandate`
|
393
|
-
* [#876](https://github.com/stripe/stripe-ruby/pull/876) Add additional per-request configuration documentation
|
394
|
-
* [#874](https://github.com/stripe/stripe-ruby/pull/874) Raise an error when requests params are invalid
|
540
|
+
* [#879](https://github.com/stripe/stripe-ruby/pull/879) Add support for `Mandate`
|
541
|
+
* [#876](https://github.com/stripe/stripe-ruby/pull/876) Add additional per-request configuration documentation
|
542
|
+
* [#874](https://github.com/stripe/stripe-ruby/pull/874) Raise an error when requests params are invalid
|
395
543
|
* [#873](https://github.com/stripe/stripe-ruby/pull/873) Contributor Covenant
|
396
544
|
|
397
545
|
## 5.7.1 - 2019-10-15
|
@@ -428,33 +576,33 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
428
576
|
* [#836](https://github.com/stripe/stripe-ruby/pull/836) Increase connection keep alive timeout to 30 seconds
|
429
577
|
|
430
578
|
## 5.0.0 - 2019-08-20
|
431
|
-
Major version release. The [migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v5) contains a detailed list of backwards-incompatible changes with upgrade instructions.
|
432
|
-
|
433
|
-
Pull requests included in this release (cf. [#815](https://github.com/stripe/stripe-ruby/pull/815)) (⚠️ = breaking changes):
|
434
|
-
* ⚠️ [#813](https://github.com/stripe/stripe-ruby/pull/813): Convert library to use built-in `Net::HTTP`
|
435
|
-
* ⚠️ [#816](https://github.com/stripe/stripe-ruby/pull/816): Make `code` argument in `CardError` named instead of positional.
|
436
|
-
* ⚠️ [#817](https://github.com/stripe/stripe-ruby/pull/817): Drop support for very old Ruby versions.
|
437
|
-
* [#818](https://github.com/stripe/stripe-ruby/pull/818): Bump Rubocop to latest version
|
438
|
-
* [#819](https://github.com/stripe/stripe-ruby/pull/819): Ruby minimum version increase followup
|
439
|
-
* ⚠️ [#820](https://github.com/stripe/stripe-ruby/pull/820): Remove old deprecated methods
|
440
|
-
* ⚠️ [#823](https://github.com/stripe/stripe-ruby/pull/823): Remove all alias for list methods
|
441
|
-
* ⚠️ [#826](https://github.com/stripe/stripe-ruby/pull/826): Remove `UsageRecord.create` method
|
442
|
-
* ⚠️ [#827](https://github.com/stripe/stripe-ruby/pull/827): Remove `IssuerFraudRecord`
|
443
|
-
* [#811](https://github.com/stripe/stripe-ruby/pull/811): Add `ErrorObject` to `StripeError` exceptions
|
444
|
-
* [#828](https://github.com/stripe/stripe-ruby/pull/828): Tweak retry logic to be a little more like stripe-node
|
445
|
-
* [#829](https://github.com/stripe/stripe-ruby/pull/829): Reset connections when connection-changing configuration changes (optional)
|
446
|
-
* [#830](https://github.com/stripe/stripe-ruby/pull/830): Fix inverted sign for 500 retries
|
447
|
-
* ⚠️[#831](https://github.com/stripe/stripe-ruby/pull/831): Remove a few more very old deprecated methods
|
448
|
-
* [#832](https://github.com/stripe/stripe-ruby/pull/832): Minor cleanup in `StripeClient`
|
449
|
-
* [#833](https://github.com/stripe/stripe-ruby/pull/833): Do better bookkeeping when tracking state in `Thread.current`
|
579
|
+
Major version release. The [migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v5) contains a detailed list of backwards-incompatible changes with upgrade instructions.
|
580
|
+
|
581
|
+
Pull requests included in this release (cf. [#815](https://github.com/stripe/stripe-ruby/pull/815)) (⚠️ = breaking changes):
|
582
|
+
* ⚠️ [#813](https://github.com/stripe/stripe-ruby/pull/813): Convert library to use built-in `Net::HTTP`
|
583
|
+
* ⚠️ [#816](https://github.com/stripe/stripe-ruby/pull/816): Make `code` argument in `CardError` named instead of positional.
|
584
|
+
* ⚠️ [#817](https://github.com/stripe/stripe-ruby/pull/817): Drop support for very old Ruby versions.
|
585
|
+
* [#818](https://github.com/stripe/stripe-ruby/pull/818): Bump Rubocop to latest version
|
586
|
+
* [#819](https://github.com/stripe/stripe-ruby/pull/819): Ruby minimum version increase followup
|
587
|
+
* ⚠️ [#820](https://github.com/stripe/stripe-ruby/pull/820): Remove old deprecated methods
|
588
|
+
* ⚠️ [#823](https://github.com/stripe/stripe-ruby/pull/823): Remove all alias for list methods
|
589
|
+
* ⚠️ [#826](https://github.com/stripe/stripe-ruby/pull/826): Remove `UsageRecord.create` method
|
590
|
+
* ⚠️ [#827](https://github.com/stripe/stripe-ruby/pull/827): Remove `IssuerFraudRecord`
|
591
|
+
* [#811](https://github.com/stripe/stripe-ruby/pull/811): Add `ErrorObject` to `StripeError` exceptions
|
592
|
+
* [#828](https://github.com/stripe/stripe-ruby/pull/828): Tweak retry logic to be a little more like stripe-node
|
593
|
+
* [#829](https://github.com/stripe/stripe-ruby/pull/829): Reset connections when connection-changing configuration changes (optional)
|
594
|
+
* [#830](https://github.com/stripe/stripe-ruby/pull/830): Fix inverted sign for 500 retries
|
595
|
+
* ⚠️[#831](https://github.com/stripe/stripe-ruby/pull/831): Remove a few more very old deprecated methods
|
596
|
+
* [#832](https://github.com/stripe/stripe-ruby/pull/832): Minor cleanup in `StripeClient`
|
597
|
+
* [#833](https://github.com/stripe/stripe-ruby/pull/833): Do better bookkeeping when tracking state in `Thread.current`
|
450
598
|
* [#834](https://github.com/stripe/stripe-ruby/pull/834): Add `Invoice.list_upcoming_line_items` method
|
451
599
|
|
452
600
|
## 4.24.0 - 2019-08-12
|
453
|
-
* [#825](https://github.com/stripe/stripe-ruby/pull/825) Add `SubscriptionItem.create_usage_record` method
|
601
|
+
* [#825](https://github.com/stripe/stripe-ruby/pull/825) Add `SubscriptionItem.create_usage_record` method
|
454
602
|
- This release also removed the `SubscriptionSchedule.revisions` method. This should have been included in the previous release (4.23.0)
|
455
603
|
|
456
604
|
## 4.23.0 - 2019-08-09
|
457
|
-
* [#824](https://github.com/stripe/stripe-ruby/pull/824) Remove SubscriptionScheduleRevision
|
605
|
+
* [#824](https://github.com/stripe/stripe-ruby/pull/824) Remove SubscriptionScheduleRevision
|
458
606
|
- This is technically a breaking change. We've chosen to release it as a minor vesion bump because the associated API is unused.
|
459
607
|
|
460
608
|
## 4.22.1 - 2019-08-09
|
@@ -506,15 +654,15 @@ Pull requests included in this release (cf. [#815](https://github.com/stripe/str
|
|
506
654
|
* [#766](https://github.com/stripe/stripe-ruby/pull/766) Relax constraints on objects that we'll accept as a file (now they just need to respond to `#read`)
|
507
655
|
|
508
656
|
## 4.12.0 - 2019-04-02
|
509
|
-
* [#752](https://github.com/stripe/stripe-ruby/pull/752) Add `.delete` class method on deletable API resources
|
657
|
+
* [#752](https://github.com/stripe/stripe-ruby/pull/752) Add `.delete` class method on deletable API resources
|
510
658
|
* [#754](https://github.com/stripe/stripe-ruby/pull/754) Add class methods for all custom API requests (e.g. `Charge.capture`)
|
511
659
|
|
512
660
|
## 4.11.0 - 2019-03-26
|
513
661
|
* [#753](https://github.com/stripe/stripe-ruby/pull/753) Add a global proxy configuration parameter
|
514
662
|
|
515
663
|
## 4.10.0 - 2019-03-18
|
516
|
-
* [#745](https://github.com/stripe/stripe-ruby/pull/745) Add support for the `PaymentMethod` resource and APIs
|
517
|
-
* [#747](https://github.com/stripe/stripe-ruby/pull/747) Add support for retrieving a Checkout `Session`
|
664
|
+
* [#745](https://github.com/stripe/stripe-ruby/pull/745) Add support for the `PaymentMethod` resource and APIs
|
665
|
+
* [#747](https://github.com/stripe/stripe-ruby/pull/747) Add support for retrieving a Checkout `Session`
|
518
666
|
* [#748](https://github.com/stripe/stripe-ruby/pull/748) Add support for deleting a Terminal `Location` and `Reader`
|
519
667
|
|
520
668
|
## 4.9.1 - 2019-03-18
|
@@ -566,7 +714,7 @@ Pull requests included in this release (cf. [#815](https://github.com/stripe/str
|
|
566
714
|
* [#699](https://github.com/stripe/stripe-ruby/pull/699) Only send telemetry if `Request-Id` was present in the response
|
567
715
|
|
568
716
|
## 4.0.0 - 2018-11-15
|
569
|
-
* [#698](https://github.com/stripe/stripe-ruby/pull/698) Use persistent connections by default through `Net::HTTP::Persistent`
|
717
|
+
* [#698](https://github.com/stripe/stripe-ruby/pull/698) Use persistent connections by default through `Net::HTTP::Persistent`
|
570
718
|
* [#698](https://github.com/stripe/stripe-ruby/pull/698) Drop support for Ruby 2.0 (which we consider a breaking change here)
|
571
719
|
|
572
720
|
## 3.31.1 - 2018-11-12
|
@@ -579,7 +727,7 @@ Pull requests included in this release (cf. [#815](https://github.com/stripe/str
|
|
579
727
|
* [#693](https://github.com/stripe/stripe-ruby/pull/693) Add new API endpoints for the `Invoice` resource.
|
580
728
|
|
581
729
|
## 3.29.0 - 2018-10-30
|
582
|
-
* [#692](https://github.com/stripe/stripe-ruby/pull/692) Add support for the `Person` resource
|
730
|
+
* [#692](https://github.com/stripe/stripe-ruby/pull/692) Add support for the `Person` resource
|
583
731
|
* [#694](https://github.com/stripe/stripe-ruby/pull/694) Add support for the `WebhookEndpoint` resource
|
584
732
|
|
585
733
|
## 3.28.0 - 2018-09-24
|
@@ -676,16 +824,16 @@ Pull requests included in this release (cf. [#815](https://github.com/stripe/str
|
|
676
824
|
* [#603](https://github.com/stripe/stripe-ruby/pull/603) Support for listing source transactions
|
677
825
|
|
678
826
|
## 3.6.0 - 2017-10-17
|
679
|
-
* [#597](https://github.com/stripe/stripe-ruby/pull/597) Add static methods to manipulate resources from parent
|
680
|
-
* `Account` gains methods for external accounts and login links (e.g. `.create_account`, `create_login_link`)
|
681
|
-
* `ApplicationFee` gains methods for refunds
|
682
|
-
* `Customer` gains methods for sources
|
827
|
+
* [#597](https://github.com/stripe/stripe-ruby/pull/597) Add static methods to manipulate resources from parent
|
828
|
+
* `Account` gains methods for external accounts and login links (e.g. `.create_account`, `create_login_link`)
|
829
|
+
* `ApplicationFee` gains methods for refunds
|
830
|
+
* `Customer` gains methods for sources
|
683
831
|
* `Transfer` gains methods for reversals
|
684
832
|
|
685
833
|
## 3.5.3 - 2017-10-16
|
686
|
-
* [#594](https://github.com/stripe/stripe-ruby/pull/594) Make sure that `StripeObject`'s `#deep_copy` maintains original class
|
687
|
-
* [#595](https://github.com/stripe/stripe-ruby/pull/595) Allow `Object#method` to be called on `StripeObject` even if it conflicts with an accessor
|
688
|
-
* [#596](https://github.com/stripe/stripe-ruby/pull/596) Encode arrays as integer-indexed hashes where appropriate
|
834
|
+
* [#594](https://github.com/stripe/stripe-ruby/pull/594) Make sure that `StripeObject`'s `#deep_copy` maintains original class
|
835
|
+
* [#595](https://github.com/stripe/stripe-ruby/pull/595) Allow `Object#method` to be called on `StripeObject` even if it conflicts with an accessor
|
836
|
+
* [#596](https://github.com/stripe/stripe-ruby/pull/596) Encode arrays as integer-indexed hashes where appropriate
|
689
837
|
* [#598](https://github.com/stripe/stripe-ruby/pull/598) Don't persist `idempotency_key` opt between requests
|
690
838
|
|
691
839
|
## 3.5.2 - 2017-10-13
|
@@ -698,23 +846,23 @@ Pull requests included in this release (cf. [#815](https://github.com/stripe/str
|
|
698
846
|
* [#589](https://github.com/stripe/stripe-ruby/pull/589) Rename source `delete` to `detach` (and deprecate the former)
|
699
847
|
|
700
848
|
## 3.4.1 - 2017-10-05
|
701
|
-
* [#586](https://github.com/stripe/stripe-ruby/pull/586) Log query strings as well as form bodies with STRIPE_LOG
|
849
|
+
* [#586](https://github.com/stripe/stripe-ruby/pull/586) Log query strings as well as form bodies with STRIPE_LOG
|
702
850
|
* [#588](https://github.com/stripe/stripe-ruby/pull/588) Require minimum Faraday 0.10 for bug fix in parameter encoding
|
703
851
|
|
704
852
|
## 3.4.0 - 2017-09-20
|
705
|
-
* Mark legacy Bitcoin API as deprecated, and remove corresponding tests
|
853
|
+
* Mark legacy Bitcoin API as deprecated, and remove corresponding tests
|
706
854
|
* Mark recipients API as deprecated, and remove recipient card tests
|
707
855
|
|
708
856
|
## 3.3.2 - 2017-09-20
|
709
857
|
* Correct minimum required Ruby version in gemspec (it's 2.0.0)
|
710
858
|
|
711
859
|
## 3.3.1 - 2017-08-18
|
712
|
-
* Only parse webhook payload after verification to decrease likelihood of
|
860
|
+
* Only parse webhook payload after verification to decrease likelihood of
|
713
861
|
attack
|
714
862
|
|
715
863
|
## 3.3.0 - 2017-08-11
|
716
|
-
* Add support for standard library logger interface with `Stripe.logger`
|
717
|
-
* Error logs now go to stderr if using `Stripe.log_level`/`STRIPE_LOG`
|
864
|
+
* Add support for standard library logger interface with `Stripe.logger`
|
865
|
+
* Error logs now go to stderr if using `Stripe.log_level`/`STRIPE_LOG`
|
718
866
|
* `Stripe.log_level`/`STRIPE_LOG` now support `Stipe::LEVEL_ERROR`
|
719
867
|
|
720
868
|
## 3.2.0 - 2017-08-03
|
@@ -724,16 +872,16 @@ Pull requests included in this release (cf. [#815](https://github.com/stripe/str
|
|
724
872
|
* Implement request logging with `Stripe.log_level` and `STRIPE_LOG`
|
725
873
|
|
726
874
|
## 3.0.3 - 2017-07-28
|
727
|
-
* Revert `nil` to empty string coercion from 3.0.2
|
728
|
-
* Handle `invalid_client` OAuth error code
|
875
|
+
* Revert `nil` to empty string coercion from 3.0.2
|
876
|
+
* Handle `invalid_client` OAuth error code
|
729
877
|
* Improve safety of error handling logic safer for unrecognized OAuth error codes
|
730
878
|
|
731
879
|
## 3.0.2 - 2017-07-12
|
732
|
-
**Important:** This version is non-functional and has been yanked in favor of 3.0.3.
|
880
|
+
**Important:** This version is non-functional and has been yanked in favor of 3.0.3.
|
733
881
|
* Convert `nil` to empty string when serializing parameters (instead of opaquely dropping it) -- NOTE: this change has since been reverted
|
734
882
|
|
735
883
|
## 3.0.1 - 2017-07-11
|
736
|
-
* Properties set with an API resource will now serialize that resource's ID if possible
|
884
|
+
* Properties set with an API resource will now serialize that resource's ID if possible
|
737
885
|
* API resources will throw an ArgumentError on save if a property has been with an API resource that cannot be serialized
|
738
886
|
|
739
887
|
## 3.0.0 - 2017-06-27
|
@@ -788,10 +936,10 @@ Pull requests included in this release (cf. [#815](https://github.com/stripe/str
|
|
788
936
|
* Fix multipart parameter encoding to repair broken file uploads
|
789
937
|
|
790
938
|
## 2.0.0 - 2017-02-14
|
791
|
-
* Drop support for Ruby 1.9
|
792
|
-
* Allow HTTP client that makes Stripe calls to be configured via Faraday
|
793
|
-
* Drop RestClient
|
794
|
-
* Switch to OpenAPI 2.0 spec and generated fixtures in test suite
|
939
|
+
* Drop support for Ruby 1.9
|
940
|
+
* Allow HTTP client that makes Stripe calls to be configured via Faraday
|
941
|
+
* Drop RestClient
|
942
|
+
* Switch to OpenAPI 2.0 spec and generated fixtures in test suite
|
795
943
|
* Switch to Webmock in test suite
|
796
944
|
|
797
945
|
## 1.58.0 - 2017-01-19
|
@@ -810,8 +958,8 @@ Pull requests included in this release (cf. [#815](https://github.com/stripe/str
|
|
810
958
|
* Fix (fairly serious) memory like in `StripeObject`
|
811
959
|
|
812
960
|
## 1.56.0 - 2016-10-24
|
813
|
-
* Add accessors for new fields added in `#update_attributes`
|
814
|
-
* Handle multi-plan subscriptions through new subscription items
|
961
|
+
* Add accessors for new fields added in `#update_attributes`
|
962
|
+
* Handle multi-plan subscriptions through new subscription items
|
815
963
|
* Handle 403 status codes from the API
|
816
964
|
|
817
965
|
## 1.55.1 - 2016-10-24
|
@@ -833,7 +981,7 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
833
981
|
* Make sure `Account`'s `external_account` is saved with its parent
|
834
982
|
|
835
983
|
## 1.51.0 - 2016-08-26
|
836
|
-
* Error when an array of maps is detected that cannot be accurately encoded
|
984
|
+
* Error when an array of maps is detected that cannot be accurately encoded
|
837
985
|
* Start using strings for header names instead of symbols for better clarity
|
838
986
|
|
839
987
|
## 1.50.1 - 2016-08-25
|
@@ -864,7 +1012,7 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
864
1012
|
* Fix type of resource returned from `Order#return_order`
|
865
1013
|
|
866
1014
|
## 1.43.0 - 2016-05-20
|
867
|
-
* Allow Relay orders to be returned and add associated types
|
1015
|
+
* Allow Relay orders to be returned and add associated types
|
868
1016
|
* Support Alipay account retrieval and deletion
|
869
1017
|
|
870
1018
|
## 1.42.0 - 2016-05-04
|
@@ -898,7 +1046,7 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
898
1046
|
* Add compatibility layer for old API versions on `Charge#refund`
|
899
1047
|
|
900
1048
|
## 1.35.0 - 2016-02-01
|
901
|
-
* Allow CA cert bundle location to be configured
|
1049
|
+
* Allow CA cert bundle location to be configured
|
902
1050
|
* Updated bundled CA certs
|
903
1051
|
|
904
1052
|
## 1.34.0 - 2016-01-25
|
@@ -911,11 +1059,11 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
911
1059
|
* Re-implement `Charge#refund` helper to use the modern endpoint suggested by docs
|
912
1060
|
|
913
1061
|
## 1.32.1 - 2016-01-07
|
914
|
-
* Fix bug where ivar left uninitialized in StripeObject could error on serialization
|
1062
|
+
* Fix bug where ivar left uninitialized in StripeObject could error on serialization
|
915
1063
|
* Fix bug where a nil customer from API could error Bitcoin model on refresh
|
916
1064
|
|
917
1065
|
## 1.32.0 - 2016-01-05
|
918
|
-
* Add configuration to optionally retry network failures
|
1066
|
+
* Add configuration to optionally retry network failures
|
919
1067
|
* Use modern API endpoint for producing application fee refunds
|
920
1068
|
|
921
1069
|
## 1.31.0 - 2015-10-29
|
@@ -928,12 +1076,12 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
928
1076
|
* Fix bug where `opts` didn't properly propagate to descendant `StripeObjects`
|
929
1077
|
|
930
1078
|
## 1.30.1 - 2015-10-10
|
931
|
-
* Fix bug that prevent lists of hashes from being URI-encoded properly
|
1079
|
+
* Fix bug that prevent lists of hashes from being URI-encoded properly
|
932
1080
|
* Fix bug where filter conditions were not making it past the first instantiated `ListObject`
|
933
1081
|
|
934
1082
|
## 1.30.0 - 2015-10-09
|
935
|
-
* Add `StripeObject#deleted?` for a reliable way to check whether an object is alive
|
936
|
-
* Deprecate `StripeObject#refresh_from`
|
1083
|
+
* Add `StripeObject#deleted?` for a reliable way to check whether an object is alive
|
1084
|
+
* Deprecate `StripeObject#refresh_from`
|
937
1085
|
* New parameter encoding scheme that doesn't use `URI.escape`
|
938
1086
|
|
939
1087
|
## 1.29.1 - 2015-10-06
|
@@ -946,11 +1094,11 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
946
1094
|
* Fix URI being referenced by file upload resources
|
947
1095
|
|
948
1096
|
## 1.28.0 - 2015-10-05
|
949
|
-
* Make StripeObject's #save "upsert"-like; creates an object if new
|
950
|
-
* Add #update_attributes to StripeObject for safe mass assignment
|
951
|
-
* Properly mass assign attributes on calls to #save
|
952
|
-
* Add question mark helpers for boolean fields (e.g. #paid? as well as old #paid)
|
953
|
-
* Fix a bug that broke the API for StripeObject initialization
|
1097
|
+
* Make StripeObject's #save "upsert"-like; creates an object if new
|
1098
|
+
* Add #update_attributes to StripeObject for safe mass assignment
|
1099
|
+
* Properly mass assign attributes on calls to #save
|
1100
|
+
* Add question mark helpers for boolean fields (e.g. #paid? as well as old #paid)
|
1101
|
+
* Fix a bug that broke the API for StripeObject initialization
|
954
1102
|
* Remove use of deprecated URI.escape
|
955
1103
|
|
956
1104
|
## 1.27.2 - 2015-09-25
|
@@ -969,8 +1117,8 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
969
1117
|
* Added support for refund listing and retrieval without an associated charge
|
970
1118
|
|
971
1119
|
## 1.24.0 - 2015-08-03
|
972
|
-
* Added support for deleting managed accounts
|
973
|
-
* Added support for dispute listing and retrieval
|
1120
|
+
* Added support for deleting managed accounts
|
1121
|
+
* Added support for dispute listing and retrieval
|
974
1122
|
* Bugfix: token objects now are the correct class
|
975
1123
|
|
976
1124
|
## 1.23.0 - 2015-07-06
|
@@ -980,18 +1128,18 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
980
1128
|
* Added support for bank accounts and debit cards in managed accounts (via the `external_accounts` param)
|
981
1129
|
|
982
1130
|
## 1.21.0 - 2015-04-14
|
983
|
-
* Remove TLS cert revocation check (all pre-heartbleed certs have expired)
|
1131
|
+
* Remove TLS cert revocation check (all pre-heartbleed certs have expired)
|
984
1132
|
* Bugfix: don't unset keys when they don't exist on StripeObject
|
985
1133
|
|
986
1134
|
## 1.20.4 - 2015-03-26
|
987
|
-
* Raise an error when explicitly passing nil as the API key on resource methods
|
1135
|
+
* Raise an error when explicitly passing nil as the API key on resource methods
|
988
1136
|
* Fix error when passing an API key to Balance.retrieve (github issue #232)
|
989
1137
|
|
990
1138
|
## 1.20.3 - 2015-03-13
|
991
1139
|
* Fixed error when updating certain resources (github issue #224)
|
992
1140
|
|
993
1141
|
## 1.20.2 - 2015-03-10
|
994
|
-
* Added support for updating nested hashes besides `metadata` (which was already supported)
|
1142
|
+
* Added support for updating nested hashes besides `metadata` (which was already supported)
|
995
1143
|
* Fixed bug in balance retrieval
|
996
1144
|
|
997
1145
|
## 1.20.1 - 2015-02-26
|
@@ -1004,230 +1152,231 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
1004
1152
|
* Fixed fetching upcoming invoice/paying invoice methods
|
1005
1153
|
|
1006
1154
|
## 1.19.0 - 2015-02-15
|
1007
|
-
* Support for new Transfers /reversals endpoint
|
1008
|
-
* Account retrieval now optionally accepts an account ID
|
1155
|
+
* Support for new Transfers /reversals endpoint
|
1156
|
+
* Account retrieval now optionally accepts an account ID
|
1009
1157
|
* Better support for passing custom headers, like Stripe-Account, through requests
|
1010
1158
|
|
1011
1159
|
## 1.18.0 - 2015-01-21
|
1012
|
-
* 1 major enhancement:
|
1160
|
+
* 1 major enhancement:
|
1013
1161
|
* Added support for making bitcoin charges through BitcoinReceiver source object
|
1014
1162
|
|
1015
1163
|
## 1.17.3 - 2015-01-12
|
1016
|
-
* 1 bugfix:
|
1164
|
+
* 1 bugfix:
|
1017
1165
|
* Fixed API key propagation for ApplicationFee#refund
|
1018
1166
|
|
1019
1167
|
## 1.17.2 - 2015-01-08
|
1020
|
-
* 1 bugfix:
|
1168
|
+
* 1 bugfix:
|
1021
1169
|
* Fixed API key propagation for child resources
|
1022
1170
|
|
1023
1171
|
## 1.17.1 - 2015-01-07
|
1024
|
-
* 2 minor enhacements:
|
1025
|
-
* Fixed dependencies for Ruby versions less than 1.9.3
|
1172
|
+
* 2 minor enhacements:
|
1173
|
+
* Fixed dependencies for Ruby versions less than 1.9.3
|
1026
1174
|
* Added deauthorize method to Account object
|
1027
1175
|
|
1028
1176
|
## 1.17.0 - 2014-12-15
|
1029
|
-
* 1 major enhacement:
|
1177
|
+
* 1 major enhacement:
|
1030
1178
|
* File uploads resource was added (for uploading pdf or image documents for disputes)
|
1031
1179
|
|
1032
1180
|
## 1.16.1 - 2014-12-19
|
1033
|
-
* 2 minor enhancements:
|
1034
|
-
* Ability to send idempotent requests
|
1181
|
+
* 2 minor enhancements:
|
1182
|
+
* Ability to send idempotent requests
|
1035
1183
|
* Ability to specify stripe account as a header
|
1036
1184
|
|
1037
1185
|
## 1.16.0 - 2014-10-08
|
1038
|
-
* 1 minor enhacement:
|
1186
|
+
* 1 minor enhacement:
|
1039
1187
|
* Coupons now support update operations - useful for manipulating metadata
|
1040
1188
|
|
1041
1189
|
## 1.15.0 - 2014-07-26
|
1042
|
-
* 1 major enhacement:
|
1190
|
+
* 1 major enhacement:
|
1043
1191
|
* Application Fee refunds now a list instead of array
|
1044
1192
|
|
1045
1193
|
## 1.14.0 - 2014-06-17
|
1046
|
-
* 1 major enhancement:
|
1194
|
+
* 1 major enhancement:
|
1047
1195
|
* Add metadata for refunds and disputes
|
1048
1196
|
|
1049
1197
|
## 1.13.0 - 2014-05-28
|
1050
|
-
* 1 major enhancement:
|
1198
|
+
* 1 major enhancement:
|
1051
1199
|
* Support for canceling transfers
|
1052
1200
|
|
1053
1201
|
## 1.12.0 - 2014-05-21
|
1054
|
-
* 1 major enhancement:
|
1202
|
+
* 1 major enhancement:
|
1055
1203
|
* Support for cards for recipients
|
1056
1204
|
|
1057
1205
|
## 1.11.0 - 2014-04-09
|
1058
|
-
* 2 minor enhancements:
|
1059
|
-
* Update included ca bundles
|
1206
|
+
* 2 minor enhancements:
|
1207
|
+
* Update included ca bundles
|
1060
1208
|
* Implement certificate blacklisting
|
1061
1209
|
|
1062
1210
|
## 1.10.2 - 2014-02-18
|
1063
|
-
* 1 minor enhancement:
|
1064
|
-
* Add create_subscription on Customer resources, so you can create
|
1065
|
-
subscriptions without needing to retrieve the customer first (github
|
1211
|
+
* 1 minor enhancement:
|
1212
|
+
* Add create_subscription on Customer resources, so you can create
|
1213
|
+
subscriptions without needing to retrieve the customer first (github
|
1066
1214
|
issue #120)
|
1067
1215
|
|
1068
1216
|
## 1.10.1 - 2014-02-03
|
1069
|
-
* 1 bugfix:
|
1217
|
+
* 1 bugfix:
|
1070
1218
|
* Fix marshaling of StripeObjects
|
1071
1219
|
|
1072
1220
|
## 1.10.0 - 2014-01-29
|
1073
|
-
* 2 major enhancements
|
1074
|
-
* Support for multiple subscriptions per customer
|
1075
|
-
* Testing ruby 2.1.0
|
1076
|
-
|
1077
|
-
* 2 minor enhancements
|
1078
|
-
* Replace multi_json with json
|
1079
|
-
* Allow #save to take opts (for :expand)
|
1080
|
-
|
1081
|
-
* 1 bugfix
|
1221
|
+
* 2 major enhancements
|
1222
|
+
* Support for multiple subscriptions per customer
|
1223
|
+
* Testing ruby 2.1.0
|
1224
|
+
|
1225
|
+
* 2 minor enhancements
|
1226
|
+
* Replace multi_json with json
|
1227
|
+
* Allow #save to take opts (for :expand)
|
1228
|
+
|
1229
|
+
* 1 bugfix
|
1082
1230
|
* Fix #try and #respond_to? on StripeObjects
|
1083
1231
|
|
1084
1232
|
## 1.9.9 - 2013-12-02
|
1085
|
-
* 1 major enhancement
|
1233
|
+
* 1 major enhancement
|
1086
1234
|
* Add ApplicationFee resource
|
1087
1235
|
|
1088
1236
|
## 1.8.9 - 2013-11-14
|
1089
|
-
* 2 bugfixes:
|
1090
|
-
* Fix gemspec dependencies so the gem doesn't break for Ruby 1.8 users
|
1237
|
+
* 2 bugfixes:
|
1238
|
+
* Fix gemspec dependencies so the gem doesn't break for Ruby 1.8 users
|
1091
1239
|
* Fix api_resource_test to not use returns as a way of testing rescue behavior
|
1092
1240
|
|
1093
1241
|
## 1.8.8 - 2013-10-3
|
1094
|
-
* 1 major enhancement
|
1242
|
+
* 1 major enhancement
|
1095
1243
|
* Add support for metadata on resources
|
1096
1244
|
|
1097
1245
|
## 1.8.7 - 2013-08-18
|
1098
|
-
* 1 minor enhancement
|
1246
|
+
* 1 minor enhancement
|
1099
1247
|
* Add support for closing disputes.
|
1100
1248
|
|
1101
1249
|
## 1.8.6 - 2013-08-13
|
1102
|
-
* 1 major enhancement
|
1250
|
+
* 1 major enhancement
|
1103
1251
|
* Add Balance and BalanceTransaction resources
|
1104
1252
|
|
1105
1253
|
## 1.8.5 - 2013-08-12
|
1106
|
-
* 1 major enhancement
|
1107
|
-
* Add support for unsetting attributes by setting to nil. This permits unsetting email and description on customers and description on charges. Setting properties to a blank string is now an error.
|
1254
|
+
* 1 major enhancement
|
1255
|
+
* Add support for unsetting attributes by setting to nil. This permits unsetting email and description on customers and description on charges. Setting properties to a blank string is now an error.
|
1108
1256
|
* Attempting to set an object's id is now an error
|
1109
1257
|
|
1110
1258
|
## 1.8.4 - 2013-07-11
|
1111
|
-
* 1 major enhancement
|
1259
|
+
* 1 major enhancement
|
1112
1260
|
* Add support for new cards API (Stripe API version - 2013-07-05)
|
1113
1261
|
|
1114
1262
|
## 1.8.3 - 2013-05-06
|
1115
|
-
* 1 bugfix:
|
1263
|
+
* 1 bugfix:
|
1116
1264
|
* Fix handling of per-call API keys (github issue #67)
|
1117
1265
|
|
1118
1266
|
## 1.8.2 - 2013-05-01
|
1119
|
-
* 3 minor enhancements:
|
1120
|
-
* Use to_sym instead of type checking for minor performance improvement (github issue #59)
|
1121
|
-
* Handle low-memory situations without throwing an exception (github issue #61)
|
1122
|
-
* Add an Customer#upcoming_invoice convenience method (github issue #65)
|
1123
|
-
|
1124
|
-
* 1 bugfix:
|
1267
|
+
* 3 minor enhancements:
|
1268
|
+
* Use to_sym instead of type checking for minor performance improvement (github issue #59)
|
1269
|
+
* Handle low-memory situations without throwing an exception (github issue #61)
|
1270
|
+
* Add an Customer#upcoming_invoice convenience method (github issue #65)
|
1271
|
+
|
1272
|
+
* 1 bugfix:
|
1125
1273
|
* Allow updating resources without first retrieving them (github issue #60)
|
1126
1274
|
|
1127
1275
|
## 1.8.1 - 2013-04-19
|
1128
|
-
* 1 minor enhancement:
|
1276
|
+
* 1 minor enhancement:
|
1129
1277
|
* Add support for specifying an API key when retrieving an upcoming invoice
|
1130
1278
|
|
1131
1279
|
## 1.8.0 - 2013-04-11
|
1132
|
-
* 1 major enhancement:
|
1133
|
-
* Add new Recipient resource
|
1280
|
+
* 1 major enhancement:
|
1281
|
+
* Add new Recipient resource
|
1134
1282
|
* Allow Transfers to be createable
|
1135
1283
|
|
1136
1284
|
## 1.7.11 - 2013-02-21
|
1137
|
-
* 1 minor enhancement
|
1285
|
+
* 1 minor enhancement
|
1138
1286
|
* Add 'id' to the list of permanent attributes
|
1139
1287
|
|
1140
1288
|
## 1.7.10 - 2013-02-01
|
1141
|
-
* 1 major enhancement
|
1289
|
+
* 1 major enhancement
|
1142
1290
|
* Add support for passing options when retrieving Stripe objects e.g., Stripe::Charge.retrieve({id:"foo", expand:["customer"]}) Stripe::Charge("foo") is still supported as well
|
1143
1291
|
|
1144
1292
|
## 1.7.9 - 2013-01-15
|
1145
|
-
* 1 major enhancement
|
1293
|
+
* 1 major enhancement
|
1146
1294
|
* Add support for setting a Stripe API version override.
|
1147
1295
|
|
1148
1296
|
## 1.7.8 - 2012-11-21
|
1149
|
-
* 1 bugfix
|
1297
|
+
* 1 bugfix
|
1150
1298
|
* Relax the version constraint on multi_json (github issue #44)
|
1151
1299
|
|
1152
1300
|
## 1.7.7 - 2012-11-07
|
1153
|
-
* 1 minor enhancement:
|
1154
|
-
* Add support for updating charge disputes
|
1155
|
-
|
1156
|
-
* 1 bugfix
|
1301
|
+
* 1 minor enhancement:
|
1302
|
+
* Add support for updating charge disputes
|
1303
|
+
|
1304
|
+
* 1 bugfix
|
1157
1305
|
* Fix Account API resource bug
|
1158
1306
|
|
1159
1307
|
## 1.7.6 - 2012-10-30
|
1160
|
-
* 1 major enhancement
|
1308
|
+
* 1 major enhancement
|
1161
1309
|
* Add support for creating invoices
|
1162
1310
|
|
1163
1311
|
## 1.7.5 - 2012-10-25
|
1164
|
-
* 1 major enhancement
|
1312
|
+
* 1 major enhancement
|
1165
1313
|
* Add support for new API lists
|
1166
1314
|
|
1167
1315
|
## 1.7.4 - 2012-10-08
|
1168
|
-
* 1 bugfix
|
1169
|
-
* Fix bug introduced in 1.7.3 calling API methods that take no
|
1316
|
+
* 1 bugfix
|
1317
|
+
* Fix bug introduced in 1.7.3 calling API methods that take no
|
1170
1318
|
arguments, like Stripe::Invoice#pay (github issue #42)
|
1171
1319
|
|
1172
1320
|
## 1.7.3 - 2012-09-14
|
1173
|
-
* 2 bugfixes
|
1174
|
-
* Make sure that both keys and values of GET params are URL-encoded. NOTE: If you were previously URL-encoding values yourself, you may need to adjust your code.
|
1321
|
+
* 2 bugfixes
|
1322
|
+
* Make sure that both keys and values of GET params are URL-encoded. NOTE: If you were previously URL-encoding values yourself, you may need to adjust your code.
|
1175
1323
|
* URL-encode POST params directly, instead of allowing rest-client to do it to work around an unfortunate interaction with the hashery gem (github issue #38)
|
1176
1324
|
|
1177
1325
|
## 1.7.2 - 2012-08-31
|
1178
|
-
* 1 major enhancement
|
1326
|
+
* 1 major enhancement
|
1179
1327
|
* Add support for new pay and update methods for Invoice objects
|
1180
1328
|
|
1181
1329
|
## 1.7.1 - 2012-08-15
|
1182
|
-
* 1 major enhancement
|
1330
|
+
* 1 major enhancement
|
1183
1331
|
* Add new Account API resource
|
1184
1332
|
|
1185
1333
|
## 1.7.0 - 2012-05-17
|
1186
|
-
* 3 major enhancements:
|
1187
|
-
* Switch from vendored stripe-json to multi_json for all JSON parsing and rendering. This should not impact programmatic usage of the library, but may cause small rendering differences from, e.g., StripeObject#inspect (github issue #22)
|
1188
|
-
* Add new delete_discount method to Customer objects
|
1189
|
-
* Add new Transfer API resource
|
1190
|
-
|
1191
|
-
* 2 minor enhancements:
|
1192
|
-
* Switch from HTTP Basic auth to Bearer auth (Note: Stripe will support Basic auth for the indefinite future, but recommends Bearer auth when possible going forward)
|
1334
|
+
* 3 major enhancements:
|
1335
|
+
* Switch from vendored stripe-json to multi_json for all JSON parsing and rendering. This should not impact programmatic usage of the library, but may cause small rendering differences from, e.g., StripeObject#inspect (github issue #22)
|
1336
|
+
* Add new delete_discount method to Customer objects
|
1337
|
+
* Add new Transfer API resource
|
1338
|
+
|
1339
|
+
* 2 minor enhancements:
|
1340
|
+
* Switch from HTTP Basic auth to Bearer auth (Note: Stripe will support Basic auth for the indefinite future, but recommends Bearer auth when possible going forward)
|
1193
1341
|
* Numerous test suite improvements
|
1194
1342
|
|
1195
1343
|
## 1.6.3 - 2012-03-22
|
1196
|
-
* 1 bugfix:
|
1344
|
+
* 1 bugfix:
|
1197
1345
|
* Encode GET query strings ourselves instead of using rest-client to work around a bug
|
1198
1346
|
|
1199
1347
|
## 1.6.2 - 2012-02-24
|
1200
|
-
* 1 bugfix:
|
1348
|
+
* 1 bugfix:
|
1201
1349
|
* Correct argument handling in StripeObject#as_json
|
1202
1350
|
|
1203
1351
|
## 1.6.1 - 2012-02-22
|
1204
|
-
* 1 bugfix:
|
1352
|
+
* 1 bugfix:
|
1205
1353
|
* Fix StripeObject#inspect when ActiveSupport 3.0 is loaded
|
1206
1354
|
|
1207
1355
|
## 1.6.0 - 2012-02-01
|
1208
|
-
* A whole bunch of releases between 1.5.0 and 1.6.0, but few changes, mainly the addition of plans, coupons, events, and tokens
|
1356
|
+
* A whole bunch of releases between 1.5.0 and 1.6.0, but few changes, mainly the addition of plans, coupons, events, and tokens
|
1209
1357
|
* 1.6.0 also contains a new inspect/to_string implementation
|
1210
1358
|
|
1211
1359
|
## 1.5.0 - 2011-05-09
|
1212
|
-
* 1 major enhancement:
|
1360
|
+
* 1 major enhancement:
|
1213
1361
|
* Update for new RESTful API
|
1214
1362
|
|
1215
1363
|
## 1.3.4 - 2011-01-07
|
1216
|
-
* 1 major enhancement:
|
1364
|
+
* 1 major enhancement:
|
1217
1365
|
* Rename to Stripe
|
1218
1366
|
|
1219
1367
|
## 1.2 - 2010-06-06
|
1220
|
-
* 1 major enhancement:
|
1368
|
+
* 1 major enhancement:
|
1221
1369
|
* Support for the set_customer_subscription and delete_customer API methods
|
1222
1370
|
|
1223
1371
|
## 1.1 - 2010-03-14
|
1224
|
-
* 1 major enhancement:
|
1372
|
+
* 1 major enhancement:
|
1225
1373
|
* Support for recurring billing
|
1226
1374
|
|
1227
1375
|
## 1.0 - 2010-01-05
|
1228
|
-
* 1 major enhancement:
|
1229
|
-
* Initial release
|
1230
|
-
|
1231
|
-
<!--
|
1232
|
-
# vim: set tw=0:
|
1376
|
+
* 1 major enhancement:
|
1377
|
+
* Initial release
|
1378
|
+
|
1379
|
+
<!--
|
1380
|
+
# vim: set tw=0:
|
1233
1381
|
-->
|
1382
|
+
|