stripe 12.3.0 → 12.5.0.pre.beta.1

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