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