Skip to content

Commit 49796ab

Browse files
Merge pull request #197 from gocardless/template-changes
Changes from gocardless/client-library-templates
2 parents 0842d02 + 9c0ce10 commit 49796ab

4 files changed

Lines changed: 14 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
<!-- This file is generated, please add to it using `knope document-change` in the client-library-templates repo -->
22
# Changelog
33

4+
## 8.7.2 (2026-09-04)
5+
6+
### Fixes
7+
8+
#### Define common titles for common types
9+
10+
The intention is to make it possible to define common types in generated code.
11+
Instead of ~37 different currency enum types which are all equivalent, we could have one.
12+
413
## 8.7.1 (2026-09-02)
514

615
### Fixes

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ With Maven:
1414
<dependency>
1515
<groupId>com.gocardless</groupId>
1616
<artifactId>gocardless-pro</artifactId>
17-
<version>8.7.1</version>
17+
<version>8.7.2</version>
1818
</dependency>
1919
```
2020

2121
With Gradle:
2222

2323
```
24-
implementation 'com.gocardless:gocardless-pro:8.7.1'
24+
implementation 'com.gocardless:gocardless-pro:8.7.2'
2525
```
2626

2727
## Initializing the client

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ plugins {
2929
sourceCompatibility = 1.8
3030
targetCompatibility = 1.8
3131
group = 'com.gocardless'
32-
version = '8.7.1'
32+
version = '8.7.2'
3333

3434
apply plugin: 'ch.raffael.pegdown-doclet'
3535

src/main/java/com/gocardless/http/HttpClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class HttpClient {
3535
private static final String DISALLOWED_USER_AGENT_CHARACTERS =
3636
"[^\\w!#$%&'\\*\\+\\-\\.\\^`\\|~]";
3737
private static final String USER_AGENT =
38-
String.format("gocardless-pro-java/8.7.1 java/%s %s/%s %s/%s",
38+
String.format("gocardless-pro-java/8.7.2 java/%s %s/%s %s/%s",
3939
cleanUserAgentToken(System.getProperty("java.vm.specification.version")),
4040
cleanUserAgentToken(System.getProperty("java.vm.name")),
4141
cleanUserAgentToken(System.getProperty("java.version")),
@@ -49,7 +49,7 @@ public class HttpClient {
4949
builder.put("GoCardless-Version", "2015-07-06");
5050
builder.put("Accept", "application/json");
5151
builder.put("GoCardless-Client-Library", "gocardless-pro-java");
52-
builder.put("GoCardless-Client-Version", "8.7.1");
52+
builder.put("GoCardless-Client-Version", "8.7.2");
5353
HEADERS = builder.build();
5454
}
5555
private final OkHttpClient rawClient;

0 commit comments

Comments
 (0)