stripe 12.6.0.pre.beta.1 → 12.6.1

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