Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sdk release/next major #1286

Merged
merged 11 commits into from
Apr 10, 2024
Merged

Sdk release/next major #1286

merged 11 commits into from
Apr 10, 2024

Conversation

ramya-stripe
Copy link
Contributor

@ramya-stripe ramya-stripe commented Mar 30, 2024

Changelog

  • This release changes the pinned API version to 2024-04-10. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

⚠️ Breaking changes

  • Remove FinancialAccountFeaturesService.CreateParams, FinancialAccountFeaturesService.ListParams, FinancialAccountFeaturesService.create(), FinancialAccountFeaturesService.list() as Financial account features is a singleton and so should have retrieve and update methods instead of create and list methods.
  • Rename features to marketing_features on parameter classes stripe.Product.CreateParams and stripe.Product.ModifyParams and resource stripe.Product.

⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API

  • Remove .subscription_pause from the below as the feature to pause subscription on the portal has been deprecated
    • Configuration.Features
    • ConfigurationService.CreateParamsFeatures
    • ConfigurationService.UpdateParamsFeatures
  • Remove the below deprecated values for BalanceTransaction.type
    • obligation_inbound
    • obligation_payout
    • obligation_payout_failure
    • obligation_reversal_outbound
  • Remove the below deprecated events from Event.type, WebhookEndpoint.CreateParams.enabled_events, WebhookEndpoint.ModifyParams.enabled_events, WebhookEndpointService.CreateParams.enabled_events, WebhookEndpointService.ModifyParams.enabled_events
    • invoiceitem.updated
    • order.created
    • recipient.created
    • recipient.deleted
    • recipient.updated
    • sku.created
    • sku.deleted
    • sku.updated
  • Remove the deprecated value include_and_require for Invoice.CreateParams.pending_invoice_items_behavior and InvoiceService.CreateParams.pending_invoice_items_behavior
  • Remove the deprecated value service_tax for
    • TaxRate.RetrieveParams.tax_type
    • TaxRate.CreateParams.tax_type
    • TaxRate.ModifyParams.tax_type
    • TaxRateService.CreateParams.tax_type
    • TaxRateService.UpdateParams.tax_type
    • InvoiceLineItem.ModifyParamsTaxAmountTaxRateData.tax_type
    • InvoiceLineItemService.UpdateParamsTaxAmountTaxRateData.tax_type
  • Remove request_incremental_authorization from
    • PaymentIntent.ConfirmParamsPaymentMethodOptionsCardPresent
    • PaymentIntent.CreateParamsPaymentMethodOptionsCardPresent
    • PaymentIntent.ModifyParamsPaymentMethodOptionsCardPresent
    • PaymentIntentService.ConfirmParamsPaymentMethodOptionsCardPresent
    • PaymentIntentService.CreateParamsPaymentMethodOptionsCardPresent
    • PaymentIntentService.ModifyParamsPaymentMethodOptionsCardPresent
  • Remove support for id_bank_transfer, multibanco, netbanking, pay_by_bank, and upi on PaymentMethodConfiguration
  • Remove the deprecated value challenge_only from SetupIntent.PaymentMethodOptions.Card.request_three_d_secure
  • Remove deprecated value various for Climate.Supplier.removal_pathway
  • Remove the deprecated value obligation for ReportRun.CreateParamsParameters.reporting_category and ReportRunService.CreateParamsParameters.reporting_category
  • Remove the legacy field rendering_options on parameter classes stripe.Invoice.CreateParams and stripe.Invoice.ModifyParams and resource stripe.Invoice. Use rendering instead.

@ramya-stripe ramya-stripe marked this pull request as ready for review April 10, 2024 22:31
@ramya-stripe ramya-stripe merged commit 5d04ef5 into master Apr 10, 2024
29 checks passed
@xavdid-stripe xavdid-stripe deleted the sdk-release/next-major branch May 10, 2024 03:30
@xavdid-stripe xavdid-stripe restored the sdk-release/next-major branch May 10, 2024 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants