diff --git a/CHANGELOG.md b/CHANGELOG.md index 64be424..c4d9908 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,23 @@ # 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 diff --git a/GoCardless/GoCardless.csproj b/GoCardless/GoCardless.csproj index 6cab06f..01dc671 100644 --- a/GoCardless/GoCardless.csproj +++ b/GoCardless/GoCardless.csproj @@ -1,7 +1,7 @@  GoCardless - 10.10.2 + 10.10.3 GoCardless Ltd Client for the GoCardless API - a powerful, simple solution for the collection of recurring bank-to-bank payments false @@ -10,7 +10,7 @@ GoCardless Ltd gocardless payments rest api direct debit https://github.com/gocardless/gocardless-dotnet/blob/master/LICENSE.txt - https://github.com/gocardless/gocardless-dotnet/releases/tag/v10.10.2 + https://github.com/gocardless/gocardless-dotnet/releases/tag/v10.10.3 netstandard2.0;netstandard2.1;net461;net8.0 True true diff --git a/GoCardless/GoCardlessClient.cs b/GoCardless/GoCardlessClient.cs index 33f3fe1..ffccc77 100644 --- a/GoCardless/GoCardlessClient.cs +++ b/GoCardless/GoCardlessClient.cs @@ -429,11 +429,11 @@ string idempotencyKey #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); diff --git a/README.md b/README.md index b52cac5..9d81442 100644 --- a/README.md +++ b/README.md @@ -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