From 7fdc32d204ea9df0e5dfe029e7e37c19b8ba4bdf Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Tue, 8 Sep 2026 14:24:24 +0000 Subject: [PATCH] Changes generated by 0b1d9592bb7a1c1dce9545cc39f39475f92dfdce This commit was automatically created from gocardless/client-library-templates@0b1d9592bb7a1c1dce9545cc39f39475f92dfdce by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/34237625977 --- CHANGELOG.md | 8 ++++++++ README.md | 4 ++-- build.gradle | 2 +- src/main/java/com/gocardless/http/HttpClient.java | 4 ++-- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ace949b3..8186f768 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ # Changelog +## 8.7.4 (2026-09-08) + +### Fixes + +#### Remove incorrect Pro/Enterprise restriction from mandate and customer bank account endpoints + +The "Create a mandate", "Reinstate a mandate", and "Create a customer bank account" endpoints incorrectly stated they were restricted to GoCardless Pro and Enterprise accounts. Custom payment pages are available to any merchant — they are not package-restricted. + ## 8.7.3 (2026-09-07) ### Fixes diff --git a/README.md b/README.md index 65af7b08..8fcb04ba 100644 --- a/README.md +++ b/README.md @@ -14,14 +14,14 @@ With Maven: com.gocardless gocardless-pro - 8.7.3 + 8.7.4 ``` With Gradle: ``` -implementation 'com.gocardless:gocardless-pro:8.7.3' +implementation 'com.gocardless:gocardless-pro:8.7.4' ``` ## Initializing the client diff --git a/build.gradle b/build.gradle index 7a2568f9..ed885383 100644 --- a/build.gradle +++ b/build.gradle @@ -29,7 +29,7 @@ plugins { sourceCompatibility = 1.8 targetCompatibility = 1.8 group = 'com.gocardless' -version = '8.7.3' +version = '8.7.4' apply plugin: 'ch.raffael.pegdown-doclet' diff --git a/src/main/java/com/gocardless/http/HttpClient.java b/src/main/java/com/gocardless/http/HttpClient.java index 9c0ca543..5030a2c6 100644 --- a/src/main/java/com/gocardless/http/HttpClient.java +++ b/src/main/java/com/gocardless/http/HttpClient.java @@ -35,7 +35,7 @@ public class HttpClient { private static final String DISALLOWED_USER_AGENT_CHARACTERS = "[^\\w!#$%&'\\*\\+\\-\\.\\^`\\|~]"; private static final String USER_AGENT = - String.format("gocardless-pro-java/8.7.3 java/%s %s/%s %s/%s", + String.format("gocardless-pro-java/8.7.4 java/%s %s/%s %s/%s", cleanUserAgentToken(System.getProperty("java.vm.specification.version")), cleanUserAgentToken(System.getProperty("java.vm.name")), cleanUserAgentToken(System.getProperty("java.version")), @@ -49,7 +49,7 @@ public class HttpClient { builder.put("GoCardless-Version", "2015-07-06"); builder.put("Accept", "application/json"); builder.put("GoCardless-Client-Library", "gocardless-pro-java"); - builder.put("GoCardless-Client-Version", "8.7.3"); + builder.put("GoCardless-Client-Version", "8.7.4"); HEADERS = builder.build(); } private final OkHttpClient rawClient;