Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.31.0"
".": "0.31.1"
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
9 changes: 8 additions & 1 deletion src/Increase.Api/Core/ClientOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,16 @@ public record struct ClientOptions()

/// <summary>
/// The HTTP client to use for making requests in the SDK.
///
/// <para>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.</para>
/// </summary>
public HttpClient HttpClient { get; set; } =
new(new HttpClientHandler() { AutomaticDecompression = DecompressionMethods.Available });
new(new HttpClientHandler() { AutomaticDecompression = DecompressionMethods.Available })
{
Timeout = global::System.Threading.Timeout.InfiniteTimeSpan,
};

Lazy<string> _baseUrl = new(() =>
Environment.GetEnvironmentVariable("INCREASE_BASE_URL") ?? EnvironmentUrl.Production
Expand Down
2 changes: 1 addition & 1 deletion src/Increase.Api/Increase.Api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- Metadata -->
<AssemblyTitle>Increase C#</AssemblyTitle>
<AssemblyName>Increase.Api</AssemblyName>
<VersionPrefix>0.31.0</VersionPrefix>
<VersionPrefix>0.31.1</VersionPrefix>
<Description>The official .NET library for the Increase API.</Description>
<OutputType>Library</OutputType>
<PackageReadmeFile>README.md</PackageReadmeFile>
Expand Down
Loading