Skip to content

Commit 3ee66e7

Browse files
committed
🌿 Amend version numbers
1 parent aa91263 commit 3ee66e7

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

.mock/definition/api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ headers:
1010
Square-Version:
1111
name: version
1212
env: VERSION
13-
type: literal<"2025-02-20">
13+
type: literal<"2025-03-19">
1414
auth-schemes:
1515
Bearer:
1616
scheme: bearer

.mock/openapi/openapi.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
"name": "Square-Version",
147147
"description": "Square Connect API versions",
148148
"schema": {
149-
"default": "2025-02-20"
149+
"default": "2025-03-19"
150150
}
151151
}
152152
],
@@ -64721,7 +64721,7 @@
6472164721
"name": "version",
6472264722
"optional": true,
6472364723
"env": "VERSION",
64724-
"type": "literal\u003c\"2025-02-20\"\u003e"
64724+
"type": "literal\u003c\"2025-03-19\"\u003e"
6472564725
}
6472664726
]
6472764727
}

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ java {
4444

4545
group = 'com.squareup'
4646

47-
version = '44.0.0'
47+
version = '44.0.0.20250319'
4848

4949
jar {
5050
dependsOn(":generatePomFileForMavenPublication")
@@ -71,7 +71,7 @@ publishing {
7171
maven(MavenPublication) {
7272
groupId = 'com.squareup'
7373
artifactId = 'square'
74-
version = '44.0.0'
74+
version = '44.0.0.20250319'
7575
from components.java
7676
pom {
7777
licenses {

legacy-sdk/src/main/java/com/squareup/square/legacy/SquareClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ public static class Builder {
833833

834834
private Environment environment = Environment.PRODUCTION;
835835
private String customUrl = "https://connect.squareup.com";
836-
private String squareVersion = "2025-02-20";
836+
private String squareVersion = "2025-03-19";
837837
private HttpClient httpClient;
838838
private Headers additionalHeaders = new Headers();
839839
private String userAgentDetail = null;

src/main/java/com/squareup/square/AsyncSquareClientBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public final class AsyncSquareClientBuilder {
1212

1313
private String token = System.getenv("SQUARE_TOKEN");
1414

15-
private String version = "2025-02-20";
15+
private String version = "2025-03-19";
1616

1717
private Environment environment = Environment.PRODUCTION;
1818

src/main/java/com/squareup/square/SquareClientBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public final class SquareClientBuilder {
1212

1313
private String token = System.getenv("SQUARE_TOKEN");
1414

15-
private String version = "2025-02-20";
15+
private String version = "2025-03-19";
1616

1717
private Environment environment = Environment.PRODUCTION;
1818

src/main/java/com/squareup/square/core/ClientOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ private ClientOptions(
3232
this.headers.putAll(headers);
3333
this.headers.putAll(new HashMap<String, String>() {
3434
{
35-
put("User-Agent", "com.squareup:square/44.0.0");
35+
put("User-Agent", "com.squareup:square/44.0.0.20250319");
3636
put("X-Fern-Language", "JAVA");
3737
put("X-Fern-SDK-Name", "com.square.fern:api-sdk");
38-
put("X-Fern-SDK-Version", "44.0.0");
38+
put("X-Fern-SDK-Version", "44.0.0.20250319");
3939
}
4040
});
4141
this.headerSuppliers = headerSuppliers;

0 commit comments

Comments
 (0)