stripe 12.7.0.pre.beta.1 → 13.0.0

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