8000 Releases · stripe/stripe-ruby · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: stripe/stripe-ruby

v15.4.0-beta.2

09 Jul 19:57
Compare
Choose a tag to compare
v15.4.0-beta.2 Pre-release
Pre-release
  • #1625 Pull in V2 FinancialAccount changes for June release
    • Add support for close and create methods on resource V2::MoneyManagement::FinancialAccount
    • Add support for storer on V2::Core::Account::Configuration, V2::Core::Account::CreateParams::Configuration, and V2::Core::Account::UpdateParams::Configuration
    • Add support for status_details on V2::MoneyManagement::FinancialAccount
    • Add support for status on V2::MoneyManagement::FinancialAccount::ListParams
    • Add support for thin events V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent and V2CoreAccountIncludingConfigurationStorerUpdatedEvent with related object V2::Core::Account
    • Add support for error types AlreadyExistsError and NonZeroBalanceError

See the changelog for more details.

v15.4.0-beta.1

01 Jul 20:36
Compare
Choose a tag to compare
v15.4.0-beta.1 Pre-release
Pre-release
  • #1607 Update generated code for beta
    • Change type of Checkout::Session::CreateParams::SubscriptionDatum.billing_mode, Invoice::CreatePreviewParams::ScheduleDetail.billing_mode, Invoice::CreatePreviewParams::SubscriptionDetail.billing_mode, Quote::CreateParams::SubscriptionDatum.billing_mode, Quote::SubscriptionDatum.billing_mode, Subscription::CreateParams.billing_mode, and SubscriptionSchedule::CreateParams.billing_mode from enum('classic'|'flexible') to billing_mode
    • Add support for submission_method on Dispute::EvidenceDetail
    • Add support for on_demand and subscriptions on Order::CreateParams::Payment::Setting::PaymentMethodOption::Klarna and Order::UpdateParams::Payment::Setting::PaymentMethodOption::Klarna
    • Change type of Order::CreateParams::Payment::Setting::PaymentMethodOption::Klarna.setup_future_usage, Order::Payment::Setting::PaymentMethodOption::Klarna.setup_future_usage, and Order::UpdateParams::Payment::Setting::PaymentMethodOption::Klarna.setup_future_usage from literal('none') to enum('none'|'off_session'|'on_session')
    • Add support for crypto on PaymentAttemptRecord::PaymentMethodDetail and PaymentRecord::PaymentMethodDetail
    • Change type of PaymentIntent::ConfirmParams::PaymentMethodOption::Gopay.setup_future_usage, PaymentIntent::CreateParams::PaymentMethodOption::Gopay.setup_future_usage, PaymentIntent::PaymentMethodOption::Gopay.setup_future_usage, and PaymentIntent::UpdateParams::PaymentMethodOption::Gopay.setup_future_usage from literal('none') to enum('none'|'off_session')
    • Change Quote::SubscriptionDatum.billing_mode, QuotePreviewSubscriptionSchedule.billing_mode, Subscription.billing_mode, and SubscriptionSchedule.billing_mode to be required
    • Change type of QuotePreviewSubscriptionSchedule.billing_mode, Subscription.billing_mode, and SubscriptionSchedule.billing_mode from enum('classic'|'flexible') to SubscriptionsResourceBillingMode
    • Change type of Subscription::MigrateParams.billing_mode from literal('flexible') to billing_mode_migrate
    • Remove support for billing_mode_details on Subscription
    • Add support for proof_of_address on V2::Core::Account::CreateParams::Identity::BusinessDetail::Document, V2::Core::Account::Identity::BusinessDetail::Document, and V2::Core::Account::UpdateParams::Identity::BusinessDetail::Document
    • Add support for metadata on V2::MoneyManagement::FinancialAccount
    • Remove support for description on V2::MoneyManagement::FinancialAccount
    • Remove support for attempts on V2::Payments::OffSessionPayment
    • Change type of V2::Payments::OffSessionPayment::TransferDatum.amount from integer to nullable(integer)
    • Add support for from_account, outbound_payment, and outbound_transfer on V2::MoneyManagement::ReceivedCredit::BalanceTransfer
    • Change type of V2::MoneyManagement::ReceivedCredit::BalanceTransfer.type from literal('payout_v1') to enum('outbound_payment'|'outbound_transfer'|'payout_v1')
    • Change type of V2::MoneyManagement::ReceivedCredit::BalanceTransfer.payout_v1 from string to nullable(string)
    • Change V2::Payments::OffSessionPayment::CreateParams::TransferDatum.amount to be optional

