Upload CHANGELOG 2.md

#3
Files changed (1) hide show
  1. CHANGELOG 2.md +1435 -0
CHANGELOG 2.md ADDED
@@ -0,0 +1,1435 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Changelog
2
+ ## 12.0.0 - 2024-06-24
3
+ * [#1418](https://github.com/stripe/stripe-ruby/pull/1418) Add missing static method for verify on BankAccount
4
+ * [#1419](https://github.com/stripe/stripe-ruby/pull/1419)
5
+
6
+ This release changes the pinned API version to 2024-06-20. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-06-20) and carefully review the API changes before upgrading.
7
+
8
+ ### ⚠️ Breaking changes
9
+
10
+ * Singleton `retrieve` method now requires `params` to be passed as the first argument. Existing calls to singleton `retrieve` method with only `opts` argument will have to be updated to account for the addition of `params` argument.
11
+ ```ruby
12
+ params = { expand: ["available"] }
13
+ opts = { stripe_account: "acct_123" }
14
+
15
+ # ❌ No longer works
16
+ Stripe::Balance.retrieve(opts)
17
+
18
+ # ✅ Correct way to call retrieve method
19
+ Stripe::Balance.retrieve(params, opts)
20
+ ```
21
+
22
+ ### Additions
23
+
24
+ * Add support for `finalize_amount` test helper method on resource `Issuing.Authorization`
25
+
26
+ ## 11.7.0 - 2024-06-13
27
+ * [#1415](https://github.com/stripe/stripe-ruby/pull/1415) Deprecate StripeClient#request
28
+ * Add deprecation warning for `StripeClient#request`. This helper method will be removed in a future major version. To access response objects, use the `last_response` property on the returned resource instead. Refer to [Accessing a response object](https://github.com/stripe/stripe-ruby?tab=readme-ov-file#accessing-a-response-object) in the README for usage details.
29
+
30
+ ## 11.6.0 - 2024-05-30
31
+ * [#1404](https://github.com/stripe/stripe-ruby/pull/1404) Add method to list invoice line items
32
+ * Add methods `list_lines()` on the class `Invoice` to list the invoice line items
33
+
34
+ ## 11.5.0 - 2024-05-23
35
+ * This release has no changes.
36
+
37
+ ## 11.4.0 - 2024-05-09
38
+ * [#1397](https://github.com/stripe/stripe-ruby/pull/1397) Update generated code
39
+ * Add support for `update` test helper method on resources `Treasury.OutboundPayment` and `Treasury.OutboundTransfer`
40
+ * [#1399](https://github.com/stripe/stripe-ruby/pull/1399) Pass params to transfer reversal
41
+ * Allow `Stripe::Transfer.retrieve_reversal()` to accept a params hash as the third argument, followed by opts. No changes to existing calls are necessary, but in a future major version this method will be updated to only accept params as the first argument. Fixes [#1393](https://github.com/stripe/stripe-ruby/issues/1393)
42
+ * [#1389](https://github.com/stripe/stripe-ruby/pull/1389) Removed jaro_winkler as a dependency
43
+ * [#1396](https://github.com/stripe/stripe-ruby/pull/1396) Start tracking `StripeClient#request` usage
44
+
45
+ ## 11.3.0 - 2024-05-02
46
+ * [#1387](https://github.com/stripe/stripe-ruby/pull/1387) Update generated code
47
+
48
+ * [#1392](https://github.com/stripe/stripe-ruby/pull/1392) Deprecate Ruby methods based on OpenAPI spec
49
+ - Mark as deprecated the `approve` and `decline` methods in `lib/stripe/resources/issuing/authorization.rb`. Instead, [respond directly to the webhook request to approve an authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling).
50
+ * [#1391](https://github.com/stripe/stripe-ruby/pull/1391) Add Ruby 3.3 to CI test matrix
51
+
52
+ ## 11.2.0 - 2024-04-18
53
+ * [#1385](https://github.com/stripe/stripe-ruby/pull/1385) Update generated code
54
+ * Add support for `create_preview` method on resource `Invoice`
55
+
56
+ ## 11.1.0 - 2024-04-16
57
+ * [#1379](https://github.com/stripe/stripe-ruby/pull/1379) Update generated code
58
+ * Add support for new resource `Entitlements.ActiveEntitlementSummary`
59
+
60
+ ## 11.0.0 - 2024-04-10
61
+ * [#1374](https://github.com/stripe/stripe-ruby/pull/1374)
62
+
63
+ * 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.
64
+
65
+ ### ⚠️ Breaking changes
66
+
67
+ * 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.
68
+
69
+ ## 10.15.0 - 2024-04-09
70
+ * [#1377](https://github.com/stripe/stripe-ruby/pull/1377) Add last_response to StripeObject
71
+ * 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.
72
+ * [#1372](https://github.com/stripe/stripe-ruby/pull/1372) Update generated code
73
+ * Add support for new resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
74
+ * Add support for `list` and `retrieve` methods on resource `ActiveEntitlement`
75
+ * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Feature`
76
+ * [#1366](https://github.com/stripe/stripe-ruby/pull/1366) Move executables to `exe` folder
77
+
78
+ ## 10.14.0 - 2024-03-28
79
+ * [#1369](https://github.com/stripe/stripe-ruby/pull/1369) Update generated code
80
+ * Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
81
+ * Add support for `create`, `deactivate`, `list`, `reactivate`, `retrieve`, and `update` methods on resource `Meter`
82
+ * Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent`
83
+
84
+ ## 10.13.0 - 2024-03-21
85
+ * [#1367](https://github.com/stripe/stripe-ruby/pull/1367) Update generated code
86
+ * Add support for new resources `ConfirmationToken` and `Forwarding.Request`
87
+ * Add support for `retrieve` method on resource `ConfirmationToken`
88
+ * Add support for `create`, `list`, and `retrieve` methods on resource `Request`
89
+ * [#1362](https://github.com/stripe/stripe-ruby/pull/1362) Exclude sorbet directory and tapioca script when packing gem
90
+
91
+ ## 10.12.0 - 2024-03-14
92
+ * [#1359](https://github.com/stripe/stripe-ruby/pull/1359) Update generated code
93
+ * Add support for new resources `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
94
+ * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PersonalizationDesign`
95
+ * Add support for `list` and `retrieve` methods on resource `PhysicalBundle`
96
+ * [#1354](https://github.com/stripe/stripe-ruby/pull/1354) Refactor after SDK based generation pattern
97
+ * [#1347](https://github.com/stripe/stripe-ruby/pull/1347) Reorder methods with lexographical sort
98
+ * [#1355](https://github.com/stripe/stripe-ruby/pull/1355) Disable Metrics/ClassLength
99
+ * [#1351](https://github.com/stripe/stripe-ruby/pull/1351) Update CHANGELOG.md
100
+
101
+ ## 10.11.0 - 2024-02-29
102
+ * [#1348](https://github.com/stripe/stripe-ruby/pull/1348) Use sorbet gem instead of sorbet-static
103
+ * [#1342](https://github.com/stripe/stripe-ruby/pull/1342) Update generated code
104
+ * Add `list_refunds` and `retrieve_refund` methods on resource `Charge`.
105
+ * [#1345](https://github.com/stripe/stripe-ruby/pull/1345) Update README to use add_beta_version
106
+
107
+ ## 10.10.0 - 2024-02-22
108
+ * [#1336](https://github.com/stripe/stripe-ruby/pull/1336) Update generated code
109
+ - Add `InvoiceLineItem.update` method.
110
+ * [#1334](https://github.com/stripe/stripe-ruby/pull/1334) Add TaxIds API
111
+ * Add support for `all`, `create`, and `retrieve` methods on resource `TaxId`
112
+ * 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.
113
+ * 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.
114
+
115
+ ## 10.9.0 - 2024-02-15
116
+ * [#1329](https://github.com/stripe/stripe-ruby/pull/1329) Update generated code
117
+ * Fixed bug where `TaxId` resource `delete` method sent request to wrong URL (https://github.com/stripe/stripe-ruby/issues/1333)
118
+ * [#1324](https://github.com/stripe/stripe-ruby/pull/1324) Start running Sorbet in CI
119
+ * [#1327](https://github.com/stripe/stripe-ruby/pull/1327) Add methods for dynamically referenced constants
120
+
121
+ ## 10.8.0 - 2024-02-08
122
+ * [#1322](https://github.com/stripe/stripe-ruby/pull/1322) Update generated code
123
+ * [#1323](https://github.com/stripe/stripe-ruby/pull/1323) Extract other CRUDL api operations from mixins
124
+ * Extract more CRUDL operations, namely `create`, `delete`, `update`, and `list` into the resources. These methods will no longer rely on the APIOperation mixins.
125
+ * [#1314](https://github.com/stripe/stripe-ruby/pull/1314) Update mocha gem to 1.16
126
+
127
+ ## 10.7.1 - 2024-02-05
128
+ * [#1320](https://github.com/stripe/stripe-ruby/pull/1320) Remove spurious _search deprecation messages (https://github.com/stripe/stripe-ruby/issues/1319)
129
+
130
+ ## 10.7.0 - 2024-02-01
131
+ * [#1317](https://github.com/stripe/stripe-ruby/pull/1317) Remove list method in child resources
132
+ * Removes list method mixin from child resources, as these methods always return `InvalidRequestError` and never succeed
133
+ * [#1311](https://github.com/stripe/stripe-ruby/pull/1311) Use the deprecation gem in search and clean up usage of the gem
134
+
135
+ ## 10.6.0 - 2024-01-12
136
+ * [#1310](https://github.com/stripe/stripe-ruby/pull/1310) Update generated code
137
+ * Add support for new resource `CustomerSession`
138
+ * Add support for `create` method on resource `CustomerSession`
139
+
140
+ ## 10.5.0 - 2024-01-04
141
+ * [#1306](https://github.com/stripe/stripe-ruby/pull/1306) Update generated code
142
+ * Add support for `retrieve` method on resource `Tax.Registration`
143
+
144
+ ## 10.4.0 - 2023-12-22
145
+ * [#1303](https://github.com/stripe/stripe-ruby/pull/1303) Update generated code
146
+ * Add support for new resource `FinancialConnections.Transaction`
147
+ * Add support for `list` and `retrieve` methods on resource `Transaction`
148
+ * Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
149
+ * [#1304](https://github.com/stripe/stripe-ruby/pull/1304) Add support for updatable singleton resources
150
+
151
+ ## 10.3.0 - 2023-12-14
152
+ * [#1294](https://github.com/stripe/stripe-ruby/pull/1294) Support sending parameters inside singleton retrieve
153
+
154
+ ## 10.2.0 - 2023-11-30
155
+ * [#1292](https://github.com/stripe/stripe-ruby/pull/1292) Update generated code
156
+ * Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
157
+ * Add support for `cancel`, `create`, `list`, `retrieve`, and `update` methods on resource `Order`
158
+ * Add support for `list` and `retrieve` methods on resources `Product` and `Supplier`
159
+ * [#1295](https://github.com/stripe/stripe-ruby/pull/1295) Upgrade rubocop
160
+ * [#1291](https://github.com/stripe/stripe-ruby/pull/1291) Update generated code
161
+
162
+ * [#1290](https://github.com/stripe/stripe-ruby/pull/1290) Update generated code
163
+
164
+ * [#1288](https://github.com/stripe/stripe-ruby/pull/1288) Update generated code
165
+
166
+
167
+ ## 10.1.0 - 2023-11-02
168
+ * [#1286](https://github.com/stripe/stripe-ruby/pull/1286) Update generated code
169
+ * Add support for new resource `Tax.Registration`
170
+ * Add support for `create`, `list`, and `update` methods on resource `Registration`
171
+
172
+ ## 10.0.0 - 2023-10-16
173
+ * 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`.
174
+ * [#1283](https://github.com/stripe/stripe-ruby/pull/1283) Update generated code
175
+ - Updated pinned API version
176
+ * [#1281](https://github.com/stripe/stripe-ruby/pull/1281) Update generated code
177
+ * Documentation only changes
178
+
179
+ ## 9.4.0 - 2023-10-05
180
+ * [#1277](https://github.com/stripe/stripe-ruby/pull/1277) Update generated code
181
+ * Add support for new resources `Issuing.Token`
182
+ * Add support for `list`, `retrieve`, and `update` methods on resource `Token`
183
+
184
+ ## 9.3.0 - 2023-09-14
185
+ * [#1272](https://github.com/stripe/stripe-ruby/pull/1272) Update generated code
186
+ * Add support for new resource `PaymentMethodConfiguration`
187
+ * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
188
+ * [#1271](https://github.com/stripe/stripe-ruby/pull/1271) Update generated code
189
+ * Add support for `capture`, `create`, `expire`, `increment`, and `reverse` test helper methods on resource `Issuing.Authorization`
190
+ * Add support for `create_force_capture`, `create_unlinked_refund`, and `refund` test helper methods on resource `Issuing.Transaction`
191
+
192
+ ## 9.2.0 - 2023-09-07
193
+ * [#1267](https://github.com/stripe/stripe-ruby/pull/1267) Update generated code
194
+ * Add support for new resource `PaymentMethodDomain`
195
+ * Add support for `create`, `list`, `retrieve`, `update`, and `validate` methods on resource `PaymentMethodDomain`
196
+
197
+ ## 9.1.0 - 2023-08-31
198
+ * [#1266](https://github.com/stripe/stripe-ruby/pull/1266) Update generated code
199
+ * Add support for new resource `AccountSession`
200
+ * Add support for `create` method on resource `AccountSession`
201
+ * [#1262](https://github.com/stripe/stripe-ruby/pull/1262) Explicitly format timestamp in SignatureVerificationError message
202
+
203
+
204
+ ## 9.0.0 - 2023-08-16
205
+ **⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️**
206
+
207
+ * [#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
208
+
209
+ 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).
210
+
211
+ To successfully upgrade to stripe-ruby v9, you must either
212
+
213
+ 1. **(Recommended) Upgrade your integration to be compatible with API Version `2023-08-16`.**
214
+
215
+ 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.
216
+
217
+ You can read the [v9 migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v9) for more detailed instructions.
218
+ 2. **(Alternative option) Specify a version other than `2023-08-16` when initializing `stripe-ruby`.**
219
+
220
+ 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:
221
+
222
+ ```diff
223
+ require 'stripe'
224
+ Stripe.api_key = "sk_test_..."
225
+ + Stripe.api_version = '2020-08-27'
226
+ ```
227
+
228
+ If you were already initializing stripe-ruby with an explicit API Version, upgrading to v9 will not affect your integration.
229
+
230
+ Read the [v9 migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v9) for more details.
231
+
232
+ Going forward, each major release of this library will be *pinned* by default to the latest Stripe API Version at the time of release.
233
+
234
+ 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.
235
+
236
+ ## 8.7.0 - 2023-08-10
237
+ * [#1256](https://github.com/stripe/stripe-ruby/pull/1256) Update generated code
238
+ 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.
239
+
240
+ ## 8.6.0 - 2023-07-13
241
+ * [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
242
+ * Add support for new resource `Tax.Settings`
243
+ * Add support for `retrieve` and `update` methods on resource `Settings`
244
+ * [#1241](https://github.com/stripe/stripe-ruby/pull/1241) Update generated code
245
+
246
+ * [#1209](https://github.com/stripe/stripe-ruby/pull/1209) Update shoulda-context version
247
+ * [#1235](https://github.com/stripe/stripe-ruby/pull/1235) Allow "error" string as log level
248
+ * [#1238](https://github.com/stripe/stripe-ruby/pull/1238) Update log level error message to include `error`
249
+ * [#1231](https://github.com/stripe/stripe-ruby/pull/1231) fix: variable typo in README for instrumentation
250
+ * [#1234](https://github.com/stripe/stripe-ruby/pull/1234) Update generated code
251
+
252
+ * [#1230](https://github.com/stripe/stripe-ruby/pull/1230) Update generated code
253
+ * Release specs are identical.
254
+ * [#1226](https://github.com/stripe/stripe-ruby/pull/1226) Update generated code
255
+
256
+ * [#1223](https://github.com/stripe/stripe-ruby/pull/1223) Update generated code
257
+
258
+ * [#1225](https://github.com/stripe/stripe-ruby/pull/1225) Downgrade jaro_winkler
259
+ * [#1219](https://github.com/stripe/stripe-ruby/pull/1219) Update generated code
260
+
261
+ Documentation updates.
262
+ * [#1215](https://github.com/stripe/stripe-ruby/pull/1215) Update generated code
263
+
264
+ * [#1208](https://github.com/stripe/stripe-ruby/pull/1208) Update generated code
265
+
266
+ * [#1204](https://github.com/stripe/stripe-ruby/pull/1204) Update generated code
267
+
268
+
269
+ ## 8.5.0 - 2023-03-30
270
+ * [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
271
+ * Remove support for `create` method on resource `Tax.Transaction`
272
+ * 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.
273
+ * [#1201](https://github.com/stripe/stripe-ruby/pull/1201) Update save deprecation message
274
+
275
+ ## 8.4.0 - 2023-03-23
276
+ * [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
277
+ * Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
278
+ * Add support for `create` and `list_line_items` methods on resource `Calculation`
279
+ * Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
280
+ * [#1152](https://github.com/stripe/stripe-ruby/pull/1152) Symbolize hash keys inside `convert_to_stripe_object_with_params`
281
+
282
+ ## 8.3.0 - 2023-02-16
283
+ * [#1175](https://github.com/stripe/stripe-ruby/pull/1175) API Updates
284
+ * Add support for `refund_payment` method on resource `Terminal.Reader`
285
+
286
+ ## 8.2.0 - 2023-02-02
287
+ * [#1173](https://github.com/stripe/stripe-ruby/pull/1173) API Updates
288
+ * Add support for `resume` method on resource `Subscription`
289
+ * [#1171](https://github.com/stripe/stripe-ruby/pull/1171) Remove unused `partial` param from `initialize_from`
290
+
291
+ ## 8.1.0 - 2023-01-12
292
+ * [#1162](https://github.com/stripe/stripe-ruby/pull/1162) Improve request events instrumentation
293
+
294
+ ## 8.0.0 - 2022-11-16
295
+ * [#1144](https://github.com/stripe/stripe-ruby/pull/1144) Next major release changes
296
+
297
+ 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.
298
+
299
+ "⚠️" symbol highlights breaking changes.
300
+
301
+ ### Deprecated
302
+ - The `save` method is deprecated. Prefer the static `update` method that doesn't require retrieval of the resource to update it.
303
+ ``` ruby
304
+ # before
305
+ refund = Stripe::Refund.retrieve("re_123")
306
+ refund.description = "Refund description"
307
+ refund.save
308
+
309
+ # after
310
+ Stripe::Refund.update("re_123", description: "Refund description")
311
+ ```
312
+
313
+ ### ⚠️ Removed
314
+ - Removed deprecated `Sku` resource.
315
+ - Removed deprecated `Orders` resource.
316
+ - Removed deprecated `delete` method on `Subscription` resource. Please use `cancel` method instead.
317
+ ```ruby
318
+ # before
319
+ Stripe::Subscription::delete("sub_12345")
320
+
321
+ # after
322
+ Stripe::Subscription::cancel("sub_12345")
323
+ ```
324
+
325
+
326
+ ## 7.1.0 - 2022-08-19
327
+ * [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
328
+ * Add support for new resource `CustomerCashBalanceTransaction`
329
+ * [#1118](https://github.com/stripe/stripe-ruby/pull/1118) Update AllowedChars in rubocop config
330
+ * [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
331
+ * [#1115](https://github.com/stripe/stripe-ruby/pull/1115) Add a support section to the readme
332
+
333
+ ## 7.0.0 - 2022-08-02
334
+
335
+ Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v7. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01.
336
+
337
+ "⚠️" symbol highlights breaking changes.
338
+
339
+ * [#1106](https://github.com/stripe/stripe-ruby/pull/1106) API Updates
340
+ * [#1092](https://github.com/stripe/stripe-ruby/pull/1092) API Updates
341
+ * [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods
342
+ * [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes
343
+
344
+ ### ⚠️ Changed
345
+ * `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.
346
+ * Update default bundle of CA certificates to April 26, 2022.
347
+
348
+ ### Deprecated
349
+ * Deprecate `delete` method on `Subscription` resource. Please use `cancel` method instead.
350
+
351
+ ### ⚠️ Removed
352
+ * Remove `details` method from `Issuing.Card` resource. The method was not supported.
353
+ * Remove `Issuing.CardDetails` resource. Read more at https://stripe.com/docs/issuing/cards/virtual.
354
+ * Remove `create` method from `ReportType` resource. The method was not supported.
355
+ * Remove `usage_record_summaries` method from `SubscriptionItem` resource. Please use `list_usage_record_summaries` method instead.
356
+ * Remove `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `Issuing::CardDetails`, `Recipient`, ` RecipientTransfer`, and `ThreeDSecure` resources. The resources were deprecated or no longer in use.
357
+ * Remove ability to list `Card` resource for a `Recipient`.
358
+ * Remove `cancel` method from `Transfer` resource. The method was deprecated.
359
+
360
+ ## 6.5.0 - 2022-06-29
361
+ * [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
362
+ * Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card`
363
+ * [#1076](https://github.com/stripe/stripe-ruby/pull/1076) fix: Update logging to coerce ASCII-8BIT into UTF-8.
364
+
365
+ ## 6.4.0 - 2022-06-17
366
+ * [#1073](https://github.com/stripe/stripe-ruby/pull/1073) API Updates
367
+ * Add support for `fund_cash_balance` test helper method on resource `Customer`
368
+ * [#1074](https://github.com/stripe/stripe-ruby/pull/1074) Support updating pre-release versions
369
+ * [#1072](https://github.com/stripe/stripe-ruby/pull/1072) Trigger workflows on beta branches
370
+ * [#1071](https://github.com/stripe/stripe-ruby/pull/1071) Use request_stripe_object for all requests
371
+ * [#1070](https://github.com/stripe/stripe-ruby/pull/1070) API Updates
372
+
373
+ Switch from using meta-programing to generating explicit methods for custom methods.
374
+ * [#1069](https://github.com/stripe/stripe-ruby/pull/1069) chore: Stop special implementation of Account.persons method.
375
+
376
+ ## 6.3.0 - 2022-06-08
377
+ * [#1063](https://github.com/stripe/stripe-ruby/pull/1063) fix: Update cash balance methods to no longer require nested ID.
378
+
379
+ ## 6.2.0 - 2022-05-23
380
+ * [#1060](https://github.com/stripe/stripe-ruby/pull/1060) API Updates
381
+ * Add support for new resource `Apps.Secret`
382
+
383
+ ## 6.1.0 - 2022-05-19
384
+ * [#1057](https://github.com/stripe/stripe-ruby/pull/1057) API Updates
385
+ * 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`
386
+ * Add support for `retrieve_payment_method` method on resource `Customer`
387
+ * Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
388
+
389
+
390
+
391
+ ## 6.0.0 - 2022-05-09
392
+ * [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
393
+ Major version release. The [migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-Guide-for-v6) contains more information.
394
+
395
+ (⚠️ = breaking changes):
396
+ * ⚠️ Replace the legacy `Order` API with the new `Order` API.
397
+ * New methods: `cancel`, `list_line_items`, `reopen`, and `submit`
398
+ * Removed methods: `pay` and `return_order`
399
+ * Removed resources: `OrderItem` and `OrderReturn`
400
+ * ⚠️ Rename `FinancialConnections::Account.refresh` to `FinancialConnections::Account.refresh_account
401
+
402
+ ## 5.55.0 - 2022-05-05
403
+ * [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
404
+ * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
405
+
406
+
407
+ ## 5.54.0 - 2022-05-03
408
+ * [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
409
+ * Add support for new resource `CashBalance`
410
+
411
+ ## 5.53.0 - 2022-04-21
412
+ * [#1050](https://github.com/stripe/stripe-ruby/pull/1050) API Updates
413
+ * Add support for `expire` test helper method on resource `Refund`
414
+
415
+ ## 5.52.0 - 2022-04-18
416
+ * [#1046](https://github.com/stripe/stripe-ruby/pull/1046) [#1047](https://github.com/stripe/stripe-ruby/pull/1047) API Updates
417
+ * Add support for new resources `FundingInstructions` and `Terminal.Configuration`
418
+
419
+ ## 5.51.0 - 2022-04-15
420
+ * [#1046](https://github.com/stripe/stripe-ruby/pull/1046) This release was incomplete and was yanked from RubyGems immediately after it was published.
421
+
422
+ ## 5.50.0 - 2022-04-13
423
+ * [#1045](https://github.com/stripe/stripe-ruby/pull/1045) API Updates
424
+ * Add support for `increment_authorization` method on resource `PaymentIntent`
425
+
426
+ ## 5.49.0 - 2022-04-08
427
+ * [#1043](https://github.com/stripe/stripe-ruby/pull/1043) API Updates
428
+ * Add support for `apply_customer_balance` method on resource `PaymentIntent`
429
+
430
+ ## 5.48.0 - 2022-03-30
431
+ * [#1041](https://github.com/stripe/stripe-ruby/pull/1041) API Updates
432
+ * Add support for `cancel_action`, `process_payment_intent`, `process_setup_intent`, and `set_reader_display` methods on resource `Terminal.Reader`
433
+
434
+ ## 5.47.0 - 2022-03-29
435
+ * [#1040](https://github.com/stripe/stripe-ruby/pull/1040) API Updates
436
+ * Add support for Search API
437
+ * Add support for `search` method on resources `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription`
438
+
439
+ * [#1034](https://github.com/stripe/stripe-ruby/pull/1034) Add supporting classes for test helper generation
440
+
441
+ ## 5.46.0 - 2022-03-23
442
+ * [#1039](https://github.com/stripe/stripe-ruby/pull/1039) API Updates
443
+ * Add support for `cancel` method on resource `Refund`
444
+ * [#992](https://github.com/stripe/stripe-ruby/pull/992) Add support for Search API
445
+
446
+ ## 5.45.0 - 2022-03-01
447
+ * [#1035](https://github.com/stripe/stripe-ruby/pull/1035) API Updates
448
+ * Add support for new resource `TestHelpers.TestClock`
449
+
450
+ ## 5.44.0 - 2022-02-16
451
+ * [#1032](https://github.com/stripe/stripe-ruby/pull/1032) API Updates
452
+ * Add support for `verify_microdeposits` method on resources `PaymentIntent` and `SetupIntent`
453
+
454
+ ## 5.43.0 - 2022-01-20
455
+ * [#1031](https://github.com/stripe/stripe-ruby/pull/1031) API Updates
456
+ * Add support for new resource `PaymentLink`
457
+
458
+ ## 5.42.0 - 2021-12-13
459
+ * [#1022](https://github.com/stripe/stripe-ruby/pull/1022) Add connection manager logging and include object IDs in logging.
460
+
461
+ ## 5.41.0 - 2021-11-16
462
+ * [#1017](https://github.com/stripe/stripe-ruby/pull/1017) API Updates
463
+ * Add support for new resource `ShippingRate`
464
+
465
+ ## 5.40.0 - 2021-11-11
466
+ * [#1015](https://github.com/stripe/stripe-ruby/pull/1015) API Updates
467
+ * Add support for `expire` method on resource `Checkout.Session`
468
+ * [#1013](https://github.com/stripe/stripe-ruby/pull/1013) Add tests for child resources.
469
+ * [#1012](https://github.com/stripe/stripe-ruby/pull/1012) Add tests for namespaced resources.
470
+ * [#1011](https://github.com/stripe/stripe-ruby/pull/1011) codegen: 3 more files
471
+
472
+ ## 5.39.0 - 2021-10-11
473
+ * [#1010](https://github.com/stripe/stripe-ruby/pull/1010) API Updates
474
+ * Add support for `list_payment_methods` method on resource `Customer`
475
+
476
+ ## 5.38.0 - 2021-08-10
477
+ * [#993](https://github.com/stripe/stripe-ruby/pull/993) Add `request_id` to RequestEndEvent
478
+ * [#991](https://github.com/stripe/stripe-ruby/pull/991) Codegen more files
479
+ * [#989](https://github.com/stripe/stripe-ruby/pull/989) Remove unused API error types from docs.
480
+
481
+ ## 5.37.0 - 2021-07-14
482
+ * [#988](https://github.com/stripe/stripe-ruby/pull/988) API Updates
483
+ * Add support for `list_computed_upfront_line_items` method on resource `Quote`
484
+
485
+ ## 5.36.0 - 2021-07-09
486
+ * [#987](https://github.com/stripe/stripe-ruby/pull/987) Add support for `Quote` API
487
+
488
+ ## 5.35.0 - 2021-06-30
489
+ * [#985](https://github.com/stripe/stripe-ruby/pull/985) Update normalize_opts to use dup instead of clone.
490
+ * [#982](https://github.com/stripe/stripe-ruby/pull/982) Deprecate travis
491
+ * [#983](https://github.com/stripe/stripe-ruby/pull/983) Add support for making a request and receiving the response as a stream.
492
+
493
+ ## 5.34.0 - 2021-06-04
494
+ * [#981](https://github.com/stripe/stripe-ruby/pull/981) API Updates
495
+ * Add support for `TaxCode` API.
496
+
497
+ ## 5.33.0 - 2021-05-19
498
+ * [#979](https://github.com/stripe/stripe-ruby/pull/979) Add support for the Identify VerificationSession and VerificationReport APIs
499
+
500
+ ## 5.32.1 - 2021-04-05
501
+ * Correct use of regexp `match` in gemspec for old versions of Ruby
502
+
503
+ ## 5.32.0 - 2021-04-05
504
+ * [#973](https://github.com/stripe/stripe-ruby/pull/973) Reduce packed gem size
505
+
506
+ ## 5.31.0 - 2021-04-02
507
+ * [#968](https://github.com/stripe/stripe-ruby/pull/968) Allow StripeClient to be configured per instance
508
+ * [#971](https://github.com/stripe/stripe-ruby/pull/971) On config change, only clear connection managers for changed config
509
+ * [#972](https://github.com/stripe/stripe-ruby/pull/972) Rename `Stripe.configuration` to `Stripe.config`
510
+ * [#970](https://github.com/stripe/stripe-ruby/pull/970) Reserve some critical field names when adding `StripeObject` accessors
511
+ * [#967](https://github.com/stripe/stripe-ruby/pull/967) CI: github actions
512
+
513
+ ## 5.30.0 - 2021-02-22
514
+ * [#965](https://github.com/stripe/stripe-ruby/pull/965) Add support for the Billing Portal Configuration API
515
+
516
+ ## 5.29.1 - 2021-02-09
517
+ * [#964](https://github.com/stripe/stripe-ruby/pull/964) Fix return value of `Customer#delete_discount`
518
+
519
+ ## 5.29.0 - 2021-01-05
520
+ * [#952](https://github.com/stripe/stripe-ruby/pull/952) Allow client_id configuration on instance config
521
+
522
+ ## 5.28.0 - 2020-10-14
523
+ * [#950](https://github.com/stripe/stripe-ruby/pull/950) Add configuration option for `write_timeout` for connections on Ruby 2.6+
524
+
525
+ ## 5.27.0 - 2020-10-14
526
+ * [#951](https://github.com/stripe/stripe-ruby/pull/951) Add support for the Payout Reverse API
527
+
528
+ ## 5.26.0 - 2020-09-29
529
+ * [#949](https://github.com/stripe/stripe-ruby/pull/949) Add support for the `SetupAttempt` resource and List API
530
+
531
+ ## 5.25.0 - 2020-09-02
532
+ * [#944](https://github.com/stripe/stripe-ruby/pull/944) Add support for the Issuing Dispute Submit API
533
+
534
+ ## 5.24.0 - 2020-08-26
535
+ * [#939](https://github.com/stripe/stripe-ruby/pull/939) Extract configurations into separate object
536
+ * [#940](https://github.com/stripe/stripe-ruby/pull/940) Fix typo in documentation of `stripe_object.rb`
537
+
538
+ ## 5.23.1 - 2020-08-05
539
+ * [#936](https://github.com/stripe/stripe-ruby/pull/936) Rename API resource's `request` method
540
+
541
+ ## 5.23.0 - 2020-08-05
542
+ * [#937](https://github.com/stripe/stripe-ruby/pull/937) Add support for the `PromotionCode` resource and APIs
543
+
544
+ ## 5.22.0 - 2020-05-11
545
+ * [#918](https://github.com/stripe/stripe-ruby/pull/918) Add support for the `LineItem` resource and APIs
546
+
547
+ ## 5.21.0 - 2020-04-29
548
+ * [#917](https://github.com/stripe/stripe-ruby/pull/917) Add support for the `Price` resource and APIs
549
+
550
+ ## 5.20.0 - 2020-04-27
551
+ * [#916](https://github.com/stripe/stripe-ruby/pull/916) Add new `.generate_header` method for webhooks
552
+
553
+ ## 5.19.0 - 2020-04-24
554
+ * [#915](https://github.com/stripe/stripe-ruby/pull/915) Expose `Stripe::Webhook.compute_signature` publicly
555
+
556
+ ## 5.18.0 - 2020-04-22
557
+ * [#911](https://github.com/stripe/stripe-ruby/pull/911) Add support for `BillingPortal` namespace and `Session` resource and APIs
558
+
559
+ ## 5.17.0 - 2020-02-26
560
+ * [#907](https://github.com/stripe/stripe-ruby/pull/907) Add `StripeError#idempotent_replayed?`
561
+
562
+ ## 5.16.0 - 2020-02-26
563
+ * [#906](https://github.com/stripe/stripe-ruby/pull/906) Add support for listing Checkout sessions
564
+ * [#903](https://github.com/stripe/stripe-ruby/pull/903) Upgrade to Rubocop 0.80
565
+
566
+ ## 5.15.0 - 2020-02-10
567
+ * [#902](https://github.com/stripe/stripe-ruby/pull/902) Add `request_begin` instrumentation callback
568
+
569
+ ## 5.14.0 - 2020-01-14
570
+ * [#896](https://github.com/stripe/stripe-ruby/pull/896) Add support for `CreditNoteLineItem`
571
+ * [#894](https://github.com/stripe/stripe-ruby/pull/894) Clean up test output by capturing `$stderr` when we expect warnings
572
+ * [#892](https://github.com/stripe/stripe-ruby/pull/892) Explicitly pass a parameter as hash to be more ruby 2.7 friendly
573
+ * [#893](https://github.com/stripe/stripe-ruby/pull/893) Upgrade Rubocop to 0.79
574
+
575
+ ## 5.13.0 - 2020-01-08
576
+ * [#891](https://github.com/stripe/stripe-ruby/pull/891) Fix most Ruby 2.7 warnings
577
+
578
+ ## 5.12.1 - 2020-01-06
579
+ * [#890](https://github.com/stripe/stripe-ruby/pull/890) Override API key with `client_secret` in `OAuth.token`
580
+
581
+ ## 5.12.0 - 2020-01-02
582
+ * [#889](https://github.com/stripe/stripe-ruby/pull/889) Add support for retrieve source transaction API method
583
+
584
+ ## 5.11.0 - 2019-11-26
585
+ * [#885](https://github.com/stripe/stripe-ruby/pull/885) Add support for `CreditNote` preview
586
+
587
+ ## 5.10.0 - 2019-11-08
588
+ * [#882](https://github.com/stripe/stripe-ruby/pull/882) Add list_usage_record_summaries and list_source_transactions
589
+
590
+ ## 5.9.0 - 2019-11-07
591
+ * [#870](https://github.com/stripe/stripe-ruby/pull/870) Add request instrumentation callback (see `README.md` for usage example)
592
+
593
+ ## 5.8.0 - 2019-11-05
594
+ * [#879](https://github.com/stripe/stripe-ruby/pull/879) Add support for `Mandate`
595
+ * [#876](https://github.com/stripe/stripe-ruby/pull/876) Add additional per-request configuration documentation
596
+ * [#874](https://github.com/stripe/stripe-ruby/pull/874) Raise an error when requests params are invalid
597
+ * [#873](https://github.com/stripe/stripe-ruby/pull/873) Contributor Covenant
598
+
599
+ ## 5.7.1 - 2019-10-15
600
+ * [#869](https://github.com/stripe/stripe-ruby/pull/869) Fixes the misnamed `connection_base=` setter to be named `connect_base=`
601
+
602
+ ## 5.7.0 - 2019-10-10
603
+ * [#865](https://github.com/stripe/stripe-ruby/pull/865) Support backwards pagination with list's `#auto_paging_each`
604
+
605
+ ## 5.6.0 - 2019-10-04
606
+ * [#861](https://github.com/stripe/stripe-ruby/pull/861) Nicer error when specifying non-nil non-string opt value
607
+
608
+ ## 5.5.0 - 2019-10-03
609
+ * [#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
610
+
611
+ ## 5.4.1 - 2019-10-01
612
+ * [#858](https://github.com/stripe/stripe-ruby/pull/858) Drop Timecop dependency
613
+
614
+ ## 5.4.0 - 2019-10-01
615
+ * [#857](https://github.com/stripe/stripe-ruby/pull/857) Move to monotonic time for duration calculations
616
+
617
+ ## 5.3.0 - 2019-10-01
618
+ * [#853](https://github.com/stripe/stripe-ruby/pull/853) Support `Stripe-Should-Retry` header
619
+
620
+ ## 5.2.0 - 2019-09-19
621
+ * [#851](https://github.com/stripe/stripe-ruby/pull/851) Introduce system for garbage collecting connection managers
622
+
623
+ ## 5.1.1 - 2019-09-04
624
+ * [#845](https://github.com/stripe/stripe-ruby/pull/845) Transfer the request_id from the http_headers to error.
625
+
626
+ ## 5.1.0 - 2019-08-27
627
+ * [#841](https://github.com/stripe/stripe-ruby/pull/841) Retry requests on a 429 that's a lock timeout
628
+
629
+ ## 5.0.1 - 2019-08-20
630
+ * [#836](https://github.com/stripe/stripe-ruby/pull/836) Increase connection keep alive timeout to 30 seconds
631
+
632
+ ## 5.0.0 - 2019-08-20
633
+ 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.
634
+
635
+ Pull requests included in this release (cf. [#815](https://github.com/stripe/stripe-ruby/pull/815)) (⚠️ = breaking changes):
636
+ * ⚠️ [#813](https://github.com/stripe/stripe-ruby/pull/813): Convert library to use built-in `Net::HTTP`
637
+ * ⚠️ [#816](https://github.com/stripe/stripe-ruby/pull/816): Make `code` argument in `CardError` named instead of positional.
638
+ * ⚠️ [#817](https://github.com/stripe/stripe-ruby/pull/817): Drop support for very old Ruby versions.
639
+ * [#818](https://github.com/stripe/stripe-ruby/pull/818): Bump Rubocop to latest version
640
+ * [#819](https://github.com/stripe/stripe-ruby/pull/819): Ruby minimum version increase followup
641
+ * ⚠️ [#820](https://github.com/stripe/stripe-ruby/pull/820): Remove old deprecated methods
642
+ * ⚠️ [#823](https://github.com/stripe/stripe-ruby/pull/823): Remove all alias for list methods
643
+ * ⚠️ [#826](https://github.com/stripe/stripe-ruby/pull/826): Remove `UsageRecord.create` method
644
+ * ⚠️ [#827](https://github.com/stripe/stripe-ruby/pull/827): Remove `IssuerFraudRecord`
645
+ * [#811](https://github.com/stripe/stripe-ruby/pull/811): Add `ErrorObject` to `StripeError` exceptions
646
+ * [#828](https://github.com/stripe/stripe-ruby/pull/828): Tweak retry logic to be a little more like stripe-node
647
+ * [#829](https://github.com/stripe/stripe-ruby/pull/829): Reset connections when connection-changing configuration changes (optional)
648
+ * [#830](https://github.com/stripe/stripe-ruby/pull/830): Fix inverted sign for 500 retries
649
+ * ⚠️[#831](https://github.com/stripe/stripe-ruby/pull/831): Remove a few more very old deprecated methods
650
+ * [#832](https://github.com/stripe/stripe-ruby/pull/832): Minor cleanup in `StripeClient`
651
+ * [#833](https://github.com/stripe/stripe-ruby/pull/833): Do better bookkeeping when tracking state in `Thread.current`
652
+ * [#834](https://github.com/stripe/stripe-ruby/pull/834): Add `Invoice.list_upcoming_line_items` method
653
+
654
+ ## 4.24.0 - 2019-08-12
655
+ * [#825](https://github.com/stripe/stripe-ruby/pull/825) Add `SubscriptionItem.create_usage_record` method
656
+ - This release also removed the `SubscriptionSchedule.revisions` method. This should have been included in the previous release (4.23.0)
657
+
658
+ ## 4.23.0 - 2019-08-09
659
+ * [#824](https://github.com/stripe/stripe-ruby/pull/824) Remove SubscriptionScheduleRevision
660
+ - This is technically a breaking change. We've chosen to release it as a minor vesion bump because the associated API is unused.
661
+
662
+ ## 4.22.1 - 2019-08-09
663
+ * [#808](https://github.com/stripe/stripe-ruby/pull/808) Unify request/response handling
664
+
665
+ ## 4.22.0 - 2019-07-30
666
+ * [#821](https://github.com/stripe/stripe-ruby/pull/821) Listing `BalanceTransaction` objects now uses `/v1/balance_transactions` instead of `/v1/balance/history`
667
+
668
+ ## 4.21.3 - 2019-07-15
669
+ * [#810](https://github.com/stripe/stripe-ruby/pull/810) Better error message when passing non-string to custom method
670
+
671
+ ## 4.21.2 - 2019-07-05
672
+ * [#806](https://github.com/stripe/stripe-ruby/pull/806) Revert back to `initialize_from` from `Util.convert_to_stripe_object`
673
+
674
+ ## 4.21.1 - 2019-07-04
675
+ * [#807](https://github.com/stripe/stripe-ruby/pull/807) Add gem metadata
676
+
677
+ ## 4.21.0 - 2019-06-28
678
+ * [#803](https://github.com/stripe/stripe-ruby/pull/803) Add support for the `SetupIntent` resource and APIs
679
+
680
+ ## 4.20.1 - 2019-06-28
681
+ * [#805](https://github.com/stripe/stripe-ruby/pull/805) Fix formatting in `ConnectionFailed` error message
682
+
683
+ ## 4.20.0 - 2019-06-24
684
+ * [#800](https://github.com/stripe/stripe-ruby/pull/800) Enable request latency telemetry by default
685
+
686
+ ## 4.19.0 - 2019-06-17
687
+ * [#770](https://github.com/stripe/stripe-ruby/pull/770) Add support for `CustomerBalanceTransaction` resource and APIs
688
+
689
+ ## 4.18.1 - 2019-05-27
690
+ * [#789](https://github.com/stripe/stripe-ruby/pull/789) Allow `Order#pay` to be called without arguments
691
+
692
+ ## 4.18.0 - 2019-05-23
693
+ * [#783](https://github.com/stripe/stripe-ruby/pull/783) Add support for `radar.early_fraud_warning` resource
694
+
695
+ ## 4.17.0 - 2019-05-14
696
+ * [#779](https://github.com/stripe/stripe-ruby/pull/779) Add support for the Capability resource and APIs
697
+
698
+ ## 4.16.0 - 2019-04-24
699
+ * [#760](https://github.com/stripe/stripe-ruby/pull/760) Add support for the `TaxRate` resource and APIs
700
+
701
+ ## 4.15.0 - 2019-04-22
702
+ * [#762](https://github.com/stripe/stripe-ruby/pull/762) Add support for the `TaxId` resource and APIs
703
+
704
+ ## 4.14.0 - 2019-04-18
705
+ * [#758](https://github.com/stripe/stripe-ruby/pull/758) Add support for the `CreditNote` resource and APIs
706
+
707
+ ## 4.13.0 - 2019-04-16
708
+ * [#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`)
709
+
710
+ ## 4.12.0 - 2019-04-02
711
+ * [#752](https://github.com/stripe/stripe-ruby/pull/752) Add `.delete` class method on deletable API resources
712
+ * [#754](https://github.com/stripe/stripe-ruby/pull/754) Add class methods for all custom API requests (e.g. `Charge.capture`)
713
+
714
+ ## 4.11.0 - 2019-03-26
715
+ * [#753](https://github.com/stripe/stripe-ruby/pull/753) Add a global proxy configuration parameter
716
+
717
+ ## 4.10.0 - 2019-03-18
718
+ * [#745](https://github.com/stripe/stripe-ruby/pull/745) Add support for the `PaymentMethod` resource and APIs
719
+ * [#747](https://github.com/stripe/stripe-ruby/pull/747) Add support for retrieving a Checkout `Session`
720
+ * [#748](https://github.com/stripe/stripe-ruby/pull/748) Add support for deleting a Terminal `Location` and `Reader`
721
+
722
+ ## 4.9.1 - 2019-03-18
723
+ * [#750](https://github.com/stripe/stripe-ruby/pull/750) Catch error and warn if unable to remove a method
724
+
725
+ ## 4.9.0 - 2019-02-12
726
+ * [#739](https://github.com/stripe/stripe-ruby/pull/739) Add support for `SubscriptionSchedule` and `SubscriptionScheduleRevision`
727
+
728
+ ## 4.8.1 - 2019-02-11
729
+ * [#743](https://github.com/stripe/stripe-ruby/pull/743) Fix bug in file uploading introduced in #741
730
+
731
+ ## 4.8.0 - 2019-02-03
732
+ * [#741](https://github.com/stripe/stripe-ruby/pull/741) Use `FaradayStripeEncoder` to encode all parameter styles
733
+
734
+ ## 4.7.1 - 2019-02-01
735
+ * [#740](https://github.com/stripe/stripe-ruby/pull/740) Fix query encoding for integer-indexed maps
736
+
737
+ ## 4.7.0 - 2019-01-23
738
+ * [#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.
739
+
740
+ ## 4.6.0 - 2019-01-21
741
+ * [#736](https://github.com/stripe/stripe-ruby/pull/736) Properly serialize `individual` on `Account` objects
742
+
743
+ ## 4.5.0 - 2019-01-02
744
+ * [#719](https://github.com/stripe/stripe-ruby/pull/719) Generate OAuth authorize URLs for Express accounts as well as standard
745
+
746
+ ## 4.4.1 - 2018-12-31
747
+ * [#718](https://github.com/stripe/stripe-ruby/pull/718) Fix an error message typo
748
+
749
+ ## 4.4.0 - 2018-12-21
750
+ * [#716](https://github.com/stripe/stripe-ruby/pull/716) Add support for the `CheckoutSession` resource
751
+
752
+ ## 4.3.0 - 2018-12-10
753
+ * [#711](https://github.com/stripe/stripe-ruby/pull/711) Add support for account links
754
+
755
+ ## 4.2.0 - 2018-11-28
756
+ * [#705](https://github.com/stripe/stripe-ruby/pull/705) Add support for the `Review` APIs
757
+
758
+ ## 4.1.0 - 2018-11-27
759
+ * [#695](https://github.com/stripe/stripe-ruby/pull/695) Add support for `ValueList` and `ValueListItem` for Radar
760
+
761
+ ## 4.0.3 - 2018-11-19
762
+ * [#703](https://github.com/stripe/stripe-ruby/pull/703) Don't use `Net::HTTP::Persistent` on Windows where it's not well supported
763
+
764
+ ## 4.0.2 - 2018-11-16
765
+ * [#701](https://github.com/stripe/stripe-ruby/pull/701) Require minimum Faraday 0.13 for proper support of persistent connections
766
+
767
+ ## 4.0.1 - 2018-11-15
768
+ * [#699](https://github.com/stripe/stripe-ruby/pull/699) Only send telemetry if `Request-Id` was present in the response
769
+
770
+ ## 4.0.0 - 2018-11-15
771
+ * [#698](https://github.com/stripe/stripe-ruby/pull/698) Use persistent connections by default through `Net::HTTP::Persistent`
772
+ * [#698](https://github.com/stripe/stripe-ruby/pull/698) Drop support for Ruby 2.0 (which we consider a breaking change here)
773
+
774
+ ## 3.31.1 - 2018-11-12
775
+ * [#697](https://github.com/stripe/stripe-ruby/pull/697) Send telemetry in milliseconds specifically
776
+
777
+ ## 3.31.0 - 2018-11-12
778
+ * [#696](https://github.com/stripe/stripe-ruby/pull/696) Add configurable telemetry to gather information on client-side request latency
779
+
780
+ ## 3.30.0 - 2018-11-08
781
+ * [#693](https://github.com/stripe/stripe-ruby/pull/693) Add new API endpoints for the `Invoice` resource.
782
+
783
+ ## 3.29.0 - 2018-10-30
784
+ * [#692](https://github.com/stripe/stripe-ruby/pull/692) Add support for the `Person` resource
785
+ * [#694](https://github.com/stripe/stripe-ruby/pull/694) Add support for the `WebhookEndpoint` resource
786
+
787
+ ## 3.28.0 - 2018-09-24
788
+ * [#690](https://github.com/stripe/stripe-ruby/pull/690) Add support for Stripe Terminal
789
+
790
+ ## 3.27.0 - 2018-09-24
791
+ * [#689](https://github.com/stripe/stripe-ruby/pull/689) Rename `FileUpload` to `File`
792
+
793
+ ## 3.26.1 - 2018-09-14
794
+ * [#688](https://github.com/stripe/stripe-ruby/pull/688) Fix hash equality on `StripeObject`
795
+
796
+ ## 3.26.0 - 2018-09-05
797
+ * [#681](https://github.com/stripe/stripe-ruby/pull/681) Add support for reporting resources
798
+
799
+ ## 3.25.0 - 2018-08-28
800
+ * [#678](https://github.com/stripe/stripe-ruby/pull/678) Allow payment intent `#cancel`, `#capture`, and `#confirm` to take their own parameters
801
+
802
+ ## 3.24.0 - 2018-08-27
803
+ * [#675](https://github.com/stripe/stripe-ruby/pull/675) Remove support for `BitcoinReceiver` write-actions
804
+
805
+ ## 3.23.0 - 2018-08-23
806
+ * [#676](https://github.com/stripe/stripe-ruby/pull/676) Add support for usage record summaries
807
+
808
+ ## 3.22.0 - 2018-08-15
809
+ * [#674](https://github.com/stripe/stripe-ruby/pull/674) Use integer-indexed encoding for all arrays
810
+
811
+ ## 3.21.0 - 2018-08-03
812
+ * [#671](https://github.com/stripe/stripe-ruby/pull/671) Add cancel support for topups
813
+
814
+ ## 3.20.0 - 2018-08-03
815
+ * [#669](https://github.com/stripe/stripe-ruby/pull/669) Add support for file links
816
+
817
+ ## 3.19.0 - 2018-07-27
818
+ * [#666](https://github.com/stripe/stripe-ruby/pull/666) Add support for scheduled query runs (`Stripe::Sigma::ScheduledQueryRun`) for Sigma
819
+
820
+ ## 3.18.0 - 2018-07-26
821
+ * [#665](https://github.com/stripe/stripe-ruby/pull/665) Add support for Stripe Issuing
822
+
823
+ ## 3.17.2 - 2018-07-19
824
+ * [#664](https://github.com/stripe/stripe-ruby/pull/664) Don't colorize log output being sent to a configured logger
825
+
826
+ ## 3.17.1 - 2018-07-19
827
+ * [#663](https://github.com/stripe/stripe-ruby/pull/663) Internal improvements to `ApiResource.class_url`
828
+
829
+ ## 3.17.0 - 2018-06-28
830
+ * [#658](https://github.com/stripe/stripe-ruby/pull/658) Add support for `partner_id` from `Stripe.set_app_info`
831
+
832
+ ## 3.16.0 - 2018-06-28
833
+ * [#657](https://github.com/stripe/stripe-ruby/pull/657) Add support for payment intents
834
+
835
+ ## 3.15.0 - 2018-05-10
836
+ * [#649](https://github.com/stripe/stripe-ruby/pull/649) Freeze all string literals
837
+
838
+ ## 3.14.0 - 2018-05-09
839
+ * [#645](https://github.com/stripe/stripe-ruby/pull/645) Add support for issuer fraud records
840
+
841
+ ## 3.13.1 - 2018-05-07
842
+ * [#647](https://github.com/stripe/stripe-ruby/pull/647) Merge query parameters coming from path with `params` argument
843
+
844
+ ## 3.13.0 - 2018-04-11
845
+ * [#498](https://github.com/stripe/stripe-ruby/pull/498) Add support for flexible billing primitives
846
+
847
+ ## 3.12.1 - 2018-04-05
848
+ * [#636](https://github.com/stripe/stripe-ruby/pull/636) Fix a warning for uninitialized instance variable `@additive_params`
849
+
850
+ ## 3.12.0 - 2018-04-05
851
+ * [#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
852
+
853
+ ## 3.11.0 - 2018-02-26
854
+ * [#628](https://github.com/stripe/stripe-ruby/pull/628) Add support for `code` attribute on all Stripe exceptions
855
+
856
+ ## 3.10.0 - 2018-02-21
857
+ * [#627](https://github.com/stripe/stripe-ruby/pull/627) Add support for topups
858
+
859
+ ## 3.9.2 - 2018-02-12
860
+ * [#625](https://github.com/stripe/stripe-ruby/pull/625) Skip calling `to_hash` for `nil`
861
+
862
+ ## 3.9.1 - 2017-12-15
863
+ * [#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)
864
+
865
+ ## 3.9.0 - 2017-12-08
866
+ * [#613](https://github.com/stripe/stripe-ruby/pull/613) Introduce new `IdempotencyError` type for idempotency-specific failures
867
+
868
+ ## 3.8.2 - 2017-12-07
869
+ * [#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)
870
+
871
+ ## 3.8.1 - 2017-12-06
872
+ * [#611](https://github.com/stripe/stripe-ruby/pull/611) Support `Tempfile` (as well as `File`) in file uploads
873
+
874
+ ## 3.8.0 - 2017-10-31
875
+ * [#606](https://github.com/stripe/stripe-ruby/pull/606) Support for exchange rates APIs
876
+
877
+ ## 3.7.0 - 2017-10-26
878
+ * [#603](https://github.com/stripe/stripe-ruby/pull/603) Support for listing source transactions
879
+
880
+ ## 3.6.0 - 2017-10-17
881
+ * [#597](https://github.com/stripe/stripe-ruby/pull/597) Add static methods to manipulate resources from parent
882
+ * `Account` gains methods for external accounts and login links (e.g. `.create_account`, `create_login_link`)
883
+ * `ApplicationFee` gains methods for refunds
884
+ * `Customer` gains methods for sources
885
+ * `Transfer` gains methods for reversals
886
+
887
+ ## 3.5.3 - 2017-10-16
888
+ * [#594](https://github.com/stripe/stripe-ruby/pull/594) Make sure that `StripeObject`'s `#deep_copy` maintains original class
889
+ * [#595](https://github.com/stripe/stripe-ruby/pull/595) Allow `Object#method` to be called on `StripeObject` even if it conflicts with an accessor
890
+ * [#596](https://github.com/stripe/stripe-ruby/pull/596) Encode arrays as integer-indexed hashes where appropriate
891
+ * [#598](https://github.com/stripe/stripe-ruby/pull/598) Don't persist `idempotency_key` opt between requests
892
+
893
+ ## 3.5.2 - 2017-10-13
894
+ * [#592](https://github.com/stripe/stripe-ruby/pull/592) Bring back `Marshal.dump/load` support with custom marshal encoder/decoder
895
+
896
+ ## 3.5.1 - 2017-10-12
897
+ * [#591](https://github.com/stripe/stripe-ruby/pull/591) Use thread-local `StripeClient` instances for thread safety
898
+
899
+ ## 3.5.0 - 2017-10-11
900
+ * [#589](https://github.com/stripe/stripe-ruby/pull/589) Rename source `delete` to `detach` (and deprecate the former)
901
+
902
+ ## 3.4.1 - 2017-10-05
903
+ * [#586](https://github.com/stripe/stripe-ruby/pull/586) Log query strings as well as form bodies with STRIPE_LOG
904
+ * [#588](https://github.com/stripe/stripe-ruby/pull/588) Require minimum Faraday 0.10 for bug fix in parameter encoding
905
+
906
+ ## 3.4.0 - 2017-09-20
907
+ * Mark legacy Bitcoin API as deprecated, and remove corresponding tests
908
+ * Mark recipients API as deprecated, and remove recipient card tests
909
+
910
+ ## 3.3.2 - 2017-09-20
911
+ * Correct minimum required Ruby version in gemspec (it's 2.0.0)
912
+
913
+ ## 3.3.1 - 2017-08-18
914
+ * Only parse webhook payload after verification to decrease likelihood of
915
+ attack
916
+
917
+ ## 3.3.0 - 2017-08-11
918
+ * Add support for standard library logger interface with `Stripe.logger`
919
+ * Error logs now go to stderr if using `Stripe.log_level`/`STRIPE_LOG`
920
+ * `Stripe.log_level`/`STRIPE_LOG` now support `Stipe::LEVEL_ERROR`
921
+
922
+ ## 3.2.0 - 2017-08-03
923
+ * Add logging for request retry account and `Stripe-Account` header
924
+
925
+ ## 3.1.0 - 2017-08-03
926
+ * Implement request logging with `Stripe.log_level` and `STRIPE_LOG`
927
+
928
+ ## 3.0.3 - 2017-07-28
929
+ * Revert `nil` to empty string coercion from 3.0.2
930
+ * Handle `invalid_client` OAuth error code
931
+ * Improve safety of error handling logic safer for unrecognized OAuth error codes
932
+
933
+ ## 3.0.2 - 2017-07-12
934
+ **Important:** This version is non-functional and has been yanked in favor of 3.0.3.
935
+ * Convert `nil` to empty string when serializing parameters (instead of opaquely dropping it) -- NOTE: this change has since been reverted
936
+
937
+ ## 3.0.1 - 2017-07-11
938
+ * Properties set with an API resource will now serialize that resource's ID if possible
939
+ * API resources will throw an ArgumentError on save if a property has been with an API resource that cannot be serialized
940
+
941
+ ## 3.0.0 - 2017-06-27
942
+ * `#pay` on invoice now takes params as well as opts
943
+
944
+ ## 2.12.0 - 2017-06-20
945
+ * Add support for ephemeral keys
946
+
947
+ ## 2.11.0 - 2017-05-26
948
+ * Warn when keys that look like opts are included as parameters
949
+
950
+ ## 2.10.0 - 2017-05-25
951
+ * Add support for account login links
952
+
953
+ ## 2.9.0 - 2017-05-18
954
+ * Support for OAuth operations in `Stripe::OAuth`
955
+
956
+ ## 2.8.0 - 2017-04-28
957
+ * Support for checking webhook signatures
958
+
959
+ ## 2.7.0 - 2017-04-26
960
+ * Add model `InvoiceLineItem`
961
+
962
+ ## 2.6.0 - 2017-04-26
963
+ * Add `OBJECT_NAME` constants to all API resources
964
+
965
+ ## 2.5.0 - 2017-04-24
966
+ * Make `opts` argument in `Util.convert_to_stripe_object` optional
967
+
968
+ ## 2.4.0 - 2017-04-18
969
+ * Add `Stripe.set_app_info` for use by plugin creators
970
+
971
+ ## 2.3.0 - 2017-04-14
972
+ * Add question mark accessor when assigning boolean value to undefined field
973
+
974
+ ## 2.2.1 - 2017-04-07
975
+ * Declare minimum required Faraday as 0.9
976
+
977
+ ## 2.2.0 - 2017-04-06
978
+ * Add support for payouts and recipient transfers
979
+
980
+ ## 2.1.0 - 2017-03-17
981
+ * Support for detaching sources from customers
982
+
983
+ ## 2.0.3 - 2017-03-16
984
+ * Fix marshalling of `StripeObjects` that have an embedded client
985
+
986
+ ## 2.0.2 - 2017-03-16
987
+ * Fix bad field reference when recovering from a JSON parsing problem
988
+
989
+ ## 2.0.1 - 2017-02-22
990
+ * Fix multipart parameter encoding to repair broken file uploads
991
+
992
+ ## 2.0.0 - 2017-02-14
993
+ * Drop support for Ruby 1.9
994
+ * Allow HTTP client that makes Stripe calls to be configured via Faraday
995
+ * Drop RestClient
996
+ * Switch to OpenAPI 2.0 spec and generated fixtures in test suite
997
+ * Switch to Webmock in test suite
998
+
999
+ ## 1.58.0 - 2017-01-19
1000
+ * Remove erroneously added list methods for `Source` model
1001
+
1002
+ ## 1.57.1 - 2016-11-28
1003
+ * Disallow sending protected fields along with API resource `.update`
1004
+
1005
+ ## 1.57.0 - 2016-11-21
1006
+ * Add retrieve method for 3-D Secure resources
1007
+
1008
+ ## 1.56.2 - 2016-11-17
1009
+ * Improve `StripeObject`'s `#to_s` to better handle how embedded objects are displayed
1010
+
1011
+ ## 1.56.1 - 2016-11-09
1012
+ * Fix (fairly serious) memory like in `StripeObject`
1013
+
1014
+ ## 1.56.0 - 2016-10-24
1015
+ * Add accessors for new fields added in `#update_attributes`
1016
+ * Handle multi-plan subscriptions through new subscription items
1017
+ * Handle 403 status codes from the API
1018
+
1019
+ ## 1.55.1 - 2016-10-24
1020
+ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
1021
+
1022
+ ## 1.55.0 - 2016-09-15
1023
+ * Add support for Apple Pay domains
1024
+
1025
+ ## 1.54.0 - 2016-09-01
1026
+ * Whitelist errors that should be retried; scope to known socket and HTTP errors
1027
+
1028
+ ## 1.53.0 - 2016-08-31
1029
+ * Relax version constraint on rest-client (and by extension mime-types) for users on Ruby 2+
1030
+
1031
+ ## 1.52.0 - 2016-08-30
1032
+ * Make sure `Subscription`'s `source` is saved with its parent
1033
+
1034
+ ## 1.51.1 - 2016-08-30
1035
+ * Make sure `Account`'s `external_account` is saved with its parent
1036
+
1037
+ ## 1.51.0 - 2016-08-26
1038
+ * Error when an array of maps is detected that cannot be accurately encoded
1039
+ * Start using strings for header names instead of symbols for better clarity
1040
+
1041
+ ## 1.50.1 - 2016-08-25
1042
+ * Fix encoding of arrays of maps where maps unequal sets of keys
1043
+
1044
+ ## 1.50.0 - 2016-08-15
1045
+ * Allow sources to be created
1046
+
1047
+ ## 1.49.0 - 2016-07-28
1048
+ * Add top-level `Source` model
1049
+
1050
+ ## 1.48.0 - 2016-07-12
1051
+ * Add `ThreeDSecure` model for 3-D secure payments
1052
+
1053
+ ## 1.47.0 - 2016-07-11
1054
+ * Allow rest-client version 2.0+ to be used with the gem
1055
+
1056
+ ## 1.46.0 - 2016-07-07
1057
+ * Allow retry when a 409 conflict is encountered
1058
+
1059
+ ## 1.45.0 - 2016-07-07
1060
+ * Do not send subresources when updating except when explicitly told to do so (see #433)
1061
+
1062
+ ## 1.44.0 - 2016-06-29
1063
+ * Add `update` class method to all resources that can be updated
1064
+
1065
+ ## 1.43.1 - 2016-06-17
1066
+ * Fix type of resource returned from `Order#return_order`
1067
+
1068
+ ## 1.43.0 - 2016-05-20
1069
+ * Allow Relay orders to be returned and add associated types
1070
+ * Support Alipay account retrieval and deletion
1071
+
1072
+ ## 1.42.0 - 2016-05-04
1073
+ * Add support for the new /v1/subscriptions endpoint (retrieve, list, create, update, and delete)
1074
+
1075
+ ## 1.41.0 - 2016-04-13
1076
+ * Add global `stripe_account` option that adds a `Stripe-Account` header to all requests
1077
+
1078
+ ## 1.40.0 - 2016-04-06
1079
+ * Fix bug that omitted subresources from serialization
1080
+
1081
+ ## 1.39.0 - 2016-03-31
1082
+ * Update CA cert bundle for compatibility with OpenSSL versions below 1.0.1
1083
+
1084
+ ## 1.38.0 - 2016-03-18
1085
+ * Allow `opts` to be passed to an API resource's `#save` method
1086
+
1087
+ ## 1.37.0 - 2016-03-14
1088
+ * Add `Account#reject` to support the new API feature
1089
+
1090
+ ## 1.36.2 - 2016-03-14
1091
+ * Fix reference to non-existent `#url` in `ListObject`
1092
+
1093
+ ## 1.36.1 - 2016-03-04
1094
+ * Fix serialization when subhash given to `#save` or `#update_attributes`
1095
+
1096
+ ## 1.36.0 - 2016-02-08
1097
+ * Add `CountrySpec` model for looking up country payment information
1098
+
1099
+ ## 1.35.1 - 2016-02-03
1100
+ * Add compatibility layer for old API versions on `Charge#refund`
1101
+
1102
+ ## 1.35.0 - 2016-02-01
1103
+ * Allow CA cert bundle location to be configured
1104
+ * Updated bundled CA certs
1105
+
1106
+ ## 1.34.0 - 2016-01-25
1107
+ * Add support for deleting products and SKUs
1108
+
1109
+ ## 1.33.1 - 2016-01-21
1110
+ * Pass through arguments of `Charge#refund`
1111
+
1112
+ ## 1.33.0 - 2016-01-19
1113
+ * Re-implement `Charge#refund` helper to use the modern endpoint suggested by docs
1114
+
1115
+ ## 1.32.1 - 2016-01-07
1116
+ * Fix bug where ivar left uninitialized in StripeObject could error on serialization
1117
+ * Fix bug where a nil customer from API could error Bitcoin model on refresh
1118
+
1119
+ ## 1.32.0 - 2016-01-05
1120
+ * Add configuration to optionally retry network failures
1121
+ * Use modern API endpoint for producing application fee refunds
1122
+
1123
+ ## 1.31.0 - 2015-10-29
1124
+ * Add BankAccount#verify convenience method
1125
+
1126
+ ## 1.30.3 - 2015-10-28
1127
+ * Fix bug where arrays that were not `additional_owners` were not properly encoded for requests
1128
+
1129
+ ## 1.30.2 - 2015-10-12
1130
+ * Fix bug where `opts` didn't properly propagate to descendant `StripeObjects`
1131
+
1132
+ ## 1.30.1 - 2015-10-10
1133
+ * Fix bug that prevent lists of hashes from being URI-encoded properly
1134
+ * Fix bug where filter conditions were not making it past the first instantiated `ListObject`
1135
+
1136
+ ## 1.30.0 - 2015-10-09
1137
+ * Add `StripeObject#deleted?` for a reliable way to check whether an object is alive
1138
+ * Deprecate `StripeObject#refresh_from`
1139
+ * New parameter encoding scheme that doesn't use `URI.escape`
1140
+
1141
+ ## 1.29.1 - 2015-10-06
1142
+ * Fix bug where ampersands were not being properly encoded
1143
+
1144
+ ## 1.29.0 - 2015-10-05
1145
+ * Add pagination helpers `#auto_paging_each`, `#previous_page`, and `#next_page`
1146
+
1147
+ ## 1.28.1 - 2015-10-05
1148
+ * Fix URI being referenced by file upload resources
1149
+
1150
+ ## 1.28.0 - 2015-10-05
1151
+ * Make StripeObject's #save "upsert"-like; creates an object if new
1152
+ * Add #update_attributes to StripeObject for safe mass assignment
1153
+ * Properly mass assign attributes on calls to #save
1154
+ * Add question mark helpers for boolean fields (e.g. #paid? as well as old #paid)
1155
+ * Fix a bug that broke the API for StripeObject initialization
1156
+ * Remove use of deprecated URI.escape
1157
+
1158
+ ## 1.27.2 - 2015-09-25
1159
+ * Correct the URLs used to fetch Bitcoin transactions.
1160
+
1161
+ ## 1.27.1 - 2015-09-20
1162
+ * Use hash rockets for backwards compatibility.
1163
+
1164
+ ## 1.27.0 - 2015-09-14
1165
+ * Add Orders, Products, and SKUs for Relay
1166
+
1167
+ ## 1.26.0 - 2015-09-11
1168
+ * Add support for 429 Rate Limited response
1169
+
1170
+ ## 1.25.0 - 2015-08-17
1171
+ * Added support for refund listing and retrieval without an associated charge
1172
+
1173
+ ## 1.24.0 - 2015-08-03
1174
+ * Added support for deleting managed accounts
1175
+ * Added support for dispute listing and retrieval
1176
+ * Bugfix: token objects now are the correct class
1177
+
1178
+ ## 1.23.0 - 2015-07-06
1179
+ * Added request IDs and HTTP headers to errors
1180
+
1181
+ ## 1.22.0 - 2015-06-10
1182
+ * Added support for bank accounts and debit cards in managed accounts (via the `external_accounts` param)
1183
+
1184
+ ## 1.21.0 - 2015-04-14
1185
+ * Remove TLS cert revocation check (all pre-heartbleed certs have expired)
1186
+ * Bugfix: don't unset keys when they don't exist on StripeObject
1187
+
1188
+ ## 1.20.4 - 2015-03-26
1189
+ * Raise an error when explicitly passing nil as the API key on resource methods
1190
+ * Fix error when passing an API key to Balance.retrieve (github issue #232)
1191
+
1192
+ ## 1.20.3 - 2015-03-13
1193
+ * Fixed error when updating certain resources (github issue #224)
1194
+
1195
+ ## 1.20.2 - 2015-03-10
1196
+ * Added support for updating nested hashes besides `metadata` (which was already supported)
1197
+ * Fixed bug in balance retrieval
1198
+
1199
+ ## 1.20.1 - 2015-02-26
1200
+ * Updated Card to point to customer sources endpoint when customer property is set
1201
+
1202
+ ## 1.20.0 - 2015-02-19
1203
+ * Added Update & Delete operations to Bitcoin Receivers
1204
+
1205
+ ## 1.19.1 - 2015-02-18
1206
+ * Fixed fetching upcoming invoice/paying invoice methods
1207
+
1208
+ ## 1.19.0 - 2015-02-15
1209
+ * Support for new Transfers /reversals endpoint
1210
+ * Account retrieval now optionally accepts an account ID
1211
+ * Better support for passing custom headers, like Stripe-Account, through requests
1212
+
1213
+ ## 1.18.0 - 2015-01-21
1214
+ * 1 major enhancement:
1215
+ * Added support for making bitcoin charges through BitcoinReceiver source object
1216
+
1217
+ ## 1.17.3 - 2015-01-12
1218
+ * 1 bugfix:
1219
+ * Fixed API key propagation for ApplicationFee#refund
1220
+
1221
+ ## 1.17.2 - 2015-01-08
1222
+ * 1 bugfix:
1223
+ * Fixed API key propagation for child resources
1224
+
1225
+ ## 1.17.1 - 2015-01-07
1226
+ * 2 minor enhacements:
1227
+ * Fixed dependencies for Ruby versions less than 1.9.3
1228
+ * Added deauthorize method to Account object
1229
+
1230
+ ## 1.17.0 - 2014-12-15
1231
+ * 1 major enhacement:
1232
+ * File uploads resource was added (for uploading pdf or image documents for disputes)
1233
+
1234
+ ## 1.16.1 - 2014-12-19
1235
+ * 2 minor enhancements:
1236
+ * Ability to send idempotent requests
1237
+ * Ability to specify stripe account as a header
1238
+
1239
+ ## 1.16.0 - 2014-10-08
1240
+ * 1 minor enhacement:
1241
+ * Coupons now support update operations - useful for manipulating metadata
1242
+
1243
+ ## 1.15.0 - 2014-07-26
1244
+ * 1 major enhacement:
1245
+ * Application Fee refunds now a list instead of array
1246
+
1247
+ ## 1.14.0 - 2014-06-17
1248
+ * 1 major enhancement:
1249
+ * Add metadata for refunds and disputes
1250
+
1251
+ ## 1.13.0 - 2014-05-28
1252
+ * 1 major enhancement:
1253
+ * Support for canceling transfers
1254
+
1255
+ ## 1.12.0 - 2014-05-21
1256
+ * 1 major enhancement:
1257
+ * Support for cards for recipients
1258
+
1259
+ ## 1.11.0 - 2014-04-09
1260
+ * 2 minor enhancements:
1261
+ * Update included ca bundles
1262
+ * Implement certificate blacklisting
1263
+
1264
+ ## 1.10.2 - 2014-02-18
1265
+ * 1 minor enhancement:
1266
+ * Add create_subscription on Customer resources, so you can create
1267
+ subscriptions without needing to retrieve the customer first (github
1268
+ issue #120)
1269
+
1270
+ ## 1.10.1 - 2014-02-03
1271
+ * 1 bugfix:
1272
+ * Fix marshaling of StripeObjects
1273
+
1274
+ ## 1.10.0 - 2014-01-29
1275
+ * 2 major enhancements
1276
+ * Support for multiple subscriptions per customer
1277
+ * Testing ruby 2.1.0
1278
+
1279
+ * 2 minor enhancements
1280
+ * Replace multi_json with json
1281
+ * Allow #save to take opts (for :expand)
1282
+
1283
+ * 1 bugfix
1284
+ * Fix #try and #respond_to? on StripeObjects
1285
+
1286
+ ## 1.9.9 - 2013-12-02
1287
+ * 1 major enhancement
1288
+ * Add ApplicationFee resource
1289
+
1290
+ ## 1.8.9 - 2013-11-14
1291
+ * 2 bugfixes:
1292
+ * Fix gemspec dependencies so the gem doesn't break for Ruby 1.8 users
1293
+ * Fix api_resource_test to not use returns as a way of testing rescue behavior
1294
+
1295
+ ## 1.8.8 - 2013-10-3
1296
+ * 1 major enhancement
1297
+ * Add support for metadata on resources
1298
+
1299
+ ## 1.8.7 - 2013-08-18
1300
+ * 1 minor enhancement
1301
+ * Add support for closing disputes.
1302
+
1303
+ ## 1.8.6 - 2013-08-13
1304
+ * 1 major enhancement
1305
+ * Add Balance and BalanceTransaction resources
1306
+
1307
+ ## 1.8.5 - 2013-08-12
1308
+ * 1 major enhancement
1309
+ * 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.
1310
+ * Attempting to set an object's id is now an error
1311
+
1312
+ ## 1.8.4 - 2013-07-11
1313
+ * 1 major enhancement
1314
+ * Add support for new cards API (Stripe API version - 2013-07-05)
1315
+
1316
+ ## 1.8.3 - 2013-05-06
1317
+ * 1 bugfix:
1318
+ * Fix handling of per-call API keys (github issue #67)
1319
+
1320
+ ## 1.8.2 - 2013-05-01
1321
+ * 3 minor enhancements:
1322
+ * Use to_sym instead of type checking for minor performance improvement (github issue #59)
1323
+ * Handle low-memory situations without throwing an exception (github issue #61)
1324
+ * Add an Customer#upcoming_invoice convenience method (github issue #65)
1325
+
1326
+ * 1 bugfix:
1327
+ * Allow updating resources without first retrieving them (github issue #60)
1328
+
1329
+ ## 1.8.1 - 2013-04-19
1330
+ * 1 minor enhancement:
1331
+ * Add support for specifying an API key when retrieving an upcoming invoice
1332
+
1333
+ ## 1.8.0 - 2013-04-11
1334
+ * 1 major enhancement:
1335
+ * Add new Recipient resource
1336
+ * Allow Transfers to be createable
1337
+
1338
+ ## 1.7.11 - 2013-02-21
1339
+ * 1 minor enhancement
1340
+ * Add 'id' to the list of permanent attributes
1341
+
1342
+ ## 1.7.10 - 2013-02-01
1343
+ * 1 major enhancement
1344
+ * 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
1345
+
1346
+ ## 1.7.9 - 2013-01-15
1347
+ * 1 major enhancement
1348
+ * Add support for setting a Stripe API version override.
1349
+
1350
+ ## 1.7.8 - 2012-11-21
1351
+ * 1 bugfix
1352
+ * Relax the version constraint on multi_json (github issue #44)
1353
+
1354
+ ## 1.7.7 - 2012-11-07
1355
+ * 1 minor enhancement:
1356
+ * Add support for updating charge disputes
1357
+
1358
+ * 1 bugfix
1359
+ * Fix Account API resource bug
1360
+
1361
+ ## 1.7.6 - 2012-10-30
1362
+ * 1 major enhancement
1363
+ * Add support for creating invoices
1364
+
1365
+ ## 1.7.5 - 2012-10-25
1366
+ * 1 major enhancement
1367
+ * Add support for new API lists
1368
+
1369
+ ## 1.7.4 - 2012-10-08
1370
+ * 1 bugfix
1371
+ * Fix bug introduced in 1.7.3 calling API methods that take no
1372
+ arguments, like Stripe::Invoice#pay (github issue #42)
1373
+
1374
+ ## 1.7.3 - 2012-09-14
1375
+ * 2 bugfixes
1376
+ * 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.
1377
+ * 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)
1378
+
1379
+ ## 1.7.2 - 2012-08-31
1380
+ * 1 major enhancement
1381
+ * Add support for new pay and update methods for Invoice objects
1382
+
1383
+ ## 1.7.1 - 2012-08-15
1384
+ * 1 major enhancement
1385
+ * Add new Account API resource
1386
+
1387
+ ## 1.7.0 - 2012-05-17
1388
+ * 3 major enhancements:
1389
+ * 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)
1390
+ * Add new delete_discount method to Customer objects
1391
+ * Add new Transfer API resource
1392
+
1393
+ * 2 minor enhancements:
1394
+ * 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)
1395
+ * Numerous test suite improvements
1396
+
1397
+ ## 1.6.3 - 2012-03-22
1398
+ * 1 bugfix:
1399
+ * Encode GET query strings ourselves instead of using rest-client to work around a bug
1400
+
1401
+ ## 1.6.2 - 2012-02-24
1402
+ * 1 bugfix:
1403
+ * Correct argument handling in StripeObject#as_json
1404
+
1405
+ ## 1.6.1 - 2012-02-22
1406
+ * 1 bugfix:
1407
+ * Fix StripeObject#inspect when ActiveSupport 3.0 is loaded
1408
+
1409
+ ## 1.6.0 - 2012-02-01
1410
+ * 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
1411
+ * 1.6.0 also contains a new inspect/to_string implementation
1412
+
1413
+ ## 1.5.0 - 2011-05-09
1414
+ * 1 major enhancement:
1415
+ * Update for new RESTful API
1416
+
1417
+ ## 1.3.4 - 2011-01-07
1418
+ * 1 major enhancement:
1419
+ * Rename to Stripe
1420
+
1421
+ ## 1.2 - 2010-06-06
1422
+ * 1 major enhancement:
1423
+ * Support for the set_customer_subscription and delete_customer API methods
1424
+
1425
+ ## 1.1 - 2010-03-14
1426
+ * 1 major enhancement:
1427
+ * Support for recurring billing
1428
+
1429
+ ## 1.0 - 2010-01-05
1430
+ * 1 major enhancement:
1431
+ * Initial release
1432
+
1433
+ <!--
1434
+ # vim: set tw=0:
1435
+ -->