stripe 13.0.2 → 13.1.0.pre.beta.2

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