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