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
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
<!-- This file is generated, please add to it using `knope document-change` in the client-library-templates repo -->
# Changelog

## 10.10.3 (2026-10-06)

### Fixes

#### Document `required` fields on several API resource responses

Several resource response schemas were missing `required` field lists,
even though the fields are always present in the actual response.
Added accurate `required` arrays (and fixed a few hardcoded docs
examples that predated them) for: `payment`, `bank_details_lookup`,
`billing_request_template`, `currency_exchange_rate`, `mandate_import`,
`mandate_import_entry`, `negative_balance_limit`, `payer_authorisation`,
`payout`, `payout_item`, `refund`, `scenario_simulator`,
`scheme_identifier`, `tax_rate`, `verification_detail` and `logo`.

This is a documentation-only change; API behaviour is unchanged.

## 10.10.2 (2026-10-06)

### Fixes
Expand Down
4 changes: 2 additions & 2 deletions GoCardless/GoCardless.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<PackageId>GoCardless</PackageId>
<PackageVersion>10.10.2</PackageVersion>
<PackageVersion>10.10.3</PackageVersion>
<Authors>GoCardless Ltd</Authors>
<Description>Client for the GoCardless API - a powerful, simple solution for the collection of recurring bank-to-bank payments</Description>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
Expand All @@ -10,7 +10,7 @@
<Copyright>GoCardless Ltd</Copyright>
<PackageTags>gocardless payments rest api direct debit</PackageTags>
<PackageLicenseUrl>https://github.com/gocardless/gocardless-dotnet/blob/master/LICENSE.txt</PackageLicenseUrl>
<PackageReleaseNotes>https://github.com/gocardless/gocardless-dotnet/releases/tag/v10.10.2</PackageReleaseNotes>
<PackageReleaseNotes>https://github.com/gocardless/gocardless-dotnet/releases/tag/v10.10.3</PackageReleaseNotes>
<TargetFrameworks>netstandard2.0;netstandard2.1;net461;net8.0</TargetFrameworks>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand Down
4 changes: 2 additions & 2 deletions GoCardless/GoCardlessClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -248,14 +248,14 @@
{
return await execute().ConfigureAwait(false);
}
catch (TaskCanceledException exception)

Check warning on line 251 in GoCardless/GoCardlessClient.cs

View workflow job for this annotation

GitHub Actions / build_and_test

The variable 'exception' is declared but never used

Check warning on line 251 in GoCardless/GoCardlessClient.cs

View workflow job for this annotation

GitHub Actions / build_and_test

The variable 'exception' is declared but never used
when (!cancellationTokenSource.Token.IsCancellationRequested)
{
// This case represents a timeout, which we want to retry - see
// https://stackoverflow.com/questions/10547895/how-can-i-tell-when-httpclient-has-timed-out/32230327
await Task.Delay(waitBetweenRetries);
}
catch (HttpRequestException exception)

Check warning on line 258 in GoCardless/GoCardlessClient.cs

View workflow job for this annotation

GitHub Actions / build_and_test

The variable 'exception' is declared but never used

Check warning on line 258 in GoCardless/GoCardlessClient.cs

View workflow job for this annotation

GitHub Actions / build_and_test

The variable 'exception' is declared but never used
{
// An HttpRequestException is raised when "[t]he request failed due to
// an underlying issue such as network connectivity, DNS failure,
Expand Down Expand Up @@ -429,11 +429,11 @@
#endif

var userAgentInformation =
$" gocardless-dotnet/10.10.2 {runtimeFrameworkInformation} {Helpers.CleanupOSDescriptionString(OSRunningOn)}";
$" gocardless-dotnet/10.10.3 {runtimeFrameworkInformation} {Helpers.CleanupOSDescriptionString(OSRunningOn)}";

requestMessage.Headers.Add("User-Agent", userAgentInformation);
requestMessage.Headers.Add("GoCardless-Version", "2015-07-06");
requestMessage.Headers.Add("GoCardless-Client-Version", "10.10.2");
requestMessage.Headers.Add("GoCardless-Client-Version", "10.10.3");
requestMessage.Headers.Add("GoCardless-Client-Library", "gocardless-dotnet");
requestMessage.Headers.Authorization =
new System.Net.Http.Headers.AuthenticationHeaderValue("Bearer", _accessToken);
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ For full details of the GoCardless API, see the [API docs](https://developer.goc

To install `GoCardless`, run the following command in the [Package Manager Console](https://docs.microsoft.com/en-us/nuget/tools/package-manager-console)

`Install-Package GoCardless -Version 10.10.2`
`Install-Package GoCardless -Version 10.10.3`


## Usage
Expand Down
Loading