v0.54.0 #6425
Xuanwo
started this conversation in
Announcements
v0.54.0
#6425
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 Notes
Rust Core Public API
RFC-6189: Remove Native Blocking Support
OpenDAL v0.54 implements RFC-6189, which removes all native blocking support in favor of using
block_onfrom async runtimes.The following breaking changes have been made:
blocking::Operatorcan no longer be used within async contextsBlocking*types have been moved to theopendal::blockingmoduleTo migrate:
RFC-6213: Options Based API
OpenDAL v0.54 implements RFC-6213, which introduces options-based APIs for more structured and extensible operation configuration.
New APIs added:
read_options(path, ReadOptions)write_options(path, data, WriteOptions)list_options(path, ListOptions)stat_options(path, StatOptions)delete_options(path, DeleteOptions)Example usage:
Remove
stat_has_xxxandlist_has_xxxAPIsAll
stat_has_*andlist_has_*capability check APIs have been removed. Instead, check capabilities directly on theCapabilitystruct:Fix
with_user_metadatasignatureThe signature of
with_user_metadatahas been changed. Please update your code accordingly if you use this method.Services removed due to lack of maintainer
The following services have been removed due to lack of maintainers:
atomicservericloudnebula_graphIf you need these services, please consider maintaining them or use alternative services.
HttpClientLayer replaces
update_http_clientThe
Operator::update_http_client()method has been replaced byHttpClientLayer:Expose
presign_xxx_optionsAPINew options-based presign APIs have been exposed:
Rust Core Raw API
Remove native blocking support
All native blocking implementations have been removed from the raw API. Services and layers no longer need to implement blocking-specific methods.
Bindings Java Breaking changes
Removed services
The following services have been removed:
Batch operations removed
PR-5393 removes the batch concept from OpenDAL. All batch-related operations and capabilities have been removed.
Capability changes
write_multi_align_sizecapability has been removed (PR-5322)sharedcapability (PR-5328)Options-based API
New options classes have been introduced for structured operation configuration:
ReadOptions- for read operationsWriteOptions- for write operationsListOptions- for list operationsStatOptions- for stat operationsExample usage:
Bindings Python
Breaking change: Native blocking API removed
OpenDAL has removed the native blocking API in the core. The Python binding's blocking API now uses an async runtime internally. This is a transparent change and should not affect most users, but:
Breaking change: Removed services
The following services have been removed due to lack of maintainers and users:
atomicserver- This service is no longer supportedicloud- This service is no longer supportednebula_graph- This service is no longer supportedIf you were using any of these services, you'll need to migrate to an alternative storage backend.
Breaking change: Chainsafe service removed
The Chainsafe service has been sunset and is no longer available.
What's Changed
Added
Operator::update_http_client()by @Xuanwo in feat: Add HttpClientLayer to replaceOperator::update_http_client()#6290Changed
with_user_metadatasignature by @meteorgan in refactor(core/types)!: fixwith_user_metadatasignature #5960sync::Cachewithfuture::Cacheby @koushiro in refactor(services/moka)!: replacesync::Cachewithfuture::Cache#6270Fixed
Docs
CI
Chore
New Contributors
Full Changelog: v0.53.3...v0.54.0
This discussion was created from the release v0.54.0.
Beta Was this translation helpful? Give feedback.
All reactions