stripe 13.2.0 → 13.3.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 +1391 -645
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/object_types.rb +22 -0
- data/lib/stripe/request_signing_authenticator.rb +79 -0
- data/lib/stripe/resources/account_notice.rb +32 -0
- data/lib/stripe/resources/capital/financing_offer.rb +49 -0
- data/lib/stripe/resources/capital/financing_summary.rb +15 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +27 -0
- data/lib/stripe/resources/financial_connections/account.rb +3 -0
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +14 -0
- data/lib/stripe/resources/financial_connections/institution.rb +26 -0
- data/lib/stripe/resources/gift_cards/card.rb +59 -0
- data/lib/stripe/resources/gift_cards/transaction.rb +93 -0
- data/lib/stripe/resources/invoice.rb +81 -0
- data/lib/stripe/resources/invoice_payment.rb +12 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +88 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +26 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +26 -0
- data/lib/stripe/resources/margin.rb +37 -0
- data/lib/stripe/resources/order.rb +120 -0
- data/lib/stripe/resources/payment_attempt_record.rb +27 -0
- data/lib/stripe/resources/payment_intent.rb +70 -0
- data/lib/stripe/resources/payment_record.rb +115 -0
- data/lib/stripe/resources/quote.rb +104 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +43 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +11 -0
- data/lib/stripe/resources/subscription_schedule.rb +20 -0
- data/lib/stripe/resources/tax/association.rb +24 -0
- data/lib/stripe/resources/tax/form.rb +49 -0
- data/lib/stripe/resources/terminal/reader.rb +60 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +14 -0
- data/lib/stripe/resources.rb +21 -0
- data/lib/stripe/services/account_notice_service.rb +39 -0
- data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
- data/lib/stripe/services/financial_connections/account_service.rb +3 -1
- data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
- data/lib/stripe/services/financial_connections_service.rb +2 -1
- data/lib/stripe/services/gift_cards/card_service.rb +63 -0
- data/lib/stripe/services/gift_cards/transaction_service.rb +74 -0
- data/lib/stripe/services/gift_cards_service.rb +14 -0
- data/lib/stripe/services/invoice_payment_service.rb +28 -0
- data/lib/stripe/services/invoice_service.rb +44 -1
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +74 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
- data/lib/stripe/services/issuing_service.rb +5 -1
- data/lib/stripe/services/margin_service.rb +50 -0
- data/lib/stripe/services/order_line_item_service.rb +17 -0
- data/lib/stripe/services/order_service.rb +78 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +28 -0
- data/lib/stripe/services/payment_intent_service.rb +37 -0
- data/lib/stripe/services/payment_record_service.rb +78 -0
- data/lib/stripe/services/quote_line_service.rb +17 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
- data/lib/stripe/services/quote_service.rb +49 -1
- data/lib/stripe/services/subscription_schedule_service.rb +11 -0
- data/lib/stripe/services/tax/association_service.rb +19 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal/reader_service.rb +33 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/v1_services.rb +8 -1
- data/lib/stripe/services.rb +25 -0
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/util.rb +7 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +45 -0
- metadata +51 -4
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,25 @@
|
|
1
1
|
# Changelog
|
2
|
+
|
3
|
+
## 13.3.0-beta.1 - 2024-11-21
|
4
|
+
* [#1489](https://github.com/stripe/stripe-ruby/pull/1489) Merging code from master to get the latest bug fixes.
|
5
|
+
|
2
6
|
## 13.2.0 - 2024-11-20
|
3
7
|
* [#1486](https://github.com/stripe/stripe-ruby/pull/1486) This release changes the pinned API version to `2024-11-20.acacia`.
|
4
8
|
* Add support for `respond` test helper method on resource `Issuing.Authorization`
|
5
9
|
|
10
|
+
## 13.2.0-beta.3 - 2024-11-14
|
11
|
+
* [#1484](https://github.com/stripe/stripe-ruby/pull/1484) Update generated code for beta
|
12
|
+
|
13
|
+
## 13.2.0-beta.2 - 2024-11-07
|
14
|
+
* [#1480](https://github.com/stripe/stripe-ruby/pull/1480) Update generated code for beta
|
15
|
+
* Add support for new resources `Issuing.FraudLiabilityDebit`, `PaymentAttemptRecord`, and `PaymentRecord`
|
16
|
+
* Add support for `list` and `retrieve` methods on resources `FraudLiabilityDebit` and `PaymentAttemptRecord`
|
17
|
+
* Add support for `report_payment_attempt_canceled`, `report_payment_attempt_failed`, `report_payment_attempt_guaranteed`, `report_payment_attempt`, `report_payment`, and `retrieve` methods on resource `PaymentRecord`
|
18
|
+
|
19
|
+
## 13.2.0-beta.1 - 2024-10-29
|
20
|
+
* [#1477](https://github.com/stripe/stripe-ruby/pull/1477) Update generated code for beta
|
21
|
+
* Add support for `trigger_action` method on resource `PaymentIntent`
|
22
|
+
|
6
23
|
## 13.1.2 - 2024-11-15
|
7
24
|
* [#1488](https://github.com/stripe/stripe-ruby/pull/1488) Fix incorrect key in param encoding
|
8
25
|
|
@@ -17,6 +34,28 @@
|
|
17
34
|
* [#1476](https://github.com/stripe/stripe-ruby/pull/1476) Fix APIResource#retrieve bug not returning instance of custom resources
|
18
35
|
* Fix bug in APIResource#refresh and APIResource#retrieve where they returned an instance of `StripeObject` for custom resources. They should now return the instance of the custom resource.
|
19
36
|
|
37
|
+
## 13.1.0-beta.3 - 2024-10-18
|
38
|
+
* [#1469](https://github.com/stripe/stripe-ruby/pull/1469) Update generated code for beta
|
39
|
+
|
40
|
+
## 13.1.0-beta.2 - 2024-10-08
|
41
|
+
* [#1468](https://github.com/stripe/stripe-ruby/pull/1468) Update generated code for beta
|
42
|
+
* Add support for `submit_card` test helper method on resource `Issuing.Card`
|
43
|
+
|
44
|
+
## 13.1.0-beta.1 - 2024-10-03
|
45
|
+
* [#1465](https://github.com/stripe/stripe-ruby/pull/1465) Updates to the `Preview` class
|
46
|
+
* Remove `Stripe::Preview`. Use `StripeClient#raw_request` instead (see below).
|
47
|
+
* Marked `Stripe.raw_request` and `Stripe.deserialize` as deprecated. Use `StripeClient#raw_request` and `StripeClient#deserialize` instead. In StripeClient, the params and opts parameters are passed as keyword arguments:
|
48
|
+
```ruby
|
49
|
+
# Before
|
50
|
+
resp = Stripe.raw_request(:post, "v1/charges", , {p1: "p1"}, {stripe_account: "acct_123"})
|
51
|
+
charge = Stripe.deserialize(resp.data)
|
52
|
+
|
53
|
+
# After
|
54
|
+
client = StripeClient.new("sk_test_123")
|
55
|
+
resp = client.raw_request(:post, "/v1/charges", params: {p1: "p1"}, opts: {stripe_account: "acct_123"})
|
56
|
+
charge = client.deserialize(resp.data)
|
57
|
+
```
|
58
|
+
|
20
59
|
## 13.0.2 - 2024-10-23
|
21
60
|
* [#1473](https://github.com/stripe/stripe-ruby/pull/1473) Always return the result of APIResource#refresh in APIResource.retrieve
|
22
61
|
|
@@ -94,8 +133,18 @@
|
|
94
133
|
|
95
134
|
### Additions
|
96
135
|
* Add support for new Usage Billing APIs `Billing.MeterEvent`, `Billing.MeterEventAdjustments`, `Billing.MeterEventSession`, `Billing.MeterEventStream` and the new Events API `Core.Events` in the [v2 namespace ](https://docs.corp.stripe.com/api-v2-overview)
|
97
|
-
* Add method `parse_thin_event()` on the `StripeClient` class to parse [thin events](https://docs.corp.stripe.com/event-destinations#events-overview).
|
136
|
+
* Add method `parse_thin_event()` on the `StripeClient` class to parse [thin events](https://docs.corp.stripe.com/event-destinations#events-overview).
|
137
|
+
|
138
|
+
## 12.7.0-beta.2 - 2024-09-18
|
139
|
+
* [#1449](https://github.com/stripe/stripe-ruby/pull/1449) Update generated code for beta
|
140
|
+
* Remove support for resource `QuotePhase`
|
141
|
+
* Remove support for `list_line_items` and `retrieve` methods on resource `QuotePhase`
|
98
142
|
|
143
|
+
## 12.7.0-beta.1 - 2024-09-13
|
144
|
+
* [#1446](https://github.com/stripe/stripe-ruby/pull/1446) Update generated code for beta
|
145
|
+
* Add support for new resources `Issuing.DisputeSettlementDetail` and `Issuing.Settlement`
|
146
|
+
* Add support for `list` and `retrieve` methods on resource `DisputeSettlementDetail`
|
147
|
+
* Remove support for `list` method on resource `QuotePhase`
|
99
148
|
|
100
149
|
## 12.6.0 - 2024-09-12
|
101
150
|
* [#1442](https://github.com/stripe/stripe-ruby/pull/1442) Update generated code
|
@@ -103,12 +152,28 @@
|
|
103
152
|
* Add support for `archive`, `list`, `retrieve`, and `unarchive` methods on resource `InvoiceRenderingTemplate`
|
104
153
|
* [#1443](https://github.com/stripe/stripe-ruby/pull/1443) Removed v1/files override
|
105
154
|
|
155
|
+
## 12.6.0-beta.1 - 2024-09-05
|
156
|
+
* [#1441](https://github.com/stripe/stripe-ruby/pull/1441) Update generated code for beta
|
157
|
+
* Add support for new resources `Billing.MeterErrorReport` and `Terminal.ReaderCollectedData`
|
158
|
+
* Add support for `retrieve` method on resource `ReaderCollectedData`
|
159
|
+
|
106
160
|
## 12.5.0 - 2024-08-08
|
107
161
|
* [#1440](https://github.com/stripe/stripe-ruby/pull/1440) Update generated code
|
108
162
|
* Add support for new resources `Billing.AlertTriggered` and `Billing.Alert`
|
109
163
|
* Add support for `activate`, `archive`, `create`, `deactivate`, `list`, and `retrieve` methods on resource `Alert`
|
110
164
|
* Add support for `retrieve` method on resource `Tax.Calculation`
|
111
165
|
|
166
|
+
## 12.5.0-beta.2 - 2024-08-01
|
167
|
+
* [#1439](https://github.com/stripe/stripe-ruby/pull/1439) Update generated code for beta
|
168
|
+
* Add support for `attach_payment` method on resource `Invoice`
|
169
|
+
|
170
|
+
## 12.5.0-beta.1 - 2024-07-25
|
171
|
+
* [#1429](https://github.com/stripe/stripe-ruby/pull/1429) Update generated code for beta
|
172
|
+
* Add support for new resources `Billing.AlertTriggered`, `Billing.Alert`, and `Tax.Association`
|
173
|
+
* Add support for `activate`, `archive`, `create`, `deactivate`, `list`, and `retrieve` methods on resource `Alert`
|
174
|
+
* Add support for `find` method on resource `Association`
|
175
|
+
* [#1434](https://github.com/stripe/stripe-ruby/pull/1434) Merge changes from stripe/stripe-ruby master
|
176
|
+
|
112
177
|
## 12.4.0 - 2024-07-25
|
113
178
|
* [#1437](https://github.com/stripe/stripe-ruby/pull/1437) Update generated code
|
114
179
|
* Add support for `update` method on resource `Checkout.Session`
|
@@ -125,6 +190,12 @@
|
|
125
190
|
|
126
191
|
- Adds the ability to make raw requests to the Stripe API, by providing an HTTP method and url. This is an alternative to using `Stripe::APIResource.request(...)` to make custom requests, which is discouraged and will be broken in a future major version.
|
127
192
|
|
193
|
+
## 12.2.0-beta.1 - 2024-07-05
|
194
|
+
* [#1428](https://github.com/stripe/stripe-ruby/pull/1428) Update generated code for beta
|
195
|
+
* Add support for new resource `FinancialConnections.Institution`
|
196
|
+
* Add support for `list` and `retrieve` methods on resource `Institution`
|
197
|
+
* [#1409](https://github.com/stripe/stripe-ruby/pull/1409) Update generated code for beta
|
198
|
+
|
128
199
|
## 12.1.0 - 2024-07-05
|
129
200
|
* [#1425](https://github.com/stripe/stripe-ruby/pull/1425) Update generated code
|
130
201
|
* Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice`
|
@@ -154,6 +225,10 @@
|
|
154
225
|
* [#1415](https://github.com/stripe/stripe-ruby/pull/1415) Deprecate StripeClient#request
|
155
226
|
* Add deprecation warning for `StripeClient#request`. This helper method will be removed in a future major version. To access response objects, use the `last_response` property on the returned resource instead. Refer to [Accessing a response object](https://github.com/stripe/stripe-ruby?tab=readme-ov-file#accessing-a-response-object) in the README for usage details.
|
156
227
|
|
228
|
+
## 11.7.0-beta.1 - 2024-05-30
|
229
|
+
* [#1400](https://github.com/stripe/stripe-ruby/pull/1400) Update generated code for beta
|
230
|
+
* Keeping up with the changes from version 11.6.0
|
231
|
+
|
157
232
|
## 11.6.0 - 2024-05-30
|
158
233
|
* [#1404](https://github.com/stripe/stripe-ruby/pull/1404) Add method to list invoice line items
|
159
234
|
* Add methods `list_lines()` on the class `Invoice` to list the invoice line items
|
@@ -161,6 +236,10 @@
|
|
161
236
|
## 11.5.0 - 2024-05-23
|
162
237
|
* This release has no changes.
|
163
238
|
|
239
|
+
## 11.5.0-beta.1 - 2024-05-09
|
240
|
+
* [#1395](https://github.com/stripe/stripe-ruby/pull/1395) Update generated code for beta
|
241
|
+
* No new beta features. Merging changes from the main branch.
|
242
|
+
|
164
243
|
## 11.4.0 - 2024-05-09
|
165
244
|
* [#1397](https://github.com/stripe/stripe-ruby/pull/1397) Update generated code
|
166
245
|
* Add support for `update` test helper method on resources `Treasury.OutboundPayment` and `Treasury.OutboundTransfer`
|
@@ -169,6 +248,9 @@
|
|
169
248
|
* [#1389](https://github.com/stripe/stripe-ruby/pull/1389) Removed jaro_winkler as a dependency
|
170
249
|
* [#1396](https://github.com/stripe/stripe-ruby/pull/1396) Start tracking `StripeClient#request` usage
|
171
250
|
|
251
|
+
## 11.4.0-beta.1 - 2024-05-02
|
252
|
+
* [#1386](https://github.com/stripe/stripe-ruby/pull/1386) Update generated code for beta
|
253
|
+
|
172
254
|
## 11.3.0 - 2024-05-02
|
173
255
|
* [#1387](https://github.com/stripe/stripe-ruby/pull/1387) Update generated code
|
174
256
|
|
@@ -176,6 +258,9 @@
|
|
176
258
|
- Mark as deprecated the `approve` and `decline` methods in `lib/stripe/resources/issuing/authorization.rb`. Instead, [respond directly to the webhook request to approve an authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling).
|
177
259
|
* [#1391](https://github.com/stripe/stripe-ruby/pull/1391) Add Ruby 3.3 to CI test matrix
|
178
260
|
|
261
|
+
## 11.3.0-beta.1 - 2024-04-18
|
262
|
+
* [#1383](https://github.com/stripe/stripe-ruby/pull/1383) Update generated code for beta
|
263
|
+
|
179
264
|
## 11.2.0 - 2024-04-18
|
180
265
|
* [#1385](https://github.com/stripe/stripe-ruby/pull/1385) Update generated code
|
181
266
|
* Add support for `create_preview` method on resource `Invoice`
|
@@ -184,6 +269,10 @@
|
|
184
269
|
* [#1379](https://github.com/stripe/stripe-ruby/pull/1379) Update generated code
|
185
270
|
* Add support for new resource `Entitlements.ActiveEntitlementSummary`
|
186
271
|
|
272
|
+
## 11.1.0-beta.1 - 2024-04-11
|
273
|
+
* [#1376](https://github.com/stripe/stripe-ruby/pull/1376) Update generated code for beta
|
274
|
+
* Add support for `retrieve` method on resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
|
275
|
+
|
187
276
|
## 11.0.0 - 2024-04-10
|
188
277
|
* [#1374](https://github.com/stripe/stripe-ruby/pull/1374)
|
189
278
|
|
@@ -194,144 +283,318 @@
|
|
194
283
|
* When no `x-stripe-should-retry` header is set in the response, the library now retries all requests with `status >= 500`, not just non-POST methods.
|
195
284
|
|
196
285
|
## 10.15.0 - 2024-04-09
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
286
|
+
|
287
|
+
- [#1377](https://github.com/stripe/stripe-ruby/pull/1377) Add last_response to StripeObject
|
288
|
+
- Users can now retrieve raw response from the returned resource, using the `last_response` property. See [README](https://github.com/stripe/stripe-ruby/blob/master/README.md) for an example.
|
289
|
+
- [#1372](https://github.com/stripe/stripe-ruby/pull/1372) Update generated code
|
290
|
+
- Add support for new resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
|
291
|
+
- Add support for `list` and `retrieve` methods on resource `ActiveEntitlement`
|
292
|
+
- Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Feature`
|
293
|
+
- [#1366](https://github.com/stripe/stripe-ruby/pull/1366) Move executables to `exe` folder
|
294
|
+
|
295
|
+
## 10.15.0-beta.1 - 2024-04-04
|
296
|
+
|
297
|
+
- [#1373](https://github.com/stripe/stripe-ruby/pull/1373) Update generated code for beta
|
298
|
+
- Add support for `update` method on resource `Entitlements.Feature`
|
299
|
+
- [#1370](https://github.com/stripe/stripe-ruby/pull/1370) Update generated code for beta
|
204
300
|
|
205
301
|
## 10.14.0 - 2024-03-28
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
302
|
+
|
303
|
+
- [#1369](https://github.com/stripe/stripe-ruby/pull/1369) Update generated code
|
304
|
+
- Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
|
305
|
+
- Add support for `create`, `deactivate`, `list`, `reactivate`, `retrieve`, and `update` methods on resource `Meter`
|
306
|
+
- Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent`
|
307
|
+
|
308
|
+
## 10.14.0-beta.1 - 2024-03-21
|
309
|
+
|
310
|
+
- [#1363](https://github.com/stripe/stripe-ruby/pull/1363) Update generated code for beta
|
311
|
+
- Add support for new resources `Entitlements.ActiveEntitlementSummary` and `Entitlements.ActiveEntitlement`
|
312
|
+
- Add support for `list` method on resource `ActiveEntitlement`
|
210
313
|
|
211
314
|
## 10.13.0 - 2024-03-21
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
315
|
+
|
316
|
+
- [#1367](https://github.com/stripe/stripe-ruby/pull/1367) Update generated code
|
317
|
+
- Add support for new resources `ConfirmationToken` and `Forwarding.Request`
|
318
|
+
- Add support for `retrieve` method on resource `ConfirmationToken`
|
319
|
+
- Add support for `create`, `list`, and `retrieve` methods on resource `Request`
|
320
|
+
- [#1362](https://github.com/stripe/stripe-ruby/pull/1362) Exclude sorbet directory and tapioca script when packing gem
|
321
|
+
|
322
|
+
## 10.13.0-beta.1 - 2024-03-14
|
323
|
+
|
324
|
+
- [#1360](https://github.com/stripe/stripe-ruby/pull/1360) Update generated code for beta
|
325
|
+
- Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
|
326
|
+
- Add support for `create`, `deactivate`, `list`, `reactivate`, `retrieve`, and `update` methods on resource `Meter`
|
327
|
+
- Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent`
|
328
|
+
- Add support for `create` test helper method on resource `ConfirmationToken`
|
329
|
+
- Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice`
|
217
330
|
|
218
331
|
## 10.12.0 - 2024-03-14
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
332
|
+
|
333
|
+
- [#1359](https://github.com/stripe/stripe-ruby/pull/1359) Update generated code
|
334
|
+
- Add support for new resources `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
|
335
|
+
- Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PersonalizationDesign`
|
336
|
+
- Add support for `list` and `retrieve` methods on resource `PhysicalBundle`
|
337
|
+
- [#1354](https://github.com/stripe/stripe-ruby/pull/1354) Refactor after SDK based generation pattern
|
338
|
+
- [#1347](https://github.com/stripe/stripe-ruby/pull/1347) Reorder methods with lexographical sort
|
339
|
+
- [#1355](https://github.com/stripe/stripe-ruby/pull/1355) Disable Metrics/ClassLength
|
340
|
+
- [#1351](https://github.com/stripe/stripe-ruby/pull/1351) Update CHANGELOG.md
|
341
|
+
|
342
|
+
## 10.12.0-beta.1 - 2024-02-29
|
343
|
+
|
344
|
+
- [#1352](https://github.com/stripe/stripe-ruby/pull/1352) Update generated code for beta
|
345
|
+
Release specs are identical.
|
346
|
+
- [#1350](https://github.com/stripe/stripe-ruby/pull/1350) Update generated code for beta
|
347
|
+
|
348
|
+
- [#1341](https://github.com/stripe/stripe-ruby/pull/1341) Update generated code for beta
|
349
|
+
- Remove support for resource `Entitlements.Event`
|
350
|
+
- [#1343](https://github.com/stripe/stripe-ruby/pull/1343) Add a helper to add a beta version
|
227
351
|
|
228
352
|
## 10.11.0 - 2024-02-29
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
353
|
+
|
354
|
+
- [#1348](https://github.com/stripe/stripe-ruby/pull/1348) Use sorbet gem instead of sorbet-static
|
355
|
+
- [#1342](https://github.com/stripe/stripe-ruby/pull/1342) Update generated code
|
356
|
+
- Add `list_refunds` and `retrieve_refund` methods on resource `Charge`.
|
357
|
+
- [#1345](https://github.com/stripe/stripe-ruby/pull/1345) Update README to use add_beta_version
|
358
|
+
|
359
|
+
## 10.11.0-beta.1 - 2024-02-22
|
360
|
+
|
361
|
+
- [#1335](https://github.com/stripe/stripe-ruby/pull/1335) Update generated code for beta
|
233
362
|
|
234
363
|
## 10.10.0 - 2024-02-22
|
235
|
-
|
364
|
+
|
365
|
+
- [#1336](https://github.com/stripe/stripe-ruby/pull/1336) Update generated code
|
236
366
|
- Add `InvoiceLineItem.update` method.
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
367
|
+
- [#1334](https://github.com/stripe/stripe-ruby/pull/1334) Add TaxIds API
|
368
|
+
- Add support for `all`, `create`, and `retrieve` methods on resource `TaxId`
|
369
|
+
- The `delete` method now sends a DELETE request to `/v1/tax_ids/{id}` instead of `/v1/customers/{customer}/tax_ids/{id}`. The endpoints are functionally the same when operating on a Customer Tax ID.
|
370
|
+
- The `resource_url` method on `TaxId` now returns the top-level `/v1/tax_ids/{id}` path instead of the `/v1/customers/{customer}/tax_ids/{id}` path.
|
371
|
+
|
372
|
+
## 10.10.0-beta.1 - 2024-02-16
|
373
|
+
|
374
|
+
- [#1332](https://github.com/stripe/stripe-ruby/pull/1332) Update generated code for beta
|
375
|
+
- Add support for `decrement_authorization` method on resource `PaymentIntent`
|
376
|
+
- [#1328](https://github.com/stripe/stripe-ruby/pull/1328) Update generated code for beta
|
241
377
|
|
242
378
|
## 10.9.0 - 2024-02-15
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
379
|
+
|
380
|
+
- [#1329](https://github.com/stripe/stripe-ruby/pull/1329) Update generated code
|
381
|
+
- Fixed bug where `TaxId` resource `delete` method sent request to wrong URL (https://github.com/stripe/stripe-ruby/issues/1333)
|
382
|
+
- [#1324](https://github.com/stripe/stripe-ruby/pull/1324) Start running Sorbet in CI
|
383
|
+
- [#1327](https://github.com/stripe/stripe-ruby/pull/1327) Add methods for dynamically referenced constants
|
384
|
+
|
385
|
+
## 10.9.0-beta.1 - 2024-02-08
|
386
|
+
|
387
|
+
- [#1321](https://github.com/stripe/stripe-ruby/pull/1321) Update generated code for beta
|
388
|
+
- Release specs are identical.
|
247
389
|
|
248
390
|
## 10.8.0 - 2024-02-08
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
391
|
+
|
392
|
+
- [#1322](https://github.com/stripe/stripe-ruby/pull/1322) Update generated code
|
393
|
+
- [#1323](https://github.com/stripe/stripe-ruby/pull/1323) Extract other CRUDL api operations from mixins
|
394
|
+
- Extract more CRUDL operations, namely `create`, `delete`, `update`, and `list` into the resources. These methods will no longer rely on the APIOperation mixins.
|
395
|
+
- [#1314](https://github.com/stripe/stripe-ruby/pull/1314) Update mocha gem to 1.16
|
396
|
+
|
397
|
+
## 10.8.0-beta.1 - 2024-02-01
|
398
|
+
|
399
|
+
- [#1318](https://github.com/stripe/stripe-ruby/pull/1318) Update generated code for beta
|
400
|
+
- Add support for new resources `Entitlements.Event` and `Entitlements.Feature`
|
401
|
+
- Add support for `create` method on resource `Event`
|
402
|
+
- Add support for `create` and `list` methods on resource `Feature`
|
253
403
|
|
254
404
|
## 10.7.1 - 2024-02-05
|
255
|
-
|
405
|
+
|
406
|
+
- [#1320](https://github.com/stripe/stripe-ruby/pull/1320) Remove spurious \_search deprecation messages (https://github.com/stripe/stripe-ruby/issues/1319)
|
256
407
|
|
257
408
|
## 10.7.0 - 2024-02-01
|
258
|
-
|
259
|
-
|
260
|
-
|
409
|
+
|
410
|
+
- [#1317](https://github.com/stripe/stripe-ruby/pull/1317) Remove list method in child resources
|
411
|
+
- Removes list method mixin from child resources, as these methods always return `InvalidRequestError` and never succeed
|
412
|
+
- [#1311](https://github.com/stripe/stripe-ruby/pull/1311) Use the deprecation gem in search and clean up usage of the gem
|
413
|
+
|
414
|
+
## 10.7.0-beta.3 - 2024-01-25
|
415
|
+
|
416
|
+
- [#1313](https://github.com/stripe/stripe-ruby/pull/1313) Update generated code for beta
|
417
|
+
- Add support for `create_preview` method on resource `Invoice`
|
418
|
+
- [#1307](https://github.com/stripe/stripe-ruby/pull/1307) Beta: report raw request usage
|
419
|
+
|
420
|
+
## 10.7.0-beta.2 - 2024-01-19
|
421
|
+
|
422
|
+
- [#1307](https://github.com/stripe/stripe-ruby/pull/1307) Beta: report raw request usage
|
423
|
+
|
424
|
+
## 10.7.0-beta.1 - 2024-01-12
|
425
|
+
|
426
|
+
- [#1309](https://github.com/stripe/stripe-ruby/pull/1309) Update generated code for beta
|
427
|
+
- [#1305](https://github.com/stripe/stripe-ruby/pull/1305) Update generated code for beta
|
261
428
|
|
262
429
|
## 10.6.0 - 2024-01-12
|
263
|
-
|
264
|
-
|
265
|
-
|
430
|
+
|
431
|
+
- [#1310](https://github.com/stripe/stripe-ruby/pull/1310) Update generated code
|
432
|
+
- Add support for new resource `CustomerSession`
|
433
|
+
- Add support for `create` method on resource `CustomerSession`
|
434
|
+
|
435
|
+
## 10.6.0-beta.1 - 2024-01-04
|
436
|
+
|
437
|
+
- [#1302](https://github.com/stripe/stripe-ruby/pull/1302) Update generated code for beta
|
438
|
+
- Updated stable APIs to the latest version
|
266
439
|
|
267
440
|
## 10.5.0 - 2024-01-04
|
268
|
-
|
269
|
-
|
441
|
+
|
442
|
+
- [#1306](https://github.com/stripe/stripe-ruby/pull/1306) Update generated code
|
443
|
+
- Add support for `retrieve` method on resource `Tax.Registration`
|
444
|
+
|
445
|
+
## 10.5.0-beta.1 - 2023-12-22
|
446
|
+
|
447
|
+
- [#1302](https://github.com/stripe/stripe-ruby/pull/1302) Update generated code for beta
|
270
448
|
|
271
449
|
## 10.4.0 - 2023-12-22
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
450
|
+
|
451
|
+
- [#1303](https://github.com/stripe/stripe-ruby/pull/1303) Update generated code
|
452
|
+
- Add support for new resource `FinancialConnections.Transaction`
|
453
|
+
- Add support for `list` and `retrieve` methods on resource `Transaction`
|
454
|
+
- Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
|
455
|
+
- [#1304](https://github.com/stripe/stripe-ruby/pull/1304) Add support for updatable singleton resources
|
456
|
+
|
457
|
+
## 10.4.0-beta.1 - 2023-12-14
|
458
|
+
|
459
|
+
Updated stable APIs to the latest version
|
277
460
|
|
278
461
|
## 10.3.0 - 2023-12-14
|
279
|
-
|
462
|
+
|
463
|
+
- [#1294](https://github.com/stripe/stripe-ruby/pull/1294) Support sending parameters inside singleton retrieve
|
464
|
+
|
465
|
+
## 10.3.0-beta.1 - 2023-11-30
|
466
|
+
|
467
|
+
- [#1298](https://github.com/stripe/stripe-ruby/pull/1298) Update generated code for beta
|
468
|
+
- [#1296](https://github.com/stripe/stripe-ruby/pull/1296) Merge master into beta
|
280
469
|
|
281
470
|
## 10.2.0 - 2023-11-30
|
282
|
-
* [#1292](https://github.com/stripe/stripe-ruby/pull/1292) Update generated code
|
283
|
-
* Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
|
284
|
-
* Add support for `cancel`, `create`, `list`, `retrieve`, and `update` methods on resource `Order`
|
285
|
-
* Add support for `list` and `retrieve` methods on resources `Product` and `Supplier`
|
286
|
-
* [#1295](https://github.com/stripe/stripe-ruby/pull/1295) Upgrade rubocop
|
287
|
-
* [#1291](https://github.com/stripe/stripe-ruby/pull/1291) Update generated code
|
288
471
|
|
289
|
-
|
472
|
+
- [#1292](https://github.com/stripe/stripe-ruby/pull/1292) Update generated code
|
473
|
+
- Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
|
474
|
+
- Add support for `cancel`, `create`, `list`, `retrieve`, and `update` methods on resource `Order`
|
475
|
+
- Add support for `list` and `retrieve` methods on resources `Product` and `Supplier`
|
476
|
+
- [#1295](https://github.com/stripe/stripe-ruby/pull/1295) Upgrade rubocop
|
477
|
+
- [#1291](https://github.com/stripe/stripe-ruby/pull/1291) Update generated code
|
478
|
+
|
479
|
+
- [#1290](https://github.com/stripe/stripe-ruby/pull/1290) Update generated code
|
290
480
|
|
291
|
-
|
481
|
+
- [#1288](https://github.com/stripe/stripe-ruby/pull/1288) Update generated code
|
292
482
|
|
483
|
+
## 10.2.0-beta.1 - 2023-11-02
|
484
|
+
|
485
|
+
- [#1287](https://github.com/stripe/stripe-ruby/pull/1287) Update generated code for beta
|
486
|
+
- Add support for `attach_payment_intent` method on resource `Invoice`
|
487
|
+
- [#1285](https://github.com/stripe/stripe-ruby/pull/1285) Update generated code for beta
|
293
488
|
|
294
489
|
## 10.1.0 - 2023-11-02
|
295
|
-
|
296
|
-
|
297
|
-
|
490
|
+
|
491
|
+
- [#1286](https://github.com/stripe/stripe-ruby/pull/1286) Update generated code
|
492
|
+
- Add support for new resource `Tax.Registration`
|
493
|
+
- Add support for `create`, `list`, and `update` methods on resource `Registration`
|
494
|
+
|
495
|
+
## 10.1.0-beta.2 - 2023-10-26
|
496
|
+
|
497
|
+
- [#1285](https://github.com/stripe/stripe-ruby/pull/1285) Update generated code for beta
|
498
|
+
- Add support for new resource `Margin`
|
499
|
+
- Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Margin`
|
500
|
+
|
501
|
+
## 10.1.0-beta.1 - 2023-10-17
|
502
|
+
|
503
|
+
- [#1284](https://github.com/stripe/stripe-ruby/pull/1284) Update generated code for beta
|
504
|
+
- Update pinned API version to `2023-10-16`
|
505
|
+
- [#1282](https://github.com/stripe/stripe-ruby/pull/1282) Update generated code for beta
|
298
506
|
|
299
507
|
## 10.0.0 - 2023-10-16
|
300
|
-
|
301
|
-
|
508
|
+
|
509
|
+
- This release changes the pinned API version to `2023-10-16`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2023-10-16) and carefully review the API changes before upgrading `stripe-ruby`.
|
510
|
+
- [#1283](https://github.com/stripe/stripe-ruby/pull/1283) Update generated code
|
302
511
|
- Updated pinned API version
|
303
|
-
|
304
|
-
|
512
|
+
- [#1281](https://github.com/stripe/stripe-ruby/pull/1281) Update generated code
|
513
|
+
- Documentation only changes
|
514
|
+
|
515
|
+
## 9.5.0-beta.2 - 2023-10-12
|
516
|
+
|
517
|
+
- [#1280](https://github.com/stripe/stripe-ruby/pull/1280) Update generated code for beta
|
518
|
+
- Add support for new resources `AccountNotice` and `Issuing.CreditUnderwritingRecord`
|
519
|
+
- Add support for `list`, `retrieve`, and `update` methods on resource `AccountNotice`
|
520
|
+
- Add support for `correct`, `create_from_application`, `create_from_proactive_review`, `list`, `report_decision`, and `retrieve` methods on resource `CreditUnderwritingRecord`
|
521
|
+
|
522
|
+
## 9.5.0-beta.1 - 2023-10-05
|
523
|
+
|
524
|
+
- [#1278](https://github.com/stripe/stripe-ruby/pull/1278) Update generated code for beta
|
525
|
+
- Add support for `mark_draft` and `mark_stale` methods on resource `Quote`
|
526
|
+
- Remove support for `draft_quote` and `mark_stale_quote` methods on resource `Quote`
|
527
|
+
- Rename `preview_invoice_lines` to `list_preview_invoice_lines` on resource `Quote`
|
305
528
|
|
306
529
|
## 9.4.0 - 2023-10-05
|
307
|
-
|
308
|
-
|
309
|
-
|
530
|
+
|
531
|
+
- [#1277](https://github.com/stripe/stripe-ruby/pull/1277) Update generated code
|
532
|
+
- Add support for new resources `Issuing.Token`
|
533
|
+
- Add support for `list`, `retrieve`, and `update` methods on resource `Token`
|
534
|
+
|
535
|
+
## 9.4.0-beta.3 - 2023-09-28
|
536
|
+
|
537
|
+
- [#1276](https://github.com/stripe/stripe-ruby/pull/1276) Update generated code for beta
|
538
|
+
- Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
|
539
|
+
|
540
|
+
## 9.4.0-beta.2 - 2023-09-21
|
541
|
+
|
542
|
+
- [#1273](https://github.com/stripe/stripe-ruby/pull/1273) Update generated code for beta
|
543
|
+
|
544
|
+
## 9.4.0-beta.1 - 2023-09-14
|
545
|
+
|
546
|
+
- Updated stable APIs to the latest version
|
310
547
|
|
311
548
|
## 9.3.0 - 2023-09-14
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
549
|
+
|
550
|
+
- [#1272](https://github.com/stripe/stripe-ruby/pull/1272) Update generated code
|
551
|
+
- Add support for new resource `PaymentMethodConfiguration`
|
552
|
+
- Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
|
553
|
+
- [#1271](https://github.com/stripe/stripe-ruby/pull/1271) Update generated code
|
554
|
+
- Add support for `capture`, `create`, `expire`, `increment`, and `reverse` test helper methods on resource `Issuing.Authorization`
|
555
|
+
- Add support for `create_force_capture`, `create_unlinked_refund`, and `refund` test helper methods on resource `Issuing.Transaction`
|
556
|
+
|
557
|
+
## 9.3.0-beta.1 - 2023-09-07
|
558
|
+
|
559
|
+
- [#1269](https://github.com/stripe/stripe-ruby/pull/1269) Update generated code for beta
|
560
|
+
- Release specs are identical.
|
561
|
+
- [#1268](https://github.com/stripe/stripe-ruby/pull/1268) Update generated code for beta
|
562
|
+
- Remove support for `submit_card` test helper method on resource `Issuing.Card`
|
563
|
+
- [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
|
564
|
+
- Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
|
565
|
+
- [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
|
566
|
+
- Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
|
567
|
+
- [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
|
568
|
+
|
569
|
+
- [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
|
570
|
+
|
571
|
+
- [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
|
572
|
+
- Add support for `submit_card` test helper method on resource `Issuing.Card`
|
573
|
+
- [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
|
318
574
|
|
319
575
|
## 9.2.0 - 2023-09-07
|
320
|
-
|
321
|
-
|
322
|
-
|
576
|
+
|
577
|
+
- [#1267](https://github.com/stripe/stripe-ruby/pull/1267) Update generated code
|
578
|
+
- Add support for new resource `PaymentMethodDomain`
|
579
|
+
- Add support for `create`, `list`, `retrieve`, `update`, and `validate` methods on resource `PaymentMethodDomain`
|
580
|
+
|
581
|
+
## 9.2.0-beta.1 - 2023-08-31
|
582
|
+
|
583
|
+
- [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
|
584
|
+
- Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
|
323
585
|
|
324
586
|
## 9.1.0 - 2023-08-31
|
325
|
-
* [#1266](https://github.com/stripe/stripe-ruby/pull/1266) Update generated code
|
326
|
-
* Add support for new resource `AccountSession`
|
327
|
-
* Add support for `create` method on resource `AccountSession`
|
328
|
-
* [#1262](https://github.com/stripe/stripe-ruby/pull/1262) Explicitly format timestamp in SignatureVerificationError message
|
329
587
|
|
588
|
+
- [#1266](https://github.com/stripe/stripe-ruby/pull/1266) Update generated code
|
589
|
+
- Add support for new resource `AccountSession`
|
590
|
+
- Add support for `create` method on resource `AccountSession`
|
591
|
+
- [#1262](https://github.com/stripe/stripe-ruby/pull/1262) Explicitly format timestamp in SignatureVerificationError message
|
330
592
|
|
331
593
|
## 9.0.0 - 2023-08-16
|
594
|
+
|
332
595
|
**⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️**
|
333
596
|
|
334
|
-
|
597
|
+
- [#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
|
335
598
|
|
336
599
|
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).
|
337
600
|
|
@@ -342,6 +605,7 @@
|
|
342
605
|
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.
|
343
606
|
|
344
607
|
You can read the [v9 migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v9) for more detailed instructions.
|
608
|
+
|
345
609
|
2. **(Alternative option) Specify a version other than `2023-08-16` when initializing `stripe-ruby`.**
|
346
610
|
|
347
611
|
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:
|
@@ -356,1207 +620,1689 @@
|
|
356
620
|
|
357
621
|
Read the [v9 migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v9) for more details.
|
358
622
|
|
359
|
-
Going forward, each major release of this library will be
|
623
|
+
Going forward, each major release of this library will be _pinned_ by default to the latest Stripe API Version at the time of release.
|
360
624
|
|
361
625
|
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.
|
362
626
|
|
627
|
+
## 9.0.0-beta.1 - 2023-08-24
|
628
|
+
|
629
|
+
- [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
|
630
|
+
- Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
|
631
|
+
- [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
|
632
|
+
|
633
|
+
## 8.8.0-beta.1 - 2023-08-10
|
634
|
+
|
635
|
+
- [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
|
636
|
+
- Updated stable APIs to the latest version
|
637
|
+
|
363
638
|
## 8.7.0 - 2023-08-10
|
364
|
-
|
639
|
+
|
640
|
+
- [#1256](https://github.com/stripe/stripe-ruby/pull/1256) Update generated code
|
365
641
|
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.
|
366
642
|
|
643
|
+
## 8.7.0-beta.3 - 2023-08-03
|
644
|
+
|
645
|
+
- [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
|
646
|
+
- Add support for `submit_card` test helper method on resource `Issuing.Card`
|
647
|
+
- [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
|
648
|
+
|
649
|
+
## 8.7.0-beta.2 - 2023-07-28
|
650
|
+
|
651
|
+
- [#1251](https://github.com/stripe/stripe-ruby/pull/1251) Update generated code for beta
|
652
|
+
- Add support for new resource `Tax.Form`
|
653
|
+
- Add support for `list`, `pdf`, and `retrieve` methods on resource `Form`
|
654
|
+
- [#1249](https://github.com/stripe/stripe-ruby/pull/1249) Update generated code for beta
|
655
|
+
- [#1246](https://github.com/stripe/stripe-ruby/pull/1246) Update generated code for beta
|
656
|
+
|
657
|
+
## 8.7.0-beta.1 - 2023-07-13
|
658
|
+
|
659
|
+
- [#1245](https://github.com/stripe/stripe-ruby/pull/1245) Update generated code for beta
|
660
|
+
Release specs are identical.
|
661
|
+
- [#1243](https://github.com/stripe/stripe-ruby/pull/1243) Update generated code for beta
|
662
|
+
- Add support for new resource `PaymentMethodConfiguration`
|
663
|
+
- Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
|
664
|
+
- [#1239](https://github.com/stripe/stripe-ruby/pull/1239) Update generated code for beta
|
665
|
+
|
367
666
|
## 8.6.0 - 2023-07-13
|
368
|
-
* [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
|
369
|
-
* Add support for new resource `Tax.Settings`
|
370
|
-
* Add support for `retrieve` and `update` methods on resource `Settings`
|
371
|
-
* [#1241](https://github.com/stripe/stripe-ruby/pull/1241) Update generated code
|
372
667
|
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
* [#1234](https://github.com/stripe/stripe-ruby/pull/1234) Update generated code
|
668
|
+
- [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
|
669
|
+
- Add support for new resource `Tax.Settings`
|
670
|
+
- Add support for `retrieve` and `update` methods on resource `Settings`
|
671
|
+
- [#1241](https://github.com/stripe/stripe-ruby/pull/1241) Update generated code
|
378
672
|
|
379
|
-
|
380
|
-
|
381
|
-
|
673
|
+
- [#1209](https://github.com/stripe/stripe-ruby/pull/1209) Update shoulda-context version
|
674
|
+
- [#1235](https://github.com/stripe/stripe-ruby/pull/1235) Allow "error" string as log level
|
675
|
+
- [#1238](https://github.com/stripe/stripe-ruby/pull/1238) Update log level error message to include `error`
|
676
|
+
- [#1231](https://github.com/stripe/stripe-ruby/pull/1231) fix: variable typo in README for instrumentation
|
677
|
+
- [#1234](https://github.com/stripe/stripe-ruby/pull/1234) Update generated code
|
382
678
|
|
383
|
-
|
679
|
+
- [#1230](https://github.com/stripe/stripe-ruby/pull/1230) Update generated code
|
680
|
+
- Release specs are identical.
|
681
|
+
- [#1226](https://github.com/stripe/stripe-ruby/pull/1226) Update generated code
|
384
682
|
|
385
|
-
|
386
|
-
|
683
|
+
- [#1223](https://github.com/stripe/stripe-ruby/pull/1223) Update generated code
|
684
|
+
|
685
|
+
- [#1225](https://github.com/stripe/stripe-ruby/pull/1225) Downgrade jaro_winkler
|
686
|
+
- [#1219](https://github.com/stripe/stripe-ruby/pull/1219) Update generated code
|
387
687
|
|
388
688
|
Documentation updates.
|
389
|
-
* [#1215](https://github.com/stripe/stripe-ruby/pull/1215) Update generated code
|
390
689
|
|
391
|
-
|
690
|
+
- [#1215](https://github.com/stripe/stripe-ruby/pull/1215) Update generated code
|
691
|
+
|
692
|
+
- [#1208](https://github.com/stripe/stripe-ruby/pull/1208) Update generated code
|
693
|
+
|
694
|
+
- [#1204](https://github.com/stripe/stripe-ruby/pull/1204) Update generated code
|
695
|
+
|
696
|
+
## 8.6.0-beta.6 - 2023-06-22
|
697
|
+
|
698
|
+
- [#1237](https://github.com/stripe/stripe-ruby/pull/1237) Update generated code for beta
|
699
|
+
- Add support for new resource `CustomerSession`
|
700
|
+
- Add support for `create` method on resource `CustomerSession`
|
701
|
+
- [#1233](https://github.com/stripe/stripe-ruby/pull/1233) Update generated code for beta
|
702
|
+
- [#1229](https://github.com/stripe/stripe-ruby/pull/1229) Update generated code for beta
|
703
|
+
|
704
|
+
## 8.6.0-beta.5 - 2023-06-01
|
705
|
+
|
706
|
+
- [#1227](https://github.com/stripe/stripe-ruby/pull/1227) Update generated code for beta
|
707
|
+
- [#1228](https://github.com/stripe/stripe-ruby/pull/1228) Document raw_request
|
708
|
+
- [#1222](https://github.com/stripe/stripe-ruby/pull/1222) Update generated code for beta
|
709
|
+
- [#1224](https://github.com/stripe/stripe-ruby/pull/1224) Handle developer message in preview error responses
|
392
710
|
|
393
|
-
|
711
|
+
## 8.6.0-beta.4 - 2023-05-19
|
394
712
|
|
713
|
+
- [#1220](https://github.com/stripe/stripe-ruby/pull/1220) Update generated code for beta
|
714
|
+
- Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
|
715
|
+
- [#1217](https://github.com/stripe/stripe-ruby/pull/1217) Add raw_request
|
716
|
+
- [#1216](https://github.com/stripe/stripe-ruby/pull/1216) Update generated code for beta
|
717
|
+
- [#1214](https://github.com/stripe/stripe-ruby/pull/1214) Update generated code for beta
|
718
|
+
|
719
|
+
## 8.6.0-beta.3 - 2023-04-17
|
720
|
+
|
721
|
+
- [#1211](https://github.com/stripe/stripe-ruby/pull/1211) Update generated code for beta
|
722
|
+
- [#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
|
723
|
+
|
724
|
+
## 8.6.0-beta.2 - 2023-04-13
|
725
|
+
|
726
|
+
- [#1206](https://github.com/stripe/stripe-ruby/pull/1206) Update generated code for beta
|
727
|
+
- Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
|
728
|
+
- [#1205](https://github.com/stripe/stripe-ruby/pull/1205) Update generated code for beta
|
729
|
+
|
730
|
+
## 8.6.0-beta.1 - 2023-03-30
|
731
|
+
|
732
|
+
- [#1202](https://github.com/stripe/stripe-ruby/pull/1202) Update generated code for beta
|
395
733
|
|
396
734
|
## 8.5.0 - 2023-03-30
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
735
|
+
|
736
|
+
- [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
|
737
|
+
- Remove support for `create` method on resource `Tax.Transaction`
|
738
|
+
- 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.
|
739
|
+
- [#1201](https://github.com/stripe/stripe-ruby/pull/1201) Update save deprecation message
|
740
|
+
|
741
|
+
## 8.5.0-beta.1 - 2023-03-23
|
742
|
+
|
743
|
+
- [#1194](https://github.com/stripe/stripe-ruby/pull/1194) Update generated code for beta (new)
|
744
|
+
- Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
|
745
|
+
- Add support for `collect_inputs` method on resource `Terminal.Reader`
|
401
746
|
|
402
747
|
## 8.4.0 - 2023-03-23
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
748
|
+
|
749
|
+
- [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
|
750
|
+
- Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
|
751
|
+
- Add support for `create` and `list_line_items` methods on resource `Calculation`
|
752
|
+
- Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
|
753
|
+
- [#1152](https://github.com/stripe/stripe-ruby/pull/1152) Symbolize hash keys inside `convert_to_stripe_object_with_params`
|
754
|
+
|
755
|
+
## 8.4.0-beta.4 - 2023-03-16
|
756
|
+
|
757
|
+
- [#1189](https://github.com/stripe/stripe-ruby/pull/1189) Update generated code for beta (new)
|
758
|
+
- Add support for `create_from_calculation` method on resource `Tax.Transaction`
|
759
|
+
- [#1188](https://github.com/stripe/stripe-ruby/pull/1188) Update generated code for beta (new)
|
760
|
+
- Remove support for resources `Capital.FinancingOffer` and `Capital.FinancingSummary`
|
761
|
+
- Remove support for `list`, `mark_delivered`, and `retrieve` methods on resource `FinancingOffer`
|
762
|
+
- Remove support for `retrieve` method on resource `FinancingSummary`
|
763
|
+
- [#1187](https://github.com/stripe/stripe-ruby/pull/1187) Merge upstream master
|
764
|
+
|
765
|
+
## 8.4.0-beta.3 - 2023-03-09
|
766
|
+
|
767
|
+
- [#1184](https://github.com/stripe/stripe-ruby/pull/1184) API Updates for beta branch
|
768
|
+
- Updated stable APIs to the latest version
|
769
|
+
- Remove support for `list_transactions` method on resource `Tax.Transaction`
|
770
|
+
|
771
|
+
## 8.4.0-beta.2 - 2023-03-03
|
772
|
+
|
773
|
+
- [#1183](https://github.com/stripe/stripe-ruby/pull/1183) API Updates for beta branch
|
774
|
+
- Updated stable APIs to the latest version
|
775
|
+
- Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
|
776
|
+
- Add support for `list` and `retrieve` methods on resource `CardBundle`
|
777
|
+
- Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
|
778
|
+
|
779
|
+
## 8.4.0-beta.1 - 2023-02-23
|
780
|
+
|
781
|
+
- [#1182](https://github.com/stripe/stripe-ruby/pull/1182) API Updates for beta branch
|
782
|
+
- Updated stable APIs to the latest version
|
408
783
|
|
409
784
|
## 8.3.0 - 2023-02-16
|
410
|
-
|
411
|
-
|
785
|
+
|
786
|
+
- [#1175](https://github.com/stripe/stripe-ruby/pull/1175) API Updates
|
787
|
+
- Add support for `refund_payment` method on resource `Terminal.Reader`
|
788
|
+
|
789
|
+
## 8.3.0-beta.1 - 2023-02-02
|
790
|
+
|
791
|
+
- [#1174](https://github.com/stripe/stripe-ruby/pull/1174) API Updates for beta branch
|
792
|
+
- Updated stable APIs to the latest version
|
793
|
+
- Add support for new resource `FinancialConnections.Transaction`
|
794
|
+
- Add support for `list` method on resource `Transaction`
|
412
795
|
|
413
796
|
## 8.2.0 - 2023-02-02
|
414
|
-
|
415
|
-
|
416
|
-
|
797
|
+
|
798
|
+
- [#1173](https://github.com/stripe/stripe-ruby/pull/1173) API Updates
|
799
|
+
- Add support for `resume` method on resource `Subscription`
|
800
|
+
- [#1171](https://github.com/stripe/stripe-ruby/pull/1171) Remove unused `partial` param from `initialize_from`
|
801
|
+
|
802
|
+
## 8.2.0-beta.3 - 2023-01-26
|
803
|
+
|
804
|
+
- [#1172](https://github.com/stripe/stripe-ruby/pull/1172) API Updates for beta branch
|
805
|
+
- Updated stable APIs to the latest version
|
806
|
+
- Add support for `list_transactions` method on resource `Tax.Transaction`
|
807
|
+
|
808
|
+
## 8.2.0-beta.2 - 2023-01-19
|
809
|
+
|
810
|
+
- [#1170](https://github.com/stripe/stripe-ruby/pull/1170) API Updates for beta branch
|
811
|
+
- Updated stable APIs to the latest version
|
812
|
+
- Add support for `Tax.Settings` resource.
|
813
|
+
|
814
|
+
## 8.2.0-beta.1 - 2023-01-12
|
815
|
+
|
816
|
+
- [#1167](https://github.com/stripe/stripe-ruby/pull/1167) API Updates for beta branch
|
817
|
+
- Updated stable APIs to the latest version
|
818
|
+
- Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
|
819
|
+
- Add support for `Tax::Register` resource
|
417
820
|
|
418
821
|
## 8.1.0 - 2023-01-12
|
419
|
-
|
822
|
+
|
823
|
+
- [#1162](https://github.com/stripe/stripe-ruby/pull/1162) Improve request events instrumentation
|
824
|
+
|
825
|
+
## 8.1.0-beta.4 - 2023-01-05
|
826
|
+
|
827
|
+
- [#1164](https://github.com/stripe/stripe-ruby/pull/1164) API Updates for beta branch
|
828
|
+
- Updated stable APIs to the latest version
|
829
|
+
- Add support for `mark_stale_quote` method on resource `Quote`
|
830
|
+
|
831
|
+
## 8.1.0-beta.3 - 2022-12-22
|
832
|
+
|
833
|
+
- [#1158](https://github.com/stripe/stripe-ruby/pull/1158) API Updates for beta branch
|
834
|
+
- Updated stable APIs to the latest version
|
835
|
+
- Move `TaxCalculation` and `TaxTransaction` to `Tax::Calculation` and `Tax::Transaction`.
|
836
|
+
|
837
|
+
## 8.1.0-beta.2 - 2022-12-15
|
838
|
+
|
839
|
+
- [#1156](https://github.com/stripe/stripe-ruby/pull/1156) API Updates for beta branch
|
840
|
+
- Updated stable APIs to the latest version
|
841
|
+
- Add support for new resources `TaxCalculation`, and `TaxTransaction`
|
842
|
+
- Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
|
843
|
+
- Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
|
844
|
+
- [#1155](https://github.com/stripe/stripe-ruby/pull/1155) API Updates for beta branch
|
845
|
+
- Updated stable APIs to the latest version
|
846
|
+
- Add support for new resource `QuoteLine`.
|
847
|
+
|
848
|
+
## 8.1.0-beta.1 - 2022-12-08
|
849
|
+
|
850
|
+
- [#1153](https://github.com/stripe/stripe-ruby/pull/1153) API Updates for beta branch
|
851
|
+
- Updated stable APIs to the latest version
|
852
|
+
- [#1146](https://github.com/stripe/stripe-ruby/pull/1146) API Updates for beta branch
|
853
|
+
- Updated stable APIs to the latest version
|
420
854
|
|
421
855
|
## 8.0.0 - 2022-11-16
|
422
|
-
|
856
|
+
|
857
|
+
- [#1144](https://github.com/stripe/stripe-ruby/pull/1144) Next major release changes
|
423
858
|
|
424
859
|
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.
|
425
860
|
|
426
861
|
"⚠️" symbol highlights breaking changes.
|
427
862
|
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
863
|
+
## 7.2.0-beta.5 - 2022-11-02
|
864
|
+
|
865
|
+
- [#1139](https://github.com/stripe/stripe-ruby/pull/1139) API Updates for beta branch
|
866
|
+
- Updated beta APIs to the latest stable version
|
867
|
+
- [#1135](https://github.com/stripe/stripe-ruby/pull/1135) API Updates for beta branch
|
868
|
+
- Updated stable APIs to the latest version
|
869
|
+
|
870
|
+
## 7.2.0-beta.4 - 2022-10-07
|
871
|
+
|
872
|
+
- [#999](https://github.com/stripe/stripe-ruby/pull/999) DESCRIBE CHANGES HERE (try to use the same style, tense, etc. as the other entries)
|
435
873
|
|
436
|
-
|
437
|
-
Stripe::Refund.update("re_123", description: "Refund description")
|
438
|
-
```
|
874
|
+
## 7.2.0-beta.3 - 2022-09-26
|
439
875
|
|
440
|
-
|
441
|
-
-
|
442
|
-
-
|
443
|
-
- Removed deprecated `delete` method on `Subscription` resource. Please use `cancel` method instead.
|
444
|
-
```ruby
|
445
|
-
# before
|
446
|
-
Stripe::Subscription::delete("sub_12345")
|
876
|
+
- [#1129](https://github.com/stripe/stripe-ruby/pull/1129) API Updates for beta branch
|
877
|
+
- Updated stable APIs to the latest version
|
878
|
+
- Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
|
447
879
|
|
448
|
-
|
449
|
-
Stripe::Subscription::cancel("sub_12345")
|
450
|
-
```
|
880
|
+
## 7.2.0-beta.2 - 2022-08-26
|
451
881
|
|
882
|
+
- [#1127](https://github.com/stripe/stripe-ruby/pull/1127) API Updates for beta branch
|
883
|
+
- Updated stable APIs to the latest version
|
884
|
+
- Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
|
885
|
+
|
886
|
+
## 7.2.0-beta.1 - 2022-08-23
|
887
|
+
|
888
|
+
- [#1122](https://github.com/stripe/stripe-ruby/pull/1122) API Updates for beta branch
|
889
|
+
- Updated stable APIs to the latest version
|
890
|
+
- `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)
|
452
891
|
|
453
892
|
## 7.1.0 - 2022-08-19
|
454
|
-
* [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
|
455
|
-
* Add support for new resource `CustomerCashBalanceTransaction`
|
456
|
-
* [#1118](https://github.com/stripe/stripe-ruby/pull/1118) Update AllowedChars in rubocop config
|
457
|
-
* [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
|
458
|
-
* [#1115](https://github.com/stripe/stripe-ruby/pull/1115) Add a support section to the readme
|
459
893
|
|
460
|
-
|
894
|
+
- [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
|
895
|
+
- Add support for new resource `CustomerCashBalanceTransaction`
|
896
|
+
- [#1118](https://github.com/stripe/stripe-ruby/pull/1118) Update AllowedChars in rubocop config
|
897
|
+
- [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
|
898
|
+
- [#1115](https://github.com/stripe/stripe-ruby/pull/1115) Add a support section to the readme
|
461
899
|
|
462
|
-
|
900
|
+
## 7.1.0-beta.2 - 2022-08-11
|
463
901
|
|
464
|
-
|
902
|
+
- [#1113](https://github.com/stripe/stripe-ruby/pull/1113) API Updates for beta branch
|
903
|
+
- Updated stable APIs to the latest version
|
904
|
+
- Add `refund_payment` method to Terminal resource
|
465
905
|
|
466
|
-
|
467
|
-
* [#1092](https://github.com/stripe/stripe-ruby/pull/1092) API Updates
|
468
|
-
* [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods
|
469
|
-
* [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes
|
906
|
+
## 7.1.0-beta.1 - 2022-08-03
|
470
907
|
|
471
|
-
|
472
|
-
|
473
|
-
|
908
|
+
- [#1107](https://github.com/stripe/stripe-ruby/pull/1107) API Updates for beta branch
|
909
|
+
- Updated stable APIs to the latest version
|
910
|
+
- Added the `Order` resource support
|
911
|
+
|
912
|
+
## 7.0.0 - 2022-08-02
|
474
913
|
|
475
|
-
|
476
|
-
|
914
|
+
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.
|
915
|
+
|
916
|
+
"⚠️" symbol highlights breaking changes.
|
477
917
|
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
918
|
+
- [#1106](https://github.com/stripe/stripe-ruby/pull/1106) API Updates
|
919
|
+
- [#1092](https://github.com/stripe/stripe-ruby/pull/1092) API Updates
|
920
|
+
- [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods
|
921
|
+
- [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes
|
922
|
+
|
923
|
+
## 6.6.0-beta.1 - 2022-07-22
|
924
|
+
|
925
|
+
- [#1100](https://github.com/stripe/stripe-ruby/pull/1100) API Updates for beta branch
|
926
|
+
- Updated stable APIs to the latest version
|
927
|
+
- Add `QuotePhase` resource
|
928
|
+
- [#1097](https://github.com/stripe/stripe-ruby/pull/1097) API Updates for beta branch
|
929
|
+
- Updated stable APIs to the latest version
|
930
|
+
- Add `SubscriptionSchedule.amend` method.
|
931
|
+
- [#1093](https://github.com/stripe/stripe-ruby/pull/1093) API Updates for beta branch
|
932
|
+
- Include `server_side_confirmation_beta=v1` beta
|
933
|
+
- Add `secretKeyConfirmation` to `PaymentIntent`
|
934
|
+
- [#1085](https://github.com/stripe/stripe-ruby/pull/1085) API Updates for beta branch
|
935
|
+
- Updated stable APIs to the latest version
|
936
|
+
- [#1075](https://github.com/stripe/stripe-ruby/pull/1075) Use the generated API version
|
486
937
|
|
487
938
|
## 6.5.0 - 2022-06-29
|
488
|
-
|
489
|
-
|
490
|
-
|
939
|
+
|
940
|
+
- [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
|
941
|
+
- Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card`
|
942
|
+
- [#1076](https://github.com/stripe/stripe-ruby/pull/1076) fix: Update logging to coerce ASCII-8BIT into UTF-8.
|
491
943
|
|
492
944
|
## 6.4.0 - 2022-06-17
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
945
|
+
|
946
|
+
- [#1073](https://github.com/stripe/stripe-ruby/pull/1073) API Updates
|
947
|
+
- Add support for `fund_cash_balance` test helper method on resource `Customer`
|
948
|
+
- [#1074](https://github.com/stripe/stripe-ruby/pull/1074) Support updating pre-release versions
|
949
|
+
- [#1072](https://github.com/stripe/stripe-ruby/pull/1072) Trigger workflows on beta branches
|
950
|
+
- [#1071](https://github.com/stripe/stripe-ruby/pull/1071) Use request_stripe_object for all requests
|
951
|
+
- [#1070](https://github.com/stripe/stripe-ruby/pull/1070) API Updates
|
499
952
|
|
500
953
|
Switch from using meta-programing to generating explicit methods for custom methods.
|
501
|
-
|
954
|
+
|
955
|
+
- [#1069](https://github.com/stripe/stripe-ruby/pull/1069) chore: Stop special implementation of Account.persons method.
|
502
956
|
|
503
957
|
## 6.3.0 - 2022-06-08
|
504
|
-
|
958
|
+
|
959
|
+
- [#1063](https://github.com/stripe/stripe-ruby/pull/1063) fix: Update cash balance methods to no longer require nested ID.
|
505
960
|
|
506
961
|
## 6.2.0 - 2022-05-23
|
507
|
-
* [#1060](https://github.com/stripe/stripe-ruby/pull/1060) API Updates
|
508
|
-
* Add support for new resource `Apps.Secret`
|
509
962
|
|
510
|
-
|
511
|
-
|
512
|
-
* 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`
|
513
|
-
* Add support for `retrieve_payment_method` method on resource `Customer`
|
514
|
-
* Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
|
963
|
+
- [#1060](https://github.com/stripe/stripe-ruby/pull/1060) API Updates
|
964
|
+
- Add support for new resource `Apps.Secret`
|
515
965
|
|
966
|
+
## 6.1.0 - 2022-05-19
|
516
967
|
|
968
|
+
- [#1057](https://github.com/stripe/stripe-ruby/pull/1057) API Updates
|
969
|
+
- 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`
|
970
|
+
- Add support for `retrieve_payment_method` method on resource `Customer`
|
971
|
+
- Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
|
517
972
|
|
518
973
|
## 6.0.0 - 2022-05-09
|
519
|
-
|
974
|
+
|
975
|
+
- [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
|
520
976
|
Major version release. The [migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-Guide-for-v6) contains more information.
|
521
977
|
|
522
978
|
(⚠️ = breaking changes):
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
979
|
+
|
980
|
+
- ⚠️ Replace the legacy `Order` API with the new `Order` API.
|
981
|
+
- New methods: `cancel`, `list_line_items`, `reopen`, and `submit`
|
982
|
+
- Removed methods: `pay` and `return_order`
|
983
|
+
- Removed resources: `OrderItem` and `OrderReturn`
|
984
|
+
- ⚠️ Rename `FinancialConnections::Account.refresh` to `FinancialConnections::Account.refresh_account
|
528
985
|
|
529
986
|
## 5.55.0 - 2022-05-05
|
530
|
-
* [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
|
531
|
-
* Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
|
532
987
|
|
988
|
+
- [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
|
989
|
+
- Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
|
533
990
|
|
534
991
|
## 5.54.0 - 2022-05-03
|
535
|
-
|
536
|
-
|
992
|
+
|
993
|
+
- [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
|
994
|
+
- Add support for new resource `CashBalance`
|
537
995
|
|
538
996
|
## 5.53.0 - 2022-04-21
|
539
|
-
|
540
|
-
|
997
|
+
|
998
|
+
- [#1050](https://github.com/stripe/stripe-ruby/pull/1050) API Updates
|
999
|
+
- Add support for `expire` test helper method on resource `Refund`
|
541
1000
|
|
542
1001
|
## 5.52.0 - 2022-04-18
|
543
|
-
|
544
|
-
|
1002
|
+
|
1003
|
+
- [#1046](https://github.com/stripe/stripe-ruby/pull/1046) [#1047](https://github.com/stripe/stripe-ruby/pull/1047) API Updates
|
1004
|
+
- Add support for new resources `FundingInstructions` and `Terminal.Configuration`
|
545
1005
|
|
546
1006
|
## 5.51.0 - 2022-04-15
|
547
|
-
|
1007
|
+
|
1008
|
+
- [#1046](https://github.com/stripe/stripe-ruby/pull/1046) This release was incomplete and was yanked from RubyGems immediately after it was published.
|
548
1009
|
|
549
1010
|
## 5.50.0 - 2022-04-13
|
550
|
-
|
551
|
-
|
1011
|
+
|
1012
|
+
- [#1045](https://github.com/stripe/stripe-ruby/pull/1045) API Updates
|
1013
|
+
- Add support for `increment_authorization` method on resource `PaymentIntent`
|
552
1014
|
|
553
1015
|
## 5.49.0 - 2022-04-08
|
554
|
-
|
555
|
-
|
1016
|
+
|
1017
|
+
- [#1043](https://github.com/stripe/stripe-ruby/pull/1043) API Updates
|
1018
|
+
- Add support for `apply_customer_balance` method on resource `PaymentIntent`
|
556
1019
|
|
557
1020
|
## 5.48.0 - 2022-03-30
|
558
|
-
|
559
|
-
|
1021
|
+
|
1022
|
+
- [#1041](https://github.com/stripe/stripe-ruby/pull/1041) API Updates
|
1023
|
+
- Add support for `cancel_action`, `process_payment_intent`, `process_setup_intent`, and `set_reader_display` methods on resource `Terminal.Reader`
|
560
1024
|
|
561
1025
|
## 5.47.0 - 2022-03-29
|
562
|
-
* [#1040](https://github.com/stripe/stripe-ruby/pull/1040) API Updates
|
563
|
-
* Add support for Search API
|
564
|
-
* Add support for `search` method on resources `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription`
|
565
1026
|
|
566
|
-
|
1027
|
+
- [#1040](https://github.com/stripe/stripe-ruby/pull/1040) API Updates
|
1028
|
+
|
1029
|
+
- Add support for Search API
|
1030
|
+
- Add support for `search` method on resources `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription`
|
1031
|
+
|
1032
|
+
- [#1034](https://github.com/stripe/stripe-ruby/pull/1034) Add supporting classes for test helper generation
|
567
1033
|
|
568
1034
|
## 5.46.0 - 2022-03-23
|
569
|
-
|
570
|
-
|
571
|
-
|
1035
|
+
|
1036
|
+
- [#1039](https://github.com/stripe/stripe-ruby/pull/1039) API Updates
|
1037
|
+
- Add support for `cancel` method on resource `Refund`
|
1038
|
+
- [#992](https://github.com/stripe/stripe-ruby/pull/992) Add support for Search API
|
572
1039
|
|
573
1040
|
## 5.45.0 - 2022-03-01
|
574
|
-
|
575
|
-
|
1041
|
+
|
1042
|
+
- [#1035](https://github.com/stripe/stripe-ruby/pull/1035) API Updates
|
1043
|
+
- Add support for new resource `TestHelpers.TestClock`
|
576
1044
|
|
577
1045
|
## 5.44.0 - 2022-02-16
|
578
|
-
|
579
|
-
|
1046
|
+
|
1047
|
+
- [#1032](https://github.com/stripe/stripe-ruby/pull/1032) API Updates
|
1048
|
+
- Add support for `verify_microdeposits` method on resources `PaymentIntent` and `SetupIntent`
|
580
1049
|
|
581
1050
|
## 5.43.0 - 2022-01-20
|
582
|
-
|
583
|
-
|
1051
|
+
|
1052
|
+
- [#1031](https://github.com/stripe/stripe-ruby/pull/1031) API Updates
|
1053
|
+
- Add support for new resource `PaymentLink`
|
584
1054
|
|
585
1055
|
## 5.42.0 - 2021-12-13
|
586
|
-
|
1056
|
+
|
1057
|
+
- [#1022](https://github.com/stripe/stripe-ruby/pull/1022) Add connection manager logging and include object IDs in logging.
|
587
1058
|
|
588
1059
|
## 5.41.0 - 2021-11-16
|
589
|
-
|
590
|
-
|
1060
|
+
|
1061
|
+
- [#1017](https://github.com/stripe/stripe-ruby/pull/1017) API Updates
|
1062
|
+
- Add support for new resource `ShippingRate`
|
591
1063
|
|
592
1064
|
## 5.40.0 - 2021-11-11
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
1065
|
+
|
1066
|
+
- [#1015](https://github.com/stripe/stripe-ruby/pull/1015) API Updates
|
1067
|
+
- Add support for `expire` method on resource `Checkout.Session`
|
1068
|
+
- [#1013](https://github.com/stripe/stripe-ruby/pull/1013) Add tests for child resources.
|
1069
|
+
- [#1012](https://github.com/stripe/stripe-ruby/pull/1012) Add tests for namespaced resources.
|
1070
|
+
- [#1011](https://github.com/stripe/stripe-ruby/pull/1011) codegen: 3 more files
|
598
1071
|
|
599
1072
|
## 5.39.0 - 2021-10-11
|
600
|
-
|
601
|
-
|
1073
|
+
|
1074
|
+
- [#1010](https://github.com/stripe/stripe-ruby/pull/1010) API Updates
|
1075
|
+
- Add support for `list_payment_methods` method on resource `Customer`
|
602
1076
|
|
603
1077
|
## 5.38.0 - 2021-08-10
|
604
|
-
|
605
|
-
|
606
|
-
|
1078
|
+
|
1079
|
+
- [#993](https://github.com/stripe/stripe-ruby/pull/993) Add `request_id` to RequestEndEvent
|
1080
|
+
- [#991](https://github.com/stripe/stripe-ruby/pull/991) Codegen more files
|
1081
|
+
- [#989](https://github.com/stripe/stripe-ruby/pull/989) Remove unused API error types from docs.
|
607
1082
|
|
608
1083
|
## 5.37.0 - 2021-07-14
|
609
|
-
|
610
|
-
|
1084
|
+
|
1085
|
+
- [#988](https://github.com/stripe/stripe-ruby/pull/988) API Updates
|
1086
|
+
- Add support for `list_computed_upfront_line_items` method on resource `Quote`
|
611
1087
|
|
612
1088
|
## 5.36.0 - 2021-07-09
|
613
|
-
|
1089
|
+
|
1090
|
+
- [#987](https://github.com/stripe/stripe-ruby/pull/987) Add support for `Quote` API
|
614
1091
|
|
615
1092
|
## 5.35.0 - 2021-06-30
|
616
|
-
|
617
|
-
|
618
|
-
|
1093
|
+
|
1094
|
+
- [#985](https://github.com/stripe/stripe-ruby/pull/985) Update normalize_opts to use dup instead of clone.
|
1095
|
+
- [#982](https://github.com/stripe/stripe-ruby/pull/982) Deprecate travis
|
1096
|
+
- [#983](https://github.com/stripe/stripe-ruby/pull/983) Add support for making a request and receiving the response as a stream.
|
619
1097
|
|
620
1098
|
## 5.34.0 - 2021-06-04
|
621
|
-
|
622
|
-
|
1099
|
+
|
1100
|
+
- [#981](https://github.com/stripe/stripe-ruby/pull/981) API Updates
|
1101
|
+
- Add support for `TaxCode` API.
|
623
1102
|
|
624
1103
|
## 5.33.0 - 2021-05-19
|
625
|
-
|
1104
|
+
|
1105
|
+
- [#979](https://github.com/stripe/stripe-ruby/pull/979) Add support for the Identify VerificationSession and VerificationReport APIs
|
626
1106
|
|
627
1107
|
## 5.32.1 - 2021-04-05
|
628
|
-
|
1108
|
+
|
1109
|
+
- Correct use of regexp `match` in gemspec for old versions of Ruby
|
629
1110
|
|
630
1111
|
## 5.32.0 - 2021-04-05
|
631
|
-
|
1112
|
+
|
1113
|
+
- [#973](https://github.com/stripe/stripe-ruby/pull/973) Reduce packed gem size
|
632
1114
|
|
633
1115
|
## 5.31.0 - 2021-04-02
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
1116
|
+
|
1117
|
+
- [#968](https://github.com/stripe/stripe-ruby/pull/968) Allow StripeClient to be configured per instance
|
1118
|
+
- [#971](https://github.com/stripe/stripe-ruby/pull/971) On config change, only clear connection managers for changed config
|
1119
|
+
- [#972](https://github.com/stripe/stripe-ruby/pull/972) Rename `Stripe.configuration` to `Stripe.config`
|
1120
|
+
- [#970](https://github.com/stripe/stripe-ruby/pull/970) Reserve some critical field names when adding `StripeObject` accessors
|
1121
|
+
- [#967](https://github.com/stripe/stripe-ruby/pull/967) CI: github actions
|
639
1122
|
|
640
1123
|
## 5.30.0 - 2021-02-22
|
641
|
-
|
1124
|
+
|
1125
|
+
- [#965](https://github.com/stripe/stripe-ruby/pull/965) Add support for the Billing Portal Configuration API
|
642
1126
|
|
643
1127
|
## 5.29.1 - 2021-02-09
|
644
|
-
|
1128
|
+
|
1129
|
+
- [#964](https://github.com/stripe/stripe-ruby/pull/964) Fix return value of `Customer#delete_discount`
|
645
1130
|
|
646
1131
|
## 5.29.0 - 2021-01-05
|
647
|
-
|
1132
|
+
|
1133
|
+
- [#952](https://github.com/stripe/stripe-ruby/pull/952) Allow client_id configuration on instance config
|
648
1134
|
|
649
1135
|
## 5.28.0 - 2020-10-14
|
650
|
-
|
1136
|
+
|
1137
|
+
- [#950](https://github.com/stripe/stripe-ruby/pull/950) Add configuration option for `write_timeout` for connections on Ruby 2.6+
|
651
1138
|
|
652
1139
|
## 5.27.0 - 2020-10-14
|
653
|
-
|
1140
|
+
|
1141
|
+
- [#951](https://github.com/stripe/stripe-ruby/pull/951) Add support for the Payout Reverse API
|
654
1142
|
|
655
1143
|
## 5.26.0 - 2020-09-29
|
656
|
-
|
1144
|
+
|
1145
|
+
- [#949](https://github.com/stripe/stripe-ruby/pull/949) Add support for the `SetupAttempt` resource and List API
|
657
1146
|
|
658
1147
|
## 5.25.0 - 2020-09-02
|
659
|
-
|
1148
|
+
|
1149
|
+
- [#944](https://github.com/stripe/stripe-ruby/pull/944) Add support for the Issuing Dispute Submit API
|
660
1150
|
|
661
1151
|
## 5.24.0 - 2020-08-26
|
662
|
-
|
663
|
-
|
1152
|
+
|
1153
|
+
- [#939](https://github.com/stripe/stripe-ruby/pull/939) Extract configurations into separate object
|
1154
|
+
- [#940](https://github.com/stripe/stripe-ruby/pull/940) Fix typo in documentation of `stripe_object.rb`
|
664
1155
|
|
665
1156
|
## 5.23.1 - 2020-08-05
|
666
|
-
|
1157
|
+
|
1158
|
+
- [#936](https://github.com/stripe/stripe-ruby/pull/936) Rename API resource's `request` method
|
667
1159
|
|
668
1160
|
## 5.23.0 - 2020-08-05
|
669
|
-
|
1161
|
+
|
1162
|
+
- [#937](https://github.com/stripe/stripe-ruby/pull/937) Add support for the `PromotionCode` resource and APIs
|
670
1163
|
|
671
1164
|
## 5.22.0 - 2020-05-11
|
672
|
-
|
1165
|
+
|
1166
|
+
- [#918](https://github.com/stripe/stripe-ruby/pull/918) Add support for the `LineItem` resource and APIs
|
673
1167
|
|
674
1168
|
## 5.21.0 - 2020-04-29
|
675
|
-
|
1169
|
+
|
1170
|
+
- [#917](https://github.com/stripe/stripe-ruby/pull/917) Add support for the `Price` resource and APIs
|
676
1171
|
|
677
1172
|
## 5.20.0 - 2020-04-27
|
678
|
-
|
1173
|
+
|
1174
|
+
- [#916](https://github.com/stripe/stripe-ruby/pull/916) Add new `.generate_header` method for webhooks
|
679
1175
|
|
680
1176
|
## 5.19.0 - 2020-04-24
|
681
|
-
|
1177
|
+
|
1178
|
+
- [#915](https://github.com/stripe/stripe-ruby/pull/915) Expose `Stripe::Webhook.compute_signature` publicly
|
682
1179
|
|
683
1180
|
## 5.18.0 - 2020-04-22
|
684
|
-
|
1181
|
+
|
1182
|
+
- [#911](https://github.com/stripe/stripe-ruby/pull/911) Add support for `BillingPortal` namespace and `Session` resource and APIs
|
685
1183
|
|
686
1184
|
## 5.17.0 - 2020-02-26
|
687
|
-
|
1185
|
+
|
1186
|
+
- [#907](https://github.com/stripe/stripe-ruby/pull/907) Add `StripeError#idempotent_replayed?`
|
688
1187
|
|
689
1188
|
## 5.16.0 - 2020-02-26
|
690
|
-
|
691
|
-
|
1189
|
+
|
1190
|
+
- [#906](https://github.com/stripe/stripe-ruby/pull/906) Add support for listing Checkout sessions
|
1191
|
+
- [#903](https://github.com/stripe/stripe-ruby/pull/903) Upgrade to Rubocop 0.80
|
692
1192
|
|
693
1193
|
## 5.15.0 - 2020-02-10
|
694
|
-
|
1194
|
+
|
1195
|
+
- [#902](https://github.com/stripe/stripe-ruby/pull/902) Add `request_begin` instrumentation callback
|
695
1196
|
|
696
1197
|
## 5.14.0 - 2020-01-14
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
1198
|
+
|
1199
|
+
- [#896](https://github.com/stripe/stripe-ruby/pull/896) Add support for `CreditNoteLineItem`
|
1200
|
+
- [#894](https://github.com/stripe/stripe-ruby/pull/894) Clean up test output by capturing `$stderr` when we expect warnings
|
1201
|
+
- [#892](https://github.com/stripe/stripe-ruby/pull/892) Explicitly pass a parameter as hash to be more ruby 2.7 friendly
|
1202
|
+
- [#893](https://github.com/stripe/stripe-ruby/pull/893) Upgrade Rubocop to 0.79
|
701
1203
|
|
702
1204
|
## 5.13.0 - 2020-01-08
|
703
|
-
|
1205
|
+
|
1206
|
+
- [#891](https://github.com/stripe/stripe-ruby/pull/891) Fix most Ruby 2.7 warnings
|
704
1207
|
|
705
1208
|
## 5.12.1 - 2020-01-06
|
706
|
-
|
1209
|
+
|
1210
|
+
- [#890](https://github.com/stripe/stripe-ruby/pull/890) Override API key with `client_secret` in `OAuth.token`
|
707
1211
|
|
708
1212
|
## 5.12.0 - 2020-01-02
|
709
|
-
|
1213
|
+
|
1214
|
+
- [#889](https://github.com/stripe/stripe-ruby/pull/889) Add support for retrieve source transaction API method
|
710
1215
|
|
711
1216
|
## 5.11.0 - 2019-11-26
|
712
|
-
|
1217
|
+
|
1218
|
+
- [#885](https://github.com/stripe/stripe-ruby/pull/885) Add support for `CreditNote` preview
|
713
1219
|
|
714
1220
|
## 5.10.0 - 2019-11-08
|
715
|
-
|
1221
|
+
|
1222
|
+
- [#882](https://github.com/stripe/stripe-ruby/pull/882) Add list_usage_record_summaries and list_source_transactions
|
716
1223
|
|
717
1224
|
## 5.9.0 - 2019-11-07
|
718
|
-
|
1225
|
+
|
1226
|
+
- [#870](https://github.com/stripe/stripe-ruby/pull/870) Add request instrumentation callback (see `README.md` for usage example)
|
719
1227
|
|
720
1228
|
## 5.8.0 - 2019-11-05
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
1229
|
+
|
1230
|
+
- [#879](https://github.com/stripe/stripe-ruby/pull/879) Add support for `Mandate`
|
1231
|
+
- [#876](https://github.com/stripe/stripe-ruby/pull/876) Add additional per-request configuration documentation
|
1232
|
+
- [#874](https://github.com/stripe/stripe-ruby/pull/874) Raise an error when requests params are invalid
|
1233
|
+
- [#873](https://github.com/stripe/stripe-ruby/pull/873) Contributor Covenant
|
725
1234
|
|
726
1235
|
## 5.7.1 - 2019-10-15
|
727
|
-
|
1236
|
+
|
1237
|
+
- [#869](https://github.com/stripe/stripe-ruby/pull/869) Fixes the misnamed `connection_base=` setter to be named `connect_base=`
|
728
1238
|
|
729
1239
|
## 5.7.0 - 2019-10-10
|
730
|
-
|
1240
|
+
|
1241
|
+
- [#865](https://github.com/stripe/stripe-ruby/pull/865) Support backwards pagination with list's `#auto_paging_each`
|
731
1242
|
|
732
1243
|
## 5.6.0 - 2019-10-04
|
733
|
-
|
1244
|
+
|
1245
|
+
- [#861](https://github.com/stripe/stripe-ruby/pull/861) Nicer error when specifying non-nil non-string opt value
|
734
1246
|
|
735
1247
|
## 5.5.0 - 2019-10-03
|
736
|
-
|
1248
|
+
|
1249
|
+
- [#859](https://github.com/stripe/stripe-ruby/pull/859) User-friendly messages and retries for `EOFError`, `Errno::ECONNRESET`, `Errno::ETIMEDOUT`, and `Errno::EHOSTUNREACH` network errors
|
737
1250
|
|
738
1251
|
## 5.4.1 - 2019-10-01
|
739
|
-
|
1252
|
+
|
1253
|
+
- [#858](https://github.com/stripe/stripe-ruby/pull/858) Drop Timecop dependency
|
740
1254
|
|
741
1255
|
## 5.4.0 - 2019-10-01
|
742
|
-
|
1256
|
+
|
1257
|
+
- [#857](https://github.com/stripe/stripe-ruby/pull/857) Move to monotonic time for duration calculations
|
743
1258
|
|
744
1259
|
## 5.3.0 - 2019-10-01
|
745
|
-
|
1260
|
+
|
1261
|
+
- [#853](https://github.com/stripe/stripe-ruby/pull/853) Support `Stripe-Should-Retry` header
|
746
1262
|
|
747
1263
|
## 5.2.0 - 2019-09-19
|
748
|
-
|
1264
|
+
|
1265
|
+
- [#851](https://github.com/stripe/stripe-ruby/pull/851) Introduce system for garbage collecting connection managers
|
749
1266
|
|
750
1267
|
## 5.1.1 - 2019-09-04
|
751
|
-
|
1268
|
+
|
1269
|
+
- [#845](https://github.com/stripe/stripe-ruby/pull/845) Transfer the request_id from the http_headers to error.
|
752
1270
|
|
753
1271
|
## 5.1.0 - 2019-08-27
|
754
|
-
|
1272
|
+
|
1273
|
+
- [#841](https://github.com/stripe/stripe-ruby/pull/841) Retry requests on a 429 that's a lock timeout
|
755
1274
|
|
756
1275
|
## 5.0.1 - 2019-08-20
|
757
|
-
|
1276
|
+
|
1277
|
+
- [#836](https://github.com/stripe/stripe-ruby/pull/836) Increase connection keep alive timeout to 30 seconds
|
758
1278
|
|
759
1279
|
## 5.0.0 - 2019-08-20
|
1280
|
+
|
760
1281
|
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.
|
761
1282
|
|
762
1283
|
Pull requests included in this release (cf. [#815](https://github.com/stripe/stripe-ruby/pull/815)) (⚠️ = breaking changes):
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
1284
|
+
|
1285
|
+
- ⚠️ [#813](https://github.com/stripe/stripe-ruby/pull/813): Convert library to use built-in `Net::HTTP`
|
1286
|
+
- ⚠️ [#816](https://github.com/stripe/stripe-ruby/pull/816): Make `code` argument in `CardError` named instead of positional.
|
1287
|
+
- ⚠️ [#817](https://github.com/stripe/stripe-ruby/pull/817): Drop support for very old Ruby versions.
|
1288
|
+
- [#818](https://github.com/stripe/stripe-ruby/pull/818): Bump Rubocop to latest version
|
1289
|
+
- [#819](https://github.com/stripe/stripe-ruby/pull/819): Ruby minimum version increase followup
|
1290
|
+
- ⚠️ [#820](https://github.com/stripe/stripe-ruby/pull/820): Remove old deprecated methods
|
1291
|
+
- ⚠️ [#823](https://github.com/stripe/stripe-ruby/pull/823): Remove all alias for list methods
|
1292
|
+
- ⚠️ [#826](https://github.com/stripe/stripe-ruby/pull/826): Remove `UsageRecord.create` method
|
1293
|
+
- ⚠️ [#827](https://github.com/stripe/stripe-ruby/pull/827): Remove `IssuerFraudRecord`
|
1294
|
+
- [#811](https://github.com/stripe/stripe-ruby/pull/811): Add `ErrorObject` to `StripeError` exceptions
|
1295
|
+
- [#828](https://github.com/stripe/stripe-ruby/pull/828): Tweak retry logic to be a little more like stripe-node
|
1296
|
+
- [#829](https://github.com/stripe/stripe-ruby/pull/829): Reset connections when connection-changing configuration changes (optional)
|
1297
|
+
- [#830](https://github.com/stripe/stripe-ruby/pull/830): Fix inverted sign for 500 retries
|
1298
|
+
- ⚠️[#831](https://github.com/stripe/stripe-ruby/pull/831): Remove a few more very old deprecated methods
|
1299
|
+
- [#832](https://github.com/stripe/stripe-ruby/pull/832): Minor cleanup in `StripeClient`
|
1300
|
+
- [#833](https://github.com/stripe/stripe-ruby/pull/833): Do better bookkeeping when tracking state in `Thread.current`
|
1301
|
+
- [#834](https://github.com/stripe/stripe-ruby/pull/834): Add `Invoice.list_upcoming_line_items` method
|
780
1302
|
|
781
1303
|
## 4.24.0 - 2019-08-12
|
782
|
-
|
1304
|
+
|
1305
|
+
- [#825](https://github.com/stripe/stripe-ruby/pull/825) Add `SubscriptionItem.create_usage_record` method
|
783
1306
|
- This release also removed the `SubscriptionSchedule.revisions` method. This should have been included in the previous release (4.23.0)
|
784
1307
|
|
785
1308
|
## 4.23.0 - 2019-08-09
|
786
|
-
|
1309
|
+
|
1310
|
+
- [#824](https://github.com/stripe/stripe-ruby/pull/824) Remove SubscriptionScheduleRevision
|
787
1311
|
- This is technically a breaking change. We've chosen to release it as a minor vesion bump because the associated API is unused.
|
788
1312
|
|
789
1313
|
## 4.22.1 - 2019-08-09
|
790
|
-
|
1314
|
+
|
1315
|
+
- [#808](https://github.com/stripe/stripe-ruby/pull/808) Unify request/response handling
|
791
1316
|
|
792
1317
|
## 4.22.0 - 2019-07-30
|
793
|
-
|
1318
|
+
|
1319
|
+
- [#821](https://github.com/stripe/stripe-ruby/pull/821) Listing `BalanceTransaction` objects now uses `/v1/balance_transactions` instead of `/v1/balance/history`
|
794
1320
|
|
795
1321
|
## 4.21.3 - 2019-07-15
|
796
|
-
|
1322
|
+
|
1323
|
+
- [#810](https://github.com/stripe/stripe-ruby/pull/810) Better error message when passing non-string to custom method
|
797
1324
|
|
798
1325
|
## 4.21.2 - 2019-07-05
|
799
|
-
|
1326
|
+
|
1327
|
+
- [#806](https://github.com/stripe/stripe-ruby/pull/806) Revert back to `initialize_from` from `Util.convert_to_stripe_object`
|
800
1328
|
|
801
1329
|
## 4.21.1 - 2019-07-04
|
802
|
-
|
1330
|
+
|
1331
|
+
- [#807](https://github.com/stripe/stripe-ruby/pull/807) Add gem metadata
|
803
1332
|
|
804
1333
|
## 4.21.0 - 2019-06-28
|
805
|
-
|
1334
|
+
|
1335
|
+
- [#803](https://github.com/stripe/stripe-ruby/pull/803) Add support for the `SetupIntent` resource and APIs
|
806
1336
|
|
807
1337
|
## 4.20.1 - 2019-06-28
|
808
|
-
|
1338
|
+
|
1339
|
+
- [#805](https://github.com/stripe/stripe-ruby/pull/805) Fix formatting in `ConnectionFailed` error message
|
809
1340
|
|
810
1341
|
## 4.20.0 - 2019-06-24
|
811
|
-
|
1342
|
+
|
1343
|
+
- [#800](https://github.com/stripe/stripe-ruby/pull/800) Enable request latency telemetry by default
|
812
1344
|
|
813
1345
|
## 4.19.0 - 2019-06-17
|
814
|
-
|
1346
|
+
|
1347
|
+
- [#770](https://github.com/stripe/stripe-ruby/pull/770) Add support for `CustomerBalanceTransaction` resource and APIs
|
815
1348
|
|
816
1349
|
## 4.18.1 - 2019-05-27
|
817
|
-
|
1350
|
+
|
1351
|
+
- [#789](https://github.com/stripe/stripe-ruby/pull/789) Allow `Order#pay` to be called without arguments
|
818
1352
|
|
819
1353
|
## 4.18.0 - 2019-05-23
|
820
|
-
|
1354
|
+
|
1355
|
+
- [#783](https://github.com/stripe/stripe-ruby/pull/783) Add support for `radar.early_fraud_warning` resource
|
821
1356
|
|
822
1357
|
## 4.17.0 - 2019-05-14
|
823
|
-
|
1358
|
+
|
1359
|
+
- [#779](https://github.com/stripe/stripe-ruby/pull/779) Add support for the Capability resource and APIs
|
824
1360
|
|
825
1361
|
## 4.16.0 - 2019-04-24
|
826
|
-
|
1362
|
+
|
1363
|
+
- [#760](https://github.com/stripe/stripe-ruby/pull/760) Add support for the `TaxRate` resource and APIs
|
827
1364
|
|
828
1365
|
## 4.15.0 - 2019-04-22
|
829
|
-
|
1366
|
+
|
1367
|
+
- [#762](https://github.com/stripe/stripe-ruby/pull/762) Add support for the `TaxId` resource and APIs
|
830
1368
|
|
831
1369
|
## 4.14.0 - 2019-04-18
|
832
|
-
|
1370
|
+
|
1371
|
+
- [#758](https://github.com/stripe/stripe-ruby/pull/758) Add support for the `CreditNote` resource and APIs
|
833
1372
|
|
834
1373
|
## 4.13.0 - 2019-04-16
|
835
|
-
|
1374
|
+
|
1375
|
+
- [#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`)
|
836
1376
|
|
837
1377
|
## 4.12.0 - 2019-04-02
|
838
|
-
|
839
|
-
|
1378
|
+
|
1379
|
+
- [#752](https://github.com/stripe/stripe-ruby/pull/752) Add `.delete` class method on deletable API resources
|
1380
|
+
- [#754](https://github.com/stripe/stripe-ruby/pull/754) Add class methods for all custom API requests (e.g. `Charge.capture`)
|
840
1381
|
|
841
1382
|
## 4.11.0 - 2019-03-26
|
842
|
-
|
1383
|
+
|
1384
|
+
- [#753](https://github.com/stripe/stripe-ruby/pull/753) Add a global proxy configuration parameter
|
843
1385
|
|
844
1386
|
## 4.10.0 - 2019-03-18
|
845
|
-
|
846
|
-
|
847
|
-
|
1387
|
+
|
1388
|
+
- [#745](https://github.com/stripe/stripe-ruby/pull/745) Add support for the `PaymentMethod` resource and APIs
|
1389
|
+
- [#747](https://github.com/stripe/stripe-ruby/pull/747) Add support for retrieving a Checkout `Session`
|
1390
|
+
- [#748](https://github.com/stripe/stripe-ruby/pull/748) Add support for deleting a Terminal `Location` and `Reader`
|
848
1391
|
|
849
1392
|
## 4.9.1 - 2019-03-18
|
850
|
-
|
1393
|
+
|
1394
|
+
- [#750](https://github.com/stripe/stripe-ruby/pull/750) Catch error and warn if unable to remove a method
|
851
1395
|
|
852
1396
|
## 4.9.0 - 2019-02-12
|
853
|
-
|
1397
|
+
|
1398
|
+
- [#739](https://github.com/stripe/stripe-ruby/pull/739) Add support for `SubscriptionSchedule` and `SubscriptionScheduleRevision`
|
854
1399
|
|
855
1400
|
## 4.8.1 - 2019-02-11
|
856
|
-
|
1401
|
+
|
1402
|
+
- [#743](https://github.com/stripe/stripe-ruby/pull/743) Fix bug in file uploading introduced in #741
|
857
1403
|
|
858
1404
|
## 4.8.0 - 2019-02-03
|
859
|
-
|
1405
|
+
|
1406
|
+
- [#741](https://github.com/stripe/stripe-ruby/pull/741) Use `FaradayStripeEncoder` to encode all parameter styles
|
860
1407
|
|
861
1408
|
## 4.7.1 - 2019-02-01
|
862
|
-
|
1409
|
+
|
1410
|
+
- [#740](https://github.com/stripe/stripe-ruby/pull/740) Fix query encoding for integer-indexed maps
|
863
1411
|
|
864
1412
|
## 4.7.0 - 2019-01-23
|
865
|
-
|
1413
|
+
|
1414
|
+
- [#735](https://github.com/stripe/stripe-ruby/pull/735) Rename `CheckoutSession` to `Session` and move it under the `Checkout` namespace. This is a breaking change, but we've reached out to affected merchants and all new merchants would use the new approach.
|
866
1415
|
|
867
1416
|
## 4.6.0 - 2019-01-21
|
868
|
-
|
1417
|
+
|
1418
|
+
- [#736](https://github.com/stripe/stripe-ruby/pull/736) Properly serialize `individual` on `Account` objects
|
869
1419
|
|
870
1420
|
## 4.5.0 - 2019-01-02
|
871
|
-
|
1421
|
+
|
1422
|
+
- [#719](https://github.com/stripe/stripe-ruby/pull/719) Generate OAuth authorize URLs for Express accounts as well as standard
|
872
1423
|
|
873
1424
|
## 4.4.1 - 2018-12-31
|
874
|
-
|
1425
|
+
|
1426
|
+
- [#718](https://github.com/stripe/stripe-ruby/pull/718) Fix an error message typo
|
875
1427
|
|
876
1428
|
## 4.4.0 - 2018-12-21
|
877
|
-
|
1429
|
+
|
1430
|
+
- [#716](https://github.com/stripe/stripe-ruby/pull/716) Add support for the `CheckoutSession` resource
|
878
1431
|
|
879
1432
|
## 4.3.0 - 2018-12-10
|
880
|
-
|
1433
|
+
|
1434
|
+
- [#711](https://github.com/stripe/stripe-ruby/pull/711) Add support for account links
|
881
1435
|
|
882
1436
|
## 4.2.0 - 2018-11-28
|
883
|
-
|
1437
|
+
|
1438
|
+
- [#705](https://github.com/stripe/stripe-ruby/pull/705) Add support for the `Review` APIs
|
884
1439
|
|
885
1440
|
## 4.1.0 - 2018-11-27
|
886
|
-
|
1441
|
+
|
1442
|
+
- [#695](https://github.com/stripe/stripe-ruby/pull/695) Add support for `ValueList` and `ValueListItem` for Radar
|
887
1443
|
|
888
1444
|
## 4.0.3 - 2018-11-19
|
889
|
-
|
1445
|
+
|
1446
|
+
- [#703](https://github.com/stripe/stripe-ruby/pull/703) Don't use `Net::HTTP::Persistent` on Windows where it's not well supported
|
890
1447
|
|
891
1448
|
## 4.0.2 - 2018-11-16
|
892
|
-
|
1449
|
+
|
1450
|
+
- [#701](https://github.com/stripe/stripe-ruby/pull/701) Require minimum Faraday 0.13 for proper support of persistent connections
|
893
1451
|
|
894
1452
|
## 4.0.1 - 2018-11-15
|
895
|
-
|
1453
|
+
|
1454
|
+
- [#699](https://github.com/stripe/stripe-ruby/pull/699) Only send telemetry if `Request-Id` was present in the response
|
896
1455
|
|
897
1456
|
## 4.0.0 - 2018-11-15
|
898
|
-
|
899
|
-
|
1457
|
+
|
1458
|
+
- [#698](https://github.com/stripe/stripe-ruby/pull/698) Use persistent connections by default through `Net::HTTP::Persistent`
|
1459
|
+
- [#698](https://github.com/stripe/stripe-ruby/pull/698) Drop support for Ruby 2.0 (which we consider a breaking change here)
|
900
1460
|
|
901
1461
|
## 3.31.1 - 2018-11-12
|
902
|
-
|
1462
|
+
|
1463
|
+
- [#697](https://github.com/stripe/stripe-ruby/pull/697) Send telemetry in milliseconds specifically
|
903
1464
|
|
904
1465
|
## 3.31.0 - 2018-11-12
|
905
|
-
|
1466
|
+
|
1467
|
+
- [#696](https://github.com/stripe/stripe-ruby/pull/696) Add configurable telemetry to gather information on client-side request latency
|
906
1468
|
|
907
1469
|
## 3.30.0 - 2018-11-08
|
908
|
-
|
1470
|
+
|
1471
|
+
- [#693](https://github.com/stripe/stripe-ruby/pull/693) Add new API endpoints for the `Invoice` resource.
|
909
1472
|
|
910
1473
|
## 3.29.0 - 2018-10-30
|
911
|
-
|
912
|
-
|
1474
|
+
|
1475
|
+
- [#692](https://github.com/stripe/stripe-ruby/pull/692) Add support for the `Person` resource
|
1476
|
+
- [#694](https://github.com/stripe/stripe-ruby/pull/694) Add support for the `WebhookEndpoint` resource
|
913
1477
|
|
914
1478
|
## 3.28.0 - 2018-09-24
|
915
|
-
|
1479
|
+
|
1480
|
+
- [#690](https://github.com/stripe/stripe-ruby/pull/690) Add support for Stripe Terminal
|
916
1481
|
|
917
1482
|
## 3.27.0 - 2018-09-24
|
918
|
-
|
1483
|
+
|
1484
|
+
- [#689](https://github.com/stripe/stripe-ruby/pull/689) Rename `FileUpload` to `File`
|
919
1485
|
|
920
1486
|
## 3.26.1 - 2018-09-14
|
921
|
-
|
1487
|
+
|
1488
|
+
- [#688](https://github.com/stripe/stripe-ruby/pull/688) Fix hash equality on `StripeObject`
|
922
1489
|
|
923
1490
|
## 3.26.0 - 2018-09-05
|
924
|
-
|
1491
|
+
|
1492
|
+
- [#681](https://github.com/stripe/stripe-ruby/pull/681) Add support for reporting resources
|
925
1493
|
|
926
1494
|
## 3.25.0 - 2018-08-28
|
927
|
-
|
1495
|
+
|
1496
|
+
- [#678](https://github.com/stripe/stripe-ruby/pull/678) Allow payment intent `#cancel`, `#capture`, and `#confirm` to take their own parameters
|
928
1497
|
|
929
1498
|
## 3.24.0 - 2018-08-27
|
930
|
-
|
1499
|
+
|
1500
|
+
- [#675](https://github.com/stripe/stripe-ruby/pull/675) Remove support for `BitcoinReceiver` write-actions
|
931
1501
|
|
932
1502
|
## 3.23.0 - 2018-08-23
|
933
|
-
|
1503
|
+
|
1504
|
+
- [#676](https://github.com/stripe/stripe-ruby/pull/676) Add support for usage record summaries
|
934
1505
|
|
935
1506
|
## 3.22.0 - 2018-08-15
|
936
|
-
|
1507
|
+
|
1508
|
+
- [#674](https://github.com/stripe/stripe-ruby/pull/674) Use integer-indexed encoding for all arrays
|
937
1509
|
|
938
1510
|
## 3.21.0 - 2018-08-03
|
939
|
-
|
1511
|
+
|
1512
|
+
- [#671](https://github.com/stripe/stripe-ruby/pull/671) Add cancel support for topups
|
940
1513
|
|
941
1514
|
## 3.20.0 - 2018-08-03
|
942
|
-
|
1515
|
+
|
1516
|
+
- [#669](https://github.com/stripe/stripe-ruby/pull/669) Add support for file links
|
943
1517
|
|
944
1518
|
## 3.19.0 - 2018-07-27
|
945
|
-
|
1519
|
+
|
1520
|
+
- [#666](https://github.com/stripe/stripe-ruby/pull/666) Add support for scheduled query runs (`Stripe::Sigma::ScheduledQueryRun`) for Sigma
|
946
1521
|
|
947
1522
|
## 3.18.0 - 2018-07-26
|
948
|
-
|
1523
|
+
|
1524
|
+
- [#665](https://github.com/stripe/stripe-ruby/pull/665) Add support for Stripe Issuing
|
949
1525
|
|
950
1526
|
## 3.17.2 - 2018-07-19
|
951
|
-
|
1527
|
+
|
1528
|
+
- [#664](https://github.com/stripe/stripe-ruby/pull/664) Don't colorize log output being sent to a configured logger
|
952
1529
|
|
953
1530
|
## 3.17.1 - 2018-07-19
|
954
|
-
|
1531
|
+
|
1532
|
+
- [#663](https://github.com/stripe/stripe-ruby/pull/663) Internal improvements to `ApiResource.class_url`
|
955
1533
|
|
956
1534
|
## 3.17.0 - 2018-06-28
|
957
|
-
|
1535
|
+
|
1536
|
+
- [#658](https://github.com/stripe/stripe-ruby/pull/658) Add support for `partner_id` from `Stripe.set_app_info`
|
958
1537
|
|
959
1538
|
## 3.16.0 - 2018-06-28
|
960
|
-
|
1539
|
+
|
1540
|
+
- [#657](https://github.com/stripe/stripe-ruby/pull/657) Add support for payment intents
|
961
1541
|
|
962
1542
|
## 3.15.0 - 2018-05-10
|
963
|
-
|
1543
|
+
|
1544
|
+
- [#649](https://github.com/stripe/stripe-ruby/pull/649) Freeze all string literals
|
964
1545
|
|
965
1546
|
## 3.14.0 - 2018-05-09
|
966
|
-
|
1547
|
+
|
1548
|
+
- [#645](https://github.com/stripe/stripe-ruby/pull/645) Add support for issuer fraud records
|
967
1549
|
|
968
1550
|
## 3.13.1 - 2018-05-07
|
969
|
-
|
1551
|
+
|
1552
|
+
- [#647](https://github.com/stripe/stripe-ruby/pull/647) Merge query parameters coming from path with `params` argument
|
970
1553
|
|
971
1554
|
## 3.13.0 - 2018-04-11
|
972
|
-
|
1555
|
+
|
1556
|
+
- [#498](https://github.com/stripe/stripe-ruby/pull/498) Add support for flexible billing primitives
|
973
1557
|
|
974
1558
|
## 3.12.1 - 2018-04-05
|
975
|
-
|
1559
|
+
|
1560
|
+
- [#636](https://github.com/stripe/stripe-ruby/pull/636) Fix a warning for uninitialized instance variable `@additive_params`
|
976
1561
|
|
977
1562
|
## 3.12.0 - 2018-04-05
|
978
|
-
|
1563
|
+
|
1564
|
+
- [#632](https://github.com/stripe/stripe-ruby/pull/632) Introduce `additive_object_param` so that non-`metadata` subobjects don't zero their keys as they're being replaced
|
979
1565
|
|
980
1566
|
## 3.11.0 - 2018-02-26
|
981
|
-
|
1567
|
+
|
1568
|
+
- [#628](https://github.com/stripe/stripe-ruby/pull/628) Add support for `code` attribute on all Stripe exceptions
|
982
1569
|
|
983
1570
|
## 3.10.0 - 2018-02-21
|
984
|
-
|
1571
|
+
|
1572
|
+
- [#627](https://github.com/stripe/stripe-ruby/pull/627) Add support for topups
|
985
1573
|
|
986
1574
|
## 3.9.2 - 2018-02-12
|
987
|
-
|
1575
|
+
|
1576
|
+
- [#625](https://github.com/stripe/stripe-ruby/pull/625) Skip calling `to_hash` for `nil`
|
988
1577
|
|
989
1578
|
## 3.9.1 - 2017-12-15
|
990
|
-
|
1579
|
+
|
1580
|
+
- [#616](https://github.com/stripe/stripe-ruby/pull/616) Support all file-like objects for uploads with duck typed checks on `path` and `read` (we previously whitelisted only certain classes)
|
991
1581
|
|
992
1582
|
## 3.9.0 - 2017-12-08
|
993
|
-
|
1583
|
+
|
1584
|
+
- [#613](https://github.com/stripe/stripe-ruby/pull/613) Introduce new `IdempotencyError` type for idempotency-specific failures
|
994
1585
|
|
995
1586
|
## 3.8.2 - 2017-12-07
|
996
|
-
|
1587
|
+
|
1588
|
+
- [#612](https://github.com/stripe/stripe-ruby/pull/612) Fix integer-indexed array encoding when sent as query parameter (subscription items can now be used when fetching an upcoming invoice)
|
997
1589
|
|
998
1590
|
## 3.8.1 - 2017-12-06
|
999
|
-
|
1591
|
+
|
1592
|
+
- [#611](https://github.com/stripe/stripe-ruby/pull/611) Support `Tempfile` (as well as `File`) in file uploads
|
1000
1593
|
|
1001
1594
|
## 3.8.0 - 2017-10-31
|
1002
|
-
|
1595
|
+
|
1596
|
+
- [#606](https://github.com/stripe/stripe-ruby/pull/606) Support for exchange rates APIs
|
1003
1597
|
|
1004
1598
|
## 3.7.0 - 2017-10-26
|
1005
|
-
|
1599
|
+
|
1600
|
+
- [#603](https://github.com/stripe/stripe-ruby/pull/603) Support for listing source transactions
|
1006
1601
|
|
1007
1602
|
## 3.6.0 - 2017-10-17
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1603
|
+
|
1604
|
+
- [#597](https://github.com/stripe/stripe-ruby/pull/597) Add static methods to manipulate resources from parent
|
1605
|
+
- `Account` gains methods for external accounts and login links (e.g. `.create_account`, `create_login_link`)
|
1606
|
+
- `ApplicationFee` gains methods for refunds
|
1607
|
+
- `Customer` gains methods for sources
|
1608
|
+
- `Transfer` gains methods for reversals
|
1013
1609
|
|
1014
1610
|
## 3.5.3 - 2017-10-16
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1611
|
+
|
1612
|
+
- [#594](https://github.com/stripe/stripe-ruby/pull/594) Make sure that `StripeObject`'s `#deep_copy` maintains original class
|
1613
|
+
- [#595](https://github.com/stripe/stripe-ruby/pull/595) Allow `Object#method` to be called on `StripeObject` even if it conflicts with an accessor
|
1614
|
+
- [#596](https://github.com/stripe/stripe-ruby/pull/596) Encode arrays as integer-indexed hashes where appropriate
|
1615
|
+
- [#598](https://github.com/stripe/stripe-ruby/pull/598) Don't persist `idempotency_key` opt between requests
|
1019
1616
|
|
1020
1617
|
## 3.5.2 - 2017-10-13
|
1021
|
-
|
1618
|
+
|
1619
|
+
- [#592](https://github.com/stripe/stripe-ruby/pull/592) Bring back `Marshal.dump/load` support with custom marshal encoder/decoder
|
1022
1620
|
|
1023
1621
|
## 3.5.1 - 2017-10-12
|
1024
|
-
|
1622
|
+
|
1623
|
+
- [#591](https://github.com/stripe/stripe-ruby/pull/591) Use thread-local `StripeClient` instances for thread safety
|
1025
1624
|
|
1026
1625
|
## 3.5.0 - 2017-10-11
|
1027
|
-
|
1626
|
+
|
1627
|
+
- [#589](https://github.com/stripe/stripe-ruby/pull/589) Rename source `delete` to `detach` (and deprecate the former)
|
1028
1628
|
|
1029
1629
|
## 3.4.1 - 2017-10-05
|
1030
|
-
|
1031
|
-
|
1630
|
+
|
1631
|
+
- [#586](https://github.com/stripe/stripe-ruby/pull/586) Log query strings as well as form bodies with STRIPE_LOG
|
1632
|
+
- [#588](https://github.com/stripe/stripe-ruby/pull/588) Require minimum Faraday 0.10 for bug fix in parameter encoding
|
1032
1633
|
|
1033
1634
|
## 3.4.0 - 2017-09-20
|
1034
|
-
|
1035
|
-
|
1635
|
+
|
1636
|
+
- Mark legacy Bitcoin API as deprecated, and remove corresponding tests
|
1637
|
+
- Mark recipients API as deprecated, and remove recipient card tests
|
1036
1638
|
|
1037
1639
|
## 3.3.2 - 2017-09-20
|
1038
|
-
|
1640
|
+
|
1641
|
+
- Correct minimum required Ruby version in gemspec (it's 2.0.0)
|
1039
1642
|
|
1040
1643
|
## 3.3.1 - 2017-08-18
|
1041
|
-
|
1644
|
+
|
1645
|
+
- Only parse webhook payload after verification to decrease likelihood of
|
1042
1646
|
attack
|
1043
1647
|
|
1044
1648
|
## 3.3.0 - 2017-08-11
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1649
|
+
|
1650
|
+
- Add support for standard library logger interface with `Stripe.logger`
|
1651
|
+
- Error logs now go to stderr if using `Stripe.log_level`/`STRIPE_LOG`
|
1652
|
+
- `Stripe.log_level`/`STRIPE_LOG` now support `Stipe::LEVEL_ERROR`
|
1048
1653
|
|
1049
1654
|
## 3.2.0 - 2017-08-03
|
1050
|
-
|
1655
|
+
|
1656
|
+
- Add logging for request retry account and `Stripe-Account` header
|
1051
1657
|
|
1052
1658
|
## 3.1.0 - 2017-08-03
|
1053
|
-
|
1659
|
+
|
1660
|
+
- Implement request logging with `Stripe.log_level` and `STRIPE_LOG`
|
1054
1661
|
|
1055
1662
|
## 3.0.3 - 2017-07-28
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1663
|
+
|
1664
|
+
- Revert `nil` to empty string coercion from 3.0.2
|
1665
|
+
- Handle `invalid_client` OAuth error code
|
1666
|
+
- Improve safety of error handling logic safer for unrecognized OAuth error codes
|
1059
1667
|
|
1060
1668
|
## 3.0.2 - 2017-07-12
|
1669
|
+
|
1061
1670
|
**Important:** This version is non-functional and has been yanked in favor of 3.0.3.
|
1062
|
-
|
1671
|
+
|
1672
|
+
- Convert `nil` to empty string when serializing parameters (instead of opaquely dropping it) -- NOTE: this change has since been reverted
|
1063
1673
|
|
1064
1674
|
## 3.0.1 - 2017-07-11
|
1065
|
-
|
1066
|
-
|
1675
|
+
|
1676
|
+
- Properties set with an API resource will now serialize that resource's ID if possible
|
1677
|
+
- API resources will throw an ArgumentError on save if a property has been with an API resource that cannot be serialized
|
1067
1678
|
|
1068
1679
|
## 3.0.0 - 2017-06-27
|
1069
|
-
|
1680
|
+
|
1681
|
+
- `#pay` on invoice now takes params as well as opts
|
1070
1682
|
|
1071
1683
|
## 2.12.0 - 2017-06-20
|
1072
|
-
|
1684
|
+
|
1685
|
+
- Add support for ephemeral keys
|
1073
1686
|
|
1074
1687
|
## 2.11.0 - 2017-05-26
|
1075
|
-
|
1688
|
+
|
1689
|
+
- Warn when keys that look like opts are included as parameters
|
1076
1690
|
|
1077
1691
|
## 2.10.0 - 2017-05-25
|
1078
|
-
|
1692
|
+
|
1693
|
+
- Add support for account login links
|
1079
1694
|
|
1080
1695
|
## 2.9.0 - 2017-05-18
|
1081
|
-
|
1696
|
+
|
1697
|
+
- Support for OAuth operations in `Stripe::OAuth`
|
1082
1698
|
|
1083
1699
|
## 2.8.0 - 2017-04-28
|
1084
|
-
|
1700
|
+
|
1701
|
+
- Support for checking webhook signatures
|
1085
1702
|
|
1086
1703
|
## 2.7.0 - 2017-04-26
|
1087
|
-
|
1704
|
+
|
1705
|
+
- Add model `InvoiceLineItem`
|
1088
1706
|
|
1089
1707
|
## 2.6.0 - 2017-04-26
|
1090
|
-
|
1708
|
+
|
1709
|
+
- Add `OBJECT_NAME` constants to all API resources
|
1091
1710
|
|
1092
1711
|
## 2.5.0 - 2017-04-24
|
1093
|
-
|
1712
|
+
|
1713
|
+
- Make `opts` argument in `Util.convert_to_stripe_object` optional
|
1094
1714
|
|
1095
1715
|
## 2.4.0 - 2017-04-18
|
1096
|
-
|
1716
|
+
|
1717
|
+
- Add `Stripe.set_app_info` for use by plugin creators
|
1097
1718
|
|
1098
1719
|
## 2.3.0 - 2017-04-14
|
1099
|
-
|
1720
|
+
|
1721
|
+
- Add question mark accessor when assigning boolean value to undefined field
|
1100
1722
|
|
1101
1723
|
## 2.2.1 - 2017-04-07
|
1102
|
-
|
1724
|
+
|
1725
|
+
- Declare minimum required Faraday as 0.9
|
1103
1726
|
|
1104
1727
|
## 2.2.0 - 2017-04-06
|
1105
|
-
|
1728
|
+
|
1729
|
+
- Add support for payouts and recipient transfers
|
1106
1730
|
|
1107
1731
|
## 2.1.0 - 2017-03-17
|
1108
|
-
|
1732
|
+
|
1733
|
+
- Support for detaching sources from customers
|
1109
1734
|
|
1110
1735
|
## 2.0.3 - 2017-03-16
|
1111
|
-
|
1736
|
+
|
1737
|
+
- Fix marshalling of `StripeObjects` that have an embedded client
|
1112
1738
|
|
1113
1739
|
## 2.0.2 - 2017-03-16
|
1114
|
-
|
1740
|
+
|
1741
|
+
- Fix bad field reference when recovering from a JSON parsing problem
|
1115
1742
|
|
1116
1743
|
## 2.0.1 - 2017-02-22
|
1117
|
-
|
1744
|
+
|
1745
|
+
- Fix multipart parameter encoding to repair broken file uploads
|
1118
1746
|
|
1119
1747
|
## 2.0.0 - 2017-02-14
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1748
|
+
|
1749
|
+
- Drop support for Ruby 1.9
|
1750
|
+
- Allow HTTP client that makes Stripe calls to be configured via Faraday
|
1751
|
+
- Drop RestClient
|
1752
|
+
- Switch to OpenAPI 2.0 spec and generated fixtures in test suite
|
1753
|
+
- Switch to Webmock in test suite
|
1125
1754
|
|
1126
1755
|
## 1.58.0 - 2017-01-19
|
1127
|
-
|
1756
|
+
|
1757
|
+
- Remove erroneously added list methods for `Source` model
|
1128
1758
|
|
1129
1759
|
## 1.57.1 - 2016-11-28
|
1130
|
-
|
1760
|
+
|
1761
|
+
- Disallow sending protected fields along with API resource `.update`
|
1131
1762
|
|
1132
1763
|
## 1.57.0 - 2016-11-21
|
1133
|
-
|
1764
|
+
|
1765
|
+
- Add retrieve method for 3-D Secure resources
|
1134
1766
|
|
1135
1767
|
## 1.56.2 - 2016-11-17
|
1136
|
-
|
1768
|
+
|
1769
|
+
- Improve `StripeObject`'s `#to_s` to better handle how embedded objects are displayed
|
1137
1770
|
|
1138
1771
|
## 1.56.1 - 2016-11-09
|
1139
|
-
|
1772
|
+
|
1773
|
+
- Fix (fairly serious) memory like in `StripeObject`
|
1140
1774
|
|
1141
1775
|
## 1.56.0 - 2016-10-24
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1776
|
+
|
1777
|
+
- Add accessors for new fields added in `#update_attributes`
|
1778
|
+
- Handle multi-plan subscriptions through new subscription items
|
1779
|
+
- Handle 403 status codes from the API
|
1145
1780
|
|
1146
1781
|
## 1.55.1 - 2016-10-24
|
1782
|
+
|
1147
1783
|
Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
1148
1784
|
|
1149
1785
|
## 1.55.0 - 2016-09-15
|
1150
|
-
|
1786
|
+
|
1787
|
+
- Add support for Apple Pay domains
|
1151
1788
|
|
1152
1789
|
## 1.54.0 - 2016-09-01
|
1153
|
-
|
1790
|
+
|
1791
|
+
- Whitelist errors that should be retried; scope to known socket and HTTP errors
|
1154
1792
|
|
1155
1793
|
## 1.53.0 - 2016-08-31
|
1156
|
-
|
1794
|
+
|
1795
|
+
- Relax version constraint on rest-client (and by extension mime-types) for users on Ruby 2+
|
1157
1796
|
|
1158
1797
|
## 1.52.0 - 2016-08-30
|
1159
|
-
|
1798
|
+
|
1799
|
+
- Make sure `Subscription`'s `source` is saved with its parent
|
1160
1800
|
|
1161
1801
|
## 1.51.1 - 2016-08-30
|
1162
|
-
|
1802
|
+
|
1803
|
+
- Make sure `Account`'s `external_account` is saved with its parent
|
1163
1804
|
|
1164
1805
|
## 1.51.0 - 2016-08-26
|
1165
|
-
|
1166
|
-
|
1806
|
+
|
1807
|
+
- Error when an array of maps is detected that cannot be accurately encoded
|
1808
|
+
- Start using strings for header names instead of symbols for better clarity
|
1167
1809
|
|
1168
1810
|
## 1.50.1 - 2016-08-25
|
1169
|
-
|
1811
|
+
|
1812
|
+
- Fix encoding of arrays of maps where maps unequal sets of keys
|
1170
1813
|
|
1171
1814
|
## 1.50.0 - 2016-08-15
|
1172
|
-
|
1815
|
+
|
1816
|
+
- Allow sources to be created
|
1173
1817
|
|
1174
1818
|
## 1.49.0 - 2016-07-28
|
1175
|
-
|
1819
|
+
|
1820
|
+
- Add top-level `Source` model
|
1176
1821
|
|
1177
1822
|
## 1.48.0 - 2016-07-12
|
1178
|
-
|
1823
|
+
|
1824
|
+
- Add `ThreeDSecure` model for 3-D secure payments
|
1179
1825
|
|
1180
1826
|
## 1.47.0 - 2016-07-11
|
1181
|
-
|
1827
|
+
|
1828
|
+
- Allow rest-client version 2.0+ to be used with the gem
|
1182
1829
|
|
1183
1830
|
## 1.46.0 - 2016-07-07
|
1184
|
-
|
1831
|
+
|
1832
|
+
- Allow retry when a 409 conflict is encountered
|
1185
1833
|
|
1186
1834
|
## 1.45.0 - 2016-07-07
|
1187
|
-
|
1835
|
+
|
1836
|
+
- Do not send subresources when updating except when explicitly told to do so (see #433)
|
1188
1837
|
|
1189
1838
|
## 1.44.0 - 2016-06-29
|
1190
|
-
|
1839
|
+
|
1840
|
+
- Add `update` class method to all resources that can be updated
|
1191
1841
|
|
1192
1842
|
## 1.43.1 - 2016-06-17
|
1193
|
-
|
1843
|
+
|
1844
|
+
- Fix type of resource returned from `Order#return_order`
|
1194
1845
|
|
1195
1846
|
## 1.43.0 - 2016-05-20
|
1196
|
-
|
1197
|
-
|
1847
|
+
|
1848
|
+
- Allow Relay orders to be returned and add associated types
|
1849
|
+
- Support Alipay account retrieval and deletion
|
1198
1850
|
|
1199
1851
|
## 1.42.0 - 2016-05-04
|
1200
|
-
|
1852
|
+
|
1853
|
+
- Add support for the new /v1/subscriptions endpoint (retrieve, list, create, update, and delete)
|
1201
1854
|
|
1202
1855
|
## 1.41.0 - 2016-04-13
|
1203
|
-
|
1856
|
+
|
1857
|
+
- Add global `stripe_account` option that adds a `Stripe-Account` header to all requests
|
1204
1858
|
|
1205
1859
|
## 1.40.0 - 2016-04-06
|
1206
|
-
|
1860
|
+
|
1861
|
+
- Fix bug that omitted subresources from serialization
|
1207
1862
|
|
1208
1863
|
## 1.39.0 - 2016-03-31
|
1209
|
-
|
1864
|
+
|
1865
|
+
- Update CA cert bundle for compatibility with OpenSSL versions below 1.0.1
|
1210
1866
|
|
1211
1867
|
## 1.38.0 - 2016-03-18
|
1212
|
-
|
1868
|
+
|
1869
|
+
- Allow `opts` to be passed to an API resource's `#save` method
|
1213
1870
|
|
1214
1871
|
## 1.37.0 - 2016-03-14
|
1215
|
-
|
1872
|
+
|
1873
|
+
- Add `Account#reject` to support the new API feature
|
1216
1874
|
|
1217
1875
|
## 1.36.2 - 2016-03-14
|
1218
|
-
|
1876
|
+
|
1877
|
+
- Fix reference to non-existent `#url` in `ListObject`
|
1219
1878
|
|
1220
1879
|
## 1.36.1 - 2016-03-04
|
1221
|
-
|
1880
|
+
|
1881
|
+
- Fix serialization when subhash given to `#save` or `#update_attributes`
|
1222
1882
|
|
1223
1883
|
## 1.36.0 - 2016-02-08
|
1224
|
-
|
1884
|
+
|
1885
|
+
- Add `CountrySpec` model for looking up country payment information
|
1225
1886
|
|
1226
1887
|
## 1.35.1 - 2016-02-03
|
1227
|
-
|
1888
|
+
|
1889
|
+
- Add compatibility layer for old API versions on `Charge#refund`
|
1228
1890
|
|
1229
1891
|
## 1.35.0 - 2016-02-01
|
1230
|
-
|
1231
|
-
|
1892
|
+
|
1893
|
+
- Allow CA cert bundle location to be configured
|
1894
|
+
- Updated bundled CA certs
|
1232
1895
|
|
1233
1896
|
## 1.34.0 - 2016-01-25
|
1234
|
-
|
1897
|
+
|
1898
|
+
- Add support for deleting products and SKUs
|
1235
1899
|
|
1236
1900
|
## 1.33.1 - 2016-01-21
|
1237
|
-
|
1901
|
+
|
1902
|
+
- Pass through arguments of `Charge#refund`
|
1238
1903
|
|
1239
1904
|
## 1.33.0 - 2016-01-19
|
1240
|
-
|
1905
|
+
|
1906
|
+
- Re-implement `Charge#refund` helper to use the modern endpoint suggested by docs
|
1241
1907
|
|
1242
1908
|
## 1.32.1 - 2016-01-07
|
1243
|
-
|
1244
|
-
|
1909
|
+
|
1910
|
+
- Fix bug where ivar left uninitialized in StripeObject could error on serialization
|
1911
|
+
- Fix bug where a nil customer from API could error Bitcoin model on refresh
|
1245
1912
|
|
1246
1913
|
## 1.32.0 - 2016-01-05
|
1247
|
-
|
1248
|
-
|
1914
|
+
|
1915
|
+
- Add configuration to optionally retry network failures
|
1916
|
+
- Use modern API endpoint for producing application fee refunds
|
1249
1917
|
|
1250
1918
|
## 1.31.0 - 2015-10-29
|
1251
|
-
|
1919
|
+
|
1920
|
+
- Add BankAccount#verify convenience method
|
1252
1921
|
|
1253
1922
|
## 1.30.3 - 2015-10-28
|
1254
|
-
|
1923
|
+
|
1924
|
+
- Fix bug where arrays that were not `additional_owners` were not properly encoded for requests
|
1255
1925
|
|
1256
1926
|
## 1.30.2 - 2015-10-12
|
1257
|
-
|
1927
|
+
|
1928
|
+
- Fix bug where `opts` didn't properly propagate to descendant `StripeObjects`
|
1258
1929
|
|
1259
1930
|
## 1.30.1 - 2015-10-10
|
1260
|
-
|
1261
|
-
|
1931
|
+
|
1932
|
+
- Fix bug that prevent lists of hashes from being URI-encoded properly
|
1933
|
+
- Fix bug where filter conditions were not making it past the first instantiated `ListObject`
|
1262
1934
|
|
1263
1935
|
## 1.30.0 - 2015-10-09
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1936
|
+
|
1937
|
+
- Add `StripeObject#deleted?` for a reliable way to check whether an object is alive
|
1938
|
+
- Deprecate `StripeObject#refresh_from`
|
1939
|
+
- New parameter encoding scheme that doesn't use `URI.escape`
|
1267
1940
|
|
1268
1941
|
## 1.29.1 - 2015-10-06
|
1269
|
-
|
1942
|
+
|
1943
|
+
- Fix bug where ampersands were not being properly encoded
|
1270
1944
|
|
1271
1945
|
## 1.29.0 - 2015-10-05
|
1272
|
-
|
1946
|
+
|
1947
|
+
- Add pagination helpers `#auto_paging_each`, `#previous_page`, and `#next_page`
|
1273
1948
|
|
1274
1949
|
## 1.28.1 - 2015-10-05
|
1275
|
-
|
1950
|
+
|
1951
|
+
- Fix URI being referenced by file upload resources
|
1276
1952
|
|
1277
1953
|
## 1.28.0 - 2015-10-05
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
1954
|
+
|
1955
|
+
- Make StripeObject's #save "upsert"-like; creates an object if new
|
1956
|
+
- Add #update_attributes to StripeObject for safe mass assignment
|
1957
|
+
- Properly mass assign attributes on calls to #save
|
1958
|
+
- Add question mark helpers for boolean fields (e.g. #paid? as well as old #paid)
|
1959
|
+
- Fix a bug that broke the API for StripeObject initialization
|
1960
|
+
- Remove use of deprecated URI.escape
|
1284
1961
|
|
1285
1962
|
## 1.27.2 - 2015-09-25
|
1286
|
-
|
1963
|
+
|
1964
|
+
- Correct the URLs used to fetch Bitcoin transactions.
|
1287
1965
|
|
1288
1966
|
## 1.27.1 - 2015-09-20
|
1289
|
-
|
1967
|
+
|
1968
|
+
- Use hash rockets for backwards compatibility.
|
1290
1969
|
|
1291
1970
|
## 1.27.0 - 2015-09-14
|
1292
|
-
|
1971
|
+
|
1972
|
+
- Add Orders, Products, and SKUs for Relay
|
1293
1973
|
|
1294
1974
|
## 1.26.0 - 2015-09-11
|
1295
|
-
|
1975
|
+
|
1976
|
+
- Add support for 429 Rate Limited response
|
1296
1977
|
|
1297
1978
|
## 1.25.0 - 2015-08-17
|
1298
|
-
|
1979
|
+
|
1980
|
+
- Added support for refund listing and retrieval without an associated charge
|
1299
1981
|
|
1300
1982
|
## 1.24.0 - 2015-08-03
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1983
|
+
|
1984
|
+
- Added support for deleting managed accounts
|
1985
|
+
- Added support for dispute listing and retrieval
|
1986
|
+
- Bugfix: token objects now are the correct class
|
1304
1987
|
|
1305
1988
|
## 1.23.0 - 2015-07-06
|
1306
|
-
|
1989
|
+
|
1990
|
+
- Added request IDs and HTTP headers to errors
|
1307
1991
|
|
1308
1992
|
## 1.22.0 - 2015-06-10
|
1309
|
-
|
1993
|
+
|
1994
|
+
- Added support for bank accounts and debit cards in managed accounts (via the `external_accounts` param)
|
1310
1995
|
|
1311
1996
|
## 1.21.0 - 2015-04-14
|
1312
|
-
|
1313
|
-
|
1997
|
+
|
1998
|
+
- Remove TLS cert revocation check (all pre-heartbleed certs have expired)
|
1999
|
+
- Bugfix: don't unset keys when they don't exist on StripeObject
|
1314
2000
|
|
1315
2001
|
## 1.20.4 - 2015-03-26
|
1316
|
-
|
1317
|
-
|
2002
|
+
|
2003
|
+
- Raise an error when explicitly passing nil as the API key on resource methods
|
2004
|
+
- Fix error when passing an API key to Balance.retrieve (github issue #232)
|
1318
2005
|
|
1319
2006
|
## 1.20.3 - 2015-03-13
|
1320
|
-
|
2007
|
+
|
2008
|
+
- Fixed error when updating certain resources (github issue #224)
|
1321
2009
|
|
1322
2010
|
## 1.20.2 - 2015-03-10
|
1323
|
-
|
1324
|
-
|
2011
|
+
|
2012
|
+
- Added support for updating nested hashes besides `metadata` (which was already supported)
|
2013
|
+
- Fixed bug in balance retrieval
|
1325
2014
|
|
1326
2015
|
## 1.20.1 - 2015-02-26
|
1327
|
-
|
2016
|
+
|
2017
|
+
- Updated Card to point to customer sources endpoint when customer property is set
|
1328
2018
|
|
1329
2019
|
## 1.20.0 - 2015-02-19
|
1330
|
-
|
2020
|
+
|
2021
|
+
- Added Update & Delete operations to Bitcoin Receivers
|
1331
2022
|
|
1332
2023
|
## 1.19.1 - 2015-02-18
|
1333
|
-
|
2024
|
+
|
2025
|
+
- Fixed fetching upcoming invoice/paying invoice methods
|
1334
2026
|
|
1335
2027
|
## 1.19.0 - 2015-02-15
|
1336
|
-
|
1337
|
-
|
1338
|
-
|
2028
|
+
|
2029
|
+
- Support for new Transfers /reversals endpoint
|
2030
|
+
- Account retrieval now optionally accepts an account ID
|
2031
|
+
- Better support for passing custom headers, like Stripe-Account, through requests
|
1339
2032
|
|
1340
2033
|
## 1.18.0 - 2015-01-21
|
1341
|
-
|
1342
|
-
|
2034
|
+
|
2035
|
+
- 1 major enhancement:
|
2036
|
+
- Added support for making bitcoin charges through BitcoinReceiver source object
|
1343
2037
|
|
1344
2038
|
## 1.17.3 - 2015-01-12
|
1345
|
-
|
1346
|
-
|
2039
|
+
|
2040
|
+
- 1 bugfix:
|
2041
|
+
- Fixed API key propagation for ApplicationFee#refund
|
1347
2042
|
|
1348
2043
|
## 1.17.2 - 2015-01-08
|
1349
|
-
|
1350
|
-
|
2044
|
+
|
2045
|
+
- 1 bugfix:
|
2046
|
+
- Fixed API key propagation for child resources
|
1351
2047
|
|
1352
2048
|
## 1.17.1 - 2015-01-07
|
1353
|
-
|
1354
|
-
|
1355
|
-
|
2049
|
+
|
2050
|
+
- 2 minor enhacements:
|
2051
|
+
- Fixed dependencies for Ruby versions less than 1.9.3
|
2052
|
+
- Added deauthorize method to Account object
|
1356
2053
|
|
1357
2054
|
## 1.17.0 - 2014-12-15
|
1358
|
-
|
1359
|
-
|
2055
|
+
|
2056
|
+
- 1 major enhacement:
|
2057
|
+
- File uploads resource was added (for uploading pdf or image documents for disputes)
|
1360
2058
|
|
1361
2059
|
## 1.16.1 - 2014-12-19
|
1362
|
-
|
1363
|
-
|
1364
|
-
|
2060
|
+
|
2061
|
+
- 2 minor enhancements:
|
2062
|
+
- Ability to send idempotent requests
|
2063
|
+
- Ability to specify stripe account as a header
|
1365
2064
|
|
1366
2065
|
## 1.16.0 - 2014-10-08
|
1367
|
-
|
1368
|
-
|
2066
|
+
|
2067
|
+
- 1 minor enhacement:
|
2068
|
+
- Coupons now support update operations - useful for manipulating metadata
|
1369
2069
|
|
1370
2070
|
## 1.15.0 - 2014-07-26
|
1371
|
-
|
1372
|
-
|
2071
|
+
|
2072
|
+
- 1 major enhacement:
|
2073
|
+
- Application Fee refunds now a list instead of array
|
1373
2074
|
|
1374
2075
|
## 1.14.0 - 2014-06-17
|
1375
|
-
|
1376
|
-
|
2076
|
+
|
2077
|
+
- 1 major enhancement:
|
2078
|
+
- Add metadata for refunds and disputes
|
1377
2079
|
|
1378
2080
|
## 1.13.0 - 2014-05-28
|
1379
|
-
|
1380
|
-
|
2081
|
+
|
2082
|
+
- 1 major enhancement:
|
2083
|
+
- Support for canceling transfers
|
1381
2084
|
|
1382
2085
|
## 1.12.0 - 2014-05-21
|
1383
|
-
|
1384
|
-
|
2086
|
+
|
2087
|
+
- 1 major enhancement:
|
2088
|
+
- Support for cards for recipients
|
1385
2089
|
|
1386
2090
|
## 1.11.0 - 2014-04-09
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
2091
|
+
|
2092
|
+
- 2 minor enhancements:
|
2093
|
+
- Update included ca bundles
|
2094
|
+
- Implement certificate blacklisting
|
1390
2095
|
|
1391
2096
|
## 1.10.2 - 2014-02-18
|
1392
|
-
|
1393
|
-
|
2097
|
+
|
2098
|
+
- 1 minor enhancement:
|
2099
|
+
- Add create_subscription on Customer resources, so you can create
|
1394
2100
|
subscriptions without needing to retrieve the customer first (github
|
1395
2101
|
issue #120)
|
1396
2102
|
|
1397
2103
|
## 1.10.1 - 2014-02-03
|
1398
|
-
|
1399
|
-
|
2104
|
+
|
2105
|
+
- 1 bugfix:
|
2106
|
+
- Fix marshaling of StripeObjects
|
1400
2107
|
|
1401
2108
|
## 1.10.0 - 2014-01-29
|
1402
|
-
* 2 major enhancements
|
1403
|
-
* Support for multiple subscriptions per customer
|
1404
|
-
* Testing ruby 2.1.0
|
1405
2109
|
|
1406
|
-
|
1407
|
-
|
1408
|
-
|
2110
|
+
- 2 major enhancements
|
2111
|
+
|
2112
|
+
- Support for multiple subscriptions per customer
|
2113
|
+
- Testing ruby 2.1.0
|
2114
|
+
|
2115
|
+
- 2 minor enhancements
|
2116
|
+
|
2117
|
+
- Replace multi_json with json
|
2118
|
+
- Allow #save to take opts (for :expand)
|
1409
2119
|
|
1410
|
-
|
1411
|
-
|
2120
|
+
- 1 bugfix
|
2121
|
+
- Fix #try and #respond_to? on StripeObjects
|
1412
2122
|
|
1413
2123
|
## 1.9.9 - 2013-12-02
|
1414
|
-
|
1415
|
-
|
2124
|
+
|
2125
|
+
- 1 major enhancement
|
2126
|
+
- Add ApplicationFee resource
|
1416
2127
|
|
1417
2128
|
## 1.8.9 - 2013-11-14
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
2129
|
+
|
2130
|
+
- 2 bugfixes:
|
2131
|
+
- Fix gemspec dependencies so the gem doesn't break for Ruby 1.8 users
|
2132
|
+
- Fix api_resource_test to not use returns as a way of testing rescue behavior
|
1421
2133
|
|
1422
2134
|
## 1.8.8 - 2013-10-3
|
1423
|
-
|
1424
|
-
|
2135
|
+
|
2136
|
+
- 1 major enhancement
|
2137
|
+
- Add support for metadata on resources
|
1425
2138
|
|
1426
2139
|
## 1.8.7 - 2013-08-18
|
1427
|
-
|
1428
|
-
|
2140
|
+
|
2141
|
+
- 1 minor enhancement
|
2142
|
+
- Add support for closing disputes.
|
1429
2143
|
|
1430
2144
|
## 1.8.6 - 2013-08-13
|
1431
|
-
|
1432
|
-
|
2145
|
+
|
2146
|
+
- 1 major enhancement
|
2147
|
+
- Add Balance and BalanceTransaction resources
|
1433
2148
|
|
1434
2149
|
## 1.8.5 - 2013-08-12
|
1435
|
-
|
1436
|
-
|
1437
|
-
|
2150
|
+
|
2151
|
+
- 1 major enhancement
|
2152
|
+
- 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.
|
2153
|
+
- Attempting to set an object's id is now an error
|
1438
2154
|
|
1439
2155
|
## 1.8.4 - 2013-07-11
|
1440
|
-
|
1441
|
-
|
2156
|
+
|
2157
|
+
- 1 major enhancement
|
2158
|
+
- Add support for new cards API (Stripe API version - 2013-07-05)
|
1442
2159
|
|
1443
2160
|
## 1.8.3 - 2013-05-06
|
1444
|
-
|
1445
|
-
|
2161
|
+
|
2162
|
+
- 1 bugfix:
|
2163
|
+
- Fix handling of per-call API keys (github issue #67)
|
1446
2164
|
|
1447
2165
|
## 1.8.2 - 2013-05-01
|
1448
|
-
* 3 minor enhancements:
|
1449
|
-
* Use to_sym instead of type checking for minor performance improvement (github issue #59)
|
1450
|
-
* Handle low-memory situations without throwing an exception (github issue #61)
|
1451
|
-
* Add an Customer#upcoming_invoice convenience method (github issue #65)
|
1452
2166
|
|
1453
|
-
|
1454
|
-
|
2167
|
+
- 3 minor enhancements:
|
2168
|
+
|
2169
|
+
- Use to_sym instead of type checking for minor performance improvement (github issue #59)
|
2170
|
+
- Handle low-memory situations without throwing an exception (github issue #61)
|
2171
|
+
- Add an Customer#upcoming_invoice convenience method (github issue #65)
|
2172
|
+
|
2173
|
+
- 1 bugfix:
|
2174
|
+
- Allow updating resources without first retrieving them (github issue #60)
|
1455
2175
|
|
1456
2176
|
## 1.8.1 - 2013-04-19
|
1457
|
-
|
1458
|
-
|
2177
|
+
|
2178
|
+
- 1 minor enhancement:
|
2179
|
+
- Add support for specifying an API key when retrieving an upcoming invoice
|
1459
2180
|
|
1460
2181
|
## 1.8.0 - 2013-04-11
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
2182
|
+
|
2183
|
+
- 1 major enhancement:
|
2184
|
+
- Add new Recipient resource
|
2185
|
+
- Allow Transfers to be createable
|
1464
2186
|
|
1465
2187
|
## 1.7.11 - 2013-02-21
|
1466
|
-
|
1467
|
-
|
2188
|
+
|
2189
|
+
- 1 minor enhancement
|
2190
|
+
- Add 'id' to the list of permanent attributes
|
1468
2191
|
|
1469
2192
|
## 1.7.10 - 2013-02-01
|
1470
|
-
|
1471
|
-
|
2193
|
+
|
2194
|
+
- 1 major enhancement
|
2195
|
+
- 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
|
1472
2196
|
|
1473
2197
|
## 1.7.9 - 2013-01-15
|
1474
|
-
|
1475
|
-
|
2198
|
+
|
2199
|
+
- 1 major enhancement
|
2200
|
+
- Add support for setting a Stripe API version override.
|
1476
2201
|
|
1477
2202
|
## 1.7.8 - 2012-11-21
|
1478
|
-
|
1479
|
-
|
2203
|
+
|
2204
|
+
- 1 bugfix
|
2205
|
+
- Relax the version constraint on multi_json (github issue #44)
|
1480
2206
|
|
1481
2207
|
## 1.7.7 - 2012-11-07
|
1482
|
-
* 1 minor enhancement:
|
1483
|
-
* Add support for updating charge disputes
|
1484
2208
|
|
1485
|
-
|
1486
|
-
|
2209
|
+
- 1 minor enhancement:
|
2210
|
+
|
2211
|
+
- Add support for updating charge disputes
|
2212
|
+
|
2213
|
+
- 1 bugfix
|
2214
|
+
- Fix Account API resource bug
|
1487
2215
|
|
1488
2216
|
## 1.7.6 - 2012-10-30
|
1489
|
-
|
1490
|
-
|
2217
|
+
|
2218
|
+
- 1 major enhancement
|
2219
|
+
- Add support for creating invoices
|
1491
2220
|
|
1492
2221
|
## 1.7.5 - 2012-10-25
|
1493
|
-
|
1494
|
-
|
2222
|
+
|
2223
|
+
- 1 major enhancement
|
2224
|
+
- Add support for new API lists
|
1495
2225
|
|
1496
2226
|
## 1.7.4 - 2012-10-08
|
1497
|
-
|
1498
|
-
|
2227
|
+
|
2228
|
+
- 1 bugfix
|
2229
|
+
- Fix bug introduced in 1.7.3 calling API methods that take no
|
1499
2230
|
arguments, like Stripe::Invoice#pay (github issue #42)
|
1500
2231
|
|
1501
2232
|
## 1.7.3 - 2012-09-14
|
1502
|
-
|
1503
|
-
|
1504
|
-
|
2233
|
+
|
2234
|
+
- 2 bugfixes
|
2235
|
+
- 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.
|
2236
|
+
- 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)
|
1505
2237
|
|
1506
2238
|
## 1.7.2 - 2012-08-31
|
1507
|
-
|
1508
|
-
|
2239
|
+
|
2240
|
+
- 1 major enhancement
|
2241
|
+
- Add support for new pay and update methods for Invoice objects
|
1509
2242
|
|
1510
2243
|
## 1.7.1 - 2012-08-15
|
1511
|
-
|
1512
|
-
|
2244
|
+
|
2245
|
+
- 1 major enhancement
|
2246
|
+
- Add new Account API resource
|
1513
2247
|
|
1514
2248
|
## 1.7.0 - 2012-05-17
|
1515
|
-
* 3 major enhancements:
|
1516
|
-
* 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)
|
1517
|
-
* Add new delete_discount method to Customer objects
|
1518
|
-
* Add new Transfer API resource
|
1519
2249
|
|
1520
|
-
|
1521
|
-
|
1522
|
-
|
2250
|
+
- 3 major enhancements:
|
2251
|
+
|
2252
|
+
- 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)
|
2253
|
+
- Add new delete_discount method to Customer objects
|
2254
|
+
- Add new Transfer API resource
|
2255
|
+
|
2256
|
+
- 2 minor enhancements:
|
2257
|
+
- 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)
|
2258
|
+
- Numerous test suite improvements
|
1523
2259
|
|
1524
2260
|
## 1.6.3 - 2012-03-22
|
1525
|
-
|
1526
|
-
|
2261
|
+
|
2262
|
+
- 1 bugfix:
|
2263
|
+
- Encode GET query strings ourselves instead of using rest-client to work around a bug
|
1527
2264
|
|
1528
2265
|
## 1.6.2 - 2012-02-24
|
1529
|
-
|
1530
|
-
|
2266
|
+
|
2267
|
+
- 1 bugfix:
|
2268
|
+
- Correct argument handling in StripeObject#as_json
|
1531
2269
|
|
1532
2270
|
## 1.6.1 - 2012-02-22
|
1533
|
-
|
1534
|
-
|
2271
|
+
|
2272
|
+
- 1 bugfix:
|
2273
|
+
- Fix StripeObject#inspect when ActiveSupport 3.0 is loaded
|
1535
2274
|
|
1536
2275
|
## 1.6.0 - 2012-02-01
|
1537
|
-
|
1538
|
-
|
2276
|
+
|
2277
|
+
- 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
|
2278
|
+
- 1.6.0 also contains a new inspect/to_string implementation
|
1539
2279
|
|
1540
2280
|
## 1.5.0 - 2011-05-09
|
1541
|
-
|
1542
|
-
|
2281
|
+
|
2282
|
+
- 1 major enhancement:
|
2283
|
+
- Update for new RESTful API
|
1543
2284
|
|
1544
2285
|
## 1.3.4 - 2011-01-07
|
1545
|
-
|
1546
|
-
|
2286
|
+
|
2287
|
+
- 1 major enhancement:
|
2288
|
+
- Rename to Stripe
|
1547
2289
|
|
1548
2290
|
## 1.2 - 2010-06-06
|
1549
|
-
|
1550
|
-
|
2291
|
+
|
2292
|
+
- 1 major enhancement:
|
2293
|
+
- Support for the set_customer_subscription and delete_customer API methods
|
1551
2294
|
|
1552
2295
|
## 1.1 - 2010-03-14
|
1553
|
-
|
1554
|
-
|
2296
|
+
|
2297
|
+
- 1 major enhancement:
|
2298
|
+
- Support for recurring billing
|
1555
2299
|
|
1556
2300
|
## 1.0 - 2010-01-05
|
1557
|
-
|
1558
|
-
|
2301
|
+
|
2302
|
+
- 1 major enhancement:
|
2303
|
+
- Initial release
|
1559
2304
|
|
1560
2305
|
<!--
|
1561
2306
|
# vim: set tw=0:
|
1562
2307
|
-->
|
2308
|
+
|