Upgrade to v0.28
In v0.28, we introduced Query Based Metadata. Users can query cached metadata with ObjectMetakey
to make sure that OpenDAL always makes the best decision.
- pub async fn metadata(&self) -> Result<ObjectMetadata>;
+ pub async fn metadata(
+ &self,
+ flags: impl Into<FlagSet<ObjectMetakey>>,
+ ) -> Result<Arc<ObjectMetadata>>;
Please visit Object::metadata()
's example for more details.
What's Changed
- feat: add dashmap support by @PsiACE in #1390
- RFC-1391: Object Metadataer by @Xuanwo in #1391
- refactor: Implement query based object metadata cache by @Xuanwo in #1395
- refactor: Store complete inside bits and add more examples by @Xuanwo in #1397
- RFC-1398: Query Based Metadata by @Xuanwo in #1398
- refactor: Trigger panic if users try to visit not fetched metadata by @Xuanwo in #1399
- refactor: Polish the implement of Query Based Metadata Cache by @Xuanwo in #1400
- Bump version to 0.28 by @Xuanwo in #1401
Full Changelog: v0.27.2...v0.28.0