diff --git a/CHANGELOG.md b/CHANGELOG.md index ac4a8677..7631f7cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ # Changelog +## 8.7.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. + ## 8.6.4 (2026-08-27) ### Fixes diff --git a/README.md b/README.md index b4e74e63..a9cf2263 100644 --- a/README.md +++ b/README.md @@ -14,14 +14,14 @@ With Maven: com.gocardless gocardless-pro - 8.6.4 + 8.7.0 ``` With Gradle: ``` -implementation 'com.gocardless:gocardless-pro:8.6.4' +implementation 'com.gocardless:gocardless-pro:8.7.0' ``` ## Initializing the client diff --git a/build.gradle b/build.gradle index 13243e85..c0604458 100644 --- a/build.gradle +++ b/build.gradle @@ -29,7 +29,7 @@ plugins { sourceCompatibility = 1.8 targetCompatibility = 1.8 group = 'com.gocardless' -version = '8.6.4' +version = '8.7.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 d7c869c3..d744c993 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.6.4 java/%s %s/%s %s/%s", + String.format("gocardless-pro-java/8.7.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.6.4"); + builder.put("GoCardless-Client-Version", "8.7.0"); HEADERS = builder.build(); } private final OkHttpClient rawClient; diff --git a/src/main/java/com/gocardless/resources/Export.java b/src/main/java/com/gocardless/resources/Export.java index d7883912..56418c20 100644 --- a/src/main/java/com/gocardless/resources/Export.java +++ b/src/main/java/com/gocardless/resources/Export.java @@ -83,7 +83,8 @@ public enum ExportType { AUTHORISATION_REQUESTS, @SerializedName("customer_bank_accounts") CUSTOMER_BANK_ACCOUNTS, @SerializedName("users") USERS, @SerializedName("organisation_authorisations") - ORGANISATION_AUTHORISATIONS, @SerializedName("gc_invalid_authorisation_requests") + ORGANISATION_AUTHORISATIONS, @SerializedName("app_connected_organisations") + APP_CONNECTED_ORGANISATIONS, @SerializedName("gc_invalid_authorisation_requests") GC_INVALID_AUTHORISATION_REQUESTS, @SerializedName("partner_fees") PARTNER_FEES, @SerializedName("payments_import_template") PAYMENTS_IMPORT_TEMPLATE, @SerializedName("payment_account_statement")