Upgrading stripe 9 to 10
Breaking9.12.1 → 10.12.1Breaking28New146Changed6Other3
Fetching 24 releases from GitHub…23 / 24
BreakingUpgrade verdict
23 breaking changes.
In plain terms
- Removes support for `list` on resource `stripe.QuotePhase`.
- Removes support for `rechnung` on `stripe.PaymentMethod.ModifyParams`.
- The `phases` option is no longer accepted when creating or modifying a quote.
- The `from_schedule` option is no longer accepted when creating a quote subscription.
Must act Top 3 of 23 that need code or config changes
What you must change
Breaking23
Removes support for
list on resource stripe.QuotePhase.stripe.QuotePhaselistRemoves support for
rechnung on stripe.PaymentMethod.ModifyParams.stripe.PaymentMethod.ModifyParamsRemoves support for
phases on stripe.Quote.CreateParams and stripe.Quote.ModifyParams.stripe.Quote.CreateParamsstripe.Quote.ModifyParamsphasesRemoves support for
from_schedule on stripe.Quote.CreateParamsSubscriptionData.stripe.Quote.CreateParamsSubscriptionDatafrom_scheduleRemoves
accepted from the Visa Compelling Evidence 3 status enum on stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.statusacceptedpartner_rejectedsubmittedRemoves support for
risk_correlation_id on PaymentIntent Rechnung parameter and resource classes.stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsRechnungstripe.PaymentIntent.CreateParamsPaymentMethodOptionsRechnungstripe.PaymentIntent.ModifyParamsPaymentMethodOptionsRechnungstripe.PaymentIntent.PaymentMethodOptions.Rechnungrisk_correlation_idRemoves support for
partner_rejected_details on stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3partner_rejected_detailsRemoves support for authorization_code on stripe.Charge.PaymentMethodDetails.Card, which was accidentally released last week.
stripe.Charge.PaymentMethodDetails.Cardauthorization_codeRemoves support for
charge on resource stripe.InvoicePayment.stripe.InvoicePaymentRemoves support for
payment_intent on resource stripe.InvoicePayment.stripe.InvoicePaymentRemoves support for
billing_policy_remote_function_response_invalid on enum stripe.QuotePreviewInvoice.LastFinalizationError.code.stripe.QuotePreviewInvoice.LastFinalizationError.codebilling_policy_remote_function_response_invalidbilling_policy_remote_function_unexpected_status_codebilling_policy_remote_function_timeoutbilling_policy_remote_function_unreachableRemoves support for
payment_intent_fx_quote_invalid on enum stripe.QuotePreviewInvoice.LastFinalizationError.code.stripe.QuotePreviewInvoice.LastFinalizationError.codepayment_intent_fx_quote_invalidRemoves support for four
billing_policy_remote_function_* error codes from several error code enums.stripe.Invoice.LastFinalizationError.codestripe.PaymentIntent.LastPaymentError.codestripe.SetupAttempt.SetupError.codestripe.SetupIntent.LastSetupError.codebilling_policy_remote_function_response_invalidbilling_policy_remote_function_timeoutbilling_policy_remote_function_unexpected_status_codebilling_policy_remote_function_unreachableRemoves support for
payment_intent_fx_quote_invalid from several error code enums after it was mistakenly released.stripe.Invoice.LastFinalizationError.codestripe.PaymentIntent.LastPaymentError.codestripe.SetupAttempt.SetupError.codestripe.SetupIntent.LastSetupError.codepayment_intent_fx_quote_invalidRemoves support for payment_method_update on CustomerSession payment element features classes.
stripe.CustomerSession.Components.PaymentElement.Featuresstripe.CustomerSession.CreateParamsComponentsPaymentElementFeaturespayment_method_updateRemoves support for
payment_method_set_as_default on stripe.CustomerSession.Components.PaymentElement.Features and its create params class.stripe.CustomerSession.Components.PaymentElement.Featuresstripe.CustomerSession.CreateParamsComponentsPaymentElementFeaturespayment_method_set_as_defaultRemoves the unused resource PlatformTaxFee.
PlatformTaxFeeRenames volume_decimal to quantity_decimal on Issuing fuel parameter and resource classes.
stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuelstripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuelstripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuelstripe.issuing.Transaction.PurchaseDetails.Fuelvolume_decimalquantity_decimalChanges
tax_amounts on stripe.InvoiceLineItem from Optional[List[TaxAmount]] to List[TaxAmount].stripe.InvoiceLineItemtax_amountsChanges
tax_rates on stripe.InvoiceLineItem from Optional[List[TaxRate]] to List[TaxRate].stripe.InvoiceLineItemtax_ratesChanges
status_details on stripe.test_helpers.TestClock from Optional[StatusDetails] to StatusDetails.stripe.test_helpers.TestClockstatus_detailsChanges type of
imad on Treasury US domestic wire tracking details from str to Optional[str].imadstripe.treasury.OutboundPayment.TrackingDetails.UsDomesticWirestripe.treasury.OutboundTransfer.TrackingDetails.UsDomesticWireChanges type of
payment_element on stripe.CustomerSession.Components from Optional[PaymentElement] to PaymentElement.stripe.CustomerSession.Componentspayment_elementPaymentElementAPI changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- removed:
export PlatformTaxFee - added:
export InvoiceRenderingTemplate - added:
export InvoiceRenderingTemplateService
- removed:
export PlatformTaxFee - added:
export InvoiceRenderingTemplate
- added:
export Alert - added:
export AlertTriggered
- added:
export Alert - added:
export AlertService - added:
export AlertTriggered