From 1ea56083b5c01e2bde20a061c2dcc923de4f0aa4 Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Fri, 11 Sep 2026 10:07:02 +0000 Subject: [PATCH 1/2] Changes generated by f4736f64e015da6f386048e455b62f1d288cb412 This commit was automatically created from gocardless/client-library-templates@f4736f64e015da6f386048e455b62f1d288cb412 by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/34587297579 --- CHANGELOG.md | 16 ++++++++++++++++ README.md | 4 ++-- build.gradle | 2 +- .../java/com/gocardless/http/HttpClient.java | 4 ++-- .../services/InstalmentScheduleService.java | 4 ++-- 5 files changed, 23 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24117d75..9ea74625 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,22 @@ # Changelog +## 8.8.0 (2026-09-11) + +### Features + +#### Use specific sub-endpoints URLs for create /instalment_schedules: with_schedule and with_dates + +The two variants for creating an instalment_schedule were surfaced as separate functions. However, they both went to the same URL and endpoint on the backend. + +This created some bugs in generating our openapi schema and therefore our API reference documentation. + +Therefore, we've added specific URLs for each endpoint aliased to the original one: `POST /instalment_schedules/with_dates` or `POST /instalment_schedules/with_schedule`. + +The existing POST /instalment_schedules endpoint is unchanged and will remain available for the foreseeable future. + +Client libraries will now use the specific endpoint matching the method - if you are stubbing the HTTP call you may need to update those stubs. + ## 8.7.5 (2026-09-09) ### Fixes diff --git a/README.md b/README.md index 410a4875..49220e3c 100644 --- a/README.md +++ b/README.md @@ -14,14 +14,14 @@ With Maven: com.gocardless gocardless-pro - 8.7.5 + 8.8.0 ``` With Gradle: ``` -implementation 'com.gocardless:gocardless-pro:8.7.5' +implementation 'com.gocardless:gocardless-pro:8.8.0' ``` ## Initializing the client diff --git a/build.gradle b/build.gradle index b34f029a..d22f3dd6 100644 --- a/build.gradle +++ b/build.gradle @@ -29,7 +29,7 @@ plugins { sourceCompatibility = 1.8 targetCompatibility = 1.8 group = 'com.gocardless' -version = '8.7.5' +version = '8.8.0' 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 bc9a4b96..a35413ff 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.5 java/%s %s/%s %s/%s", + String.format("gocardless-pro-java/8.8.0 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.5"); + builder.put("GoCardless-Client-Version", "8.8.0"); HEADERS = builder.build(); } private final OkHttpClient rawClient; diff --git a/src/main/java/com/gocardless/services/InstalmentScheduleService.java b/src/main/java/com/gocardless/services/InstalmentScheduleService.java index 460c7e7c..e3fe4e6f 100644 --- a/src/main/java/com/gocardless/services/InstalmentScheduleService.java +++ b/src/main/java/com/gocardless/services/InstalmentScheduleService.java @@ -369,7 +369,7 @@ public InstalmentScheduleCreateWithDatesRequest withHeader(String headerName, @Override protected String getPathTemplate() { - return "instalment_schedules"; + return "instalment_schedules/create_with_dates"; } @Override @@ -763,7 +763,7 @@ public InstalmentScheduleCreateWithScheduleRequest withHeader(String headerName, @Override protected String getPathTemplate() { - return "instalment_schedules"; + return "instalment_schedules/create_with_schedule"; } @Override From 819bd31729b49b22e31875f3744f33562b4e0a7d Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Fri, 11 Sep 2026 10:07:08 +0000 Subject: [PATCH 2/2] Changes generated by bad27f532f69cd8db5a2b8e762be7173a464b512 This commit was automatically created from gocardless/client-library-templates@bad27f532f69cd8db5a2b8e762be7173a464b512 by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/34587244243 --- CHANGELOG.md | 16 ---------------- README.md | 4 ++-- build.gradle | 2 +- .../java/com/gocardless/http/HttpClient.java | 4 ++-- 4 files changed, 5 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ea74625..24117d75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,22 +1,6 @@ # Changelog -## 8.8.0 (2026-09-11) - -### Features - -#### Use specific sub-endpoints URLs for create /instalment_schedules: with_schedule and with_dates - -The two variants for creating an instalment_schedule were surfaced as separate functions. However, they both went to the same URL and endpoint on the backend. - -This created some bugs in generating our openapi schema and therefore our API reference documentation. - -Therefore, we've added specific URLs for each endpoint aliased to the original one: `POST /instalment_schedules/with_dates` or `POST /instalment_schedules/with_schedule`. - -The existing POST /instalment_schedules endpoint is unchanged and will remain available for the foreseeable future. - -Client libraries will now use the specific endpoint matching the method - if you are stubbing the HTTP call you may need to update those stubs. - ## 8.7.5 (2026-09-09) ### Fixes diff --git a/README.md b/README.md index 49220e3c..410a4875 100644 --- a/README.md +++ b/README.md @@ -14,14 +14,14 @@ With Maven: com.gocardless gocardless-pro - 8.8.0 + 8.7.5 ``` With Gradle: ``` -implementation 'com.gocardless:gocardless-pro:8.8.0' +implementation 'com.gocardless:gocardless-pro:8.7.5' ``` ## Initializing the client diff --git a/build.gradle b/build.gradle index d22f3dd6..b34f029a 100644 --- a/build.gradle +++ b/build.gradle @@ -29,7 +29,7 @@ plugins { sourceCompatibility = 1.8 targetCompatibility = 1.8 group = 'com.gocardless' -version = '8.8.0' +version = '8.7.5' 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 a35413ff..bc9a4b96 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.8.0 java/%s %s/%s %s/%s", + String.format("gocardless-pro-java/8.7.5 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.8.0"); + builder.put("GoCardless-Client-Version", "8.7.5"); HEADERS = builder.build(); } private final OkHttpClient rawClient;