|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## 0.1.0-alpha.12 (2025-06-12) |
| 4 | + |
| 5 | +Full Changelog: [v0.1.0-alpha.11...v0.1.0-alpha.12](https://github.com/openlayer-ai/openlayer-java/compare/v0.1.0-alpha.11...v0.1.0-alpha.12) |
| 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 | +* **client:** allow providing some params positionally ([134e615](https://github.com/openlayer-ai/openlayer-java/commit/134e61553124243d105b41cfc2cfbd886dce4e63)) |
| 19 | +* **client:** extract auto pagination to shared classes ([d2fa723](https://github.com/openlayer-ai/openlayer-java/commit/d2fa72386ce83cb182c3d710ef25cd9b4b84bd99)) |
| 20 | +* **client:** implement per-endpoint base URL support ([710b626](https://github.com/openlayer-ai/openlayer-java/commit/710b6268e378ea59f4d0f06f3610e674f9c26073)) |
| 21 | + |
| 22 | + |
| 23 | +### Bug Fixes |
| 24 | + |
| 25 | +* **client:** remove `@MustBeClosed` for future returning methods ([0e78fa9](https://github.com/openlayer-ai/openlayer-java/commit/0e78fa9dad3bc45d3aa173a446b1a07cd418bfc1)) |
| 26 | + |
| 27 | + |
| 28 | +### Chores |
| 29 | + |
| 30 | +* **docs:** grammar improvements ([d1cacea](https://github.com/openlayer-ai/openlayer-java/commit/d1cacea72d2b3f2de5d20028b2c5227ad2138534)) |
| 31 | +* **internal:** codegen related update ([ce52e15](https://github.com/openlayer-ai/openlayer-java/commit/ce52e159a41280088862b8be8b5dd41194051ed9)) |
| 32 | +* sync repo ([390e75d](https://github.com/openlayer-ai/openlayer-java/commit/390e75d8719363b5395eed54c1ce3c9d8d0412fb)) |
| 33 | + |
| 34 | + |
| 35 | +### Documentation |
| 36 | + |
| 37 | +* add Spring AI sample application ([4cc1fb8](https://github.com/openlayer-ai/openlayer-java/commit/4cc1fb87584f47679b4e1be12be9f1d1e796481b)) |
| 38 | +* remove or fix invalid readme examples ([9372b90](https://github.com/openlayer-ai/openlayer-java/commit/9372b9032b7e05eb6055a5e71acc6570422146a5)) |
| 39 | + |
3 | 40 | ## 0.1.0-alpha.11 (2024-12-20)
|
4 | 41 |
|
5 | 42 | Full Changelog: [v0.1.0-alpha.10...v0.1.0-alpha.11](https://github.com/openlayer-ai/openlayer-java/compare/v0.1.0-alpha.10...v0.1.0-alpha.11)
|
|
0 commit comments