From 4e36a61d355dbdee2072ec66d3668feb8d0b5b02 Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Tue, 6 Oct 2026 13:37:12 +0000 Subject: [PATCH] Changes generated by ddc78101beca5058824a7a94f3667719d8d71e98 This commit was automatically created from gocardless/client-library-templates@ddc78101beca5058824a7a94f3667719d8d71e98 by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/37471841623 --- CHANGELOG.md | 14 ++++++++++++++ README.md | 2 +- VERSION | 2 +- useragent.go | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3a01cd..97c671f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,20 @@ # Changelog +## 6.18.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. + ## 6.18.0 (2026-10-06) ### Features diff --git a/README.md b/README.md index 2c2e7e3..9f1e9fd 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ toolchain will resolve and fetch the gocardless-pro-go module automatically. Alternatively, you can also explicitly `go get` the package into a project: ``` -go get -u github.com/gocardless/gocardless-pro-go@v6.18.0 +go get -u github.com/gocardless/gocardless-pro-go@v6.18.1 ``` ## Initializing the client diff --git a/VERSION b/VERSION index de35ee7..bfd0f29 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -6.18.0 \ No newline at end of file +6.18.1 \ No newline at end of file diff --git a/useragent.go b/useragent.go index bdc7945..3c38496 100644 --- a/useragent.go +++ b/useragent.go @@ -7,7 +7,7 @@ import ( const ( // client library version - ClientLibVersion = "6.18.0" + ClientLibVersion = "6.18.1" ) var userAgent string