Releases: apache/opendal
v0.12.0
Upgrade to v0.12
OpenDAL introduces breaking changes for services initiation.
Since v0.12, Operator::new
will accept impl Accessor + 'static
instead of Arc<dyn Accessor>
:
impl Operator {
pub fn new(accessor: impl Accessor + 'static) -> Self { .. }
}
Every service's Builder
now have a build()
API which can be run without async:
let mut builder = fs::Builder::default();
let op: Operator = Operator::new(builder.build()?);
Along with these changes, Operator::from_iter
and Operator::from_env
now is a blocking API too.
For more information about this change, please refer to RFC-0501: New Builder.
The following APIs have been deprecated:
- All services
Builder::finish()
(replaced byBuilder::build()
) - All services
Backend::build()
(replace byBuilder::default()
)
The following APIs have been removed:
- public struct
Metadata
(deprecated in v0.8, replaced byObjectMetadata
)
Visit Upgrade Notes for more information.
What's Changed
- chore(deps): Bump anyhow from 1.0.58 to 1.0.60 in /oay by @dependabot in #499
- chore(deps): Bump anyhow from 1.0.58 to 1.0.60 in /oli by @dependabot in #500
- RFC-0501: New Builder by @Xuanwo in #501
- refactor: Remove deprecated struct Metadata by @Xuanwo in #503
- feat: Use isahc to replace hyper by @Xuanwo in #471
- feat: Implement RFC-0501 New Builder by @Xuanwo in #510
- refactor: make parse http error code public by @ClSlaid in #511
- refactor: Extrace new http error APIs by @Xuanwo in #515
- refactor: Simplify the error response parse logic by @Xuanwo in #516
- Bump to version 0.12 by @Xuanwo in #518
New Contributors
Full Changelog: v0.11.4...v0.12.0
v0.11.4
What's Changed
- feat: try to support epoll by @PsiACE in #478
- chore: Fix oay and oli Cargo.lock not updated by @Xuanwo in #480
- docs: Add downloads in README by @Xuanwo in #485
- docs: Update slogan for OpenDAL by @Xuanwo in #486
- chore(deps): Bump clap from 3.2.15 to 3.2.16 in /oli by @dependabot in #488
- chore(deps): Bump clap from 3.2.15 to 3.2.16 in /oay by @dependabot in #487
- feat: Support using rustls for TLS by @sunng87 in #491
- fix: Uri encode continuation-token before signing by @Xuanwo in #494
- deps: Lower the requirement of deps by @Xuanwo in #495
- Revert "feat: try to support epoll" by @Xuanwo in #496
- Bump to version 0.11.4 by @Xuanwo in #497
New Contributors
Full Changelog: v0.11.3...v0.11.4
v0.11.3
v0.11.2
What's Changed
- chore(deps): Bump clap from 3.2.8 to 3.2.12 in /oli by @dependabot in #453
- fix: Service HTTP deosn't handle dir correctly by @Xuanwo in #455
- fix: Service HTTP inserted with wrong key by @Xuanwo in #457
- Bump to version 0.11.2 by @Xuanwo in #456
Full Changelog: v0.11.1...v0.11.2
v0.11.1
What's Changed
- RFC-0438: Multipart by @Xuanwo in #438
- RFC-0443: Gateway by @Xuanwo in #443
- feat: Add basic oay support for http by @Xuanwo in #445
- feat: BytesRange supports parsing from range and content-range by @Xuanwo in #449
- feat(oay): Implement range support by @Xuanwo in #450
- feat(services-http): Implement write and delete for testing by @Xuanwo in #451
- Bump to version 0.11.1 by @Xuanwo in #452
Full Changelog: v0.11.0...v0.11.1
v0.11.0
What's Changed
- feat: derive Deserialize/Serialize for ObjectMetaData by @killme2008 in #420
- RFC-0423: Command Line Interface by @Xuanwo in #423
- feat: optimaze range read by @sandflee in #425
- feat(oli): Add basic layout for oli by @Xuanwo in #426
- RFC-0429: Init From Iter by @Xuanwo in #429
- feat: Implement RFC-0429 Init From Iter by @Xuanwo in #432
- chore: Cleanup import of operator by @Xuanwo in #433
- docs: Update description of OpenDAL by @Xuanwo in #434
- feat(oli): Add cp command layout by @Xuanwo in #428
- Bump to version 0.11.0 by @Xuanwo in #435
New Contributors
- @killme2008 made their first contribution in #420
- @sandflee made their first contribution in #425
Full Changelog: v0.10.0...v0.11.0
v0.10.0
What's Changed
- RFC-0409: Accessor Capabilities by @Xuanwo in #409
- feat: Implement RFC-0409 Accessor Capabilities by @Xuanwo in #411
- chore(deps): Update reqsign requirement from 0.1.1 to 0.2.0 by @dependabot in #412
- RFC-0413: Presign by @Xuanwo in #413
- docs: Add new RFCs in list by @Xuanwo in #415
- feat: Implement presign support for s3 by @Xuanwo in #414
- Bump to version 0.10.0 by @Xuanwo in #417
Full Changelog: v0.9.1...v0.10.0
v0.9.1
What's Changed
- feat(object): Add ETag support by @Xuanwo in #381
- build: Exclude docs from publish by @Xuanwo in #383
- chore(deps): Update size requirement from 0.1.2 to 0.2.0 by @dependabot in #385
- Upgrade dev-dependency
size
to 0.4 by @mqudsi in #392 - ci: Don't run CI on not needed push by @Xuanwo in #395
- feat: Convert retryable hyper errors into Interrupted by @Xuanwo in #396
- fix: Special chars not handled correctly by @Xuanwo in #398
- refactor: Use list for check instead of stat by @Xuanwo in #399
- Bump to version 0.9.1 by @Xuanwo in #400
New Contributors
Full Changelog: v0.9.0...v0.9.1
v0.9.0
What's Changed
- docs: Add concepts for Accessor, Operator and Object by @Xuanwo in #354
- docs: Aad docs for batch operations by @Xuanwo in #363
- refactor: Use the same http client across project by @Xuanwo in #364
- feat: Implement http service support by @Xuanwo in #368
- feat: Add http_header to handle HTTP header parse by @Xuanwo in #369
- feat(services/s3): Add virtual host API style support by @Xuanwo in #374
- refactor(services/{s3,azblob}): Make sure error response parsed correctly and safely by @Xuanwo in #375
- Bump to version 0.9.0 by @Xuanwo in #376
Full Changelog: v0.8.0...v0.9.0
v0.8.0
What's Changed
- RFC-0337: Dir Entry by @Xuanwo in #337
- refactor: Rename Metadata to ObjectMetadata for clearify by @Xuanwo in #339
- feat: Implement RFC-0337: Dir Entry by @Xuanwo in #342
- chore(deps): Bump actions/setup-python from 3 to 4 by @dependabot in #343
- chore(deps): Bump amondnet/vercel-action from 20 to 25 by @dependabot in #344
- feat: Add batch operation support by @Xuanwo in #346
- Bump to version 0.8 by @Xuanwo in #347
Full Changelog: v0.7.3...v0.8.0