v0.49.0
版本发布时间: 2024-08-13 17:51:22
apache/opendal最新发布版本:v0.49.2(2024-08-29 15:40:35)
Release List
Name | Next |
---|---|
core | 0.49.0 |
integrations/dav-server | 0.0.7 |
integrations/fuse3 | 0.0.4 |
integrations/object_store | 0.46.0 |
integrations/parquet | 0.1.0 |
integrations/unftp-sbe | 0.0.4 |
bin/oay | 0.41.8 |
bin/ofs | 0.0.9 |
bin/oli | 0.41.8 |
bindings/c | 0.44.10 |
bindings/cpp | 0.45.8 |
bindings/dotnet | 0.1.6 |
bindings/go | 0.1.0 |
bindings/haskell | 0.44.8 |
bindings/java | 0.47.0 |
bindings/lua | 0.1.6 |
bindings/nodejs | 0.47.2 |
bindings/php | 0.1.6 |
bindings/python (*) | 0.45.8 |
bindings/ruby | 0.1.6 |
- (*): We expected to release Python
0.45.8
, but due to https://github.com/apache/opendal/issues/5000, we were unable to. We will release it next time.
OpenDAL Core Upgrade to v0.49
Public API
Configurator
now returns associated builder instead
Configurator
used to return impl Builder
, but now it returns associated builder type directly. This will allow users to use the builder in a more flexible way.
impl Configurator for MemoryConfig {
- fn into_builder(self) -> impl Builder {
+ type Builder = MemoryBuilder;
+ fn into_builder(self) -> Self::Builder {
MemoryBuilder { config: self }
}
}
LoggingLayer
now accepts LoggingInterceptor
LoggingLayer
now accepts LoggingInterceptor
trait instead of configuration. This change will allow users to customize the logging behavior more flexibly.
pub trait LoggingInterceptor: Debug + Clone + Send + Sync + Unpin + 'static {
fn log(
&self,
info: &AccessorInfo,
operation: Operation,
context: &[(&str, &str)],
message: &str,
err: Option<&Error>,
);
}
Users can now implement the log in the way they want.
OpenDAL Java Binding Upgrade to v0.47
Breaking change
artifactId of the opendal-java
has changed from to opendal
to align with the convention of entire OpenDAL project.
<dependencies>
<dependency>
<groupId>org.apache.opendal</groupId>
- <artifactId>opendal-java</artifactId>
+ <artifactId>opendal</artifactId>
<version>${opendal.version}</version>
</dependency>
<dependency>
<groupId>org.apache.opendal</groupId>
- <artifactId>opendal-java</artifactId>
+ <artifactId>opendal</artifactId>
<version>${opendal.version}</version>
<classifier>${os.detected.classifier}</classifier>
</dependency>
</dependencies>
What's Changed
Added
- feat(o): Add cargo-o layout by @Xuanwo in https://github.com/apache/opendal/pull/4934
- feat: impl
put_multipart
inobject_store
by @Rachelint in https://github.com/apache/opendal/pull/4793 - feat: introduce opendal
AsyncWriter
for parquet integrations by @WenyXu in https://github.com/apache/opendal/pull/4958 - feat(services/http): implement presigned request for backends without authorization by @NickCao in https://github.com/apache/opendal/pull/4970
- feat(bindings/python): strip the library for minimum file size by @NickCao in https://github.com/apache/opendal/pull/4971
- feat(gcs): allow unauthenticated requests by @jdockerty in https://github.com/apache/opendal/pull/4965
- feat: introduce opendal
AsyncReader
for parquet integrations by @WenyXu in https://github.com/apache/opendal/pull/4972 - feat(services/s3): add role_session_name in assume roles by @nerdroychan in https://github.com/apache/opendal/pull/4981
- feat: support root path for moka and mini-moka by @meteorgan in https://github.com/apache/opendal/pull/4984
- feat(ovfs): export VirtioFs struct by @zjregee in https://github.com/apache/opendal/pull/4983
- feat(core)!: implement an interceptor for the logging layer by @evenyag in https://github.com/apache/opendal/pull/4961
- feat(ovfs): support getattr and setattr by @zjregee in https://github.com/apache/opendal/pull/4987
Changed
- refactor(java)!: Rename artifacts id opendal-java to opendal by @Xuanwo in https://github.com/apache/opendal/pull/4957
- refactor(core)!: Return associated builder instead by @Xuanwo in https://github.com/apache/opendal/pull/4968
- refactor(raw): Merge all operations into one enum by @Xuanwo in https://github.com/apache/opendal/pull/4977
- refactor(core): Use kv based context to avoid allocations by @Xuanwo in https://github.com/apache/opendal/pull/4986
Fixed
- fix(services/memory): MemoryConfig implement Debug by @0x676e67 in https://github.com/apache/opendal/pull/4942
- fix(layers/promethues-client): doc link by @koushiro in https://github.com/apache/opendal/pull/4951
- fix(gcs): do not skip signing with
allow_anonymous
by @jdockerty in https://github.com/apache/opendal/pull/4979
Docs
- docs: nominate-committer add announcement template by @tisonkun in https://github.com/apache/opendal/pull/4954
CI
- ci: Bump nextest to 0.9.72 by @Xuanwo in https://github.com/apache/opendal/pull/4932
- ci: setup cloudfilter by @ho-229 in https://github.com/apache/opendal/pull/4936
- ci: Try fix opendal-lua build by @Xuanwo in https://github.com/apache/opendal/pull/4952
Chore
- chore(deps): bump crate-ci/typos from 1.22.9 to 1.23.6 by @dependabot in https://github.com/apache/opendal/pull/4948
- chore(deps): bump tokio from 1.39.1 to 1.39.2 in /bin/oli by @dependabot in https://github.com/apache/opendal/pull/4949
- chore(deps): bump bytes from 1.6.1 to 1.7.0 in /bin/ofs by @dependabot in https://github.com/apache/opendal/pull/4947
- chore(deps): bump tokio from 1.39.1 to 1.39.2 in /bin/oay by @dependabot in https://github.com/apache/opendal/pull/4946
- chore(core): fix nightly lints by @xxchan in https://github.com/apache/opendal/pull/4953
- chore(integrations/parquet): add README by @WenyXu in https://github.com/apache/opendal/pull/4980
- chore(core): Bump redis version by @Xuanwo in https://github.com/apache/opendal/pull/4985
- chore: Bump package versions by @Xuanwo in https://github.com/apache/opendal/pull/4989
New Contributors
- @0x676e67 made their first contribution in https://github.com/apache/opendal/pull/4942
- @Rachelint made their first contribution in https://github.com/apache/opendal/pull/4793
- @koushiro made their first contribution in https://github.com/apache/opendal/pull/4951
- @NickCao made their first contribution in https://github.com/apache/opendal/pull/4970
- @jdockerty made their first contribution in https://github.com/apache/opendal/pull/4965
- @nerdroychan made their first contribution in https://github.com/apache/opendal/pull/4981
Full Changelog: https://github.com/apache/opendal/compare/v0.48.0...v0.49.0