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

Next major release changes #2547

Merged
merged 9 commits into from Aug 1, 2022
Merged

Next major release changes #2547

merged 9 commits into from Aug 1, 2022

Conversation

kamil-stripe
Copy link
Contributor

@kamil-stripe kamil-stripe commented Jul 27, 2022

Changelog

40.0.0 - 2022-08-01

Major version release for API version 2022-08-01. Default API version changed to "2022-08-01".

Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-dotnet/wiki/Migration-guide-for-v40. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01.

"⚠️" symbol highlights breaking changes.

Added

  • Add RefundAccountHolderName, RefundAccountHolderType, and RefundRoutingNumber properties to SourceAchCreditTransfer entity.
  • Add DataString, NativeUrl, and StatementDescriptor properties to SourceAlipay entity.
  • Add Description, Iin, and Issuer properties to SourceCard and SourceCardPresent entities.
  • Add Reference and StatementDescriptor properties to SourceEps entity.
  • Add StatementDescriptor property to SourceBancontact,SourceGiropay, SourceIdeal, and SourceSofort entities.
  • Add RefundAccountHolderAddressCity, RefundAccountHolderAddressCountry, RefundAccountHolderAddressLine1, RefundAccountHolderAddressLine2, RefundAccountHolderAddressPostalCode, RefundAccountHolderAddressState, RefundAccountHolderName and RefundIban properties to SourceMultibanco and SourceSepaCreditTransfer entities.
  • Add Name property to SourceThreeDSecure entity.

⚠️ Changed

  • Rename BalanceDetails to BalanceIssuing. Rename type of Balance.Issuing property.
  • Change Application property in BillingPortal.Configuration entity to be expandable.
  • Change Delinquent property in Customer entity to be nullable.
  • Change Amount property in Dispute and PaymentIntentAmountDetailsTip entities to be non-nullable. The field is required.
  • Change type of Start and End property in InvoiceItemPeriod and InvoiceLineItemPeriod entities to DateTime.
  • Change AmountSubtotal and AmountTotal properties in LineItem entity to be non-nullable. The fields are required.
  • Change Director, Executive, Owner, and Representative properties in PersonRelationship to be nullable.
  • Change Location property in Reader and Terminal.Reader entities to be expandable.
  • Change type of ExpMonth and ExpYear properties in ExternalAccountUpdateOptions and TokenCardOptions to string.
  • Change type of StartDate property in SubscriptionSchedulePhaseOptions to union of date and string. This supports "now" as a valid value.
  • Change type of Timestamp property in UsageRecordCreateOptions to union of date and string. This supports "now" as a valid value.

⚠️ Removed

  • Remove CustomerPaymentSettingsOptions, CustomerPaymentSettingsPaymentMethodOptionsBancontactOptions, CustomerPaymentSettingsPaymentMethodOptionsCardOptions, and CustomerPaymentSettingsPaymentMethodOptionsOptions.
  • Remove IncorporationArticle, IncorporationDocument, PaymentProviderTransfer, and ProductFeed from FilePurpose constants. The values are no longer in use.
  • Remove DefaultSourceType property from Customer entity. The field was undocumented and unsupported.
  • Remove AssociatedObjects array property from EphemeralKey entity. The field was undocumented and unsupported.
  • Remove EphemeralKeyAssociatedObject entity.
  • Remove Quantity and TrialEnd properties in CustomerCreateOptions. The fields are not supported in the operation.
  • Remove TrialEnd property in CustomerUpdateOptions. The property was not supported in the operation.
  • Remove Order and OrderItem resources and APIs as those have been deprecated for multiple years.
    • Remove OrderPaymentSucceeded, OrderUpdated, and OrderReturnCreated event constants. These events are deprecated.
    • Remove Order and OrderId properties in Charge entity. The property was deprecated.
  • Remove QuoteFinalizeQuoteOptions. The options weren't used anymore.
  • Remove RedirectUrl from LoginLinkCreateOptions. The property was deprecated.

@kamil-stripe
Copy link
Contributor Author

r?

@dcr-stripe dcr-stripe self-requested a review July 28, 2022 19:42
Copy link
Contributor

@dcr-stripe dcr-stripe left a comment

Choose a reason for hiding this comment

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

LGTM!

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

3 participants