This release changes the pinned API version to 2026-08-26.dahlia.
-
#1923 Support discriminated unions in the V2 runtime
- Adds support for discriminated union (polymorphic) parameters and response fields in the V2 runtime.
- Serializing a discriminated union parameter whose discriminator is missing, or not a String or Symbol, raises
ArgumentErrorrather than sending the value uncoerced. Callers building a union parameter as a plain Hash must include the discriminator. - Adds
nullablefield encoding support, soint64_stringanddecimal_stringfields wrapped in a nullable coerce correctly.
-
#1937 Add new
EventNotificationHandlerclass for better thin event management- We've been putting a lot of time into rethinking the event handling experience in the SDKs. This new class is the culmination of that effort.
- They're designed for a tight coupling with both
StripeClientand the fully-typed nature of thin events. This delivers painless event destination upgrades, in-editor checks for common mistakes, and better code modularity. - Now that we've released thin event notifications for v1 objects, these new handlers are our recommended path for all integrations using thin event notifications.
- See more detailed docs here: https://docs.stripe.com/webhooks/event-notification-handlers
-
#1926 Extract V2TypeCoercion module for bidirectional field encoding
- Fixes V2
int64_stringresponse fields so they returnInteger(to match the field's Sorbet type) instead ofString
- Fixes V2
-
#1934 Update generated code
- Add support for new resource
Billing::FeedbackOption - Add support for
create,deactivate,list,retrieve, andupdatemethods on resourceBilling::FeedbackOption - Add support for
payment_method_settingsonAccountSession::ComponentandAccountSessionCreateParams::Component - Add support for
feedback_optionsonBillingPortal::Configuration::Feature::SubscriptionCancel::CancellationReason,BillingPortal::ConfigurationCreateParams::Feature::SubscriptionCancel::CancellationReason, andBillingPortal::ConfigurationUpdateParams::Feature::SubscriptionCancel::CancellationReason - Add support for
customer_updateonBillingPortal::Session::Flow - Add support for
funding_source_grouponCharge::PaymentMethodDetail::Card::Wallet::LinkandCharge::PaymentMethodDetail::Link - Add support for
funding_types_blockedonCheckout::Session::PaymentMethodOption::Card::RestrictionandCheckout::SessionCreateParams::PaymentMethodOption::Card::Restriction - Add support for
metadataonConfirmationToken - Add support for
active_entitlementsandcustomer_portalonCustomerSession::ComponentandCustomerSessionCreateParams::Component - Add support for
countryonFinancialConnections::Session::Filter - Add support for
frozen_fieldsonInvoiceItem - Add support for
billieonInvoice::PaymentSetting::PaymentMethodOption,InvoiceCreateParams::PaymentSetting::PaymentMethodOption,InvoiceUpdateParams::PaymentSetting::PaymentMethodOption,Subscription::PaymentSetting::PaymentMethodOption,SubscriptionCreateParams::PaymentSetting::PaymentMethodOption, andSubscriptionUpdateParams::PaymentSetting::PaymentMethodOption ⚠️ Remove support forcryptogramonPaymentAttemptRecord::PaymentMethodDetail::Card::ThreeDSecureandPaymentRecord::PaymentMethodDetail::Card::ThreeDSecure- Change
PaymentIntent.allowed_payment_method_typesandSetupIntent.allowed_payment_method_typesto be required - Add support for
application_fee_amount,application_fee_percent,on_behalf_of, andtransfer_dataonPaymentLinkUpdateParams - Add support for
feedback_optiononSubscription::CancellationDetail,SubscriptionCancelParams::CancellationDetail, andSubscriptionUpdateParams::CancellationDetail - Add support for
igiconTax::Registration::CountryOption::At,Tax::Registration::CountryOption::Be,Tax::Registration::CountryOption::Bg,Tax::Registration::CountryOption::Cy,Tax::Registration::CountryOption::Cz,Tax::Registration::CountryOption::De,Tax::Registration::CountryOption::Dk,Tax::Registration::CountryOption::E,Tax::Registration::CountryOption::Ee,Tax::Registration::CountryOption::Fi,Tax::Registration::CountryOption::Fr,Tax::Registration::CountryOption::Gr,Tax::Registration::CountryOption::Hr,Tax::Registration::CountryOption::Hu,Tax::Registration::CountryOption::Ie,Tax::Registration::CountryOption::It,Tax::Registration::CountryOption::Lt,Tax::Registration::CountryOption::Lu,Tax::Registration::CountryOption::Lv,Tax::Registration::CountryOption::Mt,Tax::Registration::CountryOption::Nl,Tax::Registration::CountryOption::Pl,Tax::Registration::CountryOption::Pt,Tax::Registration::CountryOption::Ro,Tax::Registration::CountryOption::Se,Tax::Registration::CountryOption::Si,Tax::Registration::CountryOption::Sk,Tax::RegistrationCreateParams::CountryOption::At,Tax::RegistrationCreateParams::CountryOption::Be,Tax::RegistrationCreateParams::CountryOption::Bg,Tax::RegistrationCreateParams::CountryOption::Cy,Tax::RegistrationCreateParams::CountryOption::Cz,Tax::RegistrationCreateParams::CountryOption::De,Tax::RegistrationCreateParams::CountryOption::Dk,Tax::RegistrationCreateParams::CountryOption::E,Tax::RegistrationCreateParams::CountryOption::Ee,Tax::RegistrationCreateParams::CountryOption::Fi,Tax::RegistrationCreateParams::CountryOption::Fr,Tax::RegistrationCreateParams::CountryOption::Gr,Tax::RegistrationCreateParams::CountryOption::Hr,Tax::RegistrationCreateParams::CountryOption::Hu,Tax::RegistrationCreateParams::CountryOption::Ie,Tax::RegistrationCreateParams::CountryOption::It,Tax::RegistrationCreateParams::CountryOption::Lt,Tax::RegistrationCreateParams::CountryOption::Lu,Tax::RegistrationCreateParams::CountryOption::Lv,Tax::RegistrationCreateParams::CountryOption::Mt,Tax::RegistrationCreateParams::CountryOption::Nl,Tax::RegistrationCreateParams::CountryOption::Pl,Tax::RegistrationCreateParams::CountryOption::Pt,Tax::RegistrationCreateParams::CountryOption::Ro,Tax::RegistrationCreateParams::CountryOption::Se,Tax::RegistrationCreateParams::CountryOption::Si, andTax::RegistrationCreateParams::CountryOption::Sk
- Add support for new resource