See the changelog for more details.

v15.3.0

01 Jul 20:16
Compare
Choose a tag to compare
  • #1618 Update generated code
    • Add support for migrate method on resource Subscription
    • Add support for collect_payment_method and confirm_payment_intent methods on resource Terminal::Reader
    • Add support for crypto_payments on Account::Capability, Account::CreateParams::Capability, and Account::UpdateParams::Capability
    • Add support for proof_of_address on Account::CreateParams::Document and Account::UpdateParams::Document
    • Add support for monthly_payout_days and weekly_payout_days on Account::CreateParams::Setting::Payout::Schedule, Account::Setting::Payout::Schedule, and Account::UpdateParams::Setting::Payout::Schedule
    • Change Account::Setting::Invoice.hosted_payment_method_save to be required
    • Add support for crypto on Charge::PaymentMethodDetail, ConfirmationToken::CreateParams::PaymentMethodDatum, ConfirmationToken::PaymentMethodPreview, PaymentIntent::ConfirmParams::PaymentMethodDatum, PaymentIntent::ConfirmParams::PaymentMethodOption, PaymentIntent::CreateParams::PaymentMethodDatum, PaymentIntent::CreateParams::PaymentMethodOption, PaymentIntent::PaymentMethodOption, PaymentIntent::UpdateParams::PaymentMethodDatum, PaymentIntent::UpdateParams::PaymentMethodOption, PaymentMethod::CreateParams, PaymentMethod, SetupIntent::ConfirmParams::PaymentMethodDatum, SetupIntent::CreateParams::PaymentMethodDatum, and SetupIntent::UpdateParams::PaymentMethodDatum
    • Change type of Charge::PaymentMethodDetail::Card::Installment::Plan.type, ConfirmationToken::CreateParams::PaymentMethodOption::Card::Installment::Plan.type, ConfirmationToken::PaymentMethodOption::Card::Installment::Plan.type, Invoice::CreateParams::PaymentSetting::PaymentMethodOption::Card::Installment::Plan.type, Invoice::UpdateParams::PaymentSetting::PaymentMethodOption::Card::Installment::Plan.type, PaymentIntent::ConfirmParams::PaymentMethodOption::Card::Installment::Plan.type, PaymentIntent::CreateParams::PaymentMethodOption::Card::Installment::Plan.type, PaymentIntent::PaymentMethodOption::Card::Installment::AvailablePlan.type, PaymentIntent::PaymentMethodOption::Card::Installment::Plan.type, and PaymentIntent::UpdateParams::PaymentMethodOption::Card::Installment::Plan.type from literal('fixed_count') to enum('bonus'|'fixed_count'|'revolving')
    • Add support for subscriptions on Checkout::Session::CreateParams::PaymentMethodOption::Klarna, PaymentIntent::ConfirmParams::PaymentMethodOption::Klarna, PaymentIntent::CreateParams::PaymentMethodOption::Klarna, and PaymentIntent::UpdateParams::PaymentMethodOption::Klarna
    • Add support for billing_mode on Checkout::Session::CreateParams::SubscriptionDatum, Invoice::CreatePreviewParams::ScheduleDetail, Invoice::CreatePreviewParams::SubscriptionDetail, Quote::CreateParams::SubscriptionDatum, Quote::SubscriptionDatum, Subscription::CreateParams, SubscriptionSchedule::CreateParams, SubscriptionSchedule, and Subscription
    • Change type of Dispute.enhanced_eligibility_types from literal('visa_compelling_evidence_3') to enum('visa_compelling_evidence_3'|'visa_compliance')
    • Add support for related_person on Identity::VerificationSession::CreateParams and Identity::VerificationSession
    • Add support for matching on Identity::VerificationSession::Option
    • Add support for klarna on Mandate::PaymentMethodDetail, SetupIntent::ConfirmParams::PaymentMethodOption, SetupIntent::CreateParams::PaymentMethodOption, SetupIntent::PaymentMethodOption, and SetupIntent::UpdateParams::PaymentMethodOption
    • Add support for on_demand on PaymentIntent::ConfirmParams::PaymentMethodOption::Klarna, PaymentIntent::CreateParams::PaymentMethodOption::Klarna, and PaymentIntent::UpdateParams::PaymentMethodOption::Klarna
    • Change type of PaymentIntent::ConfirmParams::PaymentMethodOption::Klarna.setup_future_usage, PaymentIntent::CreateParams::PaymentMethodOption::Klarna.setup_future_usage, PaymentIntent::PaymentMethodOption::Klarna.setup_future_usage, and PaymentIntent::UpdateParams::PaymentMethodOption::Klarna.setup_future_usage from literal('none') to enum('none'|'off_session'|'on_session')
    • Add support for ua on Tax::Registration::CountryOption and Tax::Registration::CreateParams::CountryOption
    • Change type of Terminal::Location::UpdateParams.display_name from string to emptyable(string)
    • Add support for collect_payment_method and confirm_payment_intent on Terminal::Reader::Action
    • Add support for status on Treasury::FinancialAccount::ListParams
  • #1615 Update README to mention that APIResource.request was removed
  • #1619 Updated StripeClient snippets in README
  • #1621 Disable flaky test in jruby/truffleruby
  • #1620 Fix raw_request example in README

