stripe 11.1.0.pre.beta.1 → 11.1.0

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