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
Uh oh!
There was an error while loading. Please reload this page.
-
Upgrade to v0.18
OpenDAL v0.18 introduces the following breaking changes:
services-httphas been removed.DirXxxitems have been renamed toObjectXxxto make them more consistent.DirEntry->ObjectEntryDirStream->ObjectStreamDirStreamer->ObjectStreamDirIterate->ObjectIterateDirIterator->ObjectIteratorBesides, we also make a big change to our
ObjectEntryAPI. Since v0.18, we can fully reuse the metadata that fetched duringlist. Takeentry.content_length()for example:content_lenghtis already known, we will return directly.complete:complete, the entry already fetched all metadata that it could have, return directly.statcall to get themetadataand refresh our cache.This change means:
content_lengthwill be changed into async functions.metadataandblocking_metadatawill 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