This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new 104dfd06 Bump to version 0.31 (#1916)
104dfd06 is described below

commit 104dfd06b99a52b4f6050e683db83f009c33c3b3
Author: Xuanwo <[email protected]>
AuthorDate: Wed Apr 12 11:50:26 2023 +0800

    Bump to version 0.31 (#1916)
    
    * Bump to version 0.31
    
    Signed-off-by: Xuanwo <[email protected]>
    
    * Fix typo
    
    Signed-off-by: Xuanwo <[email protected]>
    
    ---------
    
    Signed-off-by: Xuanwo <[email protected]>
---
 CHANGELOG.md                                    | 83 +++++++++++++++++++++++++
 Cargo.lock                                      | 10 +--
 Cargo.toml                                      |  5 +-
 bin/oli/Cargo.toml                              |  2 +-
 bindings/c/Cargo.toml                           |  2 +-
 bindings/java/Cargo.toml                        |  2 +-
 bindings/nodejs/Cargo.toml                      |  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 +-
 bindings/object_store/Cargo.toml                |  2 +-
 bindings/python/Cargo.toml                      |  2 +-
 bindings/ruby/Cargo.toml                        |  2 +-
 core/src/docs/upgrade.md                        | 28 +++++++++
 16 files changed, 132 insertions(+), 18 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6cd403ae..bde5f902 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,88 @@ 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.31.0] - 2023-04-12
+
+### Added
+
+- feat(bindings/java): add cucumber test (#1809)
+- feat(bindings/java): setup Java CI (#1823)
+- feat: add if_none_match support (#1832)
+- feat: Retry when some of batch operations are failing (#1840)
+- feat: add writer support for aliyun oss (#1842)
+- feat(core): Add Copy Support (#1841)
+- feat(bindings/c): fix c bindings makefile (#1849)
+- feat(core): add behavior tests for copy & blocking_copy (#1852)
+- feat(s3): allow users to specify storage_class (#1854)
+- feat(s3): Support copy (#1856)
+- Add check for s3 bucket name (#1857)
+- feat(core): Support rename (#1862)
+- feat(bindings/nodejs): add `copy` and `rename` (#1866)
+- feat(azblob): Support copy (#1868)
+- feat(gcs): copy support for GCS (#1869)
+- feat(bindings/c): framework of add basic io and init logics (#1861)
+- feat(webdav): support copy (#1870)
+- feat(services/oss): Add Copy Support (#1874)
+- feat(services/obs): Add Copy Support (#1876)
+- feat(services/webdav): Support Rename (#1878)
+- binding/c: parse opendal to use typed BlockingOperator (#1881)
+- binding/c: clean up comments and type assertion for BlockingOperator (#1883)
+- binding(python): Support python binding benchmark for opendal (#1882)
+- feat(bindings/c): add support for free heap-allocated operator (#1890)
+- feat(binding/c): add is_exist to operator (#1892)
+- feat(bindings/java): add Stat support (#1894)
+- feat(services/gcs): Add customed token loader support (#1908)
+- feat(services/oss): remove unused builder prop allow_anonymous (#1913)
+- feat: Add feature flag for all services (#1915)
+
+### Changed
+
+- refactor(core): Simplify the usage of BatchOperation and BatchResults (#1843)
+- refactor: Use reqwest blocking client instead of ureq (#1853)
+- refactor: Bump MSRV to 1.64 (#1864)
+- refactor: Remove not used blocking http client (#1895)
+- refactor: Change presign to async for future refactor (#1900)
+- refactor(services/gcs): Migrate to async reqsign (#1906)
+- refactor(services/azdfs): Migrate to async reqsign (#1903)
+- refactor(services/azblob): Adopt new reqsign  (#1902)
+- refactor(services/s3): Migrate to async reqsign (#1909)
+- refactor(services/oss): Migrate to async reqsign (#1911)
+- refactor: Use chrono instead of time to work well with ecosystem (#1912)
+- refactor(service/obs): Migrate obs to async reqsign (#1914)
+
+### Fixed
+
+- fix: podling website check (#1838)
+- fix(website): copyright update (#1839)
+- fix(core): Add checks before doing copy (#1845)
+- fix(core): S3 Copy should set SSE headers (#1860)
+- fix: Fix presign related unit tests (#1910)
+
+### Docs
+
+- docs(bindings/nodejs): fix build failed (#1819)
+- docs: fix several typos in the documentation (#1846)
+- doc(bindings/nodejs): update presign example in doc (#1901)
+
+### CI
+
+- ci: Fix build for nodejs binding on macos (#1813)
+- binding/c: build: add phony to makefile, and some improve (#1850)
+- ci: upgrade hawkeye action (#1834)
+
+### Chore
+
+- chore(bindings/nodejs): add deno benchmark (#1814)
+- chore: Add CODEOWNERS (#1817)
+- chore(deps): bump opentelemetry-jaeger from 0.16.0 to 0.18.0 (#1829)
+- chore(deps): bump opentelemetry from 0.17.0 to 0.19.0 (#1830)
+- chore(deps): bump tokio from 1.26.0 to 1.27.0 (#1828)
+- chore(deps): bump napi-derive from 2.12.1 to 2.12.2 (#1827)
+- chore(deps): bump async-trait from 0.1.67 to 0.1.68 (#1826)
+- chore: Cleanup code for oss writer (#1847)
+- chore: Make clippy happy (#1865)
+- binding(python): Format python code in binding (#1885)
+
 ## [v0.30.5] - 2023-03-31
 
 ### Added
@@ -1758,6 +1840,7 @@ and this project adheres to [Semantic 
Versioning](https://semver.org/).
 
 Hello, OpenDAL!
 
+[v0.31.0]: 
https://github.com/apache/incubator-opendal/compare/v0.30.5...v0.31.0
 [v0.30.5]: 
https://github.com/apache/incubator-opendal/compare/v0.30.4...v0.30.5
 [v0.30.4]: 
https://github.com/apache/incubator-opendal/compare/v0.30.3...v0.30.4
 [v0.30.3]: 
https://github.com/apache/incubator-opendal/compare/v0.30.2...v0.30.3
diff --git a/Cargo.lock b/Cargo.lock
index e84a9799..14bc3df7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2150,7 +2150,7 @@ dependencies = [
 
 [[package]]
 name = "object_store_opendal"
-version = "0.30.5"
+version = "0.31.0"
 dependencies = [
  "async-trait",
  "bytes",
@@ -2162,7 +2162,7 @@ dependencies = [
 
 [[package]]
 name = "oli"
-version = "0.30.5"
+version = "0.31.0"
 dependencies = [
  "anyhow",
  "assert_cmd",
@@ -2193,7 +2193,7 @@ checksum = 
"0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
 
 [[package]]
 name = "opendal"
-version = "0.30.5"
+version = "0.31.0"
 dependencies = [
  "anyhow",
  "async-compat",
@@ -2267,7 +2267,7 @@ dependencies = [
 
 [[package]]
 name = "opendal-nodejs"
-version = "0.30.5"
+version = "0.31.0"
 dependencies = [
  "futures",
  "napi",
@@ -2278,7 +2278,7 @@ dependencies = [
 
 [[package]]
 name = "opendal-python"
-version = "0.30.5"
+version = "0.31.0"
 dependencies = [
  "chrono",
  "futures",
diff --git a/Cargo.toml b/Cargo.toml
index cd8e3e95..098f4f29 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -39,4 +39,7 @@ homepage = "https://opendal.apache.org/";
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-opendal";
 rust-version = "1.64"
-version = "0.30.5"
+version = "0.31.0"
+
+[workspace.dependencies]
+opendal = { version = "0.31", path = "core" }
diff --git a/bin/oli/Cargo.toml b/bin/oli/Cargo.toml
index 2d64deb5..9efc75e1 100644
--- a/bin/oli/Cargo.toml
+++ b/bin/oli/Cargo.toml
@@ -56,7 +56,7 @@ dirs = "5.0.0"
 env_logger = "0.10"
 futures = "0.3"
 log = "0.4"
-opendal = { version = "0.30", path = "../../core" }
+opendal.workspace = true
 serde = { version = "1", features = ["derive"] }
 tokio = { version = "1.27", features = [
   "fs",
diff --git a/bindings/c/Cargo.toml b/bindings/c/Cargo.toml
index 0992763d..cc9f8698 100644
--- a/bindings/c/Cargo.toml
+++ b/bindings/c/Cargo.toml
@@ -36,4 +36,4 @@ cbindgen = "0.24.0"
 
 [dependencies]
 bytes = "1.4.0"
-opendal = { version = "0.30", path = "../../core" }
+opendal.workspace = true
diff --git a/bindings/java/Cargo.toml b/bindings/java/Cargo.toml
index 66b0a5b8..af7a14f4 100644
--- a/bindings/java/Cargo.toml
+++ b/bindings/java/Cargo.toml
@@ -33,4 +33,4 @@ doc = false
 
 [dependencies]
 jni = "0.21.1"
-opendal = { version = "0.30", path = "../../core" }
+opendal.workspace = true
diff --git a/bindings/nodejs/Cargo.toml b/bindings/nodejs/Cargo.toml
index 6931cbe0..4ae89be0 100644
--- a/bindings/nodejs/Cargo.toml
+++ b/bindings/nodejs/Cargo.toml
@@ -38,7 +38,7 @@ napi = { version = "2.11.3", default-features = false, 
features = [
   "async",
 ] }
 napi-derive = "2.12.2"
-opendal = { version = "0.30", path = "../../core" }
+opendal.workspace = true
 
 [build-dependencies]
 napi-build = "2"
diff --git a/bindings/nodejs/npm/darwin-arm64/package.json 
b/bindings/nodejs/npm/darwin-arm64/package.json
index d4821411..c4c935fa 100644
--- a/bindings/nodejs/npm/darwin-arm64/package.json
+++ b/bindings/nodejs/npm/darwin-arm64/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@opendal/lib-darwin-arm64",
-  "version": "0.30.5",
+  "version": "0.31.0",
   "os": [
     "darwin"
   ],
diff --git a/bindings/nodejs/npm/darwin-x64/package.json 
b/bindings/nodejs/npm/darwin-x64/package.json
index a53605a8..2d32e3d3 100644
--- a/bindings/nodejs/npm/darwin-x64/package.json
+++ b/bindings/nodejs/npm/darwin-x64/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@opendal/lib-darwin-x64",
-  "version": "0.30.5",
+  "version": "0.31.0",
   "os": [
     "darwin"
   ],
diff --git a/bindings/nodejs/npm/linux-x64-gnu/package.json 
b/bindings/nodejs/npm/linux-x64-gnu/package.json
index 71ef5b6d..7e47b7b0 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.30.5",
+  "version": "0.31.0",
   "os": [
     "linux"
   ],
diff --git a/bindings/nodejs/npm/win32-x64-msvc/package.json 
b/bindings/nodejs/npm/win32-x64-msvc/package.json
index 412dba82..12a830b8 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.30.5",
+  "version": "0.31.0",
   "os": [
     "win32"
   ],
diff --git a/bindings/nodejs/package.json b/bindings/nodejs/package.json
index 7f8944a0..ac378af2 100644
--- a/bindings/nodejs/package.json
+++ b/bindings/nodejs/package.json
@@ -1,7 +1,7 @@
 {
   "name": "opendal",
   "author": "OpenDAL Contributors <[email protected]>",
-  "version": "0.30.5",
+  "version": "0.31.0",
   "license": "Apache-2.0",
   "main": "index.js",
   "types": "index.d.ts",
diff --git a/bindings/object_store/Cargo.toml b/bindings/object_store/Cargo.toml
index e6c172f7..f7f76b8f 100644
--- a/bindings/object_store/Cargo.toml
+++ b/bindings/object_store/Cargo.toml
@@ -32,7 +32,7 @@ async-trait = "0.1"
 bytes = "1"
 futures = "0.3"
 object_store = "0.5"
-opendal = { version = "0.30", path = "../../core" }
+opendal.workspace = true
 tokio = "1"
 
 [dev-dependencies]
diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml
index 4b147cd9..f5111fea 100644
--- a/bindings/python/Cargo.toml
+++ b/bindings/python/Cargo.toml
@@ -34,7 +34,7 @@ doc = false
 [dependencies]
 chrono = { version = "0.4.24", default-features = false, features = ["std"] }
 futures = "0.3.27"
-opendal = { version = "0.30", path = "../../core" }
+opendal.workspace = true
 pyo3 = { version = "0.18", features = ["chrono"] }
 pyo3-asyncio = { version = "0.18", features = ["tokio-runtime"] }
 tokio = "1"
diff --git a/bindings/ruby/Cargo.toml b/bindings/ruby/Cargo.toml
index 5058e957..f888f788 100644
--- a/bindings/ruby/Cargo.toml
+++ b/bindings/ruby/Cargo.toml
@@ -34,4 +34,4 @@ name = "opendal_ruby"
 
 [dependencies]
 magnus = { version = "0.5", features = ["bytes-crate"] }
-opendal = { version = "0.30", path = "../../core" }
+opendal.workspace = true
diff --git a/core/src/docs/upgrade.md b/core/src/docs/upgrade.md
index 2f081014..f142afdf 100644
--- a/core/src/docs/upgrade.md
+++ b/core/src/docs/upgrade.md
@@ -1,3 +1,31 @@
+# Upgrade to v0.31
+
+In version v0.31 of OpenDAL, we made some internal refactoring to improve its 
compatibility with the ecosystem.
+
+## MSRV Bump
+
+We increased the MSRV to 1.64 from v0.31 onwards. Although it is still 
possible to build OpenDAL under older rustc versions, we cannot guarantee that 
any issues related to them will be fixed.
+
+## Accept `std::time::Duration` instead
+
+Previously, OpenDAL accepted `time::Duration` as input for `presign_xxx`. 
However, since v0.31, we have changed this to accept `std::time::Duration` so 
that users do not need to depend on `time`. Internally, we migrated from `time` 
to `chrono` for better integration with other parts of the ecosystem.
+
+## `disable_ec2_metadata` for services s3
+
+We have added a new configuration option called `disable_ec2_metadata` for the 
S3 service in response to a mistake where it was mixed up with another option 
called `disable_config_load`. Users who want to disable loading credentials 
from EC2 metadata should set this option instead.
+
+## Services Feature Flag
+
+Starting from v0.31, all services in OpenDAL are split into different feature 
flags. To enable only S3 support, use the following TOML configuration:
+
+```toml
+opendal = {
+    version = "0.31",
+    default-features = false,
+    features = ["services-s3"]
+}
+```
+
 # Upgrade to v0.30
 
 In version 0.30, we made significant breaking changes by removing objects. Our 
goal in doing so was to provide our users with APIs that are easier to 
understand and maintain.

Reply via email to