Skip to content

Commit 88952a6

Browse files
authored
add some put policy fields (#426)
1 parent 96971af commit 88952a6

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

.github/workflows/test-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
QINIU_TEST_BUCKET: ${{ secrets.QINIU_TEST_BUCKET }}
5858
QINIU_TEST_DOMAIN: ${{ secrets.QINIU_TEST_DOMAIN }}
5959

60-
- name: Print mock servion log
60+
- name: Print mock server log
6161
if: ${{ failure() }}
6262
run: |
6363
cat phpd.log

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 7.12.1 (2024-02-21)
4+
* 对象存储,添加上传策略部分字段
5+
36
## 7.12.0 (2023-12-11)
47
* 对象存储,支持归档直读存储
58
* 对象存储,批量操作支持自动查询 rs 服务域名

src/Qiniu/Auth.php

+4
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,10 @@ public function uploadToken($bucket, $key = null, $expires = 3600, $policy = nul
202202
'deleteAfterDays',
203203
'fileType',
204204
'isPrefixalScope',
205+
206+
'transform', // deprecated
207+
'transformFallbackKey', // deprecated
208+
'transformFallbackMode', // deprecated
205209
);
206210

207211
private static function copyPolicy(&$policy, $originPolicy, $strictPolicy)

src/Qiniu/Config.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
final class Config
66
{
7-
const SDK_VER = '7.12.0';
7+
const SDK_VER = '7.12.1';
88

99
const BLOCK_SIZE = 4194304; //4*1024*1024 分块上传块大小,该参数为接口规格,不能修改
1010

0 commit comments

Comments
 (0)