v0.24.0 #1147
Xuanwo
started this conversation in
Announcements
v0.24.0
#1147
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Upgrade to v0.24
In v0.24, we made a big refactor on our internal IO-related traits. In this version, we split our IO traits into
inputandoutputversions:Take
Readeras an example:input::Readeris the user input reader, which only requiresfutures::AsyncRead + Send.output::Readeris the reader returned byOpenDAL, which implementsfutures::AsyncRead,futures::AsyncSeek, andfutures::Stream<Item=io::Result<Bytes>>. Besides,output::Readeralso implementsSend + Sync, which makes it useful for users.Due to this change, all code that depends on
BytesReadershould be refactored.BytesReader=>input::ReaderOutputBytesReader=>output::ReaderThanks to the change of IO trait split, we make
ObjectReaderimplements all needed traits:futures::AsyncReadfutures::AsyncSeekfutures::Stream<Item=io::Result<Bytes>>Thus, we removed the
seekable_readerAPI. They can be replaced byrange_reader:o.seekable_reader=>o.range_readerMost changes only happen inside. Users not using
opendal::raw::*will not be affected.Sorry for the inconvenience. I think those changes are required and make OpenDAL better! Welcome any comments at Discussion.
What's Changed
New Contributors
Full Changelog: v0.23.0...v0.24.0
This discussion was created from the release v0.24.0.
Beta Was this translation helpful? Give feedback.
All reactions