stripe 13.0.1 → 13.1.0.pre.beta.3

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