stripe 11.3.0.pre.beta.1 → 11.3.0

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