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