Repository navigation
Upgrade Stripe.net to 53.1.0 - #2726
Merged
Merged
Conversation
53.1.0 pins Stripe API version 2026-10-28.endive, a monthly release in the same endive major as 53.0.0's 2026-09-30.endive. The SDK changes are additive. Cover the new pinned version in the webhook API version test.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Upgrade Stripe.net from 53.0.0 to 53.1.0. This is a follow-up from the .NET 11 upgrade (#2665), which held it back because it changes the pinned Stripe API version.
2026-09-30.endive2026-10-28.endiveWhy this is safe:
endivemajor. Stripe only ships breaking changes in its twice-yearly named releases, and the monthly releases in between are backward compatible.StripeHandleralready callsEventUtility.ConstructEvent(..., throwOnApiVersionMismatch: false). Events sent at the webhook endpoint's configured API version still parse.ConstructEventwas already wrapped in a catch-all that returns 400, so a misconfigured secret still gets a 400 and an error log, the same as before.Test change:
PostAsync_WithNewerSubscriptionDeletedEvent_SuspendsOrganizationnow also runs a2026-10-28.endivepayload, next to the existingdahliaand2026-09-30.endivecases.Validation:
dotnet list package --vulnerable --include-transitiveis clean.