stripe 11.5.0.pre.beta.1 → 11.6.0

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