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