v7.0.0
7.0.0 (2025-05-16)
Full Changelog: v6.0.0...v7.0.0
⚠ BREAKING CHANGES
- client: extract auto pagination to shared classes
- client: Migration: - If you were referencing the
AutoPagerclass on a specific*Pageor*PageAsynctype, then you should instead reference the sharedAutoPagerandAutoPagerAsynctypes, under thecorepackageAutoPagerAsyncnow has different usage. You can call.subscribe(...)on the returned object instead to get called back each page item. You can also callonCompleteFuture()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- If you were referencing
getNextPageorgetNextPageParams:- Swap to
nextPage()andnextPageParams() - 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)
- Swap to