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_on
from async runtimes.The following breaking changes have been made:
blocking::Operator
can no longer be used within async contextsBlocking*
types have been moved to theopendal::blocking
moduleTo 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_xxx
andlist_has_xxx
APIsAll
stat_has_*
andlist_has_*
capability check APIs have been removed. Instead, check capabilities directly on theCapability
struct:Fix
with_user_metadata
signatureThe signature of
with_user_metadata
has 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:
atomicserver
icloud
nebula_graph
If you need these services, please consider maintaining them or use alternative services.
HttpClientLayer replaces
update_http_client
The
Operator::update_http_client()
method has been replaced byHttpClientLayer
:Expose
presign_xxx_options
APINew 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_size
capability has been removed (PR-5322)shared
capability (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_metadata
signature by @meteorgan in refactor(core/types)!: fixwith_user_metadata
signature #5960sync::Cache
withfuture::Cache
by @koushiro in refactor(services/moka)!: replacesync::Cache
withfuture::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