stripe 12.6.0 → 12.7.0.pre.beta.1

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