[deps] Billing: Update Stripe.net to v46 #14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
45.14.0
->46.2.0
Release Notes
stripe/stripe-dotnet (Stripe.net)
v46.2.0
v46.1.0
ThinEvent
to includeLivemode
andReason
Margin
that was accidentally made public in the last releasev46.0.0
#2980 Support for APIs in the new API version 2024-09-30.acacia
This release changes the pinned API version to
2024-09-30.acacia
. Please read the API Upgrade Guide and carefully review the API changes before upgrading.UsageThresholdConfig
toUsageThreshold
onBilling.Alert
andBilling.AlertCreateOptions
Filter
onBilling.Alert
andBillingAlert.AlertCreateOptions
. Use the filters on theUsageThreshold
insteadCustomerConsentCollected
onTerminal.ReaderProcessSetupIntentOptions
Refer to our migration guide for v46 for a list of backwards incompatible changes in this release. Here is a summary of things to watch out for:
Service
andServiceNested
base classes includingCreateEntity
and other*Entity
and*EntityAsync
methods,BasePath
, andBaseUrl
Stripe.Event
toStripe.EventTypes
. This class contains constants for event type strings.CapabilityService
is nowAccountCapabilityService
, and rename associated Options classes to match. This makes the classes more discoverable and the relationship between parent and child more clearCustomerFundingInstructions
) comes before the verb (e.g.Create
,List
).Newtonsoft.Json
dependency has been upgraded for all .NET target runtimes. This is potentially a breaking change if you also depend onNewtonsoft.Json
directly from your application. To migrate, please upgrade the version of Newtonsoft.Json your application depends on. If you have runtime conflicts with another library dependency, you can use<bindingRedirect>
to specify which version .NET should load (see https://stackoverflow.com/a/51053646 and https://learn.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/runtime/bindingredirect-element)Additions
UsageThreshold
onBilling.AlertCreateOptions
andBillingAlert
CustomUnitAmount
onProductDefaultPriceDataOptions
AllowRedisplay
onTerminal.ReaderProcessSetupIntentOptions
andTerminalReaderProcessConfigOptions
Billing.MeterEvent
,Billing.MeterEventAdjustments
,Billing.MeterEventSession
,Billing.MeterEventStream
and the new Events APICore.Events
under the v2 namespaceParseThinEvent()
on theStripeClient
class to parse thin events.StripeClient
class that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK.V1
andV2
property accessors, so that instead ofyou can write:
This supports a move towards a services-based client pattern where a
StripeClient
instance consolidates configuration and service access. This enables you simultaneously use multiple clients with different configuration options (such as API keys), and makes it much easier to discover what services are available by inspecting the V1 and V2 properties (either manually or via your code editors auto-completion).Configuration
📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
Greptile Summary
This pull request updates the Stripe.net package from version 45.14.0 to 46.2.0 in the Core.csproj file, introducing breaking changes and new features that may affect billing services and payment processing functionalities.
Stripe.Event
toStripe.EventTypes
affects event handlingParseThinEvent()
andRawRequestAsync()
methods added toStripeClient
StripePaymentService
and related classes for compatibility