stripe 13.3.0.pre.beta.3 → 13.3.0

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