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