See the changelog for more details.

v15.3.0-beta.2

26 Jun 18:57
Compare
Choose a tag to compare
v15.3.0-beta.2 Pre-release
Pre-release
  • #1623 Pull in OffSessionPayment changes for the May release

See the changelog for more details.

v15.2.1

04 Jun 19:26
Compare
Choose a tag to compare
  • #1617 Fix nil requestor in Webhook.construct_event to allow for event data refresh
    • Fix bug where Event constructed from Webhook.construct_event could not be refreshed due to a nil APIRequestor

See the changelog for more details.

v15.3.0-beta.1

28 May 20:38
Compare
Choose a tag to compare
v15.3.0-beta.1 Pre-release
Pre-release

This release changes the pinned API version to 2025-05-28.preview.

  • #1599 Update generated code for beta

    Breaking changes

    • Remove support for deprecated previews
      • Remove support for resources Billing::MeterErrorReport, GiftCards::Card, GiftCards::Transaction, and Privacy::RedactionJobRootObjects
      • Remove support for create, list, retrieve, update, and validate methods on resource GiftCards::Card
      • Remove support for cancel, confirm, create, list, retrieve, and update methods on resource GiftCards::Transaction
      • Remove support for provisioning on Product::CreateParams and Product
    • Change type of Checkout::Session::UpdateParams::LineItem.quantity from emptyable(longInteger) to longInteger
    • Change CreditNote.post_payment_amount to be required
    • Change CreditNote.pre_payment_amount to be required
    • Remove support for credits on Order::CreateParams, Order::UpdateParams, and Order
    • Remove support for amount_remaining on Order
    • Remove support for amount_credit on Order::TotalDetail
    • Change type of Invoice::CreatePreviewParams::SubscriptionDetail.cancel_at, Subscription::CreateParams.cancel_at, and Subscription::UpdateParams.cancel_at from DateTime to DateTime | enum('max_period_end'|'min_period_end')
    • Change type of PaymentAttemptRecord.metadata and PaymentRecord.metadata from nullable(map(string: string)) to map(string: string)
    • Change type of PaymentRecord::ReportPaymentAttemptCanceledParams.metadata, PaymentRecord::ReportPaymentAttemptFailedParams.metadata, PaymentRecord::ReportPaymentAttemptGuaranteedParams.metadata, PaymentRecord::ReportPaymentAttemptParams.metadata, and PaymentRecord::ReportPaymentParams.metadata from map(string: string) to emptyable(map(string: string))
    • Change type of Privacy::RedactionJob.objects from $Privacy.RedactionJobRootObjects to RedactionResourceRootObjects
    • Change type of Privacy::RedactionJobValidationError.erroring_object from map(string: string) to RedactionResourceErroringObject
    • Remove support for async_workflows on PaymentIntent::CaptureParams, PaymentIntent::ConfirmParams, PaymentIntent::CreateParams, PaymentIntent::DecrementAuthorizationParams, PaymentIntent::IncrementAuthorizationParams, PaymentIntent::UpdateParams, and PaymentIntent
    • Remove support for status_details and status on Tax::Association

    Other changes

    • Add support for migrate method on resource Subscription
    • Add support for distance, pickup_location_name, return_location_name, and vehicle_identification_number on Charge::CaptureParams::PaymentDetail::CarRental, Charge::UpdateParams::PaymentDetail::CarRental, PaymentIntent::CaptureParams::PaymentDetail::CarRental, PaymentIntent::ConfirmParams::PaymentDetail::CarRental, PaymentIntent::CreateParams::PaymentDetail::CarRental, PaymentIntent::PaymentDetail::CarRental, and PaymentIntent::UpdateParams::PaymentDetail::CarRental
    • Add support for driver_identification_number and driver_tax_number on Charge::CaptureParams::PaymentDetail::CarRental::Driver, Charge::UpdateParams::PaymentDetail::CarRental::Driver, PaymentIntent::CaptureParams::PaymentDetail::CarRental::Driver, PaymentIntent::ConfirmParams::PaymentDetail::CarRental::Driver, PaymentIntent::CreateParams::PaymentDetail::CarRental::Driver, PaymentIntent::PaymentDetail::CarRental::Driver, and PaymentIntent::UpdateParams::PaymentDetail::CarRental::Driver
    • Add support for institution on FinancialConnections::Account
    • Add support for countries on FinancialConnections::Institution
    • Add support for location and reader on PaymentAttemptRecord::PaymentMethodDetail::Affirm, PaymentAttemptRecord::PaymentMethodDetail::WechatPay, PaymentRecord::PaymentMethodDetail::Affirm, and PaymentRecord::PaymentMethodDetail::WechatPay
    • Add support for hooks on PaymentIntent::CaptureParams, PaymentIntent::ConfirmParams, PaymentIntent::CreateParams, PaymentIntent::DecrementAuthorizationParams, PaymentIntent::IncrementAuthorizationParams, PaymentIntent::UpdateParams, and PaymentIntent
    • Add support for card_present on PaymentIntentAmountDetailsLineItem::PaymentMethodOption
    • Add support for livemode on Privacy::RedactionJob
    • Add support for billing_thresholds on QuotePreviewSubscriptionSchedule::DefaultSetting, QuotePreviewSubscriptionSchedule::Phase::Item, and QuotePreviewSubscriptionSchedule::Phase
    • Add support for billing_mode_details on Subscription
    • Add support for tax_transaction_attempts on Tax::Association
    • Add support for confirm_config on Terminal::Reader::Action::ConfirmPaymentIntent and Terminal::Reader::ConfirmPaymentIntentParams

