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