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

## 9.9.0 (2026-09-01)

### Features

#### Add `app_connected_organisations` export type

Exports can now be created with `resource_type: app_connected_organisations`, allowing connected merchant details to be exported.

## 9.8.4 (2026-08-27)

### 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>9.8.4</PackageVersion>
<PackageVersion>9.9.0</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/v9.8.4</PackageReleaseNotes>
<PackageReleaseNotes>https://github.com/gocardless/gocardless-dotnet/releases/tag/v9.9.0</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 @@ -237,14 +237,14 @@
{
return await execute().ConfigureAwait(false);
}
catch (TaskCanceledException exception)

Check warning on line 240 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 240 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 247 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 247 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 @@ -412,11 +412,11 @@
#endif

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

requestMessage.Headers.Add("User-Agent", userAgentInformation);
requestMessage.Headers.Add("GoCardless-Version", "2015-07-06");
requestMessage.Headers.Add("GoCardless-Client-Version", "9.8.4");
requestMessage.Headers.Add("GoCardless-Client-Version", "9.9.0");
requestMessage.Headers.Add("GoCardless-Client-Library", "gocardless-dotnet");
requestMessage.Headers.Authorization =
new System.Net.Http.Headers.AuthenticationHeaderValue("Bearer", _accessToken);
Expand Down
4 changes: 4 additions & 0 deletions GoCardless/Resources/Export.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ public enum ExportExportType
[EnumMember(Value = "organisation_authorisations")]
OrganisationAuthorisations,

/// <summary>`export_type` with a value of "app_connected_organisations"</summary>
[EnumMember(Value = "app_connected_organisations")]
AppConnectedOrganisations,

/// <summary>`export_type` with a value of "gc_invalid_authorisation_requests"</summary>
[EnumMember(Value = "gc_invalid_authorisation_requests")]
GcInvalidAuthorisationRequests,
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 9.8.4`
`Install-Package GoCardless -Version 9.9.0`


## Usage
Expand Down
Loading