stripe 13.6.0.pre.beta.1 → 14.0.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 +702 -1457
- data/OPENAPI_VERSION +1 -1
- data/README.md +29 -0
- data/VERSION +1 -1
- data/lib/data/ca-certificates.crt +290 -3340
- data/lib/stripe/api_requestor.rb +2 -0
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/errors.rb +0 -7
- data/lib/stripe/object_types.rb +0 -26
- data/lib/stripe/resources/account.rb +83 -614
- data/lib/stripe/resources/account_session.rb +1 -247
- data/lib/stripe/resources/apple_pay_domain.rb +0 -9
- data/lib/stripe/resources/application_fee.rb +1 -10
- data/lib/stripe/resources/balance.rb +0 -9
- data/lib/stripe/resources/balance_transaction.rb +2 -11
- data/lib/stripe/resources/bank_account.rb +1 -1
- data/lib/stripe/resources/billing/alert.rb +0 -9
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -48
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -9
- data/lib/stripe/resources/billing/credit_grant.rb +4 -13
- data/lib/stripe/resources/billing/meter.rb +1 -10
- data/lib/stripe/resources/billing_portal/configuration.rb +0 -9
- data/lib/stripe/resources/card.rb +2 -4
- data/lib/stripe/resources/charge.rb +35 -1457
- data/lib/stripe/resources/checkout/session.rb +100 -293
- data/lib/stripe/resources/climate/order.rb +0 -9
- data/lib/stripe/resources/climate/product.rb +0 -9
- data/lib/stripe/resources/climate/supplier.rb +0 -9
- data/lib/stripe/resources/confirmation_token.rb +74 -156
- data/lib/stripe/resources/country_spec.rb +0 -9
- data/lib/stripe/resources/coupon.rb +0 -9
- data/lib/stripe/resources/credit_note.rb +14 -35
- data/lib/stripe/resources/credit_note_line_item.rb +14 -12
- data/lib/stripe/resources/customer.rb +12 -28
- data/lib/stripe/resources/customer_balance_transaction.rb +3 -1
- data/lib/stripe/resources/dispute.rb +0 -9
- data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -9
- data/lib/stripe/resources/entitlements/feature.rb +0 -9
- data/lib/stripe/resources/event.rb +0 -40
- data/lib/stripe/resources/exchange_rate.rb +0 -9
- data/lib/stripe/resources/file.rb +0 -9
- data/lib/stripe/resources/file_link.rb +0 -9
- data/lib/stripe/resources/financial_connections/account.rb +0 -23
- data/lib/stripe/resources/financial_connections/session.rb +1 -65
- data/lib/stripe/resources/financial_connections/transaction.rb +0 -9
- data/lib/stripe/resources/forwarding/request.rb +0 -9
- data/lib/stripe/resources/identity/verification_report.rb +0 -9
- data/lib/stripe/resources/identity/verification_session.rb +0 -9
- data/lib/stripe/resources/invoice.rb +225 -5120
- data/lib/stripe/resources/invoice_item.rb +65 -110
- data/lib/stripe/resources/invoice_line_item.rb +106 -89
- data/lib/stripe/resources/invoice_payment.rb +53 -4
- data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
- data/lib/stripe/resources/issuing/authorization.rb +0 -9
- data/lib/stripe/resources/issuing/card.rb +0 -9
- data/lib/stripe/resources/issuing/cardholder.rb +1 -11
- data/lib/stripe/resources/issuing/dispute.rb +0 -9
- data/lib/stripe/resources/issuing/personalization_design.rb +0 -9
- data/lib/stripe/resources/issuing/physical_bundle.rb +0 -9
- data/lib/stripe/resources/issuing/token.rb +0 -9
- data/lib/stripe/resources/issuing/transaction.rb +0 -15
- data/lib/stripe/resources/line_item.rb +0 -28
- data/lib/stripe/resources/mandate.rb +6 -33
- data/lib/stripe/resources/payment_intent.rb +642 -4975
- data/lib/stripe/resources/payment_link.rb +84 -15
- data/lib/stripe/resources/payment_method.rb +74 -187
- data/lib/stripe/resources/payment_method_configuration.rb +87 -214
- data/lib/stripe/resources/payment_method_domain.rb +9 -18
- data/lib/stripe/resources/payout.rb +0 -9
- data/lib/stripe/resources/person.rb +9 -9
- data/lib/stripe/resources/plan.rb +0 -15
- data/lib/stripe/resources/price.rb +2 -47
- data/lib/stripe/resources/product.rb +0 -68
- data/lib/stripe/resources/promotion_code.rb +0 -9
- data/lib/stripe/resources/quote.rb +8 -2037
- data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -9
- data/lib/stripe/resources/radar/value_list.rb +0 -9
- data/lib/stripe/resources/radar/value_list_item.rb +0 -9
- data/lib/stripe/resources/refund.rb +13 -18
- data/lib/stripe/resources/reporting/report_run.rb +0 -9
- data/lib/stripe/resources/reporting/report_type.rb +0 -9
- data/lib/stripe/resources/review.rb +2 -11
- data/lib/stripe/resources/setup_attempt.rb +11 -16
- data/lib/stripe/resources/setup_intent.rb +158 -540
- data/lib/stripe/resources/shipping_rate.rb +0 -9
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -9
- data/lib/stripe/resources/source.rb +0 -41
- data/lib/stripe/resources/subscription.rb +14 -385
- data/lib/stripe/resources/subscription_item.rb +9 -134
- data/lib/stripe/resources/subscription_schedule.rb +14 -1135
- data/lib/stripe/resources/tax/calculation.rb +0 -9
- data/lib/stripe/resources/tax/registration.rb +1 -10
- data/lib/stripe/resources/tax/settings.rb +0 -9
- data/lib/stripe/resources/tax/transaction.rb +0 -9
- data/lib/stripe/resources/tax_code.rb +0 -9
- data/lib/stripe/resources/tax_id.rb +0 -9
- data/lib/stripe/resources/tax_rate.rb +0 -9
- data/lib/stripe/resources/terminal/configuration.rb +214 -14
- data/lib/stripe/resources/terminal/location.rb +0 -9
- data/lib/stripe/resources/terminal/reader.rb +0 -408
- data/lib/stripe/resources/test_helpers/test_clock.rb +0 -9
- data/lib/stripe/resources/token.rb +1 -10
- data/lib/stripe/resources/topup.rb +0 -9
- data/lib/stripe/resources/transfer.rb +0 -9
- data/lib/stripe/resources/treasury/credit_reversal.rb +0 -9
- data/lib/stripe/resources/treasury/debit_reversal.rb +0 -9
- data/lib/stripe/resources/treasury/financial_account.rb +4 -32
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -9
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -9
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -46
- data/lib/stripe/resources/treasury/received_credit.rb +1 -47
- data/lib/stripe/resources/treasury/received_debit.rb +1 -49
- data/lib/stripe/resources/treasury/transaction.rb +0 -9
- data/lib/stripe/resources/treasury/transaction_entry.rb +0 -9
- data/lib/stripe/resources/v2/event.rb +1 -0
- data/lib/stripe/resources/v2/event_destination.rb +1 -0
- data/lib/stripe/resources/webhook_endpoint.rb +0 -9
- data/lib/stripe/resources.rb +0 -25
- data/lib/stripe/services/account_external_account_service.rb +1 -1
- data/lib/stripe/services/account_service.rb +68 -509
- data/lib/stripe/services/account_session_service.rb +1 -217
- data/lib/stripe/services/balance_transaction_service.rb +1 -1
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +2 -2
- data/lib/stripe/services/billing/credit_grant_service.rb +2 -2
- data/lib/stripe/services/billing/meter_service.rb +1 -1
- data/lib/stripe/services/charge_service.rb +1 -1335
- data/lib/stripe/services/checkout/session_service.rb +60 -168
- data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -4
- data/lib/stripe/services/credit_note_service.rb +0 -8
- data/lib/stripe/services/customer_service.rb +0 -16
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections/session_service.rb +1 -30
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/invoice_item_service.rb +34 -88
- data/lib/stripe/services/invoice_line_item_service.rb +25 -41
- data/lib/stripe/services/invoice_payment_service.rb +33 -5
- data/lib/stripe/services/invoice_service.rb +210 -3147
- data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
- data/lib/stripe/services/issuing/transaction_service.rb +0 -4
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/payment_intent_service.rb +568 -4513
- data/lib/stripe/services/payment_link_service.rb +59 -6
- data/lib/stripe/services/payment_method_configuration_service.rb +62 -146
- data/lib/stripe/services/payment_method_domain_service.rb +6 -6
- data/lib/stripe/services/payment_method_service.rb +49 -119
- data/lib/stripe/services/plan_service.rb +0 -4
- data/lib/stripe/services/price_service.rb +2 -25
- data/lib/stripe/services/product_service.rb +0 -38
- data/lib/stripe/services/quote_service.rb +9 -1716
- data/lib/stripe/services/setup_intent_service.rb +158 -492
- data/lib/stripe/services/subscription_item_service.rb +5 -111
- data/lib/stripe/services/subscription_schedule_service.rb +14 -1005
- data/lib/stripe/services/subscription_service.rb +13 -323
- data/lib/stripe/services/tax/registration_service.rb +1 -1
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal/configuration_service.rb +170 -4
- data/lib/stripe/services/terminal/reader_service.rb +0 -177
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +49 -87
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -43
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
- data/lib/stripe/services/token_service.rb +1 -1
- data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
- data/lib/stripe/services/treasury/financial_account_service.rb +3 -17
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
- data/lib/stripe/services/v1_services.rb +2 -8
- data/lib/stripe/services/v2/core/event_destination_service.rb +1 -4
- data/lib/stripe/services/v2/core/event_service.rb +1 -4
- data/lib/stripe/services.rb +0 -27
- data/lib/stripe/stripe_client.rb +1 -0
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -45
- data/rbi/stripe/resources/account.rbi +1131 -1479
- data/rbi/stripe/resources/account_link.rbi +9 -9
- data/rbi/stripe/resources/account_session.rbi +118 -367
- data/rbi/stripe/resources/apple_pay_domain.rbi +8 -15
- data/rbi/stripe/resources/application_fee.rbi +15 -20
- data/rbi/stripe/resources/apps/secret.rbi +20 -20
- data/rbi/stripe/resources/balance.rbi +0 -7
- data/rbi/stripe/resources/balance_transaction.rbi +19 -24
- data/rbi/stripe/resources/bank_account.rbi +1 -1
- data/rbi/stripe/resources/billing/alert.rbi +23 -28
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -53
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +6 -13
- data/rbi/stripe/resources/billing/credit_grant.rbi +30 -37
- data/rbi/stripe/resources/billing/meter.rbi +19 -26
- data/rbi/stripe/resources/billing/meter_event.rbi +4 -4
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +5 -5
- data/rbi/stripe/resources/billing_portal/configuration.rbi +86 -81
- data/rbi/stripe/resources/billing_portal/session.rbi +31 -27
- data/rbi/stripe/resources/card.rbi +2 -5
- data/rbi/stripe/resources/charge.rbi +136 -1576
- data/rbi/stripe/resources/checkout/session.rbi +631 -748
- data/rbi/stripe/resources/climate/order.rbi +20 -25
- data/rbi/stripe/resources/climate/product.rbi +5 -12
- data/rbi/stripe/resources/climate/supplier.rbi +5 -12
- data/rbi/stripe/resources/confirmation_token.rbi +274 -268
- data/rbi/stripe/resources/country_spec.rbi +5 -12
- data/rbi/stripe/resources/coupon.rbi +34 -39
- data/rbi/stripe/resources/credit_note.rbi +134 -146
- data/rbi/stripe/resources/credit_note_line_item.rbi +20 -18
- data/rbi/stripe/resources/customer.rbi +172 -164
- data/rbi/stripe/resources/customer_balance_transaction.rbi +4 -1
- data/rbi/stripe/resources/customer_session.rbi +19 -15
- data/rbi/stripe/resources/dispute.rbi +92 -95
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +5 -12
- data/rbi/stripe/resources/entitlements/feature.rbi +15 -22
- data/rbi/stripe/resources/ephemeral_key.rbi +2 -2
- data/rbi/stripe/resources/event.rbi +16 -60
- data/rbi/stripe/resources/exchange_rate.rbi +5 -12
- data/rbi/stripe/resources/file.rbi +20 -25
- data/rbi/stripe/resources/file_link.rbi +23 -28
- data/rbi/stripe/resources/financial_connections/account.rbi +25 -44
- data/rbi/stripe/resources/financial_connections/session.rbi +12 -75
- data/rbi/stripe/resources/financial_connections/transaction.rbi +16 -19
- data/rbi/stripe/resources/forwarding/request.rbi +21 -24
- data/rbi/stripe/resources/identity/verification_report.rbi +18 -21
- data/rbi/stripe/resources/identity/verification_session.rbi +60 -61
- data/rbi/stripe/resources/invoice.rbi +723 -5918
- data/rbi/stripe/resources/invoice_item.rbi +138 -177
- data/rbi/stripe/resources/invoice_line_item.rbi +199 -264
- data/rbi/stripe/resources/invoice_payment.rbi +51 -7
- data/rbi/stripe/resources/invoice_rendering_template.rbi +10 -20
- data/rbi/stripe/resources/issuing/authorization.rbi +216 -199
- data/rbi/stripe/resources/issuing/card.rbi +104 -101
- data/rbi/stripe/resources/issuing/cardholder.rbi +120 -108
- data/rbi/stripe/resources/issuing/dispute.rbi +164 -151
- data/rbi/stripe/resources/issuing/personalization_design.rbi +61 -56
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +7 -14
- data/rbi/stripe/resources/issuing/token.rbi +16 -21
- data/rbi/stripe/resources/issuing/transaction.rbi +180 -176
- data/rbi/stripe/resources/line_item.rbi +0 -36
- data/rbi/stripe/resources/mandate.rbi +8 -40
- data/rbi/stripe/resources/payment_intent.rbi +2252 -6482
- data/rbi/stripe/resources/payment_link.rbi +346 -211
- data/rbi/stripe/resources/payment_method.rbi +226 -330
- data/rbi/stripe/resources/payment_method_configuration.rbi +602 -685
- data/rbi/stripe/resources/payment_method_domain.rbi +26 -31
- data/rbi/stripe/resources/payout.rbi +43 -42
- data/rbi/stripe/resources/person.rbi +9 -9
- data/rbi/stripe/resources/plan.rbi +51 -63
- data/rbi/stripe/resources/price.rbi +114 -151
- data/rbi/stripe/resources/product.rbi +90 -152
- data/rbi/stripe/resources/promotion_code.rbi +42 -47
- data/rbi/stripe/resources/quote.rbi +168 -2231
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +17 -20
- data/rbi/stripe/resources/radar/value_list.rbi +24 -29
- data/rbi/stripe/resources/radar/value_list_item.rbi +18 -21
- data/rbi/stripe/resources/refund.rbi +52 -51
- data/rbi/stripe/resources/reporting/report_run.rbi +27 -30
- data/rbi/stripe/resources/reporting/report_type.rbi +2 -9
- data/rbi/stripe/resources/review.rbi +17 -22
- data/rbi/stripe/resources/setup_attempt.rbi +25 -32
- data/rbi/stripe/resources/setup_intent.rbi +900 -1102
- data/rbi/stripe/resources/shipping_rate.rbi +41 -46
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +5 -12
- data/rbi/stripe/resources/source.rbi +132 -179
- data/rbi/stripe/resources/subscription.rbi +363 -707
- data/rbi/stripe/resources/subscription_item.rbi +69 -177
- data/rbi/stripe/resources/subscription_schedule.rbi +289 -1447
- data/rbi/stripe/resources/tax/calculation.rbi +43 -48
- data/rbi/stripe/resources/tax/registration.rbi +217 -170
- data/rbi/stripe/resources/tax/settings.rbi +14 -21
- data/rbi/stripe/resources/tax/transaction.rbi +20 -25
- data/rbi/stripe/resources/tax_code.rbi +5 -12
- data/rbi/stripe/resources/tax_id.rbi +15 -22
- data/rbi/stripe/resources/tax_rate.rbi +34 -39
- data/rbi/stripe/resources/terminal/configuration.rbi +457 -212
- data/rbi/stripe/resources/terminal/connection_token.rbi +3 -3
- data/rbi/stripe/resources/terminal/location.rbi +28 -35
- data/rbi/stripe/resources/terminal/reader.rbi +71 -441
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +12 -17
- data/rbi/stripe/resources/token.rbi +288 -263
- data/rbi/stripe/resources/topup.rbi +35 -38
- data/rbi/stripe/resources/transfer.rbi +27 -32
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +10 -17
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +11 -18
- data/rbi/stripe/resources/treasury/financial_account.rbi +125 -130
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -3
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +22 -29
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +82 -79
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +44 -86
- data/rbi/stripe/resources/treasury/received_credit.rbi +18 -64
- data/rbi/stripe/resources/treasury/received_debit.rbi +17 -66
- data/rbi/stripe/resources/treasury/transaction.rbi +27 -28
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +25 -26
- data/rbi/stripe/resources/v2/amount.rbi +1 -1
- data/rbi/stripe/resources/v2/event.rbi +1 -0
- data/rbi/stripe/resources/v2/event_destination.rbi +1 -0
- data/rbi/stripe/resources/webhook_endpoint.rbi +18 -25
- data/rbi/stripe/services/account_capability_service.rbi +7 -7
- data/rbi/stripe/services/account_external_account_service.rbi +52 -52
- data/rbi/stripe/services/account_link_service.rbi +9 -9
- data/rbi/stripe/services/account_login_link_service.rbi +2 -2
- data/rbi/stripe/services/account_person_service.rbi +221 -201
- data/rbi/stripe/services/account_service.rbi +1221 -1345
- data/rbi/stripe/services/account_session_service.rbi +115 -346
- data/rbi/stripe/services/apple_pay_domain_service.rbi +10 -10
- data/rbi/stripe/services/application_fee_refund_service.rbi +16 -14
- data/rbi/stripe/services/application_fee_service.rbi +18 -14
- data/rbi/stripe/services/apps/secret_service.rbi +20 -20
- data/rbi/stripe/services/balance_service.rbi +2 -2
- data/rbi/stripe/services/balance_transaction_service.rbi +22 -18
- data/rbi/stripe/services/billing/alert_service.rbi +23 -23
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +10 -10
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +8 -8
- data/rbi/stripe/services/billing/credit_grant_service.rbi +32 -30
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +7 -5
- data/rbi/stripe/services/billing/meter_event_service.rbi +4 -4
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +6 -6
- data/rbi/stripe/services/billing/meter_service.rbi +21 -21
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +90 -76
- data/rbi/stripe/services/billing_portal/session_service.rbi +29 -27
- data/rbi/stripe/services/charge_service.rbi +96 -1464
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +5 -5
- data/rbi/stripe/services/checkout/session_service.rbi +555 -591
- data/rbi/stripe/services/climate/order_service.rbi +22 -20
- data/rbi/stripe/services/climate/product_service.rbi +7 -7
- data/rbi/stripe/services/climate/supplier_service.rbi +7 -7
- data/rbi/stripe/services/confirmation_token_service.rbi +2 -2
- data/rbi/stripe/services/country_spec_service.rbi +7 -7
- data/rbi/stripe/services/coupon_service.rbi +40 -34
- data/rbi/stripe/services/credit_note_line_item_service.rbi +5 -5
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +35 -35
- data/rbi/stripe/services/credit_note_service.rbi +81 -85
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +15 -15
- data/rbi/stripe/services/customer_cash_balance_service.rbi +7 -7
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +7 -7
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +5 -5
- data/rbi/stripe/services/customer_payment_method_service.rbi +9 -9
- data/rbi/stripe/services/customer_payment_source_service.rbi +48 -44
- data/rbi/stripe/services/customer_service.rbi +143 -139
- data/rbi/stripe/services/customer_session_service.rbi +21 -15
- data/rbi/stripe/services/customer_tax_id_service.rbi +9 -9
- data/rbi/stripe/services/dispute_service.rbi +92 -90
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +7 -7
- data/rbi/stripe/services/entitlements/feature_service.rbi +17 -17
- data/rbi/stripe/services/ephemeral_key_service.rbi +8 -8
- data/rbi/stripe/services/event_service.rbi +18 -16
- data/rbi/stripe/services/exchange_rate_service.rbi +7 -7
- data/rbi/stripe/services/file_link_service.rbi +25 -23
- data/rbi/stripe/services/file_service.rbi +22 -20
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +5 -5
- data/rbi/stripe/services/financial_connections/account_service.rbi +22 -21
- data/rbi/stripe/services/financial_connections/session_service.rbi +16 -39
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +16 -14
- data/rbi/stripe/services/financial_connections_service.rbi +0 -1
- data/rbi/stripe/services/forwarding/request_service.rbi +21 -19
- data/rbi/stripe/services/identity/verification_report_service.rbi +18 -16
- data/rbi/stripe/services/identity/verification_session_service.rbi +62 -56
- data/rbi/stripe/services/invoice_item_service.rbi +99 -155
- data/rbi/stripe/services/invoice_line_item_service.rbi +71 -82
- data/rbi/stripe/services/invoice_payment_service.rbi +39 -12
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +13 -13
- data/rbi/stripe/services/invoice_service.rbi +679 -3799
- data/rbi/stripe/services/issuing/authorization_service.rbi +32 -26
- data/rbi/stripe/services/issuing/card_service.rbi +102 -86
- data/rbi/stripe/services/issuing/cardholder_service.rbi +122 -103
- data/rbi/stripe/services/issuing/dispute_service.rbi +152 -146
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +52 -42
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +9 -9
- data/rbi/stripe/services/issuing/token_service.rbi +20 -16
- data/rbi/stripe/services/issuing/transaction_service.rbi +25 -23
- data/rbi/stripe/services/issuing_service.rbi +0 -3
- data/rbi/stripe/services/mandate_service.rbi +2 -2
- data/rbi/stripe/services/payment_intent_service.rbi +2312 -6081
- data/rbi/stripe/services/payment_link_line_item_service.rbi +5 -5
- data/rbi/stripe/services/payment_link_service.rbi +303 -201
- data/rbi/stripe/services/payment_method_configuration_service.rbi +616 -620
- data/rbi/stripe/services/payment_method_domain_service.rbi +25 -23
- data/rbi/stripe/services/payment_method_service.rbi +192 -249
- data/rbi/stripe/services/payout_service.rbi +45 -37
- data/rbi/stripe/services/plan_service.rbi +53 -55
- data/rbi/stripe/services/price_service.rbi +124 -129
- data/rbi/stripe/services/product_feature_service.rbi +9 -9
- data/rbi/stripe/services/product_service.rbi +94 -122
- data/rbi/stripe/services/promotion_code_service.rbi +46 -42
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +5 -5
- data/rbi/stripe/services/quote_line_item_service.rbi +5 -5
- data/rbi/stripe/services/quote_service.rbi +159 -1863
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +17 -15
- data/rbi/stripe/services/radar/value_list_item_service.rbi +20 -16
- data/rbi/stripe/services/radar/value_list_service.rbi +28 -24
- data/rbi/stripe/services/refund_service.rbi +37 -33
- data/rbi/stripe/services/reporting/report_run_service.rbi +29 -25
- data/rbi/stripe/services/reporting/report_type_service.rbi +4 -4
- data/rbi/stripe/services/review_service.rbi +17 -15
- data/rbi/stripe/services/setup_attempt_service.rbi +13 -11
- data/rbi/stripe/services/setup_intent_service.rbi +1028 -1062
- data/rbi/stripe/services/shipping_rate_service.rbi +47 -41
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +7 -7
- data/rbi/stripe/services/source_service.rbi +149 -133
- data/rbi/stripe/services/source_transaction_service.rbi +5 -5
- data/rbi/stripe/services/subscription_item_service.rbi +61 -159
- data/rbi/stripe/services/subscription_schedule_service.rbi +289 -1305
- data/rbi/stripe/services/subscription_service.rbi +366 -640
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +5 -5
- data/rbi/stripe/services/tax/calculation_service.rbi +40 -38
- data/rbi/stripe/services/tax/registration_service.rbi +337 -165
- data/rbi/stripe/services/tax/settings_service.rbi +16 -16
- data/rbi/stripe/services/tax/transaction_line_item_service.rbi +5 -5
- data/rbi/stripe/services/tax/transaction_service.rbi +19 -15
- data/rbi/stripe/services/tax_code_service.rbi +7 -7
- data/rbi/stripe/services/tax_id_service.rbi +17 -17
- data/rbi/stripe/services/tax_rate_service.rbi +36 -34
- data/rbi/stripe/services/tax_service.rbi +0 -2
- data/rbi/stripe/services/terminal/configuration_service.rbi +464 -204
- data/rbi/stripe/services/terminal/connection_token_service.rbi +3 -3
- data/rbi/stripe/services/terminal/location_service.rbi +30 -30
- data/rbi/stripe/services/terminal/reader_service.rbi +57 -226
- data/rbi/stripe/services/terminal_service.rbi +0 -1
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +157 -198
- data/rbi/stripe/services/test_helpers/customer_service.rbi +3 -3
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +180 -168
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +10 -10
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +11 -9
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +151 -145
- data/rbi/stripe/services/test_helpers/refund_service.rbi +2 -2
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +10 -39
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +14 -12
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +9 -9
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +20 -18
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +20 -18
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +11 -38
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +11 -38
- data/rbi/stripe/services/token_service.rbi +292 -258
- data/rbi/stripe/services/topup_service.rbi +37 -33
- data/rbi/stripe/services/transfer_reversal_service.rbi +18 -16
- data/rbi/stripe/services/transfer_service.rbi +29 -27
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +12 -12
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +13 -13
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +23 -26
- data/rbi/stripe/services/treasury/financial_account_service.rbi +92 -96
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +15 -15
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +60 -56
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +24 -49
- data/rbi/stripe/services/treasury/received_credit_service.rbi +11 -9
- data/rbi/stripe/services/treasury/received_debit_service.rbi +8 -8
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +25 -21
- data/rbi/stripe/services/treasury/transaction_service.rbi +31 -23
- data/rbi/stripe/services/v1_services.rbi +1 -7
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +3 -3
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +3 -3
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +21 -24
- data/rbi/stripe/services/v2/core/event_service.rbi +3 -6
- data/rbi/stripe/services/webhook_endpoint_service.rbi +20 -20
- metadata +7 -112
- data/lib/stripe/request_signing_authenticator.rb +0 -79
- data/lib/stripe/resources/account_notice.rb +0 -132
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
- data/lib/stripe/resources/capital/financing_offer.rb +0 -188
- data/lib/stripe/resources/capital/financing_summary.rb +0 -64
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -123
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
- data/lib/stripe/resources/financial_connections/institution.rb +0 -99
- data/lib/stripe/resources/gift_cards/card.rb +0 -217
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -281
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -611
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -84
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -95
- data/lib/stripe/resources/issuing/settlement.rb +0 -49
- data/lib/stripe/resources/margin.rb +0 -124
- data/lib/stripe/resources/order.rb +0 -2868
- data/lib/stripe/resources/payment_attempt_record.rb +0 -184
- data/lib/stripe/resources/payment_record.rb +0 -715
- data/lib/stripe/resources/quote_line.rb +0 -274
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -652
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -362
- data/lib/stripe/resources/tax/association.rb +0 -89
- data/lib/stripe/resources/tax/form.rb +0 -220
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -40
- data/lib/stripe/resources/usage_record.rb +0 -30
- data/lib/stripe/resources/usage_record_summary.rb +0 -33
- data/lib/stripe/services/account_notice_service.rb +0 -101
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -37
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -57
- data/lib/stripe/services/gift_cards/card_service.rb +0 -170
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
- data/lib/stripe/services/gift_cards_service.rb +0 -14
- data/lib/stripe/services/invoice_upcoming_lines_service.rb +0 -1881
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
- data/lib/stripe/services/margin_service.rb +0 -119
- data/lib/stripe/services/order_line_item_service.rb +0 -35
- data/lib/stripe/services/order_service.rb +0 -2268
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
- data/lib/stripe/services/payment_record_service.rb +0 -542
- data/lib/stripe/services/quote_line_service.rb +0 -35
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -35
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
- data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -41
- data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -37
- data/lib/stripe/services/tax/association_service.rb +0 -31
- data/lib/stripe/services/tax/form_service.rb +0 -100
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
- data/rbi/stripe/resources/account_notice.rbi +0 -139
- data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -71
- data/rbi/stripe/resources/capital/financing_offer.rbi +0 -190
- data/rbi/stripe/resources/capital/financing_summary.rbi +0 -74
- data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -130
- data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -27
- data/rbi/stripe/resources/financial_connections/institution.rbi +0 -99
- data/rbi/stripe/resources/gift_cards/card.rbi +0 -206
- data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -257
- data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -622
- data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -83
- data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -90
- data/rbi/stripe/resources/issuing/settlement.rbi +0 -62
- data/rbi/stripe/resources/margin.rbi +0 -127
- data/rbi/stripe/resources/order.rbi +0 -3036
- data/rbi/stripe/resources/payment_attempt_record.rbi +0 -215
- data/rbi/stripe/resources/payment_record.rbi +0 -722
- data/rbi/stripe/resources/quote_line.rbi +0 -350
- data/rbi/stripe/resources/quote_preview_invoice.rbi +0 -850
- data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -474
- data/rbi/stripe/resources/tax/association.rbi +0 -94
- data/rbi/stripe/resources/tax/form.rbi +0 -224
- data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -41
- data/rbi/stripe/resources/usage_record.rbi +0 -32
- data/rbi/stripe/resources/usage_record_summary.rbi +0 -38
- data/rbi/stripe/services/account_notice_service.rbi +0 -90
- data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -95
- data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -22
- data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -68
- data/rbi/stripe/services/capital_service.rbi +0 -11
- data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -33
- data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -46
- data/rbi/stripe/services/gift_cards/card_service.rbi +0 -142
- data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -174
- data/rbi/stripe/services/gift_cards_service.rbi +0 -10
- data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +0 -2023
- data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -498
- data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -55
- data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -73
- data/rbi/stripe/services/margin_service.rbi +0 -104
- data/rbi/stripe/services/order_line_item_service.rbi +0 -31
- data/rbi/stripe/services/order_service.rbi +0 -2320
- data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -36
- data/rbi/stripe/services/payment_record_service.rbi +0 -521
- data/rbi/stripe/services/quote_line_service.rbi +0 -31
- data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -31
- data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -31
- data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -37
- data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -33
- data/rbi/stripe/services/tax/association_service.rbi +0 -25
- data/rbi/stripe/services/tax/form_service.rbi +0 -85
- data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -22
data/CHANGELOG.md
CHANGED
|
@@ -1,18 +1,40 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
*
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
* [#
|
|
2
|
+
## 14.0.1 - 2026-10-27
|
|
3
|
+
* Update the bundled CA certificates
|
|
4
|
+
|
|
5
|
+
## 14.0.0 - 2025-04-01
|
|
6
|
+
* [#1559](https://github.com/stripe/stripe-ruby/pull/1559) Add RBI annotations for fields and params
|
|
7
|
+
* Adds explicit field types for resources and parameters for methods, and add RBI static annotations for all resources and services
|
|
8
|
+

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