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