From 90042e2d169068aec15a1dd8c1ec98cb35d88849 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Fri, 8 May 2026 20:14:28 +0000
Subject: [PATCH 1/2] fix(internal): disable default HttpClient timeout as we
have our own
---
src/Increase.Api/Core/ClientOptions.cs | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/Increase.Api/Core/ClientOptions.cs b/src/Increase.Api/Core/ClientOptions.cs
index ebbfaef..5bb84b2 100644
--- a/src/Increase.Api/Core/ClientOptions.cs
+++ b/src/Increase.Api/Core/ClientOptions.cs
@@ -21,9 +21,16 @@ public record struct ClientOptions()
///
/// The HTTP client to use for making requests in the SDK.
+ ///
+ /// Note: The HttpClient has a built-in timeout, which defaults to 100 seconds.
+ /// When passing a custom HttpClient, this timeout may conflict with the SDK's
+ /// own timeout handler and cause premature cancellation.
///
public HttpClient HttpClient { get; set; } =
- new(new HttpClientHandler() { AutomaticDecompression = DecompressionMethods.Available });
+ new(new HttpClientHandler() { AutomaticDecompression = DecompressionMethods.Available })
+ {
+ Timeout = global::System.Threading.Timeout.InfiniteTimeSpan,
+ };
Lazy _baseUrl = new(() =>
Environment.GetEnvironmentVariable("INCREASE_BASE_URL") ?? EnvironmentUrl.Production
From e2b9fcb5e83c5d1910eee91b17fe4fb7570eee52 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Fri, 8 May 2026 20:14:59 +0000
Subject: [PATCH 2/2] release: 0.31.1
---
.release-please-manifest.json | 2 +-
CHANGELOG.md | 8 ++++++++
src/Increase.Api/Increase.Api.csproj | 2 +-
3 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index f81bf99..8305d4a 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.31.0"
+ ".": "0.31.1"
}
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 84f067e..a28db50 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## 0.31.1 (2026-05-08)
+
+Full Changelog: [v0.31.0...v0.31.1](https://github.com/Increase/increase-csharp/compare/v0.31.0...v0.31.1)
+
+### Bug Fixes
+
+* **internal:** disable default HttpClient timeout as we have our own ([90042e2](https://github.com/Increase/increase-csharp/commit/90042e2d169068aec15a1dd8c1ec98cb35d88849))
+
## 0.31.0 (2026-05-08)
Full Changelog: [v0.30.0...v0.31.0](https://github.com/Increase/increase-csharp/compare/v0.30.0...v0.31.0)
diff --git a/src/Increase.Api/Increase.Api.csproj b/src/Increase.Api/Increase.Api.csproj
index 7c9210a..8edbf37 100644
--- a/src/Increase.Api/Increase.Api.csproj
+++ b/src/Increase.Api/Increase.Api.csproj
@@ -3,7 +3,7 @@
Increase C#
Increase.Api
- 0.31.0
+ 0.31.1
The official .NET library for the Increase API.
Library
README.md