stripe 8.7.0 → 9.0.0.pre.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +477 -301
- data/OPENAPI_VERSION +1 -1
- data/README.md +11 -0
- data/VERSION +1 -1
- data/lib/stripe/api_operations/request.rb +2 -0
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/object_types.rb +18 -0
- data/lib/stripe/request_signing_authenticator.rb +83 -0
- data/lib/stripe/resources/account_session.rb +17 -0
- data/lib/stripe/resources/capital/financing_offer.rb +32 -0
- data/lib/stripe/resources/capital/financing_summary.rb +12 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +13 -0
- data/lib/stripe/resources/customer_session.rb +12 -0
- data/lib/stripe/resources/financial_connections/account.rb +39 -0
- data/lib/stripe/resources/financial_connections/inferred_balance.rb +13 -0
- data/lib/stripe/resources/financial_connections/transaction.rb +13 -0
- data/lib/stripe/resources/gift_cards/card.rb +25 -0
- data/lib/stripe/resources/gift_cards/transaction.rb +56 -0
- data/lib/stripe/resources/issuing/card.rb +18 -0
- data/lib/stripe/resources/issuing/card_bundle.rb +13 -0
- data/lib/stripe/resources/issuing/card_design.rb +58 -0
- data/lib/stripe/resources/order.rb +89 -0
- data/lib/stripe/resources/payment_method_configuration.rb +13 -0
- data/lib/stripe/resources/quote.rb +131 -0
- data/lib/stripe/resources/quote_phase.rb +29 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +40 -0
- data/lib/stripe/resources/quote_preview_schedule.rb +8 -0
- data/lib/stripe/resources/subscription_schedule.rb +18 -0
- data/lib/stripe/resources/tax/form.rb +39 -0
- data/lib/stripe/resources/tax/registration.rb +19 -0
- data/lib/stripe/resources/terminal/reader.rb +54 -0
- data/lib/stripe/resources.rb +18 -0
- data/lib/stripe/stripe_client.rb +60 -26
- data/lib/stripe/stripe_configuration.rb +3 -0
- data/lib/stripe/util.rb +8 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +2 -1
- data/lib/stripe.rb +47 -0
- metadata +23 -4
data/CHANGELOG.md
CHANGED
@@ -1,264 +1,439 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
##
|
4
|
-
* [#
|
5
|
-
Add resources `
|
3
|
+
## 9.0.0-beta.1 - 2023-08-24
|
4
|
+
* [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
|
5
|
+
* Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
|
6
|
+
* [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
|
6
7
|
|
7
|
-
## 8.6.0 - 2023-07-13
|
8
|
-
* [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
|
9
|
-
* Add support for new resource `Tax.Settings`
|
10
|
-
* Add support for `retrieve` and `update` methods on resource `Settings`
|
11
|
-
* [#1241](https://github.com/stripe/stripe-ruby/pull/1241) Update generated code
|
12
8
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
* [#
|
17
|
-
|
9
|
+
## 9.0.0 - 2023-08-16
|
10
|
+
**⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️**
|
11
|
+
|
12
|
+
* [#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
|
13
|
+
|
14
|
+
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).
|
15
|
+
|
16
|
+
To successfully upgrade to stripe-ruby v9, you must either
|
17
|
+
|
18
|
+
1. **(Recommended) Upgrade your integration to be compatible with API Version `2023-08-16`.**
|
19
|
+
|
20
|
+
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.
|
21
|
+
|
22
|
+
You can read the [v9 migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v9) for more detailed instructions.
|
23
|
+
2. **(Alternative option) Specify a version other than `2023-08-16` when initializing `stripe-ruby`.**
|
24
|
+
|
25
|
+
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:
|
26
|
+
|
27
|
+
```diff
|
28
|
+
require 'stripe'
|
29
|
+
Stripe.api_key = "sk_test_..."
|
30
|
+
+ Stripe.api_version = '2020-08-27'
|
31
|
+
```
|
32
|
+
|
33
|
+
If you were already initializing stripe-ruby with an explicit API Version, upgrading to v9 will not affect your integration.
|
34
|
+
|
35
|
+
Read the [v9 migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v9) for more details.
|
36
|
+
|
37
|
+
Going forward, each major release of this library will be *pinned* by default to the latest Stripe API Version at the time of release.
|
38
|
+
|
39
|
+
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.
|
18
40
|
|
19
|
-
|
20
|
-
|
21
|
-
*
|
41
|
+
## 8.8.0-beta.1 - 2023-08-10
|
42
|
+
* [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
|
43
|
+
* Updated stable APIs to the latest version
|
22
44
|
|
23
|
-
|
45
|
+
## 8.7.0 - 2023-08-10
|
46
|
+
* [#1256](https://github.com/stripe/stripe-ruby/pull/1256) Update generated code
|
47
|
+
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.
|
48
|
+
|
49
|
+
## 8.7.0-beta.3 - 2023-08-03
|
50
|
+
* [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
|
51
|
+
* Add support for `submit_card` test helper method on resource `Issuing.Card`
|
52
|
+
* [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
|
53
|
+
|
54
|
+
## 8.7.0-beta.2 - 2023-07-28
|
55
|
+
* [#1251](https://github.com/stripe/stripe-ruby/pull/1251) Update generated code for beta
|
56
|
+
* Add support for new resource `Tax.Form`
|
57
|
+
* Add support for `list`, `pdf`, and `retrieve` methods on resource `Form`
|
58
|
+
* [#1249](https://github.com/stripe/stripe-ruby/pull/1249) Update generated code for beta
|
59
|
+
* [#1246](https://github.com/stripe/stripe-ruby/pull/1246) Update generated code for beta
|
60
|
+
|
61
|
+
## 8.7.0-beta.1 - 2023-07-13
|
62
|
+
* [#1245](https://github.com/stripe/stripe-ruby/pull/1245) Update generated code for beta
|
63
|
+
Release specs are identical.
|
64
|
+
* [#1243](https://github.com/stripe/stripe-ruby/pull/1243) Update generated code for beta
|
65
|
+
* Add support for new resource `PaymentMethodConfiguration`
|
66
|
+
* Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
|
67
|
+
* [#1239](https://github.com/stripe/stripe-ruby/pull/1239) Update generated code for beta
|
24
68
|
|
25
|
-
|
26
|
-
* [#
|
69
|
+
## 8.6.0 - 2023-07-13
|
70
|
+
* [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
|
71
|
+
* Add support for new resource `Tax.Settings`
|
72
|
+
* Add support for `retrieve` and `update` methods on resource `Settings`
|
73
|
+
* [#1241](https://github.com/stripe/stripe-ruby/pull/1241) Update generated code
|
74
|
+
|
75
|
+
* [#1209](https://github.com/stripe/stripe-ruby/pull/1209) Update shoulda-context version
|
76
|
+
* [#1235](https://github.com/stripe/stripe-ruby/pull/1235) Allow "error" string as log level
|
77
|
+
* [#1238](https://github.com/stripe/stripe-ruby/pull/1238) Update log level error message to include `error`
|
78
|
+
* [#1231](https://github.com/stripe/stripe-ruby/pull/1231) fix: variable typo in README for instrumentation
|
79
|
+
* [#1234](https://github.com/stripe/stripe-ruby/pull/1234) Update generated code
|
80
|
+
|
81
|
+
* [#1230](https://github.com/stripe/stripe-ruby/pull/1230) Update generated code
|
82
|
+
* Release specs are identical.
|
83
|
+
* [#1226](https://github.com/stripe/stripe-ruby/pull/1226) Update generated code
|
84
|
+
|
85
|
+
* [#1223](https://github.com/stripe/stripe-ruby/pull/1223) Update generated code
|
86
|
+
|
87
|
+
* [#1225](https://github.com/stripe/stripe-ruby/pull/1225) Downgrade jaro_winkler
|
88
|
+
* [#1219](https://github.com/stripe/stripe-ruby/pull/1219) Update generated code
|
27
89
|
|
28
|
-
Documentation updates.
|
29
|
-
* [#1215](https://github.com/stripe/stripe-ruby/pull/1215) Update generated code
|
30
|
-
|
31
|
-
* [#1208](https://github.com/stripe/stripe-ruby/pull/1208) Update generated code
|
32
|
-
|
90
|
+
Documentation updates.
|
91
|
+
* [#1215](https://github.com/stripe/stripe-ruby/pull/1215) Update generated code
|
92
|
+
|
93
|
+
* [#1208](https://github.com/stripe/stripe-ruby/pull/1208) Update generated code
|
94
|
+
|
33
95
|
* [#1204](https://github.com/stripe/stripe-ruby/pull/1204) Update generated code
|
34
96
|
|
97
|
+
## 8.6.0-beta.6 - 2023-06-22
|
98
|
+
* [#1237](https://github.com/stripe/stripe-ruby/pull/1237) Update generated code for beta
|
99
|
+
* Add support for new resource `CustomerSession`
|
100
|
+
* Add support for `create` method on resource `CustomerSession`
|
101
|
+
* [#1233](https://github.com/stripe/stripe-ruby/pull/1233) Update generated code for beta
|
102
|
+
* [#1229](https://github.com/stripe/stripe-ruby/pull/1229) Update generated code for beta
|
103
|
+
|
104
|
+
## 8.6.0-beta.5 - 2023-06-01
|
105
|
+
* [#1227](https://github.com/stripe/stripe-ruby/pull/1227) Update generated code for beta
|
106
|
+
* [#1228](https://github.com/stripe/stripe-ruby/pull/1228) Document raw_request
|
107
|
+
* [#1222](https://github.com/stripe/stripe-ruby/pull/1222) Update generated code for beta
|
108
|
+
* [#1224](https://github.com/stripe/stripe-ruby/pull/1224) Handle developer message in preview error responses
|
109
|
+
|
110
|
+
## 8.6.0-beta.4 - 2023-05-19
|
111
|
+
* [#1220](https://github.com/stripe/stripe-ruby/pull/1220) Update generated code for beta
|
112
|
+
* Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
|
113
|
+
* [#1217](https://github.com/stripe/stripe-ruby/pull/1217) Add raw_request
|
114
|
+
* [#1216](https://github.com/stripe/stripe-ruby/pull/1216) Update generated code for beta
|
115
|
+
* [#1214](https://github.com/stripe/stripe-ruby/pull/1214) Update generated code for beta
|
116
|
+
|
117
|
+
## 8.6.0-beta.3 - 2023-04-17
|
118
|
+
* [#1211](https://github.com/stripe/stripe-ruby/pull/1211) Update generated code for beta
|
119
|
+
* [#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
|
120
|
+
|
121
|
+
## 8.6.0-beta.2 - 2023-04-13
|
122
|
+
* [#1206](https://github.com/stripe/stripe-ruby/pull/1206) Update generated code for beta
|
123
|
+
* Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
|
124
|
+
* [#1205](https://github.com/stripe/stripe-ruby/pull/1205) Update generated code for beta
|
125
|
+
|
126
|
+
## 8.6.0-beta.1 - 2023-03-30
|
127
|
+
* [#1202](https://github.com/stripe/stripe-ruby/pull/1202) Update generated code for beta
|
35
128
|
|
36
129
|
## 8.5.0 - 2023-03-30
|
37
|
-
* [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
|
130
|
+
* [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
|
38
131
|
* Remove support for `create` method on resource `Tax.Transaction`
|
39
|
-
* 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.
|
132
|
+
* 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.
|
40
133
|
* [#1201](https://github.com/stripe/stripe-ruby/pull/1201) Update save deprecation message
|
41
134
|
|
135
|
+
## 8.5.0-beta.1 - 2023-03-23
|
136
|
+
* [#1194](https://github.com/stripe/stripe-ruby/pull/1194) Update generated code for beta (new)
|
137
|
+
* Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
|
138
|
+
* Add support for `collect_inputs` method on resource `Terminal.Reader`
|
139
|
+
|
42
140
|
## 8.4.0 - 2023-03-23
|
43
|
-
* [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
|
44
|
-
* Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
|
45
|
-
* Add support for `create` and `list_line_items` methods on resource `Calculation`
|
46
|
-
* Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
|
141
|
+
* [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
|
142
|
+
* Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
|
143
|
+
* Add support for `create` and `list_line_items` methods on resource `Calculation`
|
144
|
+
* Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
|
47
145
|
* [#1152](https://github.com/stripe/stripe-ruby/pull/1152) Symbolize hash keys inside `convert_to_stripe_object_with_params`
|
48
146
|
|
147
|
+
## 8.4.0-beta.4 - 2023-03-16
|
148
|
+
* [#1189](https://github.com/stripe/stripe-ruby/pull/1189) Update generated code for beta (new)
|
149
|
+
* Add support for `create_from_calculation` method on resource `Tax.Transaction`
|
150
|
+
* [#1188](https://github.com/stripe/stripe-ruby/pull/1188) Update generated code for beta (new)
|
151
|
+
* Remove support for resources `Capital.FinancingOffer` and `Capital.FinancingSummary`
|
152
|
+
* Remove support for `list`, `mark_delivered`, and `retrieve` methods on resource `FinancingOffer`
|
153
|
+
* Remove support for `retrieve` method on resource `FinancingSummary`
|
154
|
+
* [#1187](https://github.com/stripe/stripe-ruby/pull/1187) Merge upstream master
|
155
|
+
|
156
|
+
## 8.4.0-beta.3 - 2023-03-09
|
157
|
+
* [#1184](https://github.com/stripe/stripe-ruby/pull/1184) API Updates for beta branch
|
158
|
+
* Updated stable APIs to the latest version
|
159
|
+
* Remove support for `list_transactions` method on resource `Tax.Transaction`
|
160
|
+
|
161
|
+
## 8.4.0-beta.2 - 2023-03-03
|
162
|
+
* [#1183](https://github.com/stripe/stripe-ruby/pull/1183) API Updates for beta branch
|
163
|
+
* Updated stable APIs to the latest version
|
164
|
+
* Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
|
165
|
+
* Add support for `list` and `retrieve` methods on resource `CardBundle`
|
166
|
+
* Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
|
167
|
+
|
168
|
+
## 8.4.0-beta.1 - 2023-02-23
|
169
|
+
* [#1182](https://github.com/stripe/stripe-ruby/pull/1182) API Updates for beta branch
|
170
|
+
* Updated stable APIs to the latest version
|
171
|
+
|
49
172
|
## 8.3.0 - 2023-02-16
|
50
|
-
* [#1175](https://github.com/stripe/stripe-ruby/pull/1175) API Updates
|
173
|
+
* [#1175](https://github.com/stripe/stripe-ruby/pull/1175) API Updates
|
51
174
|
* Add support for `refund_payment` method on resource `Terminal.Reader`
|
52
175
|
|
176
|
+
## 8.3.0-beta.1 - 2023-02-02
|
177
|
+
* [#1174](https://github.com/stripe/stripe-ruby/pull/1174) API Updates for beta branch
|
178
|
+
* Updated stable APIs to the latest version
|
179
|
+
* Add support for new resource `FinancialConnections.Transaction`
|
180
|
+
* Add support for `list` method on resource `Transaction`
|
181
|
+
|
53
182
|
## 8.2.0 - 2023-02-02
|
54
|
-
* [#1173](https://github.com/stripe/stripe-ruby/pull/1173) API Updates
|
55
|
-
* Add support for `resume` method on resource `Subscription`
|
183
|
+
* [#1173](https://github.com/stripe/stripe-ruby/pull/1173) API Updates
|
184
|
+
* Add support for `resume` method on resource `Subscription`
|
56
185
|
* [#1171](https://github.com/stripe/stripe-ruby/pull/1171) Remove unused `partial` param from `initialize_from`
|
57
186
|
|
187
|
+
## 8.2.0-beta.3 - 2023-01-26
|
188
|
+
* [#1172](https://github.com/stripe/stripe-ruby/pull/1172) API Updates for beta branch
|
189
|
+
* Updated stable APIs to the latest version
|
190
|
+
* Add support for `list_transactions` method on resource `Tax.Transaction`
|
191
|
+
|
192
|
+
## 8.2.0-beta.2 - 2023-01-19
|
193
|
+
* [#1170](https://github.com/stripe/stripe-ruby/pull/1170) API Updates for beta branch
|
194
|
+
* Updated stable APIs to the latest version
|
195
|
+
* Add support for `Tax.Settings` resource.
|
196
|
+
|
197
|
+
## 8.2.0-beta.1 - 2023-01-12
|
198
|
+
* [#1167](https://github.com/stripe/stripe-ruby/pull/1167) API Updates for beta branch
|
199
|
+
* Updated stable APIs to the latest version
|
200
|
+
* Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
|
201
|
+
* Add support for `Tax::Register` resource
|
202
|
+
|
58
203
|
## 8.1.0 - 2023-01-12
|
59
204
|
* [#1162](https://github.com/stripe/stripe-ruby/pull/1162) Improve request events instrumentation
|
60
205
|
|
206
|
+
## 8.1.0-beta.4 - 2023-01-05
|
207
|
+
* [#1164](https://github.com/stripe/stripe-ruby/pull/1164) API Updates for beta branch
|
208
|
+
* Updated stable APIs to the latest version
|
209
|
+
* Add support for `mark_stale_quote` method on resource `Quote`
|
210
|
+
|
211
|
+
## 8.1.0-beta.3 - 2022-12-22
|
212
|
+
* [#1158](https://github.com/stripe/stripe-ruby/pull/1158) API Updates for beta branch
|
213
|
+
* Updated stable APIs to the latest version
|
214
|
+
* Move `TaxCalculation` and `TaxTransaction` to `Tax::Calculation` and `Tax::Transaction`.
|
215
|
+
|
216
|
+
## 8.1.0-beta.2 - 2022-12-15
|
217
|
+
* [#1156](https://github.com/stripe/stripe-ruby/pull/1156) API Updates for beta branch
|
218
|
+
* Updated stable APIs to the latest version
|
219
|
+
* Add support for new resources `TaxCalculation`, and `TaxTransaction`
|
220
|
+
* Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
|
221
|
+
* Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
|
222
|
+
* [#1155](https://github.com/stripe/stripe-ruby/pull/1155) API Updates for beta branch
|
223
|
+
* Updated stable APIs to the latest version
|
224
|
+
* Add support for new resource `QuoteLine`.
|
225
|
+
|
226
|
+
## 8.1.0-beta.1 - 2022-12-08
|
227
|
+
* [#1153](https://github.com/stripe/stripe-ruby/pull/1153) API Updates for beta branch
|
228
|
+
* Updated stable APIs to the latest version
|
229
|
+
* [#1146](https://github.com/stripe/stripe-ruby/pull/1146) API Updates for beta branch
|
230
|
+
* Updated stable APIs to the latest version
|
231
|
+
|
61
232
|
## 8.0.0 - 2022-11-16
|
62
|
-
* [#1144](https://github.com/stripe/stripe-ruby/pull/1144) Next major release changes
|
233
|
+
* [#1144](https://github.com/stripe/stripe-ruby/pull/1144) Next major release changes
|
234
|
+
|
235
|
+
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.
|
236
|
+
|
237
|
+
"⚠️" symbol highlights breaking changes.
|
63
238
|
|
64
|
-
|
239
|
+
## 7.2.0-beta.5 - 2022-11-02
|
240
|
+
* [#1139](https://github.com/stripe/stripe-ruby/pull/1139) API Updates for beta branch
|
241
|
+
* Updated beta APIs to the latest stable version
|
242
|
+
* [#1135](https://github.com/stripe/stripe-ruby/pull/1135) API Updates for beta branch
|
243
|
+
* Updated stable APIs to the latest version
|
65
244
|
|
66
|
-
|
245
|
+
## 7.2.0-beta.4 - 2022-10-07
|
246
|
+
* [#999](https://github.com/stripe/stripe-ruby/pull/999) DESCRIBE CHANGES HERE (try to use the same style, tense, etc. as the other entries)
|
247
|
+
|
248
|
+
## 7.2.0-beta.3 - 2022-09-26
|
249
|
+
* [#1129](https://github.com/stripe/stripe-ruby/pull/1129) API Updates for beta branch
|
250
|
+
* Updated stable APIs to the latest version
|
251
|
+
* Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
|
67
252
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
refund = Stripe::Refund.retrieve("re_123")
|
73
|
-
refund.description = "Refund description"
|
74
|
-
refund.save
|
75
|
-
|
76
|
-
# after
|
77
|
-
Stripe::Refund.update("re_123", description: "Refund description")
|
78
|
-
```
|
79
|
-
|
80
|
-
### ⚠️ Removed
|
81
|
-
- Removed deprecated `Sku` resource.
|
82
|
-
- Removed deprecated `Orders` resource.
|
83
|
-
- Removed deprecated `delete` method on `Subscription` resource. Please use `cancel` method instead.
|
84
|
-
```ruby
|
85
|
-
# before
|
86
|
-
Stripe::Subscription::delete("sub_12345")
|
87
|
-
|
88
|
-
# after
|
89
|
-
Stripe::Subscription::cancel("sub_12345")
|
90
|
-
```
|
253
|
+
## 7.2.0-beta.2 - 2022-08-26
|
254
|
+
* [#1127](https://github.com/stripe/stripe-ruby/pull/1127) API Updates for beta branch
|
255
|
+
* Updated stable APIs to the latest version
|
256
|
+
* Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
|
91
257
|
|
258
|
+
## 7.2.0-beta.1 - 2022-08-23
|
259
|
+
* [#1122](https://github.com/stripe/stripe-ruby/pull/1122) API Updates for beta branch
|
260
|
+
- Updated stable APIs to the latest version
|
261
|
+
- `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)
|
92
262
|
|
93
263
|
## 7.1.0 - 2022-08-19
|
94
|
-
* [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
|
95
|
-
* Add support for new resource `CustomerCashBalanceTransaction`
|
96
|
-
* [#1118](https://github.com/stripe/stripe-ruby/pull/1118) Update AllowedChars in rubocop config
|
97
|
-
* [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
|
264
|
+
* [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
|
265
|
+
* Add support for new resource `CustomerCashBalanceTransaction`
|
266
|
+
* [#1118](https://github.com/stripe/stripe-ruby/pull/1118) Update AllowedChars in rubocop config
|
267
|
+
* [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
|
98
268
|
* [#1115](https://github.com/stripe/stripe-ruby/pull/1115) Add a support section to the readme
|
99
269
|
|
100
|
-
## 7.0.
|
270
|
+
## 7.1.0-beta.2 - 2022-08-11
|
271
|
+
* [#1113](https://github.com/stripe/stripe-ruby/pull/1113) API Updates for beta branch
|
272
|
+
- Updated stable APIs to the latest version
|
273
|
+
- Add `refund_payment` method to Terminal resource
|
101
274
|
|
102
|
-
|
275
|
+
## 7.1.0-beta.1 - 2022-08-03
|
276
|
+
* [#1107](https://github.com/stripe/stripe-ruby/pull/1107) API Updates for beta branch
|
277
|
+
- Updated stable APIs to the latest version
|
278
|
+
- Added the `Order` resource support
|
103
279
|
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
280
|
+
## 7.0.0 - 2022-08-02
|
281
|
+
|
282
|
+
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v7. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01.
|
283
|
+
|
284
|
+
"⚠️" symbol highlights breaking changes.
|
285
|
+
|
286
|
+
* [#1106](https://github.com/stripe/stripe-ruby/pull/1106) API Updates
|
287
|
+
* [#1092](https://github.com/stripe/stripe-ruby/pull/1092) API Updates
|
288
|
+
* [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods
|
109
289
|
* [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes
|
110
290
|
|
111
|
-
|
112
|
-
*
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
*
|
122
|
-
|
123
|
-
*
|
124
|
-
* Remove ability to list `Card` resource for a `Recipient`.
|
125
|
-
* Remove `cancel` method from `Transfer` resource. The method was deprecated.
|
291
|
+
## 6.6.0-beta.1 - 2022-07-22
|
292
|
+
* [#1100](https://github.com/stripe/stripe-ruby/pull/1100) API Updates for beta branch
|
293
|
+
- Updated stable APIs to the latest version
|
294
|
+
- Add `QuotePhase` resource
|
295
|
+
* [#1097](https://github.com/stripe/stripe-ruby/pull/1097) API Updates for beta branch
|
296
|
+
- Updated stable APIs to the latest version
|
297
|
+
- Add `SubscriptionSchedule.amend` method.
|
298
|
+
* [#1093](https://github.com/stripe/stripe-ruby/pull/1093) API Updates for beta branch
|
299
|
+
- Include `server_side_confirmation_beta=v1` beta
|
300
|
+
- Add `secretKeyConfirmation` to `PaymentIntent`
|
301
|
+
* [#1085](https://github.com/stripe/stripe-ruby/pull/1085) API Updates for beta branch
|
302
|
+
- Updated stable APIs to the latest version
|
303
|
+
* [#1075](https://github.com/stripe/stripe-ruby/pull/1075) Use the generated API version
|
126
304
|
|
127
305
|
## 6.5.0 - 2022-06-29
|
128
|
-
* [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
|
129
|
-
* Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card`
|
306
|
+
* [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
|
307
|
+
* Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card`
|
130
308
|
* [#1076](https://github.com/stripe/stripe-ruby/pull/1076) fix: Update logging to coerce ASCII-8BIT into UTF-8.
|
131
309
|
|
132
310
|
## 6.4.0 - 2022-06-17
|
133
|
-
* [#1073](https://github.com/stripe/stripe-ruby/pull/1073) API Updates
|
134
|
-
* Add support for `fund_cash_balance` test helper method on resource `Customer`
|
135
|
-
* [#1074](https://github.com/stripe/stripe-ruby/pull/1074) Support updating pre-release versions
|
136
|
-
* [#1072](https://github.com/stripe/stripe-ruby/pull/1072) Trigger workflows on beta branches
|
137
|
-
* [#1071](https://github.com/stripe/stripe-ruby/pull/1071) Use request_stripe_object for all requests
|
138
|
-
* [#1070](https://github.com/stripe/stripe-ruby/pull/1070) API Updates
|
139
|
-
|
140
|
-
Switch from using meta-programing to generating explicit methods for custom methods.
|
311
|
+
* [#1073](https://github.com/stripe/stripe-ruby/pull/1073) API Updates
|
312
|
+
* Add support for `fund_cash_balance` test helper method on resource `Customer`
|
313
|
+
* [#1074](https://github.com/stripe/stripe-ruby/pull/1074) Support updating pre-release versions
|
314
|
+
* [#1072](https://github.com/stripe/stripe-ruby/pull/1072) Trigger workflows on beta branches
|
315
|
+
* [#1071](https://github.com/stripe/stripe-ruby/pull/1071) Use request_stripe_object for all requests
|
316
|
+
* [#1070](https://github.com/stripe/stripe-ruby/pull/1070) API Updates
|
317
|
+
|
318
|
+
Switch from using meta-programing to generating explicit methods for custom methods.
|
141
319
|
* [#1069](https://github.com/stripe/stripe-ruby/pull/1069) chore: Stop special implementation of Account.persons method.
|
142
320
|
|
143
321
|
## 6.3.0 - 2022-06-08
|
144
322
|
* [#1063](https://github.com/stripe/stripe-ruby/pull/1063) fix: Update cash balance methods to no longer require nested ID.
|
145
323
|
|
146
324
|
## 6.2.0 - 2022-05-23
|
147
|
-
* [#1060](https://github.com/stripe/stripe-ruby/pull/1060) API Updates
|
325
|
+
* [#1060](https://github.com/stripe/stripe-ruby/pull/1060) API Updates
|
148
326
|
* Add support for new resource `Apps.Secret`
|
149
327
|
|
150
328
|
## 6.1.0 - 2022-05-19
|
151
|
-
* [#1057](https://github.com/stripe/stripe-ruby/pull/1057) API Updates
|
152
|
-
* 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`
|
153
|
-
* Add support for `retrieve_payment_method` method on resource `Customer`
|
329
|
+
* [#1057](https://github.com/stripe/stripe-ruby/pull/1057) API Updates
|
330
|
+
* 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`
|
331
|
+
* Add support for `retrieve_payment_method` method on resource `Customer`
|
154
332
|
* Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
|
155
|
-
|
156
|
-
|
157
333
|
|
158
334
|
## 6.0.0 - 2022-05-09
|
159
|
-
* [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
|
160
|
-
Major version release. The [migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-Guide-for-v6) contains more information.
|
161
|
-
|
162
|
-
(⚠️ = breaking changes):
|
163
|
-
* ⚠️ Replace the legacy `Order` API with the new `Order` API.
|
164
|
-
* New methods: `cancel`, `list_line_items`, `reopen`, and `submit`
|
165
|
-
* Removed methods: `pay` and `return_order`
|
166
|
-
* Removed resources: `OrderItem` and `OrderReturn`
|
335
|
+
* [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
|
336
|
+
Major version release. The [migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-Guide-for-v6) contains more information.
|
337
|
+
|
338
|
+
(⚠️ = breaking changes):
|
339
|
+
* ⚠️ Replace the legacy `Order` API with the new `Order` API.
|
340
|
+
* New methods: `cancel`, `list_line_items`, `reopen`, and `submit`
|
341
|
+
* Removed methods: `pay` and `return_order`
|
342
|
+
* Removed resources: `OrderItem` and `OrderReturn`
|
167
343
|
* ⚠️ Rename `FinancialConnections::Account.refresh` to `FinancialConnections::Account.refresh_account
|
168
344
|
|
169
345
|
## 5.55.0 - 2022-05-05
|
170
|
-
* [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
|
346
|
+
* [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
|
171
347
|
* Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
|
172
|
-
|
173
348
|
|
174
349
|
## 5.54.0 - 2022-05-03
|
175
|
-
* [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
|
350
|
+
* [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
|
176
351
|
* Add support for new resource `CashBalance`
|
177
352
|
|
178
353
|
## 5.53.0 - 2022-04-21
|
179
|
-
* [#1050](https://github.com/stripe/stripe-ruby/pull/1050) API Updates
|
354
|
+
* [#1050](https://github.com/stripe/stripe-ruby/pull/1050) API Updates
|
180
355
|
* Add support for `expire` test helper method on resource `Refund`
|
181
356
|
|
182
357
|
## 5.52.0 - 2022-04-18
|
183
|
-
* [#1046](https://github.com/stripe/stripe-ruby/pull/1046) [#1047](https://github.com/stripe/stripe-ruby/pull/1047) API Updates
|
358
|
+
* [#1046](https://github.com/stripe/stripe-ruby/pull/1046) [#1047](https://github.com/stripe/stripe-ruby/pull/1047) API Updates
|
184
359
|
* Add support for new resources `FundingInstructions` and `Terminal.Configuration`
|
185
360
|
|
186
361
|
## 5.51.0 - 2022-04-15
|
187
362
|
* [#1046](https://github.com/stripe/stripe-ruby/pull/1046) This release was incomplete and was yanked from RubyGems immediately after it was published.
|
188
363
|
|
189
364
|
## 5.50.0 - 2022-04-13
|
190
|
-
* [#1045](https://github.com/stripe/stripe-ruby/pull/1045) API Updates
|
365
|
+
* [#1045](https://github.com/stripe/stripe-ruby/pull/1045) API Updates
|
191
366
|
* Add support for `increment_authorization` method on resource `PaymentIntent`
|
192
367
|
|
193
368
|
## 5.49.0 - 2022-04-08
|
194
|
-
* [#1043](https://github.com/stripe/stripe-ruby/pull/1043) API Updates
|
369
|
+
* [#1043](https://github.com/stripe/stripe-ruby/pull/1043) API Updates
|
195
370
|
* Add support for `apply_customer_balance` method on resource `PaymentIntent`
|
196
371
|
|
197
372
|
## 5.48.0 - 2022-03-30
|
198
|
-
* [#1041](https://github.com/stripe/stripe-ruby/pull/1041) API Updates
|
373
|
+
* [#1041](https://github.com/stripe/stripe-ruby/pull/1041) API Updates
|
199
374
|
* Add support for `cancel_action`, `process_payment_intent`, `process_setup_intent`, and `set_reader_display` methods on resource `Terminal.Reader`
|
200
375
|
|
201
376
|
## 5.47.0 - 2022-03-29
|
202
|
-
* [#1040](https://github.com/stripe/stripe-ruby/pull/1040) API Updates
|
203
|
-
* Add support for Search API
|
204
|
-
* Add support for `search` method on resources `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription`
|
205
|
-
|
377
|
+
* [#1040](https://github.com/stripe/stripe-ruby/pull/1040) API Updates
|
378
|
+
* Add support for Search API
|
379
|
+
* Add support for `search` method on resources `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription`
|
380
|
+
|
206
381
|
* [#1034](https://github.com/stripe/stripe-ruby/pull/1034) Add supporting classes for test helper generation
|
207
382
|
|
208
383
|
## 5.46.0 - 2022-03-23
|
209
|
-
* [#1039](https://github.com/stripe/stripe-ruby/pull/1039) API Updates
|
210
|
-
* Add support for `cancel` method on resource `Refund`
|
384
|
+
* [#1039](https://github.com/stripe/stripe-ruby/pull/1039) API Updates
|
385
|
+
* Add support for `cancel` method on resource `Refund`
|
211
386
|
* [#992](https://github.com/stripe/stripe-ruby/pull/992) Add support for Search API
|
212
387
|
|
213
388
|
## 5.45.0 - 2022-03-01
|
214
|
-
* [#1035](https://github.com/stripe/stripe-ruby/pull/1035) API Updates
|
389
|
+
* [#1035](https://github.com/stripe/stripe-ruby/pull/1035) API Updates
|
215
390
|
* Add support for new resource `TestHelpers.TestClock`
|
216
391
|
|
217
392
|
## 5.44.0 - 2022-02-16
|
218
|
-
* [#1032](https://github.com/stripe/stripe-ruby/pull/1032) API Updates
|
393
|
+
* [#1032](https://github.com/stripe/stripe-ruby/pull/1032) API Updates
|
219
394
|
* Add support for `verify_microdeposits` method on resources `PaymentIntent` and `SetupIntent`
|
220
395
|
|
221
396
|
## 5.43.0 - 2022-01-20
|
222
|
-
* [#1031](https://github.com/stripe/stripe-ruby/pull/1031) API Updates
|
397
|
+
* [#1031](https://github.com/stripe/stripe-ruby/pull/1031) API Updates
|
223
398
|
* Add support for new resource `PaymentLink`
|
224
399
|
|
225
400
|
## 5.42.0 - 2021-12-13
|
226
401
|
* [#1022](https://github.com/stripe/stripe-ruby/pull/1022) Add connection manager logging and include object IDs in logging.
|
227
402
|
|
228
403
|
## 5.41.0 - 2021-11-16
|
229
|
-
* [#1017](https://github.com/stripe/stripe-ruby/pull/1017) API Updates
|
404
|
+
* [#1017](https://github.com/stripe/stripe-ruby/pull/1017) API Updates
|
230
405
|
* Add support for new resource `ShippingRate`
|
231
406
|
|
232
407
|
## 5.40.0 - 2021-11-11
|
233
|
-
* [#1015](https://github.com/stripe/stripe-ruby/pull/1015) API Updates
|
234
|
-
* Add support for `expire` method on resource `Checkout.Session`
|
235
|
-
* [#1013](https://github.com/stripe/stripe-ruby/pull/1013) Add tests for child resources.
|
236
|
-
* [#1012](https://github.com/stripe/stripe-ruby/pull/1012) Add tests for namespaced resources.
|
408
|
+
* [#1015](https://github.com/stripe/stripe-ruby/pull/1015) API Updates
|
409
|
+
* Add support for `expire` method on resource `Checkout.Session`
|
410
|
+
* [#1013](https://github.com/stripe/stripe-ruby/pull/1013) Add tests for child resources.
|
411
|
+
* [#1012](https://github.com/stripe/stripe-ruby/pull/1012) Add tests for namespaced resources.
|
237
412
|
* [#1011](https://github.com/stripe/stripe-ruby/pull/1011) codegen: 3 more files
|
238
413
|
|
239
414
|
## 5.39.0 - 2021-10-11
|
240
|
-
* [#1010](https://github.com/stripe/stripe-ruby/pull/1010) API Updates
|
415
|
+
* [#1010](https://github.com/stripe/stripe-ruby/pull/1010) API Updates
|
241
416
|
* Add support for `list_payment_methods` method on resource `Customer`
|
242
417
|
|
243
418
|
## 5.38.0 - 2021-08-10
|
244
|
-
* [#993](https://github.com/stripe/stripe-ruby/pull/993) Add `request_id` to RequestEndEvent
|
245
|
-
* [#991](https://github.com/stripe/stripe-ruby/pull/991) Codegen more files
|
419
|
+
* [#993](https://github.com/stripe/stripe-ruby/pull/993) Add `request_id` to RequestEndEvent
|
420
|
+
* [#991](https://github.com/stripe/stripe-ruby/pull/991) Codegen more files
|
246
421
|
* [#989](https://github.com/stripe/stripe-ruby/pull/989) Remove unused API error types from docs.
|
247
422
|
|
248
423
|
## 5.37.0 - 2021-07-14
|
249
|
-
* [#988](https://github.com/stripe/stripe-ruby/pull/988) API Updates
|
424
|
+
* [#988](https://github.com/stripe/stripe-ruby/pull/988) API Updates
|
250
425
|
* Add support for `list_computed_upfront_line_items` method on resource `Quote`
|
251
426
|
|
252
427
|
## 5.36.0 - 2021-07-09
|
253
428
|
* [#987](https://github.com/stripe/stripe-ruby/pull/987) Add support for `Quote` API
|
254
429
|
|
255
430
|
## 5.35.0 - 2021-06-30
|
256
|
-
* [#985](https://github.com/stripe/stripe-ruby/pull/985) Update normalize_opts to use dup instead of clone.
|
257
|
-
* [#982](https://github.com/stripe/stripe-ruby/pull/982) Deprecate travis
|
431
|
+
* [#985](https://github.com/stripe/stripe-ruby/pull/985) Update normalize_opts to use dup instead of clone.
|
432
|
+
* [#982](https://github.com/stripe/stripe-ruby/pull/982) Deprecate travis
|
258
433
|
* [#983](https://github.com/stripe/stripe-ruby/pull/983) Add support for making a request and receiving the response as a stream.
|
259
434
|
|
260
435
|
## 5.34.0 - 2021-06-04
|
261
|
-
* [#981](https://github.com/stripe/stripe-ruby/pull/981) API Updates
|
436
|
+
* [#981](https://github.com/stripe/stripe-ruby/pull/981) API Updates
|
262
437
|
* Add support for `TaxCode` API.
|
263
438
|
|
264
439
|
## 5.33.0 - 2021-05-19
|
@@ -271,10 +446,10 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
271
446
|
* [#973](https://github.com/stripe/stripe-ruby/pull/973) Reduce packed gem size
|
272
447
|
|
273
448
|
## 5.31.0 - 2021-04-02
|
274
|
-
* [#968](https://github.com/stripe/stripe-ruby/pull/968) Allow StripeClient to be configured per instance
|
275
|
-
* [#971](https://github.com/stripe/stripe-ruby/pull/971) On config change, only clear connection managers for changed config
|
276
|
-
* [#972](https://github.com/stripe/stripe-ruby/pull/972) Rename `Stripe.configuration` to `Stripe.config`
|
277
|
-
* [#970](https://github.com/stripe/stripe-ruby/pull/970) Reserve some critical field names when adding `StripeObject` accessors
|
449
|
+
* [#968](https://github.com/stripe/stripe-ruby/pull/968) Allow StripeClient to be configured per instance
|
450
|
+
* [#971](https://github.com/stripe/stripe-ruby/pull/971) On config change, only clear connection managers for changed config
|
451
|
+
* [#972](https://github.com/stripe/stripe-ruby/pull/972) Rename `Stripe.configuration` to `Stripe.config`
|
452
|
+
* [#970](https://github.com/stripe/stripe-ruby/pull/970) Reserve some critical field names when adding `StripeObject` accessors
|
278
453
|
* [#967](https://github.com/stripe/stripe-ruby/pull/967) CI: github actions
|
279
454
|
|
280
455
|
## 5.30.0 - 2021-02-22
|
@@ -299,7 +474,7 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
299
474
|
* [#944](https://github.com/stripe/stripe-ruby/pull/944) Add support for the Issuing Dispute Submit API
|
300
475
|
|
301
476
|
## 5.24.0 - 2020-08-26
|
302
|
-
* [#939](https://github.com/stripe/stripe-ruby/pull/939) Extract configurations into separate object
|
477
|
+
* [#939](https://github.com/stripe/stripe-ruby/pull/939) Extract configurations into separate object
|
303
478
|
* [#940](https://github.com/stripe/stripe-ruby/pull/940) Fix typo in documentation of `stripe_object.rb`
|
304
479
|
|
305
480
|
## 5.23.1 - 2020-08-05
|
@@ -327,16 +502,16 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
327
502
|
* [#907](https://github.com/stripe/stripe-ruby/pull/907) Add `StripeError#idempotent_replayed?`
|
328
503
|
|
329
504
|
## 5.16.0 - 2020-02-26
|
330
|
-
* [#906](https://github.com/stripe/stripe-ruby/pull/906) Add support for listing Checkout sessions
|
505
|
+
* [#906](https://github.com/stripe/stripe-ruby/pull/906) Add support for listing Checkout sessions
|
331
506
|
* [#903](https://github.com/stripe/stripe-ruby/pull/903) Upgrade to Rubocop 0.80
|
332
507
|
|
333
508
|
## 5.15.0 - 2020-02-10
|
334
509
|
* [#902](https://github.com/stripe/stripe-ruby/pull/902) Add `request_begin` instrumentation callback
|
335
510
|
|
336
511
|
## 5.14.0 - 2020-01-14
|
337
|
-
* [#896](https://github.com/stripe/stripe-ruby/pull/896) Add support for `CreditNoteLineItem`
|
338
|
-
* [#894](https://github.com/stripe/stripe-ruby/pull/894) Clean up test output by capturing `$stderr` when we expect warnings
|
339
|
-
* [#892](https://github.com/stripe/stripe-ruby/pull/892) Explicitly pass a parameter as hash to be more ruby 2.7 friendly
|
512
|
+
* [#896](https://github.com/stripe/stripe-ruby/pull/896) Add support for `CreditNoteLineItem`
|
513
|
+
* [#894](https://github.com/stripe/stripe-ruby/pull/894) Clean up test output by capturing `$stderr` when we expect warnings
|
514
|
+
* [#892](https://github.com/stripe/stripe-ruby/pull/892) Explicitly pass a parameter as hash to be more ruby 2.7 friendly
|
340
515
|
* [#893](https://github.com/stripe/stripe-ruby/pull/893) Upgrade Rubocop to 0.79
|
341
516
|
|
342
517
|
## 5.13.0 - 2020-01-08
|
@@ -358,9 +533,9 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
358
533
|
* [#870](https://github.com/stripe/stripe-ruby/pull/870) Add request instrumentation callback (see `README.md` for usage example)
|
359
534
|
|
360
535
|
## 5.8.0 - 2019-11-05
|
361
|
-
* [#879](https://github.com/stripe/stripe-ruby/pull/879) Add support for `Mandate`
|
362
|
-
* [#876](https://github.com/stripe/stripe-ruby/pull/876) Add additional per-request configuration documentation
|
363
|
-
* [#874](https://github.com/stripe/stripe-ruby/pull/874) Raise an error when requests params are invalid
|
536
|
+
* [#879](https://github.com/stripe/stripe-ruby/pull/879) Add support for `Mandate`
|
537
|
+
* [#876](https://github.com/stripe/stripe-ruby/pull/876) Add additional per-request configuration documentation
|
538
|
+
* [#874](https://github.com/stripe/stripe-ruby/pull/874) Raise an error when requests params are invalid
|
364
539
|
* [#873](https://github.com/stripe/stripe-ruby/pull/873) Contributor Covenant
|
365
540
|
|
366
541
|
## 5.7.1 - 2019-10-15
|
@@ -397,33 +572,33 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
397
572
|
* [#836](https://github.com/stripe/stripe-ruby/pull/836) Increase connection keep alive timeout to 30 seconds
|
398
573
|
|
399
574
|
## 5.0.0 - 2019-08-20
|
400
|
-
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.
|
401
|
-
|
402
|
-
Pull requests included in this release (cf. [#815](https://github.com/stripe/stripe-ruby/pull/815)) (⚠️ = breaking changes):
|
403
|
-
* ⚠️ [#813](https://github.com/stripe/stripe-ruby/pull/813): Convert library to use built-in `Net::HTTP`
|
404
|
-
* ⚠️ [#816](https://github.com/stripe/stripe-ruby/pull/816): Make `code` argument in `CardError` named instead of positional.
|
405
|
-
* ⚠️ [#817](https://github.com/stripe/stripe-ruby/pull/817): Drop support for very old Ruby versions.
|
406
|
-
* [#818](https://github.com/stripe/stripe-ruby/pull/818): Bump Rubocop to latest version
|
407
|
-
* [#819](https://github.com/stripe/stripe-ruby/pull/819): Ruby minimum version increase followup
|
408
|
-
* ⚠️ [#820](https://github.com/stripe/stripe-ruby/pull/820): Remove old deprecated methods
|
409
|
-
* ⚠️ [#823](https://github.com/stripe/stripe-ruby/pull/823): Remove all alias for list methods
|
410
|
-
* ⚠️ [#826](https://github.com/stripe/stripe-ruby/pull/826): Remove `UsageRecord.create` method
|
411
|
-
* ⚠️ [#827](https://github.com/stripe/stripe-ruby/pull/827): Remove `IssuerFraudRecord`
|
412
|
-
* [#811](https://github.com/stripe/stripe-ruby/pull/811): Add `ErrorObject` to `StripeError` exceptions
|
413
|
-
* [#828](https://github.com/stripe/stripe-ruby/pull/828): Tweak retry logic to be a little more like stripe-node
|
414
|
-
* [#829](https://github.com/stripe/stripe-ruby/pull/829): Reset connections when connection-changing configuration changes (optional)
|
415
|
-
* [#830](https://github.com/stripe/stripe-ruby/pull/830): Fix inverted sign for 500 retries
|
416
|
-
* ⚠️[#831](https://github.com/stripe/stripe-ruby/pull/831): Remove a few more very old deprecated methods
|
417
|
-
* [#832](https://github.com/stripe/stripe-ruby/pull/832): Minor cleanup in `StripeClient`
|
418
|
-
* [#833](https://github.com/stripe/stripe-ruby/pull/833): Do better bookkeeping when tracking state in `Thread.current`
|
575
|
+
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.
|
576
|
+
|
577
|
+
Pull requests included in this release (cf. [#815](https://github.com/stripe/stripe-ruby/pull/815)) (⚠️ = breaking changes):
|
578
|
+
* ⚠️ [#813](https://github.com/stripe/stripe-ruby/pull/813): Convert library to use built-in `Net::HTTP`
|
579
|
+
* ⚠️ [#816](https://github.com/stripe/stripe-ruby/pull/816): Make `code` argument in `CardError` named instead of positional.
|
580
|
+
* ⚠️ [#817](https://github.com/stripe/stripe-ruby/pull/817): Drop support for very old Ruby versions.
|
581
|
+
* [#818](https://github.com/stripe/stripe-ruby/pull/818): Bump Rubocop to latest version
|
582
|
+
* [#819](https://github.com/stripe/stripe-ruby/pull/819): Ruby minimum version increase followup
|
583
|
+
* ⚠️ [#820](https://github.com/stripe/stripe-ruby/pull/820): Remove old deprecated methods
|
584
|
+
* ⚠️ [#823](https://github.com/stripe/stripe-ruby/pull/823): Remove all alias for list methods
|
585
|
+
* ⚠️ [#826](https://github.com/stripe/stripe-ruby/pull/826): Remove `UsageRecord.create` method
|
586
|
+
* ⚠️ [#827](https://github.com/stripe/stripe-ruby/pull/827): Remove `IssuerFraudRecord`
|
587
|
+
* [#811](https://github.com/stripe/stripe-ruby/pull/811): Add `ErrorObject` to `StripeError` exceptions
|
588
|
+
* [#828](https://github.com/stripe/stripe-ruby/pull/828): Tweak retry logic to be a little more like stripe-node
|
589
|
+
* [#829](https://github.com/stripe/stripe-ruby/pull/829): Reset connections when connection-changing configuration changes (optional)
|
590
|
+
* [#830](https://github.com/stripe/stripe-ruby/pull/830): Fix inverted sign for 500 retries
|
591
|
+
* ⚠️[#831](https://github.com/stripe/stripe-ruby/pull/831): Remove a few more very old deprecated methods
|
592
|
+
* [#832](https://github.com/stripe/stripe-ruby/pull/832): Minor cleanup in `StripeClient`
|
593
|
+
* [#833](https://github.com/stripe/stripe-ruby/pull/833): Do better bookkeeping when tracking state in `Thread.current`
|
419
594
|
* [#834](https://github.com/stripe/stripe-ruby/pull/834): Add `Invoice.list_upcoming_line_items` method
|
420
595
|
|
421
596
|
## 4.24.0 - 2019-08-12
|
422
|
-
* [#825](https://github.com/stripe/stripe-ruby/pull/825) Add `SubscriptionItem.create_usage_record` method
|
597
|
+
* [#825](https://github.com/stripe/stripe-ruby/pull/825) Add `SubscriptionItem.create_usage_record` method
|
423
598
|
- This release also removed the `SubscriptionSchedule.revisions` method. This should have been included in the previous release (4.23.0)
|
424
599
|
|
425
600
|
## 4.23.0 - 2019-08-09
|
426
|
-
* [#824](https://github.com/stripe/stripe-ruby/pull/824) Remove SubscriptionScheduleRevision
|
601
|
+
* [#824](https://github.com/stripe/stripe-ruby/pull/824) Remove SubscriptionScheduleRevision
|
427
602
|
- This is technically a breaking change. We've chosen to release it as a minor vesion bump because the associated API is unused.
|
428
603
|
|
429
604
|
## 4.22.1 - 2019-08-09
|
@@ -475,15 +650,15 @@ Pull requests included in this release (cf. [#815](https://github.com/stripe/str
|
|
475
650
|
* [#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`)
|
476
651
|
|
477
652
|
## 4.12.0 - 2019-04-02
|
478
|
-
* [#752](https://github.com/stripe/stripe-ruby/pull/752) Add `.delete` class method on deletable API resources
|
653
|
+
* [#752](https://github.com/stripe/stripe-ruby/pull/752) Add `.delete` class method on deletable API resources
|
479
654
|
* [#754](https://github.com/stripe/stripe-ruby/pull/754) Add class methods for all custom API requests (e.g. `Charge.capture`)
|
480
655
|
|
481
656
|
## 4.11.0 - 2019-03-26
|
482
657
|
* [#753](https://github.com/stripe/stripe-ruby/pull/753) Add a global proxy configuration parameter
|
483
658
|
|
484
659
|
## 4.10.0 - 2019-03-18
|
485
|
-
* [#745](https://github.com/stripe/stripe-ruby/pull/745) Add support for the `PaymentMethod` resource and APIs
|
486
|
-
* [#747](https://github.com/stripe/stripe-ruby/pull/747) Add support for retrieving a Checkout `Session`
|
660
|
+
* [#745](https://github.com/stripe/stripe-ruby/pull/745) Add support for the `PaymentMethod` resource and APIs
|
661
|
+
* [#747](https://github.com/stripe/stripe-ruby/pull/747) Add support for retrieving a Checkout `Session`
|
487
662
|
* [#748](https://github.com/stripe/stripe-ruby/pull/748) Add support for deleting a Terminal `Location` and `Reader`
|
488
663
|
|
489
664
|
## 4.9.1 - 2019-03-18
|
@@ -535,7 +710,7 @@ Pull requests included in this release (cf. [#815](https://github.com/stripe/str
|
|
535
710
|
* [#699](https://github.com/stripe/stripe-ruby/pull/699) Only send telemetry if `Request-Id` was present in the response
|
536
711
|
|
537
712
|
## 4.0.0 - 2018-11-15
|
538
|
-
* [#698](https://github.com/stripe/stripe-ruby/pull/698) Use persistent connections by default through `Net::HTTP::Persistent`
|
713
|
+
* [#698](https://github.com/stripe/stripe-ruby/pull/698) Use persistent connections by default through `Net::HTTP::Persistent`
|
539
714
|
* [#698](https://github.com/stripe/stripe-ruby/pull/698) Drop support for Ruby 2.0 (which we consider a breaking change here)
|
540
715
|
|
541
716
|
## 3.31.1 - 2018-11-12
|
@@ -548,7 +723,7 @@ Pull requests included in this release (cf. [#815](https://github.com/stripe/str
|
|
548
723
|
* [#693](https://github.com/stripe/stripe-ruby/pull/693) Add new API endpoints for the `Invoice` resource.
|
549
724
|
|
550
725
|
## 3.29.0 - 2018-10-30
|
551
|
-
* [#692](https://github.com/stripe/stripe-ruby/pull/692) Add support for the `Person` resource
|
726
|
+
* [#692](https://github.com/stripe/stripe-ruby/pull/692) Add support for the `Person` resource
|
552
727
|
* [#694](https://github.com/stripe/stripe-ruby/pull/694) Add support for the `WebhookEndpoint` resource
|
553
728
|
|
554
729
|
## 3.28.0 - 2018-09-24
|
@@ -645,16 +820,16 @@ Pull requests included in this release (cf. [#815](https://github.com/stripe/str
|
|
645
820
|
* [#603](https://github.com/stripe/stripe-ruby/pull/603) Support for listing source transactions
|
646
821
|
|
647
822
|
## 3.6.0 - 2017-10-17
|
648
|
-
* [#597](https://github.com/stripe/stripe-ruby/pull/597) Add static methods to manipulate resources from parent
|
649
|
-
* `Account` gains methods for external accounts and login links (e.g. `.create_account`, `create_login_link`)
|
650
|
-
* `ApplicationFee` gains methods for refunds
|
651
|
-
* `Customer` gains methods for sources
|
823
|
+
* [#597](https://github.com/stripe/stripe-ruby/pull/597) Add static methods to manipulate resources from parent
|
824
|
+
* `Account` gains methods for external accounts and login links (e.g. `.create_account`, `create_login_link`)
|
825
|
+
* `ApplicationFee` gains methods for refunds
|
826
|
+
* `Customer` gains methods for sources
|
652
827
|
* `Transfer` gains methods for reversals
|
653
828
|
|
654
829
|
## 3.5.3 - 2017-10-16
|
655
|
-
* [#594](https://github.com/stripe/stripe-ruby/pull/594) Make sure that `StripeObject`'s `#deep_copy` maintains original class
|
656
|
-
* [#595](https://github.com/stripe/stripe-ruby/pull/595) Allow `Object#method` to be called on `StripeObject` even if it conflicts with an accessor
|
657
|
-
* [#596](https://github.com/stripe/stripe-ruby/pull/596) Encode arrays as integer-indexed hashes where appropriate
|
830
|
+
* [#594](https://github.com/stripe/stripe-ruby/pull/594) Make sure that `StripeObject`'s `#deep_copy` maintains original class
|
831
|
+
* [#595](https://github.com/stripe/stripe-ruby/pull/595) Allow `Object#method` to be called on `StripeObject` even if it conflicts with an accessor
|
832
|
+
* [#596](https://github.com/stripe/stripe-ruby/pull/596) Encode arrays as integer-indexed hashes where appropriate
|
658
833
|
* [#598](https://github.com/stripe/stripe-ruby/pull/598) Don't persist `idempotency_key` opt between requests
|
659
834
|
|
660
835
|
## 3.5.2 - 2017-10-13
|
@@ -667,23 +842,23 @@ Pull requests included in this release (cf. [#815](https://github.com/stripe/str
|
|
667
842
|
* [#589](https://github.com/stripe/stripe-ruby/pull/589) Rename source `delete` to `detach` (and deprecate the former)
|
668
843
|
|
669
844
|
## 3.4.1 - 2017-10-05
|
670
|
-
* [#586](https://github.com/stripe/stripe-ruby/pull/586) Log query strings as well as form bodies with STRIPE_LOG
|
845
|
+
* [#586](https://github.com/stripe/stripe-ruby/pull/586) Log query strings as well as form bodies with STRIPE_LOG
|
671
846
|
* [#588](https://github.com/stripe/stripe-ruby/pull/588) Require minimum Faraday 0.10 for bug fix in parameter encoding
|
672
847
|
|
673
848
|
## 3.4.0 - 2017-09-20
|
674
|
-
* Mark legacy Bitcoin API as deprecated, and remove corresponding tests
|
849
|
+
* Mark legacy Bitcoin API as deprecated, and remove corresponding tests
|
675
850
|
* Mark recipients API as deprecated, and remove recipient card tests
|
676
851
|
|
677
852
|
## 3.3.2 - 2017-09-20
|
678
853
|
* Correct minimum required Ruby version in gemspec (it's 2.0.0)
|
679
854
|
|
680
855
|
## 3.3.1 - 2017-08-18
|
681
|
-
* Only parse webhook payload after verification to decrease likelihood of
|
856
|
+
* Only parse webhook payload after verification to decrease likelihood of
|
682
857
|
attack
|
683
858
|
|
684
859
|
## 3.3.0 - 2017-08-11
|
685
|
-
* Add support for standard library logger interface with `Stripe.logger`
|
686
|
-
* Error logs now go to stderr if using `Stripe.log_level`/`STRIPE_LOG`
|
860
|
+
* Add support for standard library logger interface with `Stripe.logger`
|
861
|
+
* Error logs now go to stderr if using `Stripe.log_level`/`STRIPE_LOG`
|
687
862
|
* `Stripe.log_level`/`STRIPE_LOG` now support `Stipe::LEVEL_ERROR`
|
688
863
|
|
689
864
|
## 3.2.0 - 2017-08-03
|
@@ -693,16 +868,16 @@ Pull requests included in this release (cf. [#815](https://github.com/stripe/str
|
|
693
868
|
* Implement request logging with `Stripe.log_level` and `STRIPE_LOG`
|
694
869
|
|
695
870
|
## 3.0.3 - 2017-07-28
|
696
|
-
* Revert `nil` to empty string coercion from 3.0.2
|
697
|
-
* Handle `invalid_client` OAuth error code
|
871
|
+
* Revert `nil` to empty string coercion from 3.0.2
|
872
|
+
* Handle `invalid_client` OAuth error code
|
698
873
|
* Improve safety of error handling logic safer for unrecognized OAuth error codes
|
699
874
|
|
700
875
|
## 3.0.2 - 2017-07-12
|
701
|
-
**Important:** This version is non-functional and has been yanked in favor of 3.0.3.
|
876
|
+
**Important:** This version is non-functional and has been yanked in favor of 3.0.3.
|
702
877
|
* Convert `nil` to empty string when serializing parameters (instead of opaquely dropping it) -- NOTE: this change has since been reverted
|
703
878
|
|
704
879
|
## 3.0.1 - 2017-07-11
|
705
|
-
* Properties set with an API resource will now serialize that resource's ID if possible
|
880
|
+
* Properties set with an API resource will now serialize that resource's ID if possible
|
706
881
|
* API resources will throw an ArgumentError on save if a property has been with an API resource that cannot be serialized
|
707
882
|
|
708
883
|
## 3.0.0 - 2017-06-27
|
@@ -757,10 +932,10 @@ Pull requests included in this release (cf. [#815](https://github.com/stripe/str
|
|
757
932
|
* Fix multipart parameter encoding to repair broken file uploads
|
758
933
|
|
759
934
|
## 2.0.0 - 2017-02-14
|
760
|
-
* Drop support for Ruby 1.9
|
761
|
-
* Allow HTTP client that makes Stripe calls to be configured via Faraday
|
762
|
-
* Drop RestClient
|
763
|
-
* Switch to OpenAPI 2.0 spec and generated fixtures in test suite
|
935
|
+
* Drop support for Ruby 1.9
|
936
|
+
* Allow HTTP client that makes Stripe calls to be configured via Faraday
|
937
|
+
* Drop RestClient
|
938
|
+
* Switch to OpenAPI 2.0 spec and generated fixtures in test suite
|
764
939
|
* Switch to Webmock in test suite
|
765
940
|
|
766
941
|
## 1.58.0 - 2017-01-19
|
@@ -779,8 +954,8 @@ Pull requests included in this release (cf. [#815](https://github.com/stripe/str
|
|
779
954
|
* Fix (fairly serious) memory like in `StripeObject`
|
780
955
|
|
781
956
|
## 1.56.0 - 2016-10-24
|
782
|
-
* Add accessors for new fields added in `#update_attributes`
|
783
|
-
* Handle multi-plan subscriptions through new subscription items
|
957
|
+
* Add accessors for new fields added in `#update_attributes`
|
958
|
+
* Handle multi-plan subscriptions through new subscription items
|
784
959
|
* Handle 403 status codes from the API
|
785
960
|
|
786
961
|
## 1.55.1 - 2016-10-24
|
@@ -802,7 +977,7 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
802
977
|
* Make sure `Account`'s `external_account` is saved with its parent
|
803
978
|
|
804
979
|
## 1.51.0 - 2016-08-26
|
805
|
-
* Error when an array of maps is detected that cannot be accurately encoded
|
980
|
+
* Error when an array of maps is detected that cannot be accurately encoded
|
806
981
|
* Start using strings for header names instead of symbols for better clarity
|
807
982
|
|
808
983
|
## 1.50.1 - 2016-08-25
|
@@ -833,7 +1008,7 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
833
1008
|
* Fix type of resource returned from `Order#return_order`
|
834
1009
|
|
835
1010
|
## 1.43.0 - 2016-05-20
|
836
|
-
* Allow Relay orders to be returned and add associated types
|
1011
|
+
* Allow Relay orders to be returned and add associated types
|
837
1012
|
* Support Alipay account retrieval and deletion
|
838
1013
|
|
839
1014
|
## 1.42.0 - 2016-05-04
|
@@ -867,7 +1042,7 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
867
1042
|
* Add compatibility layer for old API versions on `Charge#refund`
|
868
1043
|
|
869
1044
|
## 1.35.0 - 2016-02-01
|
870
|
-
* Allow CA cert bundle location to be configured
|
1045
|
+
* Allow CA cert bundle location to be configured
|
871
1046
|
* Updated bundled CA certs
|
872
1047
|
|
873
1048
|
## 1.34.0 - 2016-01-25
|
@@ -880,11 +1055,11 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
880
1055
|
* Re-implement `Charge#refund` helper to use the modern endpoint suggested by docs
|
881
1056
|
|
882
1057
|
## 1.32.1 - 2016-01-07
|
883
|
-
* Fix bug where ivar left uninitialized in StripeObject could error on serialization
|
1058
|
+
* Fix bug where ivar left uninitialized in StripeObject could error on serialization
|
884
1059
|
* Fix bug where a nil customer from API could error Bitcoin model on refresh
|
885
1060
|
|
886
1061
|
## 1.32.0 - 2016-01-05
|
887
|
-
* Add configuration to optionally retry network failures
|
1062
|
+
* Add configuration to optionally retry network failures
|
888
1063
|
* Use modern API endpoint for producing application fee refunds
|
889
1064
|
|
890
1065
|
## 1.31.0 - 2015-10-29
|
@@ -897,12 +1072,12 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
897
1072
|
* Fix bug where `opts` didn't properly propagate to descendant `StripeObjects`
|
898
1073
|
|
899
1074
|
## 1.30.1 - 2015-10-10
|
900
|
-
* Fix bug that prevent lists of hashes from being URI-encoded properly
|
1075
|
+
* Fix bug that prevent lists of hashes from being URI-encoded properly
|
901
1076
|
* Fix bug where filter conditions were not making it past the first instantiated `ListObject`
|
902
1077
|
|
903
1078
|
## 1.30.0 - 2015-10-09
|
904
|
-
* Add `StripeObject#deleted?` for a reliable way to check whether an object is alive
|
905
|
-
* Deprecate `StripeObject#refresh_from`
|
1079
|
+
* Add `StripeObject#deleted?` for a reliable way to check whether an object is alive
|
1080
|
+
* Deprecate `StripeObject#refresh_from`
|
906
1081
|
* New parameter encoding scheme that doesn't use `URI.escape`
|
907
1082
|
|
908
1083
|
## 1.29.1 - 2015-10-06
|
@@ -915,11 +1090,11 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
915
1090
|
* Fix URI being referenced by file upload resources
|
916
1091
|
|
917
1092
|
## 1.28.0 - 2015-10-05
|
918
|
-
* Make StripeObject's #save "upsert"-like; creates an object if new
|
919
|
-
* Add #update_attributes to StripeObject for safe mass assignment
|
920
|
-
* Properly mass assign attributes on calls to #save
|
921
|
-
* Add question mark helpers for boolean fields (e.g. #paid? as well as old #paid)
|
922
|
-
* Fix a bug that broke the API for StripeObject initialization
|
1093
|
+
* Make StripeObject's #save "upsert"-like; creates an object if new
|
1094
|
+
* Add #update_attributes to StripeObject for safe mass assignment
|
1095
|
+
* Properly mass assign attributes on calls to #save
|
1096
|
+
* Add question mark helpers for boolean fields (e.g. #paid? as well as old #paid)
|
1097
|
+
* Fix a bug that broke the API for StripeObject initialization
|
923
1098
|
* Remove use of deprecated URI.escape
|
924
1099
|
|
925
1100
|
## 1.27.2 - 2015-09-25
|
@@ -938,8 +1113,8 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
938
1113
|
* Added support for refund listing and retrieval without an associated charge
|
939
1114
|
|
940
1115
|
## 1.24.0 - 2015-08-03
|
941
|
-
* Added support for deleting managed accounts
|
942
|
-
* Added support for dispute listing and retrieval
|
1116
|
+
* Added support for deleting managed accounts
|
1117
|
+
* Added support for dispute listing and retrieval
|
943
1118
|
* Bugfix: token objects now are the correct class
|
944
1119
|
|
945
1120
|
## 1.23.0 - 2015-07-06
|
@@ -949,18 +1124,18 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
949
1124
|
* Added support for bank accounts and debit cards in managed accounts (via the `external_accounts` param)
|
950
1125
|
|
951
1126
|
## 1.21.0 - 2015-04-14
|
952
|
-
* Remove TLS cert revocation check (all pre-heartbleed certs have expired)
|
1127
|
+
* Remove TLS cert revocation check (all pre-heartbleed certs have expired)
|
953
1128
|
* Bugfix: don't unset keys when they don't exist on StripeObject
|
954
1129
|
|
955
1130
|
## 1.20.4 - 2015-03-26
|
956
|
-
* Raise an error when explicitly passing nil as the API key on resource methods
|
1131
|
+
* Raise an error when explicitly passing nil as the API key on resource methods
|
957
1132
|
* Fix error when passing an API key to Balance.retrieve (github issue #232)
|
958
1133
|
|
959
1134
|
## 1.20.3 - 2015-03-13
|
960
1135
|
* Fixed error when updating certain resources (github issue #224)
|
961
1136
|
|
962
1137
|
## 1.20.2 - 2015-03-10
|
963
|
-
* Added support for updating nested hashes besides `metadata` (which was already supported)
|
1138
|
+
* Added support for updating nested hashes besides `metadata` (which was already supported)
|
964
1139
|
* Fixed bug in balance retrieval
|
965
1140
|
|
966
1141
|
## 1.20.1 - 2015-02-26
|
@@ -973,230 +1148,231 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
973
1148
|
* Fixed fetching upcoming invoice/paying invoice methods
|
974
1149
|
|
975
1150
|
## 1.19.0 - 2015-02-15
|
976
|
-
* Support for new Transfers /reversals endpoint
|
977
|
-
* Account retrieval now optionally accepts an account ID
|
1151
|
+
* Support for new Transfers /reversals endpoint
|
1152
|
+
* Account retrieval now optionally accepts an account ID
|
978
1153
|
* Better support for passing custom headers, like Stripe-Account, through requests
|
979
1154
|
|
980
1155
|
## 1.18.0 - 2015-01-21
|
981
|
-
* 1 major enhancement:
|
1156
|
+
* 1 major enhancement:
|
982
1157
|
* Added support for making bitcoin charges through BitcoinReceiver source object
|
983
1158
|
|
984
1159
|
## 1.17.3 - 2015-01-12
|
985
|
-
* 1 bugfix:
|
1160
|
+
* 1 bugfix:
|
986
1161
|
* Fixed API key propagation for ApplicationFee#refund
|
987
1162
|
|
988
1163
|
## 1.17.2 - 2015-01-08
|
989
|
-
* 1 bugfix:
|
1164
|
+
* 1 bugfix:
|
990
1165
|
* Fixed API key propagation for child resources
|
991
1166
|
|
992
1167
|
## 1.17.1 - 2015-01-07
|
993
|
-
* 2 minor enhacements:
|
994
|
-
* Fixed dependencies for Ruby versions less than 1.9.3
|
1168
|
+
* 2 minor enhacements:
|
1169
|
+
* Fixed dependencies for Ruby versions less than 1.9.3
|
995
1170
|
* Added deauthorize method to Account object
|
996
1171
|
|
997
1172
|
## 1.17.0 - 2014-12-15
|
998
|
-
* 1 major enhacement:
|
1173
|
+
* 1 major enhacement:
|
999
1174
|
* File uploads resource was added (for uploading pdf or image documents for disputes)
|
1000
1175
|
|
1001
1176
|
## 1.16.1 - 2014-12-19
|
1002
|
-
* 2 minor enhancements:
|
1003
|
-
* Ability to send idempotent requests
|
1177
|
+
* 2 minor enhancements:
|
1178
|
+
* Ability to send idempotent requests
|
1004
1179
|
* Ability to specify stripe account as a header
|
1005
1180
|
|
1006
1181
|
## 1.16.0 - 2014-10-08
|
1007
|
-
* 1 minor enhacement:
|
1182
|
+
* 1 minor enhacement:
|
1008
1183
|
* Coupons now support update operations - useful for manipulating metadata
|
1009
1184
|
|
1010
1185
|
## 1.15.0 - 2014-07-26
|
1011
|
-
* 1 major enhacement:
|
1186
|
+
* 1 major enhacement:
|
1012
1187
|
* Application Fee refunds now a list instead of array
|
1013
1188
|
|
1014
1189
|
## 1.14.0 - 2014-06-17
|
1015
|
-
* 1 major enhancement:
|
1190
|
+
* 1 major enhancement:
|
1016
1191
|
* Add metadata for refunds and disputes
|
1017
1192
|
|
1018
1193
|
## 1.13.0 - 2014-05-28
|
1019
|
-
* 1 major enhancement:
|
1194
|
+
* 1 major enhancement:
|
1020
1195
|
* Support for canceling transfers
|
1021
1196
|
|
1022
1197
|
## 1.12.0 - 2014-05-21
|
1023
|
-
* 1 major enhancement:
|
1198
|
+
* 1 major enhancement:
|
1024
1199
|
* Support for cards for recipients
|
1025
1200
|
|
1026
1201
|
## 1.11.0 - 2014-04-09
|
1027
|
-
* 2 minor enhancements:
|
1028
|
-
* Update included ca bundles
|
1202
|
+
* 2 minor enhancements:
|
1203
|
+
* Update included ca bundles
|
1029
1204
|
* Implement certificate blacklisting
|
1030
1205
|
|
1031
1206
|
## 1.10.2 - 2014-02-18
|
1032
|
-
* 1 minor enhancement:
|
1033
|
-
* Add create_subscription on Customer resources, so you can create
|
1034
|
-
subscriptions without needing to retrieve the customer first (github
|
1207
|
+
* 1 minor enhancement:
|
1208
|
+
* Add create_subscription on Customer resources, so you can create
|
1209
|
+
subscriptions without needing to retrieve the customer first (github
|
1035
1210
|
issue #120)
|
1036
1211
|
|
1037
1212
|
## 1.10.1 - 2014-02-03
|
1038
|
-
* 1 bugfix:
|
1213
|
+
* 1 bugfix:
|
1039
1214
|
* Fix marshaling of StripeObjects
|
1040
1215
|
|
1041
1216
|
## 1.10.0 - 2014-01-29
|
1042
|
-
* 2 major enhancements
|
1043
|
-
* Support for multiple subscriptions per customer
|
1044
|
-
* Testing ruby 2.1.0
|
1045
|
-
|
1046
|
-
* 2 minor enhancements
|
1047
|
-
* Replace multi_json with json
|
1048
|
-
* Allow #save to take opts (for :expand)
|
1049
|
-
|
1050
|
-
* 1 bugfix
|
1217
|
+
* 2 major enhancements
|
1218
|
+
* Support for multiple subscriptions per customer
|
1219
|
+
* Testing ruby 2.1.0
|
1220
|
+
|
1221
|
+
* 2 minor enhancements
|
1222
|
+
* Replace multi_json with json
|
1223
|
+
* Allow #save to take opts (for :expand)
|
1224
|
+
|
1225
|
+
* 1 bugfix
|
1051
1226
|
* Fix #try and #respond_to? on StripeObjects
|
1052
1227
|
|
1053
1228
|
## 1.9.9 - 2013-12-02
|
1054
|
-
* 1 major enhancement
|
1229
|
+
* 1 major enhancement
|
1055
1230
|
* Add ApplicationFee resource
|
1056
1231
|
|
1057
1232
|
## 1.8.9 - 2013-11-14
|
1058
|
-
* 2 bugfixes:
|
1059
|
-
* Fix gemspec dependencies so the gem doesn't break for Ruby 1.8 users
|
1233
|
+
* 2 bugfixes:
|
1234
|
+
* Fix gemspec dependencies so the gem doesn't break for Ruby 1.8 users
|
1060
1235
|
* Fix api_resource_test to not use returns as a way of testing rescue behavior
|
1061
1236
|
|
1062
1237
|
## 1.8.8 - 2013-10-3
|
1063
|
-
* 1 major enhancement
|
1238
|
+
* 1 major enhancement
|
1064
1239
|
* Add support for metadata on resources
|
1065
1240
|
|
1066
1241
|
## 1.8.7 - 2013-08-18
|
1067
|
-
* 1 minor enhancement
|
1242
|
+
* 1 minor enhancement
|
1068
1243
|
* Add support for closing disputes.
|
1069
1244
|
|
1070
1245
|
## 1.8.6 - 2013-08-13
|
1071
|
-
* 1 major enhancement
|
1246
|
+
* 1 major enhancement
|
1072
1247
|
* Add Balance and BalanceTransaction resources
|
1073
1248
|
|
1074
1249
|
## 1.8.5 - 2013-08-12
|
1075
|
-
* 1 major enhancement
|
1076
|
-
* 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.
|
1250
|
+
* 1 major enhancement
|
1251
|
+
* 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.
|
1077
1252
|
* Attempting to set an object's id is now an error
|
1078
1253
|
|
1079
1254
|
## 1.8.4 - 2013-07-11
|
1080
|
-
* 1 major enhancement
|
1255
|
+
* 1 major enhancement
|
1081
1256
|
* Add support for new cards API (Stripe API version - 2013-07-05)
|
1082
1257
|
|
1083
1258
|
## 1.8.3 - 2013-05-06
|
1084
|
-
* 1 bugfix:
|
1259
|
+
* 1 bugfix:
|
1085
1260
|
* Fix handling of per-call API keys (github issue #67)
|
1086
1261
|
|
1087
1262
|
## 1.8.2 - 2013-05-01
|
1088
|
-
* 3 minor enhancements:
|
1089
|
-
* Use to_sym instead of type checking for minor performance improvement (github issue #59)
|
1090
|
-
* Handle low-memory situations without throwing an exception (github issue #61)
|
1091
|
-
* Add an Customer#upcoming_invoice convenience method (github issue #65)
|
1092
|
-
|
1093
|
-
* 1 bugfix:
|
1263
|
+
* 3 minor enhancements:
|
1264
|
+
* Use to_sym instead of type checking for minor performance improvement (github issue #59)
|
1265
|
+
* Handle low-memory situations without throwing an exception (github issue #61)
|
1266
|
+
* Add an Customer#upcoming_invoice convenience method (github issue #65)
|
1267
|
+
|
1268
|
+
* 1 bugfix:
|
1094
1269
|
* Allow updating resources without first retrieving them (github issue #60)
|
1095
1270
|
|
1096
1271
|
## 1.8.1 - 2013-04-19
|
1097
|
-
* 1 minor enhancement:
|
1272
|
+
* 1 minor enhancement:
|
1098
1273
|
* Add support for specifying an API key when retrieving an upcoming invoice
|
1099
1274
|
|
1100
1275
|
## 1.8.0 - 2013-04-11
|
1101
|
-
* 1 major enhancement:
|
1102
|
-
* Add new Recipient resource
|
1276
|
+
* 1 major enhancement:
|
1277
|
+
* Add new Recipient resource
|
1103
1278
|
* Allow Transfers to be createable
|
1104
1279
|
|
1105
1280
|
## 1.7.11 - 2013-02-21
|
1106
|
-
* 1 minor enhancement
|
1281
|
+
* 1 minor enhancement
|
1107
1282
|
* Add 'id' to the list of permanent attributes
|
1108
1283
|
|
1109
1284
|
## 1.7.10 - 2013-02-01
|
1110
|
-
* 1 major enhancement
|
1285
|
+
* 1 major enhancement
|
1111
1286
|
* 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
|
1112
1287
|
|
1113
1288
|
## 1.7.9 - 2013-01-15
|
1114
|
-
* 1 major enhancement
|
1289
|
+
* 1 major enhancement
|
1115
1290
|
* Add support for setting a Stripe API version override.
|
1116
1291
|
|
1117
1292
|
## 1.7.8 - 2012-11-21
|
1118
|
-
* 1 bugfix
|
1293
|
+
* 1 bugfix
|
1119
1294
|
* Relax the version constraint on multi_json (github issue #44)
|
1120
1295
|
|
1121
1296
|
## 1.7.7 - 2012-11-07
|
1122
|
-
* 1 minor enhancement:
|
1123
|
-
* Add support for updating charge disputes
|
1124
|
-
|
1125
|
-
* 1 bugfix
|
1297
|
+
* 1 minor enhancement:
|
1298
|
+
* Add support for updating charge disputes
|
1299
|
+
|
1300
|
+
* 1 bugfix
|
1126
1301
|
* Fix Account API resource bug
|
1127
1302
|
|
1128
1303
|
## 1.7.6 - 2012-10-30
|
1129
|
-
* 1 major enhancement
|
1304
|
+
* 1 major enhancement
|
1130
1305
|
* Add support for creating invoices
|
1131
1306
|
|
1132
1307
|
## 1.7.5 - 2012-10-25
|
1133
|
-
* 1 major enhancement
|
1308
|
+
* 1 major enhancement
|
1134
1309
|
* Add support for new API lists
|
1135
1310
|
|
1136
1311
|
## 1.7.4 - 2012-10-08
|
1137
|
-
* 1 bugfix
|
1138
|
-
* Fix bug introduced in 1.7.3 calling API methods that take no
|
1312
|
+
* 1 bugfix
|
1313
|
+
* Fix bug introduced in 1.7.3 calling API methods that take no
|
1139
1314
|
arguments, like Stripe::Invoice#pay (github issue #42)
|
1140
1315
|
|
1141
1316
|
## 1.7.3 - 2012-09-14
|
1142
|
-
* 2 bugfixes
|
1143
|
-
* 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.
|
1317
|
+
* 2 bugfixes
|
1318
|
+
* 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.
|
1144
1319
|
* 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)
|
1145
1320
|
|
1146
1321
|
## 1.7.2 - 2012-08-31
|
1147
|
-
* 1 major enhancement
|
1322
|
+
* 1 major enhancement
|
1148
1323
|
* Add support for new pay and update methods for Invoice objects
|
1149
1324
|
|
1150
1325
|
## 1.7.1 - 2012-08-15
|
1151
|
-
* 1 major enhancement
|
1326
|
+
* 1 major enhancement
|
1152
1327
|
* Add new Account API resource
|
1153
1328
|
|
1154
1329
|
## 1.7.0 - 2012-05-17
|
1155
|
-
* 3 major enhancements:
|
1156
|
-
* 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)
|
1157
|
-
* Add new delete_discount method to Customer objects
|
1158
|
-
* Add new Transfer API resource
|
1159
|
-
|
1160
|
-
* 2 minor enhancements:
|
1161
|
-
* 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)
|
1330
|
+
* 3 major enhancements:
|
1331
|
+
* 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)
|
1332
|
+
* Add new delete_discount method to Customer objects
|
1333
|
+
* Add new Transfer API resource
|
1334
|
+
|
1335
|
+
* 2 minor enhancements:
|
1336
|
+
* 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)
|
1162
1337
|
* Numerous test suite improvements
|
1163
1338
|
|
1164
1339
|
## 1.6.3 - 2012-03-22
|
1165
|
-
* 1 bugfix:
|
1340
|
+
* 1 bugfix:
|
1166
1341
|
* Encode GET query strings ourselves instead of using rest-client to work around a bug
|
1167
1342
|
|
1168
1343
|
## 1.6.2 - 2012-02-24
|
1169
|
-
* 1 bugfix:
|
1344
|
+
* 1 bugfix:
|
1170
1345
|
* Correct argument handling in StripeObject#as_json
|
1171
1346
|
|
1172
1347
|
## 1.6.1 - 2012-02-22
|
1173
|
-
* 1 bugfix:
|
1348
|
+
* 1 bugfix:
|
1174
1349
|
* Fix StripeObject#inspect when ActiveSupport 3.0 is loaded
|
1175
1350
|
|
1176
1351
|
## 1.6.0 - 2012-02-01
|
1177
|
-
* 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
|
1352
|
+
* 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
|
1178
1353
|
* 1.6.0 also contains a new inspect/to_string implementation
|
1179
1354
|
|
1180
1355
|
## 1.5.0 - 2011-05-09
|
1181
|
-
* 1 major enhancement:
|
1356
|
+
* 1 major enhancement:
|
1182
1357
|
* Update for new RESTful API
|
1183
1358
|
|
1184
1359
|
## 1.3.4 - 2011-01-07
|
1185
|
-
* 1 major enhancement:
|
1360
|
+
* 1 major enhancement:
|
1186
1361
|
* Rename to Stripe
|
1187
1362
|
|
1188
1363
|
## 1.2 - 2010-06-06
|
1189
|
-
* 1 major enhancement:
|
1364
|
+
* 1 major enhancement:
|
1190
1365
|
* Support for the set_customer_subscription and delete_customer API methods
|
1191
1366
|
|
1192
1367
|
## 1.1 - 2010-03-14
|
1193
|
-
* 1 major enhancement:
|
1368
|
+
* 1 major enhancement:
|
1194
1369
|
* Support for recurring billing
|
1195
1370
|
|
1196
1371
|
## 1.0 - 2010-01-05
|
1197
|
-
* 1 major enhancement:
|
1198
|
-
* Initial release
|
1199
|
-
|
1200
|
-
<!--
|
1201
|
-
# vim: set tw=0:
|
1372
|
+
* 1 major enhancement:
|
1373
|
+
* Initial release
|
1374
|
+
|
1375
|
+
<!--
|
1376
|
+
# vim: set tw=0:
|
1202
1377
|
-->
|
1378
|
+
|