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