Skip to content

Commit 1b1b144

Browse files
release: 3.0.0
1 parent 6831464 commit 1b1b144

File tree

4 files changed

+50
-7
lines changed

4 files changed

+50
-7
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "2.5.0"
2+
".": "3.0.0"
33
}

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,48 @@
11
# Changelog
22

3+
## 3.0.0 (2025-07-09)
4+
5+
Full Changelog: [v2.5.0...v3.0.0](https://github.com/terminaldotshop/terminal-sdk-java/compare/v2.5.0...v3.0.0)
6+
7+
### ⚠ BREAKING CHANGES
8+
9+
* **client:** extract auto pagination to shared classes
10+
* **client:** **Migration:** - If you were referencing the `AutoPager` class on a specific `*Page` or `*PageAsync` type, then you should instead reference the shared `AutoPager` and `AutoPagerAsync` types, under the `core` package
11+
- `AutoPagerAsync` now has different usage. You can call `.subscribe(...)` on the returned object instead to get called back each page item. You can also call `onCompleteFuture()` to get a future that completes when all items have been processed. Finally, you can call `.close()` on the returned object to stop auto-paginating early
12+
- If you were referencing `getNextPage` or `getNextPageParams`:
13+
- Swap to `nextPage()` and `nextPageParams()`
14+
- Note that these both now return non-optional types (use `hasNextPage()` before calling these, since they will throw if it's impossible to get another page)
15+
16+
### Features
17+
18+
* **api:** manual updates ([831368d](https://github.com/terminaldotshop/terminal-sdk-java/commit/831368d4a3bcab05e2a1d960c1013db9f68a58ea))
19+
* **client:** add a `withOptions` method ([b8a6a91](https://github.com/terminaldotshop/terminal-sdk-java/commit/b8a6a914599487057e3574f2166326c46d3fb42a))
20+
* **client:** allow providing some params positionally ([c437575](https://github.com/terminaldotshop/terminal-sdk-java/commit/c43757553c7b7ffb9d8c2e28d74b5a7961a8af2f))
21+
* **client:** extract auto pagination to shared classes ([6d266d0](https://github.com/terminaldotshop/terminal-sdk-java/commit/6d266d0989f12f9046112ed91ba3af6ff49f69f8))
22+
* **client:** implement per-endpoint base URL support ([10796bd](https://github.com/terminaldotshop/terminal-sdk-java/commit/10796bdedfe6914608508d9714a3115f4b3690c2))
23+
24+
25+
### Bug Fixes
26+
27+
* **client:** bump max requests per host to max requests (5 -> 64) ([71af423](https://github.com/terminaldotshop/terminal-sdk-java/commit/71af4239f7302643d873b01edd36da5043545eec))
28+
* **client:** remove `@MustBeClosed` for future returning methods ([780ef12](https://github.com/terminaldotshop/terminal-sdk-java/commit/780ef1223968d993b24ed7a362a28330eda6d8ba))
29+
30+
31+
### Chores
32+
33+
* **ci:** enable for pull requests ([b3b99cf](https://github.com/terminaldotshop/terminal-sdk-java/commit/b3b99cf9d559ac6273f4ff387d3fb886253248c5))
34+
* **ci:** only run for pushes and fork pull requests ([d2f4d8f](https://github.com/terminaldotshop/terminal-sdk-java/commit/d2f4d8f75db4733e09970efb36568c8e92607239))
35+
* **docs:** grammar improvements ([44edb0a](https://github.com/terminaldotshop/terminal-sdk-java/commit/44edb0a8d01fb0f5a093401ee80678c22bdfbe28))
36+
* **internal:** codegen related update ([6831464](https://github.com/terminaldotshop/terminal-sdk-java/commit/683146499ff953278fb1ea47082a9496dc55f50e))
37+
* **internal:** codegen related update ([7d5f84d](https://github.com/terminaldotshop/terminal-sdk-java/commit/7d5f84df2eb3ecf4675318369cdfe69dd7f1c330))
38+
* **internal:** remove flaky `-Xbackend-threads=0` option ([fe26d7c](https://github.com/terminaldotshop/terminal-sdk-java/commit/fe26d7caf073cb05e193aeff7195e4f7ac8dba4d))
39+
* **internal:** update java toolchain ([c194794](https://github.com/terminaldotshop/terminal-sdk-java/commit/c1947943417fe4b2415bca4a316c0356a1cc2f90))
40+
41+
42+
### Refactors
43+
44+
* **internal:** minor `ClientOptionsTest` change ([e9e1bf7](https://github.com/terminaldotshop/terminal-sdk-java/commit/e9e1bf751b9628a9ec2ff983a833fb2dcd28cf88))
45+
346
## 2.5.0 (2025-04-24)
447

548
Full Changelog: [v2.4.0...v2.5.0](https://github.com/terminaldotshop/terminal-sdk-java/compare/v2.4.0...v2.5.0)

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
<!-- x-release-please-start-version -->
44

5-
[![Maven Central](https://img.shields.io/maven-central/v/shop.terminal.api/terminal-java)](https://central.sonatype.com/artifact/shop.terminal.api/terminal-java/2.5.0)
6-
[![javadoc](https://javadoc.io/badge2/shop.terminal.api/terminal-java/2.5.0/javadoc.svg)](https://javadoc.io/doc/shop.terminal.api/terminal-java/2.5.0)
5+
[![Maven Central](https://img.shields.io/maven-central/v/shop.terminal.api/terminal-java)](https://central.sonatype.com/artifact/shop.terminal.api/terminal-java/3.0.0)
6+
[![javadoc](https://javadoc.io/badge2/shop.terminal.api/terminal-java/3.0.0/javadoc.svg)](https://javadoc.io/doc/shop.terminal.api/terminal-java/3.0.0)
77

88
<!-- x-release-please-end -->
99

@@ -15,7 +15,7 @@ It is generated with [Stainless](https://www.stainless.com/).
1515

1616
<!-- x-release-please-start-version -->
1717

18-
The REST API documentation can be found on [terminal.shop](https://terminal.shop/docs). Javadocs are available on [javadoc.io](https://javadoc.io/doc/shop.terminal.api/terminal-java/2.5.0).
18+
The REST API documentation can be found on [terminal.shop](https://terminal.shop/docs). Javadocs are available on [javadoc.io](https://javadoc.io/doc/shop.terminal.api/terminal-java/3.0.0).
1919

2020
<!-- x-release-please-end -->
2121

@@ -26,7 +26,7 @@ The REST API documentation can be found on [terminal.shop](https://terminal.shop
2626
### Gradle
2727

2828
```kotlin
29-
implementation("shop.terminal.api:terminal-java:2.5.0")
29+
implementation("shop.terminal.api:terminal-java:3.0.0")
3030
```
3131

3232
### Maven
@@ -35,7 +35,7 @@ implementation("shop.terminal.api:terminal-java:2.5.0")
3535
<dependency>
3636
<groupId>shop.terminal.api</groupId>
3737
<artifactId>terminal-java</artifactId>
38-
<version>2.5.0</version>
38+
<version>3.0.0</version>
3939
</dependency>
4040
```
4141

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repositories {
88

99
allprojects {
1010
group = "shop.terminal.api"
11-
version = "2.5.0" // x-release-please-version
11+
version = "3.0.0" // x-release-please-version
1212
}
1313

1414
subprojects {

0 commit comments

Comments
 (0)