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