stripe 13.2.0 → 13.3.0.pre.beta.2

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