From 402aae72036c46499293b5bbc9512cf90abb7b9f Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Sat, 6 May 2023 23:13:15 +0800 Subject: [PATCH] Bump to version 0.33.3 (#2212) * Bump to version 0.33.3 Signed-off-by: Xuanwo * Update Signed-off-by: Xuanwo --------- Signed-off-by: Xuanwo --- CHANGELOG.md | 56 ++++++++++++++++++ Cargo.lock | 12 ++-- Cargo.toml | 2 +- bindings/nodejs/npm/darwin-arm64/package.json | 2 +- bindings/nodejs/npm/darwin-x64/package.json | 2 +- .../nodejs/npm/linux-x64-gnu/package.json | 2 +- .../nodejs/npm/win32-x64-msvc/package.json | 2 +- bindings/nodejs/package.json | 2 +- scripts/README.md | 2 +- scripts/check.sh | 57 ++++++++++--------- 10 files changed, 98 insertions(+), 41 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c15435c6218..e667be0ffb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,61 @@ 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.33.3] - 2023-05-06 + +### Added + +- feat(services/onedrive): Add read and write support for OneDrive (#2129) +- test(core): test for `read_with_override_cache_control` (#2155) +- feat(http_util): Implement multipart/form-data support (#2157) +- feat(http_util): Implement multipart/mixed support (#2161) +- RFC-2133: Introduce Append API (#2133) +- feat(services/sftp): Add read/write/stat support for sftp (#2186) +- feat(services/gdrive): Add read & write & delete support for GoogleDrive (#2184) +- feat(services/vercel): Add vercel remote cache support (#2193) +- feat(tests): Enable supabase integration tests (#2190) +- feat(core): merge scan and list (#2214) + +### Changed + +- refactor(java): refactor java code for java binding (#2145) +- refactor(layers/logging): parsing level str (#2160) +- refactor: Move not initiated logic to utils instead (#2196) +- refactor(services/memcached): Rewrite memecached connection entirely (#2204) + +### Fixed + +- fix(service/s3): set retryable on batch (#2171) +- fix(services/supabase): Supabase ci fix (#2200) + +### Docs + +- docs(website): try to add opendal logo (#2159) +- doc: update vision to be more clear (#2164) +- docs: Refactor `Contributing` and add `Developing` (#2169) +- docs: Merge DEVELOPING into CONTRIBUTING (#2172) +- docs: fix some grammar errors in the doc of Operator (#2173) +- docs(nodejs): Add CONTRIBUTING docs (#2174) +- docs: Add CONTRIBUTING for python (#2188) + +### CI + +- ci: Use microsoft rust devcontainer instead (#2165) +- ci(devcontainer): Install development deps (#2167) +- chore: set workspace default members (#2168) +- ci: Setup vercel artifacts integration tests (#2197) +- ci: Remove not used odev tools (#2202) +- ci: Add tools to generate NOTICE and all deps licenses (#2205) +- ci: use Temurin JDK 11 to build the bindings-java (#2213) + +### Chore + +- chore(deps): bump clap from 4.1.11 to 4.2.5 (#2183) +- chore(deps): bump futures from 0.3.27 to 0.3.28 (#2181) +- chore(deps): bump assert_cmd from 2.0.10 to 2.0.11 (#2180) +- chore: Refactor behavior test (#2189) +- chore: update readme for more information that is more friendly to newcomers (#2217) + ## [v0.33.2] - 2023-04-27 ### Added @@ -2012,6 +2067,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/). Hello, OpenDAL! +[v0.33.3]: https://github.com/apache/incubator-opendal/compare/v0.33.2...v0.33.3 [v0.33.2]: https://github.com/apache/incubator-opendal/compare/v0.33.1...v0.33.2 [v0.33.1]: https://github.com/apache/incubator-opendal/compare/v0.33.0...v0.33.1 [v0.33.0]: https://github.com/apache/incubator-opendal/compare/v0.32.0...v0.33.0 diff --git a/Cargo.lock b/Cargo.lock index 6647caf466b..9ed71f03343 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2427,7 +2427,7 @@ dependencies = [ [[package]] name = "oay" -version = "0.33.2" +version = "0.33.3" dependencies = [ "anyhow", "clap 4.2.5", @@ -2464,7 +2464,7 @@ dependencies = [ [[package]] name = "object_store_opendal" -version = "0.33.2" +version = "0.33.3" dependencies = [ "async-trait", "bytes", @@ -2476,7 +2476,7 @@ dependencies = [ [[package]] name = "oli" -version = "0.33.2" +version = "0.33.3" dependencies = [ "anyhow", "assert_cmd", @@ -2507,7 +2507,7 @@ checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575" [[package]] name = "opendal" -version = "0.33.2" +version = "0.33.3" dependencies = [ "anyhow", "async-compat", @@ -2589,7 +2589,7 @@ dependencies = [ [[package]] name = "opendal-nodejs" -version = "0.33.2" +version = "0.33.3" dependencies = [ "futures", "napi", @@ -2600,7 +2600,7 @@ dependencies = [ [[package]] name = "opendal-python" -version = "0.33.2" +version = "0.33.3" dependencies = [ "chrono", "futures", diff --git a/Cargo.toml b/Cargo.toml index 696a5bbc19c..3758de7bdb1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ homepage = "https://opendal.apache.org/" license = "Apache-2.0" repository = "https://github.com/apache/incubator-opendal" rust-version = "1.64" -version = "0.33.2" +version = "0.33.3" [workspace.dependencies] opendal = { version = "0.33", path = "core" } diff --git a/bindings/nodejs/npm/darwin-arm64/package.json b/bindings/nodejs/npm/darwin-arm64/package.json index 2f97ecf241b..de92a0a4883 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.33.2", + "version": "0.33.3", "os": [ "darwin" ], diff --git a/bindings/nodejs/npm/darwin-x64/package.json b/bindings/nodejs/npm/darwin-x64/package.json index 79362ee48df..5b160cf1404 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.33.2", + "version": "0.33.3", "os": [ "darwin" ], diff --git a/bindings/nodejs/npm/linux-x64-gnu/package.json b/bindings/nodejs/npm/linux-x64-gnu/package.json index c83097eae1f..0df9ca38105 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.33.2", + "version": "0.33.3", "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 d10265a6b9f..7e0e1a8652b 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.33.2", + "version": "0.33.3", "repository": "git@github.com/apache/incubator-opendal.git", "os": [ "win32" diff --git a/bindings/nodejs/package.json b/bindings/nodejs/package.json index 7b8a1ae7824..025b28a86fc 100644 --- a/bindings/nodejs/package.json +++ b/bindings/nodejs/package.json @@ -1,7 +1,7 @@ { "name": "opendal", "author": "OpenDAL Contributors ", - "version": "0.33.2", + "version": "0.33.3", "license": "Apache-2.0", "main": "index.js", "types": "index.d.ts", diff --git a/scripts/README.md b/scripts/README.md index 327d967886f..2eecd635b57 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -22,7 +22,7 @@ OPENDAL_VERSION=0.30.2 OPENDAL_VERSION_RC=rc1 ./scripts/release.sh ## Check ```shell -OPENDAL_VERSION=0.30.2 OPENDAL_VERSION_RC=rc1 ./scripts/check.sh +./scripts/check.sh apache-incubator-opendal-0.33.3-src.tar.gz ``` > Before running the check, please ensure that you have completed the following preparations. diff --git a/scripts/check.sh b/scripts/check.sh index d3dd51d0413..3b935a1b8d9 100755 --- a/scripts/check.sh +++ b/scripts/check.sh @@ -18,37 +18,38 @@ set -e -if [ -z "${OPENDAL_VERSION}" ]; then - echo "OPENDAL_VERSION is unset" - exit 1 -else - echo "var is set to '$OPENDAL_VERSION'" +YELLOW="\033[37;1m" +GREEN="\033[32;1m" +ENDCOLOR="\033[0m" + +if [ "$#" -ne 1 ]; then + echo "Usage: $0 {YOUR RELEASE TAR FILE}" >&2 + exit 1 fi -# tar source code -release_version=${OPENDAL_VERSION} -# rc versions -rc_version=${OPENDAL_VERSION_RC:rc1} -# Corresponding git repository branch -git_branch=release-${release_version}-${rc_version} +PKG=$1 -echo "> Checkout release" -svn co "https://dist.apache.org/repos/dist/dev/incubator/opendal/${release_version}-${rc_version}/" incubator-opendal-release-verify -cd incubator-opendal-release-verify +if [ ! -f "$PKG" ]; then + echo "File '$PKG' does not exist." + exit 1 +fi echo "> Check signature" -for i in *.tar.gz; do - echo "$i" - gpg --verify "$i.asc" "$i" -done +gpg --verify "$PKG.asc" "$PKG" + +if [ $? -eq 0 ] +then + printf $GREEN"Success to verify the gpg sign"$ENDCOLOR"\n" +else + printf $YELLOW"Failed to verify the gpg sign"$ENDCOLOR"\n" +fi + echo "> Check sha512sum" -for i in *.tar.gz; do - echo "$i" - sha512sum --check "$i.sha512" -done - -echo "> Check content" -tar -xvf "apache-incubator-opendal-${release_version}-src.tar.gz" -echo "> Check license" -cd "apache-incubator-opendal-${release_version}-src" -docker run -it --rm -v "$(pwd):/github/workspace" -u "$(id -u):$(id -g)" ghcr.io/korandoru/hawkeye-native check +sha512sum --check "$PKG.sha512" + +if [ $? -eq 0 ] +then + printf $GREEN"Success to verify the checksum"$ENDCOLOR"\n" +else + printf $YELLOW"Failed to verify the checksum"$ENDCOLOR"\n" +fi