Skip to content

Commit 6ddf7da

Browse files
SDK regeneration (#191)
Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
1 parent 25d6179 commit 6ddf7da

258 files changed

Lines changed: 5870 additions & 831 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.fern/metadata.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"cliVersion": "2.8.1",
2+
"cliVersion": "3.38.0",
33
"generatorName": "fernapi/fern-java-sdk",
4-
"generatorVersion": "3.19.0",
4+
"generatorVersion": "3.27.6",
55
"generatorConfig": {
66
"base-api-exception-class-name": "SquareApiException",
77
"base-exception-class-name": "SquareException",
@@ -12,5 +12,6 @@
1212
"package-layout": "flat",
1313
"enable-forward-compatible-enums": true,
1414
"publish-to": "central"
15-
}
15+
},
16+
"sdkVersion": "46.0.0.20260122"
1617
}

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 Square.
3+
Copyright (c) 2026 Square.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Add the dependency in your `pom.xml` file:
5656
<dependency>
5757
<groupId>com.squareup</groupId>
5858
<artifactId>square</artifactId>
59-
<version>45.2.0.20251016</version>
59+
<version>46.0.0.20260122</version>
6060
</dependency>
6161
```
6262

@@ -361,8 +361,8 @@ Gradle:
361361

362362
```groovy
363363
dependencies {
364-
implementation 'com.squareup:square:45.2.0.20251016'
365-
implementation 'com.squareup:square-legacy:45.2.0.20251016'
364+
implementation 'com.squareup:square:46.0.0.20260122'
365+
implementation 'com.squareup:square-legacy:46.0.0.20260122'
366366
}
367367
```
368368

@@ -372,12 +372,12 @@ Maven:
372372
<dependency>
373373
<groupId>com.squareup</groupId>
374374
<artifactId>square</artifactId>
375-
<version>45.2.0.20251016</version>
375+
<version>46.0.0.20260122</version>
376376
</dependency>
377377
<dependency>
378378
<groupId>com.squareup</groupId>
379379
<artifactId>square-legacy</artifactId>
380-
<version>45.2.0.20251016</version>
380+
<version>46.0.0.20260122</version>
381381
</dependency>
382382
```
383383

@@ -432,23 +432,22 @@ SquareClient client = SquareClient
432432
### Timeouts
433433

434434
The SDK defaults to a 60 second timeout. You can configure this with a timeout option at the client or request level.
435-
436435
```java
437436
import com.squareup.square.SquareClient;
438437
import com.squareup.square.core.RequestOptions;
439438

440439
// Client level
441440
SquareClient client = SquareClient
442441
.builder()
443-
.timeout(10)
442+
.timeout(60)
444443
.build();
445444

446445
// Request level
447446
client.payments().create(
448447
...,
449448
RequestOptions
450449
.builder()
451-
.timeout(10)
450+
.timeout(60)
452451
.build()
453452
);
454453
```

build.gradle

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

4848
group = 'com.squareup'
4949

50-
version = '45.2.0.20251016'
50+
version = '46.0.0.20260122'
5151

5252
jar {
5353
dependsOn(":generatePomFileForMavenPublication")
@@ -78,7 +78,7 @@ publishing {
7878
maven(MavenPublication) {
7979
groupId = 'com.squareup'
8080
artifactId = 'square'
81-
version = '45.2.0.20251016'
81+
version = '46.0.0.20260122'
8282
from components.java
8383
pom {
8484
name = 'square'

0 commit comments

Comments
 (0)