diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a7ad3c7..64bbaef6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 7.10.1 (2023-08-04) +* 修复部分 API 调用中间件合并失败(#417) + ## 7.10.0 (2023-06-20) * 对象存储,新增请求中间件逻辑,方便拓展请求逻辑 * 对象存储,新增备用 UC 域名用于查询区域域名 diff --git a/autoload.php b/autoload.php index b553d1c0..9efddd78 100644 --- a/autoload.php +++ b/autoload.php @@ -16,3 +16,4 @@ function classLoader($class) spl_autoload_register('classLoader'); require_once __DIR__ . '/src/Qiniu/functions.php'; +require_once __DIR__ . '/src/Qiniu/Http/Middleware/Middleware.php'; diff --git a/composer.json b/composer.json index f32512f6..6ed0ab54 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,8 @@ "Qiniu\\": "src/Qiniu" }, "files": [ - "src/Qiniu/functions.php" + "src/Qiniu/functions.php", + "src/Qiniu/Http/Middleware/Middleware.php" ] } } diff --git a/src/Qiniu/Config.php b/src/Qiniu/Config.php index 0bc20567..d274b2bc 100644 --- a/src/Qiniu/Config.php +++ b/src/Qiniu/Config.php @@ -3,7 +3,7 @@ final class Config { - const SDK_VER = '7.10.0'; + const SDK_VER = '7.10.1'; const BLOCK_SIZE = 4194304; //4*1024*1024 分块上传块大小,该参数为接口规格,不能修改