stripe 12.6.0.pre.beta.1 → 12.6.0

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