Skip to content

Commit 58c1782

Browse files
authored
Prerelease2.4.0 (#233)
prerelease 2.4.0
1 parent 3a21def commit 58c1782

File tree

115 files changed

+1140
-415
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+1140
-415
lines changed

.github/workflows/php5.6.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/php7.1.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/workflows/php7.2.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
language: php
22
php:
3-
- 5.6
43
- 7.3
5-
- 7.4
6-
- 8.0
74
notifications:
85
email:
96
recipients:

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
cos-php-sdk-v5 Upgrade Guide
22
====================
3+
2.3.4 to 2.4.0
4+
---------
5+
- 新增文档转码功能,包括提交、查询、拉取文档预览任务
6+
- 丰富头域参数说明
7+
- 修复预签名中将万象参数作为key报错问题
8+
- 调整travis与action,后续版本保证多版本测试正常
9+
310
2.3.3 to 2.3.4
411
---------
512
- 修复laravel8中guzzlehttp/psr7报错问题,后续重新整理依赖

bin/release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Usage: php bin/release or php bin/release version
77
*/
88

9-
require_once '../vendor/autoload.php';
9+
require_once 'vendor/autoload.php';
1010

1111
use Qcloud\Cos\Client;
1212
use Qcloud\Cos\Service;

composer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
},
2828
"require": {
2929
"php": ">=5.6",
30+
"ext-curl": "*",
31+
"ext-json": "*",
3032
"guzzlehttp/guzzle": ">=6.2.1",
3133
"guzzlehttp/guzzle-services": ">=1.1",
3234
"guzzlehttp/psr7": "<=2.1"

sample/abortMultipartUpload.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
require dirname(__FILE__) . '/../vendor/autoload.php';
44

5-
$secretId = "SECRETID"; //"云 API 密钥 SecretId";
6-
$secretKey = "SECRETKEY"; //"云 API 密钥 SecretKey";
7-
$region = "ap-beijing"; //设置一个默认的存储桶地域
5+
$secretId = "SECRETID"; //替换为用户的 secretId,请登录访问管理控制台进行查看和管理,https://console.cloud.tencent.com/cam/capi
6+
$secretKey = "SECRETKEY"; //替换为用户的 secretKey,请登录访问管理控制台进行查看和管理,https://console.cloud.tencent.com/cam/capi
7+
$region = "ap-beijing"; //替换为用户的 region,已创建桶归属的region可以在控制台查看,https://console.cloud.tencent.com/cos5/bucket
88
$cosClient = new Qcloud\Cos\Client(
99
array(
1010
'region' => $region,

sample/appendObject.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
require dirname(__FILE__) . '/../vendor/autoload.php';
44

5-
$secretId = "SECRETID"; //"云 API 密钥 SecretId";
6-
$secretKey = "SECRETKEY"; //"云 API 密钥 SecretKey";
7-
$region = "ap-beijing"; //设置一个默认的存储桶地域
5+
$secretId = "SECRETID"; //替换为用户的 secretId,请登录访问管理控制台进行查看和管理,https://console.cloud.tencent.com/cam/capi
6+
$secretKey = "SECRETKEY"; //替换为用户的 secretKey,请登录访问管理控制台进行查看和管理,https://console.cloud.tencent.com/cam/capi
7+
$region = "ap-beijing"; //替换为用户的 region,已创建桶归属的region可以在控制台查看,https://console.cloud.tencent.com/cos5/bucket
88
$cosClient = new Qcloud\Cos\Client(
99
array(
1010
'region' => $region,

sample/blindWatermark.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
require dirname(__FILE__) . '/../vendor/autoload.php';
44

5-
$secretId = "SECRETID"; //"云 API 密钥 SecretId";
6-
$secretKey = "SECRETKEY"; //"云 API 密钥 SecretKey";
7-
$region = "ap-beijing"; //设置一个默认的存储桶地域
5+
$secretId = "SECRETID"; //替换为用户的 secretId,请登录访问管理控制台进行查看和管理,https://console.cloud.tencent.com/cam/capi
6+
$secretKey = "SECRETKEY"; //替换为用户的 secretKey,请登录访问管理控制台进行查看和管理,https://console.cloud.tencent.com/cam/capi
7+
$region = "ap-beijing"; //替换为用户的 region,已创建桶归属的region可以在控制台查看,https://console.cloud.tencent.com/cos5/bucket
88
$cosClient = new Qcloud\Cos\Client(
99
array(
1010
'region' => $region,

0 commit comments

Comments
 (0)