diff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.yml index c76b39e5..00f964e4 100644 --- a/.github/workflows/test-ci.yml +++ b/.github/workflows/test-ci.yml @@ -57,7 +57,7 @@ jobs: QINIU_TEST_BUCKET: ${{ secrets.QINIU_TEST_BUCKET }} QINIU_TEST_DOMAIN: ${{ secrets.QINIU_TEST_DOMAIN }} - - name: Print mock servion log + - name: Print mock server log if: ${{ failure() }} run: | cat phpd.log diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f750eac..0501b5aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 7.12.1 (2024-02-21) +* 对象存储,添加上传策略部分字段 + ## 7.12.0 (2023-12-11) * 对象存储,支持归档直读存储 * 对象存储,批量操作支持自动查询 rs 服务域名 diff --git a/src/Qiniu/Auth.php b/src/Qiniu/Auth.php index d99c365c..347595e4 100644 --- a/src/Qiniu/Auth.php +++ b/src/Qiniu/Auth.php @@ -202,6 +202,10 @@ public function uploadToken($bucket, $key = null, $expires = 3600, $policy = nul 'deleteAfterDays', 'fileType', 'isPrefixalScope', + + 'transform', // deprecated + 'transformFallbackKey', // deprecated + 'transformFallbackMode', // deprecated ); private static function copyPolicy(&$policy, $originPolicy, $strictPolicy) diff --git a/src/Qiniu/Config.php b/src/Qiniu/Config.php index 75dfc949..e4d597e0 100644 --- a/src/Qiniu/Config.php +++ b/src/Qiniu/Config.php @@ -4,7 +4,7 @@ final class Config { - const SDK_VER = '7.12.0'; + const SDK_VER = '7.12.1'; const BLOCK_SIZE = 4194304; //4*1024*1024 分块上传块大小,该参数为接口规格,不能修改