stripe 13.1.0 → 13.2.0.pre.beta.1

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