From 84af1d347ddeb8127d8f8f5acd1b38f221ea5915 Mon Sep 17 00:00:00 2001 From: messense Date: Fri, 1 Apr 2022 18:15:22 +0800 Subject: [PATCH] Bump version to 1.3.1 --- .bumpversion.cfg | 2 +- CHANGELOG.md | 4 + Cargo.lock | 79 ++++++++++++-------- Cargo.toml | 2 +- README.md | 14 ++-- merlin/config.json.js | 2 +- openwrt/aliyundrive-webdav/Makefile | 2 +- openwrt/luci-app-aliyundrive-webdav/Makefile | 2 +- snap/snapcraft.yaml | 2 +- 9 files changed, 64 insertions(+), 45 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 5b4c7530a6..cd76e1b634 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -2,4 +2,4 @@ files = Cargo.toml README.md openwrt/aliyundrive-webdav/Makefile openwrt/luci-app-aliyundrive-webdav/Makefile merlin/config.json.js snap/snapcraft.yaml commit = False tag = False -current_version = 1.3.0 +current_version = 1.3.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 74da7777f7..7e0fcc350c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## 1.3.1 + +* 降低获取文件下载地址接口调用次数 + ## 1.3.0 * 支持下载 `.livp` 格式文件 diff --git a/Cargo.lock b/Cargo.lock index 8b12c0d3d4..f419e3e600 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -19,7 +19,7 @@ dependencies = [ [[package]] name = "aliyundrive-webdav" -version = "1.3.0" +version = "1.3.1" dependencies = [ "anyhow", "bytes", @@ -220,9 +220,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clap" -version = "3.1.6" +version = "3.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8c93436c21e4698bacadf42917db28b23017027a4deccb35dbe47a7e7840123" +checksum = "c67e7973e74896f4bba06ca2dcfd28d54f9cb8c035e940a32b88ed48f5f5ecf2" dependencies = [ "atty", "bitflags", @@ -238,9 +238,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "3.1.4" +version = "3.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da95d038ede1a964ce99f49cbe27a7fb538d1da595e4b4f70b8c8f338d17bf16" +checksum = "a3aab4734e083b809aaf5794e14e756d1c798d2c69c7f7de7a09a2f5214993c1" dependencies = [ "heck", "proc-macro-error", @@ -576,9 +576,9 @@ checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" [[package]] name = "h2" -version = "0.3.12" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62eeb471aa3e3c9197aa4bfeabfe02982f6dc96f750486c0bb0009ac58b26d2b" +checksum = "37a82c6d637fc9515a4694bbf1cb2457b79d81ce52b3108bdeea58b07dd34a57" dependencies = [ "bytes", "fnv", @@ -589,7 +589,7 @@ dependencies = [ "indexmap", "slab", "tokio", - "tokio-util", + "tokio-util 0.7.1", "tracing", ] @@ -742,9 +742,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "1.8.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282a6247722caba404c065016bbfa522806e51714c34f5dfc3e4a3a46fcb4223" +checksum = "0f647032dfaa1f8b6dc29bd3edb7bbef4861b8b8007ebb118d6db284fd59f6ee" dependencies = [ "autocfg", "hashbrown", @@ -794,10 +794,11 @@ checksum = "efaa7b300f3b5fe8eb6bf21ce3895e1751d9665086af2d64b42f19701015ff4f" [[package]] name = "lock_api" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88943dd7ef4a2e5a4bfa2753aaab3013e34ce2533d1996fb18ef591e315e2b3b" +checksum = "327fa5b6a6940e4699ec49a9beae1ea4845c6bab9314e4f84ac68742139d8c53" dependencies = [ + "autocfg", "scopeguard", ] @@ -1066,7 +1067,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87f5ec2493a61ac0506c0f4199f99070cbe83857b0337006a30f3e6719b8ef58" dependencies = [ "lock_api", - "parking_lot_core 0.9.1", + "parking_lot_core 0.9.2", ] [[package]] @@ -1085,9 +1086,9 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.1" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28141e0cc4143da2443301914478dc976a61ffdb3f043058310c70df2fed8954" +checksum = "995f667a6c822200b0433ac218e05582f0e2efa1b922a3fd2fbaadc5f87bab37" dependencies = [ "cfg-if 1.0.0", "libc", @@ -1142,9 +1143,9 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "pkg-config" -version = "0.3.24" +version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58893f751c9b0412871a09abd62ecd2a00298c6c83befa223ef98c52aef40cbe" +checksum = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae" [[package]] name = "polling" @@ -1239,9 +1240,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.2.12" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ae183fc1b06c149f0c1793e1eb447c8b04bfe46d48e9e48bfb8d2d7ed64ecf0" +checksum = "62f25bc4c7e55e0b0b7a1d43fb893f4fa1361d0abe38b9ce4f323c2adfe6ef42" dependencies = [ "bitflags", ] @@ -1315,7 +1316,7 @@ dependencies = [ "tokio", "tokio-native-tls", "tokio-rustls", - "tokio-util", + "tokio-util 0.6.9", "url", "wasm-bindgen", "wasm-bindgen-futures", @@ -1759,6 +1760,20 @@ dependencies = [ "tokio", ] +[[package]] +name = "tokio-util" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0edfdeb067411dba2044da6d1cb2df793dd35add7888d73c16e3381ded401764" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "pin-project-lite", + "tokio", + "tracing", +] + [[package]] name = "tower-service" version = "0.3.1" @@ -2102,9 +2117,9 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows-sys" -version = "0.32.0" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3df6e476185f92a12c072be4a189a0210dcdcf512a1891d6dff9edb874deadc6" +checksum = "5acdd78cb4ba54c0045ac14f62d8f94a03d10047904ae2a40afa1e99d8f70825" dependencies = [ "windows_aarch64_msvc", "windows_i686_gnu", @@ -2115,33 +2130,33 @@ dependencies = [ [[package]] name = "windows_aarch64_msvc" -version = "0.32.0" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8e92753b1c443191654ec532f14c199742964a061be25d77d7a96f09db20bf5" +checksum = "17cffbe740121affb56fad0fc0e421804adf0ae00891205213b5cecd30db881d" [[package]] name = "windows_i686_gnu" -version = "0.32.0" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a711c68811799e017b6038e0922cb27a5e2f43a2ddb609fe0b6f3eeda9de615" +checksum = "2564fde759adb79129d9b4f54be42b32c89970c18ebf93124ca8870a498688ed" [[package]] name = "windows_i686_msvc" -version = "0.32.0" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "146c11bb1a02615db74680b32a68e2d61f553cc24c4eb5b4ca10311740e44172" +checksum = "9cd9d32ba70453522332c14d38814bceeb747d80b3958676007acadd7e166956" [[package]] name = "windows_x86_64_gnu" -version = "0.32.0" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c912b12f7454c6620635bbff3450962753834be2a594819bd5e945af18ec64bc" +checksum = "cfce6deae227ee8d356d19effc141a509cc503dfd1f850622ec4b0f84428e1f4" [[package]] name = "windows_x86_64_msvc" -version = "0.32.0" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "504a2476202769977a040c6364301a3f65d0cc9e3fb08600b2bda150a0488316" +checksum = "d19538ccc21819d01deaf88d6a17eae6596a12e9aafdbb97916fb49896d89de9" [[package]] name = "winreg" diff --git a/Cargo.toml b/Cargo.toml index 6673c52faa..c586d6c3ed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aliyundrive-webdav" -version = "1.3.0" +version = "1.3.1" edition = "2021" description = "WebDAV server for AliyunDrive" license = "MIT" diff --git a/README.md b/README.md index da074fdd44..9eb004a4d2 100644 --- a/README.md +++ b/README.md @@ -35,12 +35,12 @@ sudo snap install aliyundrive-webdav aarch64/arm/mipsel/x86_64/i686 等架构的版本,可以下载后使用 opkg 安装,以 nanopi r4s 为例: ```bash -wget https://github.com/messense/aliyundrive-webdav/releases/download/v1.3.0/aliyundrive-webdav_1.3.0-1_aarch64_generic.ipk -wget https://github.com/messense/aliyundrive-webdav/releases/download/v1.3.0/luci-app-aliyundrive-webdav_1.3.0_all.ipk -wget https://github.com/messense/aliyundrive-webdav/releases/download/v1.3.0/luci-i18n-aliyundrive-webdav-zh-cn_1.3.0-1_all.ipk -opkg install aliyundrive-webdav_1.3.0-1_aarch64_generic.ipk -opkg install luci-app-aliyundrive-webdav_1.3.0_all.ipk -opkg install luci-i18n-aliyundrive-webdav-zh-cn_1.3.0-1_all.ipk +wget https://github.com/messense/aliyundrive-webdav/releases/download/v1.3.1/aliyundrive-webdav_1.3.1-1_aarch64_generic.ipk +wget https://github.com/messense/aliyundrive-webdav/releases/download/v1.3.1/luci-app-aliyundrive-webdav_1.3.1_all.ipk +wget https://github.com/messense/aliyundrive-webdav/releases/download/v1.3.1/luci-i18n-aliyundrive-webdav-zh-cn_1.3.1-1_all.ipk +opkg install aliyundrive-webdav_1.3.1-1_aarch64_generic.ipk +opkg install luci-app-aliyundrive-webdav_1.3.1_all.ipk +opkg install luci-i18n-aliyundrive-webdav-zh-cn_1.3.1-1_all.ipk ``` 其它 CPU 架构的路由器可在 [GitHub Releases](https://github.com/messense/aliyundrive-webdav/releases) 页面中查找对应的架构的主程序 ipk 文件下载安装, 常见 @@ -116,7 +116,7 @@ services: ```bash $ aliyundrive-webdav --help -aliyundrive-webdav 1.3.0 +aliyundrive-webdav 1.3.1 USAGE: aliyundrive-webdav [OPTIONS] diff --git a/merlin/config.json.js b/merlin/config.json.js index bc78836c8c..af05c95871 100644 --- a/merlin/config.json.js +++ b/merlin/config.json.js @@ -4,5 +4,5 @@ "md5": "c0bac93db83f87293a1e4efb7aa5a97c", "module": "aliyundrivewebdav", "title": "阿里云盘 WebDAV", - "version": "1.3.0" + "version": "1.3.1" } diff --git a/openwrt/aliyundrive-webdav/Makefile b/openwrt/aliyundrive-webdav/Makefile index 58851b47f4..e213fd7208 100644 --- a/openwrt/aliyundrive-webdav/Makefile +++ b/openwrt/aliyundrive-webdav/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=aliyundrive-webdav -PKG_VERSION:=1.3.0 +PKG_VERSION:=1.3.1 PKG_RELEASE:=$(AUTORELEASE) PKG_LICENSE:=MIT diff --git a/openwrt/luci-app-aliyundrive-webdav/Makefile b/openwrt/luci-app-aliyundrive-webdav/Makefile index 24fd0386e1..8390ac29dd 100644 --- a/openwrt/luci-app-aliyundrive-webdav/Makefile +++ b/openwrt/luci-app-aliyundrive-webdav/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-aliyundrive-webdav -PKG_VERSION:=1.3.0 +PKG_VERSION:=1.3.1 PKG_RELEASE:=1 PKG_PO_VERSION:=$(PKG_VERSION)-$(PKG_RELEASE) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 0ed82895cc..fea7027a0f 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: aliyundrive-webdav -version: '1.3.0' +version: '1.3.1' summary: 阿里云盘 WebDAV description: | 阿里云盘 WebDAV 服务