diff --git a/CHANGELOG.md b/CHANGELOG.md index acb8502e..545167bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,20 @@ # Changelog +## 8.14.1 (2026-10-06) + +### Fixes + +#### Fix Institutions include_disabled request param to a string enum + +This field is only used in request parameters on GET requests. Parameters on +GET requests are querystrings and can only ever be strings. + +Therefore any attempt was rejected with "One of your parameters was incorrectly +typed" - "\"true\" is not a boolean.". + +This string enum "true" or "false" is our general pattern for parameters like this. + ## 8.14.0 (2026-10-06) ### Features diff --git a/composer.json b/composer.json index d880e0ed..697758a7 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "gocardless/gocardless-pro", "description": "GoCardless PHP Client Library", - "version": "8.14.0", + "version": "8.14.1", "keywords": [ "gocardless", "direct debit", diff --git a/composer.lock b/composer.lock index a5e5c06a..9413f857 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5f33b61f8b878464b840e83b58e853cd", + "content-hash": "ac7ed113771f5c8e4f7718b6ec31b7ea", "packages": [ { "name": "guzzlehttp/guzzle", diff --git a/lib/Client.php b/lib/Client.php index 1b1a0830..e29517e3 100644 --- a/lib/Client.php +++ b/lib/Client.php @@ -56,7 +56,7 @@ public function __construct($config) 'Content-Type' => 'application/json', 'Authorization' => "Bearer " . $access_token, 'GoCardless-Client-Library' => 'gocardless-pro-php', - 'GoCardless-Client-Version' => '8.14.0', + 'GoCardless-Client-Version' => '8.14.1', 'User-Agent' => $this->getUserAgent() ), 'http_errors' => false, @@ -764,7 +764,7 @@ private function getUserAgent() { $curlinfo = curl_version(); $uagent = array(); - $uagent[] = 'gocardless-pro-php/8.14.0'; + $uagent[] = 'gocardless-pro-php/8.14.1'; $uagent[] = 'schema-version/2015-07-06'; $uagent[] = 'GuzzleHttp/' . \GuzzleHttp\Client::MAJOR_VERSION; $uagent[] = 'php/' . phpversion();