stripe 11.4.0.pre.beta.1 → 11.4.0

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