stripe 9.2.0.pre.beta.1 → 9.2.0

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