From 24331971f1b2fba7d70f7d3cf880c30ae2eae02d Mon Sep 17 00:00:00 2001 From: Prathmesh Ranaut Date: Fri, 17 Apr 2026 13:22:29 -0400 Subject: [PATCH 1/3] Bump version to 51.0.1 --- CHANGELOG.md | 6 ++++++ VERSION | 2 +- src/Stripe.net/Constants/Version.cs | 2 +- src/Stripe.net/Stripe.net.csproj | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a84e088942..c0811a1fce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 51.0.1 - 2026-04-17 +* [#3366](https://github.com/stripe/stripe-dotnet/pull/3366) Fix emptyable property serialization for third-party serializers + + * Fixes a bug where serializing Options objects through a third-party serializer (e.g. AWS Lambda) could cause the SDK to unintentionally clear fields on the API. Emptyable properties now have null-skipping annotations so third-party serializers omit unset properties during round-trips. + + ## 51.0.0 - 2026-03-25 This release changes the pinned API version to `2026-03-25.dahlia` and contains breaking changes (prefixed with ⚠️ below). There's also a [detailed migration guide](https://github.com/stripe/stripe-dotnet/wiki/Migration-guide-for-v51) to simplify your upgrade process. diff --git a/VERSION b/VERSION index 92837e4d8f..a6ab59ba7b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -51.0.0 +51.0.1 diff --git a/src/Stripe.net/Constants/Version.cs b/src/Stripe.net/Constants/Version.cs index 1108b0e246..58384d6a63 100644 --- a/src/Stripe.net/Constants/Version.cs +++ b/src/Stripe.net/Constants/Version.cs @@ -2,6 +2,6 @@ namespace Stripe { internal class Version { - public const string Current = "51.0.0"; + public const string Current = "51.0.1"; } } \ No newline at end of file diff --git a/src/Stripe.net/Stripe.net.csproj b/src/Stripe.net/Stripe.net.csproj index 23d52d24c9..f3baba7a43 100644 --- a/src/Stripe.net/Stripe.net.csproj +++ b/src/Stripe.net/Stripe.net.csproj @@ -2,7 +2,7 @@ Stripe.net is a sync/async client and portable class library for the Stripe API, supporting .NET Standard 2.0+, .NET Core 5+, and .NET Framework 4.6.2+. (Official Library) - 51.0.0 + 51.0.1 8 Stripe, Jayme Davis