You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by ju...@apache.org on 2023/07/31 10:48:38 UTC
[incubator-opendal] branch bump/v0.39.0 updated (3a0d8f5e1 -> fe77658b3)
This is an automated email from the ASF dual-hosted git repository.
junouyang pushed a change to branch bump/v0.39.0
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
omit 3a0d8f5e1 chore: update changelog
omit 05c257e01 Update upgrade
omit 30be1dee2 chore: bump to version v0.39.0
add fc546bf3c fix(layer/minitrace): fix doctest (#2728)
add 8a01d29e9 docs(bindings/java): improve safety doc for get_current_env (#2733)
add ad7952fdc feat: add override_content_type (#2734)
new cca667984 chore: bump to version v0.39.0
new 517833321 Update upgrade
new fe77658b3 chore: update changelog
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (3a0d8f5e1)
\
N -- N -- N refs/heads/bump/v0.39.0 (fe77658b3)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
Cargo.lock | 41 ++++++++++++++++++++++++
bindings/java/src/lib.rs | 2 +-
core/Cargo.toml | 2 ++
core/src/layers/minitrace.rs | 4 ++-
core/src/raw/ops.rs | 12 +++++++
core/src/services/s3/backend.rs | 21 ++-----------
core/src/services/s3/core.rs | 41 ++++++++++--------------
core/src/types/capability.rs | 2 ++
core/src/types/operator/operator_futures.rs | 24 ++++++++++++++
core/tests/behavior/write.rs | 49 +++++++++++++++++++++++++++++
10 files changed, 153 insertions(+), 45 deletions(-)
[incubator-opendal] 01/03: chore: bump to version v0.39.0
Posted by ju...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
junouyang pushed a commit to branch bump/v0.39.0
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
commit cca667984ebdcfa644543342e346ce8110979d23
Author: owl <ou...@gmail.com>
AuthorDate: Sat Jul 29 10:46:07 2023 +0800
chore: bump to version v0.39.0
---
CHANGELOG.md | 56 +++++++++++++++++++++++++
Cargo.lock | 16 +++----
Cargo.toml | 4 +-
bindings/java/pom.xml | 2 +-
bindings/nodejs/npm/darwin-arm64/package.json | 2 +-
bindings/nodejs/npm/darwin-x64/package.json | 2 +-
bindings/nodejs/npm/linux-x64-gnu/package.json | 2 +-
bindings/nodejs/npm/win32-x64-msvc/package.json | 2 +-
bindings/nodejs/package.json | 2 +-
core/src/docs/upgrade.md | 4 ++
10 files changed, 76 insertions(+), 16 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9b2ec0f15..9a6f5dec0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,62 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/)
and this project adheres to [Semantic Versioning](https://semver.org/).
+## [v0.39.0] - 2023-07-29
+
+### Added
+* feat: add a behaviour test for InvalidInput by @dqhl76 in https://github.com/apache/incubator-opendal/pull/2644
+* feat(services/persy): add a basic persy service impl by @PsiACE in https://github.com/apache/incubator-opendal/pull/2648
+* feat(services/vercel_artifacts): Impl `stat` by @suyanhanx in https://github.com/apache/incubator-opendal/pull/2649
+* feat(test): add fuzz test for range_reader by @dqhl76 in https://github.com/apache/incubator-opendal/pull/2609
+* feat(core/http_util): Remove sensitive header like Set-Cookie by @Xuanwo in https://github.com/apache/incubator-opendal/pull/2664
+* feat: Add RetryInterceptor support for RetryLayer by @Xuanwo in https://github.com/apache/incubator-opendal/pull/2666
+* feat: support kerberos for hdfs service by @zuston in https://github.com/apache/incubator-opendal/pull/2668
+* feat: support append for hdfs by @zuston in https://github.com/apache/incubator-opendal/pull/2671
+* feat(s3): Use us-east-1 while head bucket returns 403 without X-Amz-Bucket-Region by @john8628 in https://github.com/apache/incubator-opendal/pull/2677
+* feat(oay): Add webdav basic read impl by @Young-Flash in https://github.com/apache/incubator-opendal/pull/2658
+* feat(services/redis): enable TLS by @Stormshield-robinc in https://github.com/apache/incubator-opendal/pull/2670
+* feat(services/etcd): introduce new service backend etcd by @G-XD in https://github.com/apache/incubator-opendal/pull/2672
+* feat(service/obs):add multipart upload function support by @A-Stupid-Sun in https://github.com/apache/incubator-opendal/pull/2685
+* feat(services/s3): Add assume role support by @Xuanwo in https://github.com/apache/incubator-opendal/pull/2687
+* feat(services/tikv): introduce new service backend tikv by @oowl in https://github.com/apache/incubator-opendal/pull/2565
+* feat(service/cos): add multipart upload function support by @ArmandoZ in https://github.com/apache/incubator-opendal/pull/2697
+* feat(oio): Add MultipartUploadWrite to easier the work for Writer by @Xuanwo in https://github.com/apache/incubator-opendal/pull/2699
+* feat(test): add fuzz target for writer by @dqhl76 in https://github.com/apache/incubator-opendal/pull/2706
+* feat: cos multipart uploads write by @parkma99 in https://github.com/apache/incubator-opendal/pull/2712
+* feat(layers): support await_tree instrument by @oowl in https://github.com/apache/incubator-opendal/pull/2623
+* feat(tests): Extract fuzz test of #2717 by @Xuanwo in https://github.com/apache/incubator-opendal/pull/2720
+* feat: oss multipart uploads write by @parkma99 in https://github.com/apache/incubator-opendal/pull/2723
+### Changed
+* refactor(services/redis): Polish features of redis by @Xuanwo in https://github.com/apache/incubator-opendal/pull/2681
+* refactor(services/s3): Check header first for region detect by @Xuanwo in https://github.com/apache/incubator-opendal/pull/2691
+* refactor(raw/oio): Reorganize to allow adding more features by @Xuanwo in https://github.com/apache/incubator-opendal/pull/2698
+* refactor: Polish fuzz build time by @Xuanwo in https://github.com/apache/incubator-opendal/pull/2721
+### Fixed
+* fix(services/cos): fix cos service comments by @A-Stupid-Sun in https://github.com/apache/incubator-opendal/pull/2656
+* fix(test): profile setting warning by @dqhl76 in https://github.com/apache/incubator-opendal/pull/2657
+* fix(bindings/C): fix the memory found in valgrind. by @Ji-Xinyou in https://github.com/apache/incubator-opendal/pull/2673
+* fix: owncloud test sometimes fail by @dqhl76 in https://github.com/apache/incubator-opendal/pull/2684
+* fix(services/obs): remove content-length check in backend by @suyanhanx in https://github.com/apache/incubator-opendal/pull/2686
+* fix: fix `HADOOP_CONF_DIR` setting in guidance document by @wcy-fdu in https://github.com/apache/incubator-opendal/pull/2713
+* fix: Seek before the start of file should be invalid by @Xuanwo in https://github.com/apache/incubator-opendal/pull/2718
+### Docs
+* docs: add instructions to fix wrong vote mail and uploads by @ClSlaid in https://github.com/apache/incubator-opendal/pull/2682
+* doc(services/tikv): add tikv service backend to readme by @oowl in https://github.com/apache/incubator-opendal/pull/2711
+### CI
+* ci(services/webdav): Setup integration test for owncloud by @dqhl76 in https://github.com/apache/incubator-opendal/pull/2659
+* ci: Fix unexpected error in owncloud by @Xuanwo in https://github.com/apache/incubator-opendal/pull/2663
+* ci: upgrade hawkeye action by @tisonkun in https://github.com/apache/incubator-opendal/pull/2665
+* ci: Make owncloud happy by reduce the concurrency by @Xuanwo in https://github.com/apache/incubator-opendal/pull/2667
+* ci: Setup protoc in rust builder by @Xuanwo in https://github.com/apache/incubator-opendal/pull/2674
+* ci: Fix Cargo.lock not updated by @Xuanwo in https://github.com/apache/incubator-opendal/pull/2680
+* ci: Add services fuzz test for read/write/range_read by @dqhl76 in https://github.com/apache/incubator-opendal/pull/2710
+### Chore
+* chore: Update CODEOWNERS by @Xuanwo in https://github.com/apache/incubator-opendal/pull/2676
+* chore(bindings/python): upgrade pyo3 to 0.19 by @messense in https://github.com/apache/incubator-opendal/pull/2694
+* chore: upgrade quick-xml to 0.29 by @messense in https://github.com/apache/incubator-opendal/pull/2696
+* chore(download): update version 0.38.1 by @suyanhanx in https://github.com/apache/incubator-opendal/pull/2714
+* chore(service/minitrace): update to v0.5.0 by @andylokandy in https://github.com/apache/incubator-opendal/pull/2725
+
## [v0.38.1] - 2023-07-14
### Added
diff --git a/Cargo.lock b/Cargo.lock
index b5f473826..f9dfe0d03 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3022,7 +3022,7 @@ dependencies = [
[[package]]
name = "oay"
-version = "0.38.1"
+version = "0.39.0"
dependencies = [
"anyhow",
"axum",
@@ -3076,7 +3076,7 @@ dependencies = [
[[package]]
name = "object_store_opendal"
-version = "0.38.1"
+version = "0.39.0"
dependencies = [
"async-trait",
"bytes",
@@ -3088,7 +3088,7 @@ dependencies = [
[[package]]
name = "oli"
-version = "0.38.1"
+version = "0.39.0"
dependencies = [
"anyhow",
"assert_cmd",
@@ -3119,7 +3119,7 @@ checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
[[package]]
name = "opendal"
-version = "0.38.1"
+version = "0.39.0"
dependencies = [
"anyhow",
"async-compat",
@@ -3190,7 +3190,7 @@ dependencies = [
[[package]]
name = "opendal-c"
-version = "0.38.1"
+version = "0.39.0"
dependencies = [
"bytes",
"cbindgen",
@@ -3230,7 +3230,7 @@ dependencies = [
[[package]]
name = "opendal-java"
-version = "0.38.1"
+version = "0.39.0"
dependencies = [
"anyhow",
"jni",
@@ -3250,7 +3250,7 @@ dependencies = [
[[package]]
name = "opendal-nodejs"
-version = "0.38.1"
+version = "0.39.0"
dependencies = [
"futures",
"napi",
@@ -3261,7 +3261,7 @@ dependencies = [
[[package]]
name = "opendal-python"
-version = "0.38.1"
+version = "0.39.0"
dependencies = [
"futures",
"opendal",
diff --git a/Cargo.toml b/Cargo.toml
index e32b5d6c9..f8b745bde 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -48,7 +48,7 @@ homepage = "https://opendal.apache.org/"
license = "Apache-2.0"
repository = "https://github.com/apache/incubator-opendal"
rust-version = "1.65"
-version = "0.38.1"
+version = "0.39.0"
[workspace.dependencies]
-opendal = { version = "0.38", path = "core" }
+opendal = { version = "0.39", path = "core" }
diff --git a/bindings/java/pom.xml b/bindings/java/pom.xml
index 80350d422..a852ef648 100644
--- a/bindings/java/pom.xml
+++ b/bindings/java/pom.xml
@@ -32,7 +32,7 @@
<groupId>org.apache.opendal</groupId>
<artifactId>opendal-java</artifactId>
- <version>0.38.1</version>
+ <version>0.39.0</version>
<url>https://opendal.apache.org</url>
<mailingLists>
diff --git a/bindings/nodejs/npm/darwin-arm64/package.json b/bindings/nodejs/npm/darwin-arm64/package.json
index 1b066dd32..a33c4b4e6 100644
--- a/bindings/nodejs/npm/darwin-arm64/package.json
+++ b/bindings/nodejs/npm/darwin-arm64/package.json
@@ -1,7 +1,7 @@
{
"name": "@opendal/lib-darwin-arm64",
"repository": "git@github.com/apache/incubator-opendal.git",
- "version": "0.38.1",
+ "version": "0.39.0",
"os": [
"darwin"
],
diff --git a/bindings/nodejs/npm/darwin-x64/package.json b/bindings/nodejs/npm/darwin-x64/package.json
index c79deb595..eb4d931db 100644
--- a/bindings/nodejs/npm/darwin-x64/package.json
+++ b/bindings/nodejs/npm/darwin-x64/package.json
@@ -1,7 +1,7 @@
{
"name": "@opendal/lib-darwin-x64",
"repository": "git@github.com/apache/incubator-opendal.git",
- "version": "0.38.1",
+ "version": "0.39.0",
"os": [
"darwin"
],
diff --git a/bindings/nodejs/npm/linux-x64-gnu/package.json b/bindings/nodejs/npm/linux-x64-gnu/package.json
index ac0184a5b..8dfd59b36 100644
--- a/bindings/nodejs/npm/linux-x64-gnu/package.json
+++ b/bindings/nodejs/npm/linux-x64-gnu/package.json
@@ -1,6 +1,6 @@
{
"name": "@opendal/lib-linux-x64-gnu",
- "version": "0.38.1",
+ "version": "0.39.0",
"repository": "git@github.com/apache/incubator-opendal.git",
"os": [
"linux"
diff --git a/bindings/nodejs/npm/win32-x64-msvc/package.json b/bindings/nodejs/npm/win32-x64-msvc/package.json
index efb0072db..f6b41dfd2 100644
--- a/bindings/nodejs/npm/win32-x64-msvc/package.json
+++ b/bindings/nodejs/npm/win32-x64-msvc/package.json
@@ -1,6 +1,6 @@
{
"name": "@opendal/lib-win32-x64-msvc",
- "version": "0.38.1",
+ "version": "0.39.0",
"repository": "git@github.com/apache/incubator-opendal.git",
"os": [
"win32"
diff --git a/bindings/nodejs/package.json b/bindings/nodejs/package.json
index 09c852fb5..2277ebdea 100644
--- a/bindings/nodejs/package.json
+++ b/bindings/nodejs/package.json
@@ -1,7 +1,7 @@
{
"name": "opendal",
"author": "OpenDAL Contributors <de...@opendal.apache.org>",
- "version": "0.38.1",
+ "version": "0.39.0",
"license": "Apache-2.0",
"main": "index.js",
"types": "index.d.ts",
diff --git a/core/src/docs/upgrade.md b/core/src/docs/upgrade.md
index 1f98e156c..38fbb11c9 100644
--- a/core/src/docs/upgrade.md
+++ b/core/src/docs/upgrade.md
@@ -1,3 +1,7 @@
+# Upgrade to v0.39
+
+There are no public API changes.
+
# Upgrade to v0.38
There are no public API changes.
[incubator-opendal] 02/03: Update upgrade
Posted by ju...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
junouyang pushed a commit to branch bump/v0.39.0
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
commit 5178333215c03fad21070d5d17f2b7d90205e880
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Mon Jul 31 15:30:24 2023 +0800
Update upgrade
Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
core/src/docs/upgrade.md | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/core/src/docs/upgrade.md b/core/src/docs/upgrade.md
index 38fbb11c9..c59c11004 100644
--- a/core/src/docs/upgrade.md
+++ b/core/src/docs/upgrade.md
@@ -1,6 +1,22 @@
# Upgrade to v0.39
-There are no public API changes.
+## Public API
+
+### Service S3 Role Arn Behavior
+
+In PR #2687, OpenDAL changed the behavior when `role_arn` has been specified.
+
+OpenDAL used to override role_arn simply. But since this version, OpenDAL will make sure to use assume_role with specified `role_arn` and `external_id` (if supplied).
+
+### RetryLayer supports RetryInterceptor
+
+In PR #2666, `RetryLayer` supports `RetryInterceptor`. To implement this change, `RetryLayer` changed it's in-memory layout by adding a new generic parameter `I` to `RetryLayer<I>`.
+
+Users who stores `RetryLayer` in struct or enum will need to change the type if they don't want to use default behavior.
+
+## Raw API
+
+In PR #2698, OpenDAL re-org the internal structure of `opendal::raw::oio` and changed some APIs name.
# Upgrade to v0.38
[incubator-opendal] 03/03: chore: update changelog
Posted by ju...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
junouyang pushed a commit to branch bump/v0.39.0
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
commit fe77658b3c364004a4e140092baaa59c835f0ed0
Author: owl <ou...@gmail.com>
AuthorDate: Mon Jul 31 18:46:56 2023 +0800
chore: update changelog
Signed-off-by: owl <ou...@gmail.com>
---
CHANGELOG.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9a6f5dec0..93dc20e54 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -30,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
* feat(layers): support await_tree instrument by @oowl in https://github.com/apache/incubator-opendal/pull/2623
* feat(tests): Extract fuzz test of #2717 by @Xuanwo in https://github.com/apache/incubator-opendal/pull/2720
* feat: oss multipart uploads write by @parkma99 in https://github.com/apache/incubator-opendal/pull/2723
+* feat: add override_content_type by @G-XD in https://github.com/apache/incubator-opendal/pull/2734
### Changed
* refactor(services/redis): Polish features of redis by @Xuanwo in https://github.com/apache/incubator-opendal/pull/2681
* refactor(services/s3): Check header first for region detect by @Xuanwo in https://github.com/apache/incubator-opendal/pull/2691
@@ -43,9 +44,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
* fix(services/obs): remove content-length check in backend by @suyanhanx in https://github.com/apache/incubator-opendal/pull/2686
* fix: fix `HADOOP_CONF_DIR` setting in guidance document by @wcy-fdu in https://github.com/apache/incubator-opendal/pull/2713
* fix: Seek before the start of file should be invalid by @Xuanwo in https://github.com/apache/incubator-opendal/pull/2718
+* fix(layer/minitrace): fix doctest by @andylokandy in https://github.com/apache/incubator-opendal/pull/2728
### Docs
* docs: add instructions to fix wrong vote mail and uploads by @ClSlaid in https://github.com/apache/incubator-opendal/pull/2682
* doc(services/tikv): add tikv service backend to readme by @oowl in https://github.com/apache/incubator-opendal/pull/2711
+* docs(bindings/java): improve safety doc for get_current_env by @tisonkun in https://github.com/apache/incubator-opendal/pull/2733
### CI
* ci(services/webdav): Setup integration test for owncloud by @dqhl76 in https://github.com/apache/incubator-opendal/pull/2659
* ci: Fix unexpected error in owncloud by @Xuanwo in https://github.com/apache/incubator-opendal/pull/2663
@@ -61,6 +64,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
* chore(download): update version 0.38.1 by @suyanhanx in https://github.com/apache/incubator-opendal/pull/2714
* chore(service/minitrace): update to v0.5.0 by @andylokandy in https://github.com/apache/incubator-opendal/pull/2725
+
## [v0.38.1] - 2023-07-14
### Added