v0.13.0
Upgrade to v0.13
OpenDAL deprecate Operator::with_backoff
since v0.13.
Please use RetryLayer
instead:
use anyhow::Result;
use backon::ExponentialBackoff;
use opendal::layers::RetryLayer;
use opendal::Operator;
use opendal::Scheme;
let _ = Operator::from_env(Scheme::Fs)
.expect("must init")
.layer(RetryLayer::new(ExponentialBackoff::default()));
What's Changed
- chore: Fix cargo publish by @Xuanwo in #520
- feat: Refactor metrics and hide under feature layers-metrics by @Xuanwo in #521
- refactor: Rewrite retry layer support by @Xuanwo in #522
- feat(layer): Add TracingLayer support by @Xuanwo in #523
- feature: Google Cloud Storage support skeleton by @ClSlaid in #513
- styles: Make xuanwo happy by @Xuanwo in #524
- feat: Add LoggingLayer to replace service internal logs by @Xuanwo in #526
- fix: Make ProtocolViolation a retryable error by @Xuanwo in #528
- feat: Implement integration tests for gcs by @Xuanwo in #532
- docs: Add docs for new layers by @Xuanwo in #534
- docs: Add docs for gcs backend by @ClSlaid in #535
- Bump to version 0.13 by @Xuanwo in #537
Full Changelog: v0.12.0...v0.13.0