v0.18.0 #772
Xuanwo
started this conversation in
Announcements
v0.18.0
#772
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Upgrade to v0.18
OpenDAL v0.18 introduces the following breaking changes:
services-http
has been removed.DirXxx
items have been renamed toObjectXxx
to make them more consistent.DirEntry
->ObjectEntry
DirStream
->ObjectStream
DirStreamer
->ObjectStream
DirIterate
->ObjectIterate
DirIterator
->ObjectIterator
Besides, we also make a big change to our
ObjectEntry
API. Since v0.18, we can fully reuse the metadata that fetched duringlist
. Takeentry.content_length()
for example:content_lenght
is already known, we will return directly.complete
:complete
, the entry already fetched all metadata that it could have, return directly.stat
call to get themetadata
and refresh our cache.This change means:
content_length
will be changed into async functions.metadata
andblocking_metadata
will not return errors anymore.entry.into_object().metadata()
instead.What's Changed
New Contributors
Full Changelog: v0.17.4...v0.18.0
This discussion was created from the release v0.18.0.
Beta Was this translation helpful? Give feedback.
All reactions