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