stripe 15.3.0.pre.beta.2 → 15.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/API_VERSION +1 -0
- data/CHANGELOG.md +683 -1584
- data/OPENAPI_VERSION +1 -1
- data/README.md +14 -50
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +0 -28
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -54
- data/lib/stripe/event_types.rb +0 -98
- data/lib/stripe/events/v2_core_event_destination_ping_event.rb +1 -1
- data/lib/stripe/object_types.rb +0 -50
- data/lib/stripe/resources/account.rb +82 -650
- data/lib/stripe/resources/account_session.rb +80 -335
- 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 +2 -8
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/cash_balance.rb +0 -2
- data/lib/stripe/resources/charge.rb +28 -1553
- data/lib/stripe/resources/checkout/session.rb +55 -333
- data/lib/stripe/resources/confirmation_token.rb +19 -181
- data/lib/stripe/resources/coupon.rb +1 -30
- data/lib/stripe/resources/credit_note.rb +9 -15
- data/lib/stripe/resources/credit_note_line_item.rb +0 -9
- data/lib/stripe/resources/customer.rb +0 -2
- 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 +3 -8
- data/lib/stripe/resources/discount.rb +0 -2
- data/lib/stripe/resources/event.rb +1 -32
- data/lib/stripe/resources/financial_connections/account.rb +1 -22
- data/lib/stripe/resources/financial_connections/session.rb +2 -62
- data/lib/stripe/resources/identity/verification_session.rb +34 -10
- data/lib/stripe/resources/invoice.rb +33 -1062
- data/lib/stripe/resources/invoice_item.rb +3 -82
- 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 +3 -24
- data/lib/stripe/resources/payment_intent.rb +875 -5512
- data/lib/stripe/resources/payment_method.rb +18 -201
- data/lib/stripe/resources/payment_method_configuration.rb +0 -295
- data/lib/stripe/resources/payout.rb +0 -6
- data/lib/stripe/resources/price.rb +0 -30
- data/lib/stripe/resources/promotion_code.rb +0 -10
- data/lib/stripe/resources/quote.rb +16 -2033
- data/lib/stripe/resources/refund.rb +0 -9
- data/lib/stripe/resources/setup_attempt.rb +1 -22
- data/lib/stripe/resources/setup_intent.rb +294 -581
- data/lib/stripe/resources/source.rb +0 -29
- data/lib/stripe/resources/subscription.rb +36 -298
- data/lib/stripe/resources/subscription_item.rb +3 -84
- data/lib/stripe/resources/subscription_schedule.rb +27 -1008
- data/lib/stripe/resources/tax/registration.rb +20 -0
- data/lib/stripe/resources/tax_id.rb +2 -12
- data/lib/stripe/resources/terminal/configuration.rb +1 -0
- data/lib/stripe/resources/terminal/reader.rb +10 -18
- data/lib/stripe/resources/token.rb +1 -1
- data/lib/stripe/resources/transfer.rb +0 -6
- data/lib/stripe/resources/treasury/financial_account.rb +8 -23
- 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.rb +0 -104
- data/lib/stripe/services/account_service.rb +76 -559
- data/lib/stripe/services/account_session_service.rb +49 -274
- 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_portal/session_service.rb +1 -5
- data/lib/stripe/services/charge_service.rb +0 -1418
- data/lib/stripe/services/checkout/session_service.rb +55 -250
- data/lib/stripe/services/coupon_service.rb +1 -17
- data/lib/stripe/services/credit_note_preview_lines_service.rb +3 -3
- data/lib/stripe/services/credit_note_service.rb +6 -10
- data/lib/stripe/services/customer_session_service.rb +2 -5
- data/lib/stripe/services/financial_connections/account_service.rb +2 -7
- data/lib/stripe/services/financial_connections/session_service.rb +2 -34
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/identity/verification_session_service.rb +16 -8
- 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 +83 -0
- data/lib/stripe/services/invoice_service.rb +33 -1013
- 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 +1 -5
- data/lib/stripe/services/payment_intent_service.rb +650 -4832
- data/lib/stripe/services/payment_method_configuration_service.rb +0 -210
- data/lib/stripe/services/payment_method_service.rb +6 -120
- data/lib/stripe/services/payout_service.rb +0 -4
- data/lib/stripe/services/price_service.rb +0 -19
- data/lib/stripe/services/promotion_code_service.rb +0 -8
- data/lib/stripe/services/quote_service.rb +13 -1719
- data/lib/stripe/services/setup_intent_service.rb +284 -540
- data/lib/stripe/services/subscription_item_service.rb +3 -75
- data/lib/stripe/services/subscription_schedule_service.rb +19 -911
- data/lib/stripe/services/subscription_service.rb +30 -253
- data/lib/stripe/services/tax/registration_service.rb +13 -0
- data/lib/stripe/services/tax_id_service.rb +2 -8
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal/reader_service.rb +4 -4
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +6 -98
- 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/token_service.rb +1 -1
- data/lib/stripe/services/transfer_service.rb +0 -4
- data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
- data/lib/stripe/services/treasury/financial_account_service.rb +7 -17
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
- data/lib/stripe/services/v1_services.rb +2 -11
- data/lib/stripe/services/v2/billing_service.rb +2 -2
- data/lib/stripe/services/v2/core/event_destination_service.rb +16 -16
- data/lib/stripe/services/v2/core_service.rb +1 -4
- data/lib/stripe/services/v2_services.rb +2 -5
- data/lib/stripe/services.rb +1 -53
- 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/webhook.rb +1 -1
- data/lib/stripe.rb +0 -53
- data/rbi/stripe/resources/account.rbi +4995 -0
- data/rbi/stripe/resources/account_link.rbi +74 -0
- data/rbi/stripe/resources/account_session.rbi +1013 -0
- data/rbi/stripe/resources/apple_pay_domain.rbi +88 -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 +235 -0
- data/rbi/stripe/resources/balance_transaction.rbi +147 -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 +2086 -0
- data/rbi/stripe/resources/checkout/session.rbi +4060 -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 +1818 -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 +250 -0
- data/rbi/stripe/resources/credit_note.rbi +752 -0
- data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
- data/rbi/stripe/resources/customer.rbi +1005 -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 +360 -0
- data/rbi/stripe/resources/identity/verification_session.rbi +564 -0
- data/rbi/stripe/resources/invoice.rbi +3842 -0
- data/rbi/stripe/resources/invoice_item.rbi +470 -0
- data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
- data/rbi/stripe/resources/invoice_payment.rbi +121 -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 +191 -0
- data/rbi/stripe/resources/payment_intent.rbi +9987 -0
- data/rbi/stripe/resources/payment_link.rbi +1801 -0
- data/rbi/stripe/resources/payment_method.rbi +1770 -0
- data/rbi/stripe/resources/payment_method_configuration.rbi +3550 -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 +371 -0
- data/rbi/stripe/resources/price.rbi +694 -0
- data/rbi/stripe/resources/product.rbi +555 -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 +1145 -0
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
- data/rbi/stripe/resources/radar/value_list.rbi +168 -0
- data/rbi/stripe/resources/radar/value_list_item.rbi +129 -0
- data/rbi/stripe/resources/refund.rbi +523 -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 +3978 -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 +2080 -0
- data/rbi/stripe/resources/subscription_item.rbi +404 -0
- data/rbi/stripe/resources/subscription_schedule.rbi +1645 -0
- data/rbi/stripe/resources/tax/calculation.rbi +478 -0
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +91 -0
- data/rbi/stripe/resources/tax/registration.rbi +2732 -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 +165 -0
- data/rbi/stripe/resources/tax_rate.rbi +239 -0
- data/rbi/stripe/resources/terminal/configuration.rbi +1387 -0
- data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
- data/rbi/stripe/resources/terminal/location.rbi +222 -0
- data/rbi/stripe/resources/terminal/reader.rbi +994 -0
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +132 -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 +869 -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 +168 -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} +122 -135
- 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 +1011 -0
- data/rbi/stripe/services/account_service.rbi +4281 -0
- data/rbi/stripe/services/account_session_service.rbi +646 -0
- data/rbi/stripe/services/apple_pay_domain_service.rbi +76 -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 +2670 -0
- data/rbi/stripe/services/checkout_service.rbi +9 -0
- data/rbi/stripe/services/climate/order_service.rbi +142 -0
- data/rbi/stripe/services/climate/product_service.rbi +46 -0
- 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 +194 -0
- data/{lib/stripe/services/quote_preview_invoice_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 +415 -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 +647 -0
- data/rbi/stripe/services/customer_session_service.rbi +116 -0
- data/rbi/stripe/services/customer_tax_id_service.rbi +70 -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 +339 -0
- data/rbi/stripe/services/identity_service.rbi +10 -0
- data/rbi/stripe/services/invoice_item_service.rbi +366 -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 +3011 -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 +7989 -0
- data/{lib/stripe/services/payment_intent_amount_details_line_item_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 +2487 -0
- data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
- data/rbi/stripe/services/payment_method_service.rbi +781 -0
- data/rbi/stripe/services/payout_service.rbi +205 -0
- data/rbi/stripe/services/plan_service.rbi +282 -0
- data/rbi/stripe/services/price_service.rbi +546 -0
- data/rbi/stripe/services/product_feature_service.rbi +67 -0
- data/rbi/stripe/services/product_service.rbi +477 -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 +699 -0
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
- data/rbi/stripe/services/radar/value_list_item_service.rbi +109 -0
- data/rbi/stripe/services/radar/value_list_service.rbi +141 -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 +3709 -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_line_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
- data/rbi/stripe/services/subscription_item_service.rbi +350 -0
- data/rbi/stripe/services/subscription_schedule_service.rbi +1301 -0
- data/rbi/stripe/services/subscription_service.rbi +1684 -0
- data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/calculation_line_item_service.rbi} +17 -21
- data/rbi/stripe/services/tax/calculation_service.rbi +234 -0
- data/rbi/stripe/services/tax/registration_service.rbi +1858 -0
- data/rbi/stripe/services/tax/settings_service.rbi +93 -0
- data/{lib/stripe/services/privacy/redaction_job_validation_error_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 +110 -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 +1118 -0
- data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
- data/rbi/stripe/services/terminal/location_service.rbi +182 -0
- data/rbi/stripe/services/terminal/reader_service.rbi +540 -0
- data/rbi/stripe/services/terminal_service.rbi +12 -0
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +746 -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 +93 -0
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +90 -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 +566 -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 +18 -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 +192 -0
- data/rbi/stripe/services/v2/core/event_service.rbi +36 -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 +129 -0
- data/stripe.gemspec +1 -4
- metadata +326 -162
- data/lib/stripe/events/v2_core_account_closed_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_created_event.rb +0 -21
- 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_defaults_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_identity_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_core_account_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_account_updated_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_payment_updated_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_outbound_transfer_updated_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/events/v2_money_management_transaction_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -21
- data/lib/stripe/events/v2_off_session_payment_requires_capture_event.rb +0 -21
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -21
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -21
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -21
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -21
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -21
- data/lib/stripe/resources/account_notice.rb +0 -123
- data/lib/stripe/resources/balance_settings.rb +0 -105
- 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 -92
- data/lib/stripe/resources/fx_quote.rb +0 -184
- 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 -2806
- data/lib/stripe/resources/payment_attempt_record.rb +0 -1086
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -72
- data/lib/stripe/resources/payment_record.rb +0 -1615
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -298
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -33
- 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 -364
- data/lib/stripe/resources/tax/association.rb +0 -66
- 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 -1746
- data/lib/stripe/resources/v2/core/account_link.rb +0 -56
- data/lib/stripe/resources/v2/core/person.rb +0 -276
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -74
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -39
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -20
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -22
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -51
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -58
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -68
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -94
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -129
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -82
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -45
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -117
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -75
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -49
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -116
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -84
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -78
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -68
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -72
- 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/fx_quote_service.rb +0 -123
- 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 -2236
- 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 -240
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
- 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 -4138
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1046
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -131
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -107
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -74
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -43
- 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 -125
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -95
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -200
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -235
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -172
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -91
- 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 -70
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -43
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -69
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -73
- data/lib/stripe/services/v2/money_management_service.rb +0 -31
- data/lib/stripe/services/v2/payment_service.rb +0 -15
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -138
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -49
- data/rbi/stripe.rbi +0 -191636
data/CHANGELOG.md
CHANGED
@@ -1,46 +1,35 @@
|
|
1
1
|
# Changelog
|
2
|
-
|
3
|
-
|
4
|
-
* [#1623](https://github.com/stripe/stripe-ruby/pull/1623) Pull in OffSessionPayment changes for the May release
|
5
|
-
|
6
|
-
## 15.3.0-beta.1 - 2025-05-29
|
7
|
-
This release changes the pinned API version to `2025-05-28.preview`.
|
8
|
-
|
9
|
-
* [#1599](https://github.com/stripe/stripe-ruby/pull/1599) Update generated code for beta
|
10
|
-
### Breaking changes
|
11
|
-
* Remove support for deprecated previews
|
12
|
-
* Remove support for resources `Billing::MeterErrorReport`, `GiftCards::Card`, `GiftCards::Transaction`, and `Privacy::RedactionJobRootObjects`
|
13
|
-
* Remove support for `create`, `list`, `retrieve`, `update`, and `validate` methods on resource `GiftCards::Card`
|
14
|
-
* Remove support for `cancel`, `confirm`, `create`, `list`, `retrieve`, and `update` methods on resource `GiftCards::Transaction`
|
15
|
-
* Remove support for `provisioning` on `Product::CreateParams` and `Product`
|
16
|
-
* Change type of `Checkout::Session::UpdateParams::LineItem.quantity` from `emptyable(longInteger)` to `longInteger`
|
17
|
-
* Change `CreditNote.post_payment_amount` to be required
|
18
|
-
* Change `CreditNote.pre_payment_amount` to be required
|
19
|
-
* Remove support for `credits` on `Order::CreateParams`, `Order::UpdateParams`, and `Order`
|
20
|
-
* Remove support for `amount_remaining` on `Order`
|
21
|
-
* Remove support for `amount_credit` on `Order::TotalDetail`
|
22
|
-
* Change type of `Invoice::CreatePreviewParams::SubscriptionDetail.cancel_at`, `Subscription::CreateParams.cancel_at`, and `Subscription::UpdateParams.cancel_at` from `DateTime` to `DateTime | enum('max_period_end'|'min_period_end')`
|
23
|
-
* Change type of `PaymentAttemptRecord.metadata` and `PaymentRecord.metadata` from `nullable(map(string: string))` to `map(string: string)`
|
24
|
-
* Change type of `PaymentRecord::ReportPaymentAttemptCanceledParams.metadata`, `PaymentRecord::ReportPaymentAttemptFailedParams.metadata`, `PaymentRecord::ReportPaymentAttemptGuaranteedParams.metadata`, `PaymentRecord::ReportPaymentAttemptParams.metadata`, and `PaymentRecord::ReportPaymentParams.metadata` from `map(string: string)` to `emptyable(map(string: string))`
|
25
|
-
* Change type of `Privacy::RedactionJob.objects` from `$Privacy.RedactionJobRootObjects` to `RedactionResourceRootObjects`
|
26
|
-
* Change type of `Privacy::RedactionJobValidationError.erroring_object` from `map(string: string)` to `RedactionResourceErroringObject`
|
27
|
-
* Remove support for `async_workflows` on `PaymentIntent::CaptureParams`, `PaymentIntent::ConfirmParams`, `PaymentIntent::CreateParams`, `PaymentIntent::DecrementAuthorizationParams`, `PaymentIntent::IncrementAuthorizationParams`, `PaymentIntent::UpdateParams`, and `PaymentIntent`
|
28
|
-
* Remove support for `status_details` and `status` on `Tax::Association`
|
29
|
-
|
30
|
-
### Other changes
|
2
|
+
## 15.3.0 - 2025-07-01
|
3
|
+
* [#1618](https://github.com/stripe/stripe-ruby/pull/1618) Update generated code
|
31
4
|
* Add support for `migrate` method on resource `Subscription`
|
32
|
-
* Add support for `
|
33
|
-
* Add support for `
|
34
|
-
* Add support for `
|
35
|
-
* Add support for `
|
36
|
-
*
|
37
|
-
* Add support for `
|
38
|
-
*
|
39
|
-
* Add support for `
|
40
|
-
* Add support for `
|
41
|
-
*
|
42
|
-
* Add support for `
|
43
|
-
* Add support for `
|
5
|
+
* Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal::Reader`
|
6
|
+
* Add support for `crypto_payments` on `Account::Capability`, `Account::CreateParams::Capability`, and `Account::UpdateParams::Capability`
|
7
|
+
* Add support for `proof_of_address` on `Account::CreateParams::Document` and `Account::UpdateParams::Document`
|
8
|
+
* Add support for `monthly_payout_days` and `weekly_payout_days` on `Account::CreateParams::Setting::Payout::Schedule`, `Account::Setting::Payout::Schedule`, and `Account::UpdateParams::Setting::Payout::Schedule`
|
9
|
+
* Change `Account::Setting::Invoice.hosted_payment_method_save` to be required
|
10
|
+
* Add support for `crypto` on `Charge::PaymentMethodDetail`, `ConfirmationToken::CreateParams::PaymentMethodDatum`, `ConfirmationToken::PaymentMethodPreview`, `PaymentIntent::ConfirmParams::PaymentMethodDatum`, `PaymentIntent::ConfirmParams::PaymentMethodOption`, `PaymentIntent::CreateParams::PaymentMethodDatum`, `PaymentIntent::CreateParams::PaymentMethodOption`, `PaymentIntent::PaymentMethodOption`, `PaymentIntent::UpdateParams::PaymentMethodDatum`, `PaymentIntent::UpdateParams::PaymentMethodOption`, `PaymentMethod::CreateParams`, `PaymentMethod`, `SetupIntent::ConfirmParams::PaymentMethodDatum`, `SetupIntent::CreateParams::PaymentMethodDatum`, and `SetupIntent::UpdateParams::PaymentMethodDatum`
|
11
|
+
* Change type of `Charge::PaymentMethodDetail::Card::Installment::Plan.type`, `ConfirmationToken::CreateParams::PaymentMethodOption::Card::Installment::Plan.type`, `ConfirmationToken::PaymentMethodOption::Card::Installment::Plan.type`, `Invoice::CreateParams::PaymentSetting::PaymentMethodOption::Card::Installment::Plan.type`, `Invoice::UpdateParams::PaymentSetting::PaymentMethodOption::Card::Installment::Plan.type`, `PaymentIntent::ConfirmParams::PaymentMethodOption::Card::Installment::Plan.type`, `PaymentIntent::CreateParams::PaymentMethodOption::Card::Installment::Plan.type`, `PaymentIntent::PaymentMethodOption::Card::Installment::AvailablePlan.type`, `PaymentIntent::PaymentMethodOption::Card::Installment::Plan.type`, and `PaymentIntent::UpdateParams::PaymentMethodOption::Card::Installment::Plan.type` from `literal('fixed_count')` to `enum('bonus'|'fixed_count'|'revolving')`
|
12
|
+
* Add support for `subscriptions` on `Checkout::Session::CreateParams::PaymentMethodOption::Klarna`, `PaymentIntent::ConfirmParams::PaymentMethodOption::Klarna`, `PaymentIntent::CreateParams::PaymentMethodOption::Klarna`, and `PaymentIntent::UpdateParams::PaymentMethodOption::Klarna`
|
13
|
+
* Add support for `billing_mode` on `Checkout::Session::CreateParams::SubscriptionDatum`, `Invoice::CreatePreviewParams::ScheduleDetail`, `Invoice::CreatePreviewParams::SubscriptionDetail`, `Quote::CreateParams::SubscriptionDatum`, `Quote::SubscriptionDatum`, `Subscription::CreateParams`, `SubscriptionSchedule::CreateParams`, `SubscriptionSchedule`, and `Subscription`
|
14
|
+
* Change type of `Dispute.enhanced_eligibility_types` from `literal('visa_compelling_evidence_3')` to `enum('visa_compelling_evidence_3'|'visa_compliance')`
|
15
|
+
* Add support for `related_person` on `Identity::VerificationSession::CreateParams` and `Identity::VerificationSession`
|
16
|
+
* Add support for `matching` on `Identity::VerificationSession::Option`
|
17
|
+
* Add support for `klarna` on `Mandate::PaymentMethodDetail`, `SetupIntent::ConfirmParams::PaymentMethodOption`, `SetupIntent::CreateParams::PaymentMethodOption`, `SetupIntent::PaymentMethodOption`, and `SetupIntent::UpdateParams::PaymentMethodOption`
|
18
|
+
* Add support for `on_demand` on `PaymentIntent::ConfirmParams::PaymentMethodOption::Klarna`, `PaymentIntent::CreateParams::PaymentMethodOption::Klarna`, and `PaymentIntent::UpdateParams::PaymentMethodOption::Klarna`
|
19
|
+
* Change type of `PaymentIntent::ConfirmParams::PaymentMethodOption::Klarna.setup_future_usage`, `PaymentIntent::CreateParams::PaymentMethodOption::Klarna.setup_future_usage`, `PaymentIntent::PaymentMethodOption::Klarna.setup_future_usage`, and `PaymentIntent::UpdateParams::PaymentMethodOption::Klarna.setup_future_usage` from `literal('none')` to `enum('none'|'off_session'|'on_session')`
|
20
|
+
* Add support for `ua` on `Tax::Registration::CountryOption` and `Tax::Registration::CreateParams::CountryOption`
|
21
|
+
* Change type of `Terminal::Location::UpdateParams.display_name` from `string` to `emptyable(string)`
|
22
|
+
* Add support for `collect_payment_method` and `confirm_payment_intent` on `Terminal::Reader::Action`
|
23
|
+
* Add support for `status` on `Treasury::FinancialAccount::ListParams`
|
24
|
+
* [#1615](https://github.com/stripe/stripe-ruby/pull/1615) Update README to mention that APIResource.request was removed
|
25
|
+
* [#1619](https://github.com/stripe/stripe-ruby/pull/1619) Updated StripeClient snippets in README
|
26
|
+
* [#1621](https://github.com/stripe/stripe-ruby/pull/1621) Disable flaky test in jruby/truffleruby
|
27
|
+
* [#1620](https://github.com/stripe/stripe-ruby/pull/1620) Fix `raw_request` example in README
|
28
|
+
|
29
|
+
## 15.2.1 - 2025-06-04
|
30
|
+
* [#1617](https://github.com/stripe/stripe-ruby/pull/1617) Fix `nil` requestor in `Webhook.construct_event` to allow for event data refresh
|
31
|
+
* Fix bug where `Event` constructed from `Webhook.construct_event` could not be refreshed due to a `nil` APIRequestor
|
32
|
+
* Raised in https://github.com/stripe/stripe-ruby/issues/1616
|
44
33
|
|
45
34
|
## 15.2.0 - 2025-05-29
|
46
35
|
This release changes the pinned API version to `2025-05-28.basil`.
|
@@ -70,14 +59,6 @@ This release changes the pinned API version to `2025-05-28.preview`.
|
|
70
59
|
* Add support for `collect_inputs` on `Terminal::Reader::Action`
|
71
60
|
* [#1601](https://github.com/stripe/stripe-ruby/pull/1601) Adds CONTRIBUTING.md
|
72
61
|
|
73
|
-
## 15.2.0-beta.1 - 2025-04-30
|
74
|
-
* [#1589](https://github.com/stripe/stripe-ruby/pull/1589) Update generated code for beta
|
75
|
-
This release changes the pinned API version to `2025-04-30.preview`.
|
76
|
-
|
77
|
-
* Add support for `billing_mode` on `Checkout::Session::CreateParams::SubscriptionDatum`, `Invoice::CreatePreviewParams::ScheduleDetail`, `Invoice::CreatePreviewParams::SubscriptionDetail`, `Quote::CreateParams::SubscriptionDatum`, `Quote::SubscriptionDatum`, `QuotePreviewSubscriptionSchedule`, `Subscription::CreateParams`, `SubscriptionSchedule::CreateParams`, `SubscriptionSchedule`, and `Subscription`
|
78
|
-
* Change `Checkout::Session::AutomaticTax.provider`, `Invoice::AutomaticTax.provider`, `Quote::AutomaticTax.provider`, and `QuotePreviewInvoice::AutomaticTax.provider` to be required
|
79
|
-
* Add support for `account_number` on `ConfirmationToken::PaymentMethodPreview::AcssDebit` and `PaymentMethod::AcssDebit`
|
80
|
-
|
81
62
|
## 15.1.0 - 2025-04-30
|
82
63
|
|
83
64
|
This release changes the pinned API version to `2025-04-30.basil`.
|
@@ -103,47 +84,6 @@ This release changes the pinned API version to `2025-05-28.preview`.
|
|
103
84
|
* [#1583](https://github.com/stripe/stripe-ruby/pull/1583) Include new Ruby 3.4 in CI
|
104
85
|
* [#1581](https://github.com/stripe/stripe-ruby/pull/1581) Added rubocop exclusion for generated tests
|
105
86
|
|
106
|
-
## 15.1.0-beta.2 - 2025-04-17
|
107
|
-
* [#1578](https://github.com/stripe/stripe-ruby/pull/1578) Update generated code for beta
|
108
|
-
* Add support for new resources `FxQuote` and `PaymentIntentAmountDetailsLineItem`
|
109
|
-
* Add support for `create`, `list`, and `retrieve` methods on resource `FxQuote`
|
110
|
-
* Remove support for `attach_payment_intent` method on resource `Invoice`
|
111
|
-
* Add support for `registration_date` on `Account::Company`, `Account::CreateParams::Company`, `Account::UpdateParams::Company`, and `Token::CreateParams::Account::Company`
|
112
|
-
* Add support for `customer_reference` and `order_reference` on `Charge::CaptureParams::PaymentDetail`, `Charge::UpdateParams::PaymentDetail`, `PaymentIntent::CaptureParams::PaymentDetail`, `PaymentIntent::ConfirmParams::PaymentDetail`, `PaymentIntent::CreateParams::PaymentDetail`, `PaymentIntent::PaymentDetail`, and `PaymentIntent::UpdateParams::PaymentDetail`
|
113
|
-
* 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`, and `TreasuryOutboundPayment::CreateParams::DestinationPaymentMethodDatum::BillingDetail`
|
114
|
-
* Add support for `price_data` on `CheckoutSession::UpdateParams::LineItem`
|
115
|
-
* Change type of `CheckoutSession::UpdateParams::LineItem.quantity` from `longInteger` to `emptyable(longInteger)`
|
116
|
-
* Add support for `script` on `Coupon::CreateParams` and `Coupon`
|
117
|
-
* Add support for `type` on `Coupon`
|
118
|
-
* Add support for `fx_quote` on `PaymentIntent::ConfirmParams`, `PaymentIntent::CreateParams`, `PaymentIntent::UpdateParams`, `PaymentIntent`, `Transfer::CreateParams`, and `Transfer`
|
119
|
-
* Add support for `discount_amount`, `line_items`, `shipping`, and `tax` on `PaymentIntent::AmountDetail`
|
120
|
-
* Add support for `pix` on `PaymentMethodConfiguration::CreateParams`, `PaymentMethodConfiguration::UpdateParams`, and `PaymentMethodConfiguration`
|
121
|
-
* Add support for `us_cfpb_data` on `Person` and `Token::CreateParams::Person`
|
122
|
-
* Add support for `pending_reason` on `Refund`
|
123
|
-
* Add support for `aw`, `az`, `bd`, `bj`, `et`, `kg`, `la`, and `ph` on `TaxRegistration::CountryOption` and `TaxRegistration::CreateParams::CountryOption`
|
124
|
-
* [#1588](https://github.com/stripe/stripe-ruby/pull/1588) Removed Request signing authenticator
|
125
|
-
- Removed `RequestSigningAuthenticator` class as request signing is not supported by Stripe APIs yet. This allows us to remove the dependency on base64
|
126
|
-
* [#1582](https://github.com/stripe/stripe-ruby/pull/1582) Prathmesh/merge ruby beta
|
127
|
-
|
128
|
-
## 15.1.0-beta.1 - 2025-04-10
|
129
|
-
* [#1569](https://github.com/stripe/stripe-ruby/pull/1569) Update generated code for beta
|
130
|
-
|
131
|
-
### Breaking changes
|
132
|
-
* Change type of `V2MoneyManagementReceivedDebit.status_transitions` from `an object` to `nullable(an object)`
|
133
|
-
|
134
|
-
### Additions
|
135
|
-
* Add support for new resources `Privacy::RedactionJobRootObjects`, `Privacy::RedactionJobValidationError`, and `Privacy::RedactionJob`
|
136
|
-
* Add support for `cancel`, `create`, `list`, `retrieve`, `run`, `update`, and `validate` methods on resource `RedactionJob`
|
137
|
-
* Add support for `list` and `retrieve` methods on resource `RedactionJobValidationError`
|
138
|
-
* Add support for `minority_owned_business_designation` on `Account::BusinessProfile`, `Account::CreateParams::BusinessProfile`, and `Account::UpdateParams::BusinessProfile`
|
139
|
-
* Add support for `export_tax_transactions` and `payment_disputes` on `AccountSession::CreateParams::Component`
|
140
|
-
* Add support for `wallet_options` on `CheckoutSession::CreateParams` and `CheckoutSession`
|
141
|
-
* Add support for `klarna` on `PaymentMethodDomain`
|
142
|
-
* Change type of `TaxCalculationLineItem.reference` from `nullable(string)` to `string`
|
143
|
-
* Add support for `in` on `TaxRegistration::CountryOption` and `TaxRegistration::CreateParams::CountryOption`
|
144
|
-
* [#1572](https://github.com/stripe/stripe-ruby/pull/1572) Handle external_account field
|
145
|
-
- Changes `external_account` field in `external_accounts.create` from a `string` to a union type.
|
146
|
-
|
147
87
|
## 15.0.0 - 2025-04-09
|
148
88
|
|
149
89
|
### Breaking change
|
@@ -164,75 +104,20 @@ This release changes the pinned API version to `2025-05-28.preview`.
|
|
164
104
|
* [#1575](https://github.com/stripe/stripe-ruby/pull/1575) Remove unused youtube playlist link
|
165
105
|
* [#1573](https://github.com/stripe/stripe-ruby/pull/1573) Remove link for stale youtube video playlist
|
166
106
|
|
167
|
-
## 14.1.0-beta.1 - 2025-04-02
|
168
|
-
* [#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
|
169
|
-
|
170
|
-
This release changes the pinned API version to `2025-03-31.preview`
|
171
|
-
|
172
|
-
### Breaking changes
|
173
|
-
* Change type of `QuotePreviewInvoice::Parent::SubscriptionDetail.subscription` from `string` to `expandable($Subscription)`
|
174
|
-
* Remove support for `value` on `TerminalReader::Action::CollectInput::Input::Selection::Choice`, `TerminalReader::Action::CollectInput::Input::Selection`, and `TerminalReader::CollectInputsParams::Input::Selection::Choice`
|
175
|
-
|
176
|
-
### Additions
|
177
|
-
* Add support for `payment_method_options` on `ConfirmationToken::CreateParams`
|
178
|
-
* Add support for `installments` on `ConfirmationToken::PaymentMethodOption::Card`
|
179
|
-
* 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
|
180
|
-
* Add support for `update_line_items` on `CheckoutSession::CreateParams::Permission` and `CheckoutSession::Permission`
|
181
|
-
* Add support for `billie` on `PaymentIntent::ConfirmParams::PaymentMethodOption`, `PaymentIntent::CreateParams::PaymentMethodOption`, `PaymentIntent::PaymentMethodOption`, and `PaymentIntent::UpdateParams::PaymentMethodOption`
|
182
|
-
* Add support for `id` and `text` on `TerminalReader::Action::CollectInput::Input::Selection::Choice`, `TerminalReader::Action::CollectInput::Input::Selection`, and `TerminalReader::CollectInputsParams::Input::Selection::Choice`
|
183
|
-
* Add support for new resources `BalanceSettings`
|
184
|
-
* Add support for `retrieve` and `update` methods on resource `BalanceSettings`
|
185
|
-
* 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`
|
186
|
-
|
187
|
-
#### New APIs for Money CardManagement
|
188
|
-
|
189
|
-
* 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`
|
190
|
-
* Add support for `create` method on resource `V2::MoneyManagement::OutboundPaymentQuote`
|
191
|
-
* 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`
|
192
|
-
* Add support for `create`, `list`, and `retrieve` methods on resources `V2::MoneyManagement::FinancialAddress` and `V2::MoneyManagement::InboundTransfer`
|
193
|
-
* Add support for `cancel`, `create`, `list`, and `retrieve` methods on resources `V2::MoneyManagement::OutboundPayment` and `V2::MoneyManagement::OutboundTransfer`
|
194
|
-
* Add support for `archive`, `list`, `retrieve`, and `unarchive` methods on resource `V2::MoneyManagement::PayoutMethod`
|
195
|
-
* Add support for `cancel`, `create`, `list`, `retrieve`, and `update` methods on resource `V2::MoneyManagement::OutboundSetupIntent`
|
196
|
-
* Add support for `retrieve` method on resource `V2::MoneyManagement::PayoutMethodsBankAccountSpec`
|
197
|
-
* Add support for new thin event `V2MoneyManagementFinancialAccountCreatedEvent` with related object `V2::MoneyManagement::FinancialAccount`
|
198
|
-
* Add support for new thin events `V2MoneyManagementFinancialAddressActivatedEvent` and `V2MoneyManagementFinancialAddressFailedEvent` with related object `V2::MoneyManagement::FinancialAddress`
|
199
|
-
* Add support for new thin events `V2MoneyManagementInboundTransferAvailableEvent`, `V2MoneyManagementInboundTransferBankDebitFailedEvent`, `V2MoneyManagementInboundTransferBankDebitProcessingEvent`, `V2MoneyManagementInboundTransferBankDebitQueuedEvent`, `V2MoneyManagementInboundTransferBankDebitReturnedEvent`, and `V2MoneyManagementInboundTransferBankDebitSucceededEvent` with related object `V2::MoneyManagement::InboundTransfer`
|
200
|
-
* Add support for new thin events `V2MoneyManagementOutboundPaymentCanceledEvent`, `V2MoneyManagementOutboundPaymentCreatedEvent`, `V2MoneyManagementOutboundPaymentFailedEvent`, `V2MoneyManagementOutboundPaymentPostedEvent`, and `V2MoneyManagementOutboundPaymentReturnedEvent` with related object `V2::MoneyManagement::OutboundPayment`
|
201
|
-
* Add support for new thin events `V2MoneyManagementOutboundTransferCanceledEvent`, `V2MoneyManagementOutboundTransferCreatedEvent`, `V2MoneyManagementOutboundTransferFailedEvent`, `V2MoneyManagementOutboundTransferPostedEvent`, and `V2MoneyManagementOutboundTransferReturnedEvent` with related object `V2::MoneyManagement::OutboundTransfer`
|
202
|
-
* Add support for new thin events `V2MoneyManagementReceivedCreditAvailableEvent`, `V2MoneyManagementReceivedCreditFailedEvent`, `V2MoneyManagementReceivedCreditReturnedEvent`, and `V2MoneyManagementReceivedCreditSucceededEvent` with related object `V2::MoneyManagement::ReceivedCredit`
|
203
|
-
* Add support for new thin events `V2MoneyManagementReceivedDebitCanceledEvent`, `V2MoneyManagementReceivedDebitFailedEvent`, `V2MoneyManagementReceivedDebitPendingEvent`, `V2MoneyManagementReceivedDebitSucceededEvent`, and `V2MoneyManagementReceivedDebitUpdatedEvent` with related object `V2::MoneyManagement::ReceivedDebit`
|
204
|
-
* Add support for new error types `AlreadyCanceledError`, `BlockedByStripeError`, `ControlledByDashboardError`, `FeatureNotEnabledError`, `FinancialAccountNotOpenError`, `InsufficientFundsError`, `InvalidPayoutMethodError`, `NotCancelableError`, and `RecipientNotNotifiableError`
|
205
|
-
|
206
|
-
|
207
|
-
#### New APIs for Accounts v2 in private preview
|
208
|
-
See [SaaS platform payments with subscription billing using Accounts v2](https://docs.stripe.com/connect/accounts-v2/saas-platform-payments-billing)
|
209
|
-
|
210
|
-
* Add support for new resources `V2::Core::AccountLink`, `V2::Core::Account`, `V2::Core::Person`, `V2::Core::Vault::GbBankAccount`, `V2::Core::Vault::UsBankAccount`
|
211
|
-
* Add support for `close`, `create`, `list`, `retrieve`, and `update` methods on resource `V2::Core::Account`
|
212
|
-
* Add support for `create` method on resources `V2::Core::AccountLink` and `V2::MoneyManagement::OutboundPaymentQuote`
|
213
|
-
* Add support for `acknowledge_confirmation_of_payee`, `archive`, `create`, `initiate_confirmation_of_payee`, and `retrieve` methods on resource `V2::Core::Vault::GbBankAccount`
|
214
|
-
* Add support for `archive`, `create`, `retrieve`, and `update` methods on resource `V2::Core::Vault::UsBankAccount`
|
215
|
-
* Add support for new thin events `V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationCustomerUpdatedEvent`, `V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationMerchantUpdatedEvent`, `V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationRecipientUpdatedEvent`, `V2CoreAccountIncludingIdentityUpdatedEvent`, and `V2CoreAccountIncludingRequirementsUpdatedEvent`
|
216
|
-
* Add support for new thin event `V2CoreAccountLinkCompletedEvent` with related object `V2::Core::AccountLink`
|
217
|
-
* Add support for new thin events `V2CoreAccountPersonCreatedEvent`, `V2CoreAccountPersonDeletedEvent`, and `V2CoreAccountPersonUpdatedEvent` with related object `V2::Core::Person`
|
218
|
-
|
219
|
-
* [#1557](https://github.com/stripe/stripe-ruby/pull/1557) Update Stripe.add_beta_version
|
220
|
-
* `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.
|
221
|
-
|
222
107
|
## 14.0.0 - 2025-04-01
|
223
108
|
* [#1559](https://github.com/stripe/stripe-ruby/pull/1559) Add RBI annotations for fields and params
|
224
109
|
* Adds explicit field types for resources and parameters for methods, and add RBI static annotations for all resources and services
|
225
110
|

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