Skip to content

Commit

Permalink
add some deprecated PutPolicy fields
Browse files Browse the repository at this point in the history
  • Loading branch information
lihsai0 committed Feb 21, 2024
1 parent 5195f88 commit ba9657d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 7.12.1 (2024-02-21)
* 对象存储,添加上传策略部分字段

## 7.12.0 (2023-12-11)
* 对象存储,支持归档直读存储
* 对象存储,批量操作支持自动查询 rs 服务域名
Expand Down
4 changes: 4 additions & 0 deletions src/Qiniu/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/Qiniu/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 分块上传块大小,该参数为接口规格,不能修改

Expand Down

0 comments on commit ba9657d

Please sign in to comment.