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 #2884

Merged
merged 8 commits into from
Apr 10, 2024
Merged

Sdk release/next major #2884

merged 8 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

  • Change the property Amount on SourceTransaction to not be nullable
  • Remove the below unused classes
    • InvoiceLineItemAutomaticTaxOptions
    • InvoiceLineItemCustomerDetailsOptions
    • InvoiceLineItemCustomerDetailsTaxIdOptions
    • InvoiceLineItemCustomerDetailsTaxOptions
  • Change the type of the below date fields from long to DateTime
    • AccountSettingsCardIssuingTosAcceptance.Date
    • AccountSettingsTreasuryTosAcceptance.Date
    • PaymentIntentNextActionPixDisplayQrCode.ExpiresAt
    • PaymentIntentPaymentMethodOptionsPix.ExpiresAt
    • CalculationCreateOptions.TaxDate
  • Rename Features to MarketingFeatures on ProductCreateOptions, ProductUpdateOptions, and Product.

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

  • Remove BillingPortal.ConfigurationFeatures.SubscriptionPause and BillingPortal.ConfigurationFeaturesOptions.SubscriptionPause as the feature to pause subscription on the portal has been deprecated.
  • Remove the below deprecated events from Event.Type, WebhookEndpointCreateOptions.EnabledEvents, WebhookEndpointUpdateOptions.EnabledEvents and the constants in Events
    • invoiceitem.updated
    • order.created
    • recipient.created
    • recipient.deleted
    • recipient.updated
    • sku.created
    • sku.deleted
    • sku.updated
  • Remove the support for the below deprecated values in BalanceTransaction.Type
    • obligation_inbound
    • obligation_payout
    • obligation_payout_failure
    • obligation_reversal_outbound
  • Remove the support for various in Climate.Supplier.RemovalPathway
  • Remove support for id_bank_transfer, multibanco, netbanking, pay_by_bank, and upi on PaymentMethodConfiguration by removing the below classes
    • PaymentMethodConfigurationIdBankTransfer
    • PaymentMethodConfigurationMultibanco
    • PaymentMethodConfigurationNetbanking
    • PaymentMethodConfigurationPayByBank
    • PaymentMethodConfigurationUpi
  • Remove the support for challenge_only in SetupIntentPaymentMethodOptionsCard.RequestThreeDSecure
  • Remove deprecated property CustomerData on SourceTransaction
  • Remove the support for deprecated value service_tax in TaxRate.TaxType, TaxRateCreateParams.TaxType, TaxRateUpdateParams.TaxType
  • Remove the deprecated value include_and_require in InvoiceCreateParams.PendingInvoiceItemsBehavior
  • Remove the deprecated property SubscriptionProrate on UpcomingInvoiceListLineItemsOptions. Use SubscriptionProrationBehavior instead.
  • Remove the property RequestIncrementalAuthorization on PaymentIntentPaymentMethodOptionsCardPresentOptions. This was shipped by mistake.
  • Remove the support for deprecated value obligation on ReportRunParameterOptions.ReportingCategory
  • Remove the legacy field RenderingOptions in Invoice, InvoiceCreateOptions and InvoiceUpdateOptions.
  • Rename the type of field Rendering in InvoiceCreateOptions and InvoiceUpdateOptions from InvoiceRenderingOptionsOptions to InvoiceRenderingOptions

@ramya-stripe ramya-stripe marked this pull request as ready for review April 10, 2024 22:31
Copy link
Contributor

@helenye-stripe helenye-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one question but LGTM!

src/Stripe.net/Constants/Events.cs Show resolved Hide resolved
@helenye-stripe
Copy link
Contributor

Also can we re-name the PRs to be more descriptive?

@ramya-stripe ramya-stripe merged commit 9a8b9be into master Apr 10, 2024
6 of 7 checks passed
@ramya-stripe ramya-stripe deleted the sdk-release/next-major branch April 10, 2024 22:52
@ramya-stripe ramya-stripe restored the sdk-release/next-major branch June 10, 2024 22:59
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