See the changelog for more details.

v15.2.0

28 May 18:59
Compare
Choose a tag to compare

This release changes the pinned API version to 2025-05-28.basil.

  • #1605 Update generated code
    • Add support for attach_payment method on resource Invoice
    • Add support for collect_inputs method on resource Terminal::Reader
    • Add support for succeed_input_collection and timeout_input_collection test helper methods on resource Terminal::Reader
    • Add support for pix_payments on Account::Capability, Account::CreateParams::Capability, and Account::UpdateParams::Capability
    • Add support for disputes_list and payment_disputes on AccountSession::Component and AccountSession::CreateParams::Component
    • Add support for refund_and_dispute_prefunding on Balance
    • Add support for balance_type on BalanceTransaction
    • Change Billing::Alert::CreateParams::UsageThreshold.meter to be required
    • Add support for location and reader on Charge::PaymentMethodDetail::Affirm and Charge::PaymentMethodDetail::WechatPay
    • Add support for payment_method_remove on Checkout::Session::CreateParams::SavedPaymentMethodOption
    • Add support for setup_future_usage on Checkout::Session::PaymentMethodOption::NaverPay
    • Change ConfirmationToken::PaymentMethodPreview::NaverPay.buyer_id and PaymentMethod::NaverPay.buyer_id to be required
    • Add support for post_payment_amount and pre_payment_amount on CreditNote
    • Add support for sex, unparsed_place_of_birth, and unparsed_sex on Identity::VerificationReport::Document and Identity::VerificationSession::VerifiedOutput
    • Add support for billing_thresholds on Invoice::CreatePreviewParams::ScheduleDetail::Phase::Item, Invoice::CreatePreviewParams::ScheduleDetail::Phase, Invoice::CreatePreviewParams::SubscriptionDetail::Item, Subscription::CreateParams::Item, Subscription::CreateParams, Subscription::UpdateParams::Item, Subscription::UpdateParams, SubscriptionItem::CreateParams, SubscriptionItem::UpdateParams, SubscriptionItem, SubscriptionSchedule::CreateParams::DefaultSetting, SubscriptionSchedule::CreateParams::Phase::Item, SubscriptionSchedule::CreateParams::Phase, SubscriptionSchedule::DefaultSetting, SubscriptionSchedule::Phase::Item, SubscriptionSchedule::Phase, SubscriptionSchedule::UpdateParams::DefaultSetting, SubscriptionSchedule::UpdateParams::Phase::Item, SubscriptionSchedule::UpdateParams::Phase, and Subscription
    • Add support for satispay on PaymentIntent::ConfirmParams::PaymentMethodOption, PaymentIntent::CreateParams::PaymentMethodOption, PaymentIntent::PaymentMethodOption, and PaymentIntent::UpdateParams::PaymentMethodOption
    • Add support for capture_method on PaymentIntent::PaymentMethodOption::Billie
    • Add support for kakao_pay, kr_card, naver_pay, payco, and samsung_pay on PaymentMethodConfiguration::CreateParams, PaymentMethodConfiguration::UpdateParams, and PaymentMethodConfiguration
    • Add support for network_decline_code on Refund::DestinationDetail::Paypal
    • Add support for metadata on Tax::Calculation::CreateParams::LineItem and Tax::CalculationLineItem
    • Add support for return_url on Terminal::Reader::Action::ProcessPaymentIntent::ProcessConfig and Terminal::Reader::ProcessPaymentIntentParams::ProcessConfig
    • Add support for collect_inputs on Terminal::Reader::Action
  • #1601 Adds CONTRIBUTING.md

