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