From dfa6893417c126735d9fbeffdb54fe14671dc4d3 Mon Sep 17 00:00:00 2001 From: lihsai0 Date: Fri, 4 Aug 2023 21:33:41 +0800 Subject: [PATCH] fix lost require middleware (#418) --- CHANGELOG.md | 3 +++ autoload.php | 1 + composer.json | 3 ++- src/Qiniu/Config.php | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) 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 分块上传块大小,该参数为接口规格,不能修改