|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 3.0.0 (2025-06-30) |
| 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 ([7d5f84d](https://github.com/terminaldotshop/terminal-sdk-java/commit/7d5f84df2eb3ecf4675318369cdfe69dd7f1c330)) |
| 37 | +* **internal:** remove flaky `-Xbackend-threads=0` option ([fe26d7c](https://github.com/terminaldotshop/terminal-sdk-java/commit/fe26d7caf073cb05e193aeff7195e4f7ac8dba4d)) |
| 38 | +* **internal:** update java toolchain ([c194794](https://github.com/terminaldotshop/terminal-sdk-java/commit/c1947943417fe4b2415bca4a316c0356a1cc2f90)) |
| 39 | + |
| 40 | + |
| 41 | +### Refactors |
| 42 | + |
| 43 | +* **internal:** minor `ClientOptionsTest` change ([e9e1bf7](https://github.com/terminaldotshop/terminal-sdk-java/commit/e9e1bf751b9628a9ec2ff983a833fb2dcd28cf88)) |
| 44 | + |
3 | 45 | ## 2.5.0 (2025-04-24) |
4 | 46 |
|
5 | 47 | Full Changelog: [v2.4.0...v2.5.0](https://github.com/terminaldotshop/terminal-sdk-java/compare/v2.4.0...v2.5.0) |
|
0 commit comments