Skip to content

Upgrade Stripe.net to 53.1.0 - #2726

Merged
ejsmith merged 1 commit into
mainfrom
chore/stripe-53.1
Nov 11, 2026
Merged

ejsmith merged 1 commit into
mainfrom
chore/stripe-53.1

Conversation

@ejsmith

@ejsmith ejsmith commented Nov 11, 2026

Copy link
Copy Markdown
Member

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.

53.0.0 53.1.0
Pinned API version 2026-09-30.endive 2026-10-28.endive
SDK changes New resources, properties and events only; nothing removed or renamed

Why this is safe:

  • API version: both versions are in the same endive major. Stripe only ships breaking changes in its twice-yearly named releases, and the monthly releases in between are backward compatible.
  • Webhooks: StripeHandler already calls EventUtility.ConstructEvent(..., throwOnApiVersionMismatch: false). Events sent at the webhook endpoint's configured API version still parse.
  • Whitespace-only signing secret: 53.1.0 now rejects these outright. ConstructEvent was 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_SuspendsOrganization now also runs a 2026-10-28.endive payload, next to the existing dahlia and 2026-09-30.endive cases.

Validation:

  • Solution builds with 0 warnings.
  • The Stripe, organization, and billing test classes pass (161 tests).
  • dotnet list package --vulnerable --include-transitive is clean.

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.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T22:21:21.061445Z 992debb PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
Exceptionless.AppHost 23% 22% 130 ❌
Exceptionless.Core 78% 70% 11007 ✔
Exceptionless.Insulation 51% 43% 370 ➖
Exceptionless.Web 86% 72% 9415 ✔
Summary 81% (28639 / 35508) 70% (14325 / 20508) 20922 ✔

@ejsmith
ejsmith merged commit 4a62c42 into main Nov 11, 2026
21 checks passed
@ejsmith
ejsmith deleted the chore/stripe-53.1 branch November 11, 2026 22:33
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.

1 participant