See the changelog for more details.

v15.2.0-beta.1

30 Apr 20:49
Compare
Choose a tag to compare
v15.2.0-beta.1 Pre-release
Pre-release
  • #1589 Update generated code for beta
    This release changes the pinned API version to 2025-04-30.preview.

    • Add support for billing_mode on Checkout::Session::CreateParams::SubscriptionDatum, Invoice::CreatePreviewParams::ScheduleDetail, Invoice::CreatePreviewParams::SubscriptionDetail, Quote::CreateParams::SubscriptionDatum, Quote::SubscriptionDatum, QuotePreviewSubscriptionSchedule, Subscription::CreateParams, SubscriptionSchedule::CreateParams, SubscriptionSchedule, and Subscription
    • Change Checkout::Session::AutomaticTax.provider, Invoice::AutomaticTax.provider, Quote::AutomaticTax.provider, and QuotePreviewInvoice::AutomaticTax.provider to be required
    • Add support for account_number on ConfirmationToken::PaymentMethodPreview::AcssDebit and PaymentMethod::AcssDebit

See the changelog for more details.

v15.1.0

30 Apr 19:19
Compare
Choose a tag to compare

This release changes the pinned API version to 2025-04-30.basil.

  • #1566 Update generated code
    • Add support for minority_owned_business_designation on Account::BusinessProfile, Account::CreateParams::BusinessProfile, and Account::UpdateParams::BusinessProfile
    • Add support for registration_date on Account::Company, Account::CreateParams::Company, Account::UpdateParams::Company, and Token::CreateParams::Account::Company
    • Add support for us_cfpb_data on Account::CreateParams, Account::UpdateParams, AccountPerson::CreateParams, AccountPerson::UpdateParams, Person, and Token::CreateParams::Person
    • Add support for tax_id on Charge::BillingDetail, ConfirmationToken::CreateParams::PaymentMethodDatum::BillingDetail, ConfirmationToken::PaymentMethodPreview::BillingDetail, PaymentIntent::ConfirmParams::PaymentMethodDatum::BillingDetail, PaymentIntent::CreateParams::PaymentMethodDatum::BillingDetail, PaymentIntent::UpdateParams::PaymentMethodDatum::BillingDetail, PaymentMethod::BillingDetail, PaymentMethod::CreateParams::BillingDetail, PaymentMethod::UpdateParams::BillingDetail, SetupIntent::ConfirmParams::PaymentMethodDatum::BillingDetail, SetupIntent::CreateParams::PaymentMethodDatum::BillingDetail, SetupIntent::UpdateParams::PaymentMethodDatum::BillingDetail, TestHelpers::ConfirmationToken::CreateParams::PaymentMethodDatum::BillingDetail, and Treasury::OutboundPayment::CreateParams::DestinationPaymentMethodDatum::BillingDetail
    • Add support for wallet_options on Checkout::Session::CreateParams and Checkout::Session
    • Add support for provider on Checkout::Session::AutomaticTax, Invoice::AutomaticTax, and Quote::AutomaticTax
    • Add support for payment_method_options on ConfirmationToken::CreateParams and TestHelpers::ConfirmationToken::CreateParams
    • Add support for installments on ConfirmationToken::PaymentMethodOption::Card
    • Add support for context on Event
    • Change type of InvoiceLineItem::Parent::SubscriptionItemDetail.subscription from string to nullable(string)
    • Add support for billie on PaymentIntent::ConfirmParams::PaymentMethodOption, PaymentIntent::CreateParams::PaymentMethodOption, PaymentIntent::PaymentMethodOption, and PaymentIntent::UpdateParams::PaymentMethodOption
    • Add support for pix on PaymentMethodConfiguration::CreateParams, PaymentMethodConfiguration::UpdateParams, and PaymentMethodConfiguration
    • Add support for klarna on PaymentMethodDomain
    • Add support for pending_reason on Refund
    • Change type of Tax::CalculationLineItem.reference from nullable(string) to string
    • Add support for aw, az, bd, bf, bj, cm, cv, et, in, kg, la, and ph on Tax::Registration::CountryOption and Tax::Registration::CreateParams::CountryOption
  • #1585 Updated rubocop from 1.57.2 to 1.75.2
  • #1583 Include new Ruby 3.4 in CI
  • #1581 Added rubocop exclusion for generated tests

See the changelog for more details.

v13.5.1

21 Apr 22:48
Compare
Choose a tag to compare
  • #1576 Explicitly pass through custom headers in retrieve

See the changelog for more details.

0