This is an automated email from the ASF dual-hosted git repository. xuanwo pushed a commit to branch polish-lister in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
commit 7155caefd62f1a7426df7073639d256ebeb715fa Author: Xuanwo <[email protected]> AuthorDate: Wed Nov 15 23:48:22 2023 +0800 Update upgrade Signed-off-by: Xuanwo <[email protected]> --- core/src/docs/upgrade.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/core/src/docs/upgrade.md b/core/src/docs/upgrade.md index f8bbece96..ba3a12f79 100644 --- a/core/src/docs/upgrade.md +++ b/core/src/docs/upgrade.md @@ -11,6 +11,19 @@ Users will need to change the following usage: `delimiter` other than `""` and `"/"` is not supported anymore. +## Raw API + +### Lister Align + +We changed our internal `lister` implementation to align with the `list` public API for better performance and readability. + +- trait `Page` => `List` +- struct `Pager` => `Lister` +- trait `BlockingPage` => `BlockingList` +- struct `BlockingPager` => `BlockingLister` + +Every call to `next` will return an entry instead a page of entries. Also, we changed our async list api into poll based instead of `async_trait`. + # Upgrade to v0.42 ## Public API
