PutObject interface supports ci image process
GetObject interface supports ci image process
Add ImageInfo interface, which is used for get image info
Add ImageExif interface, which is used for get image exif
Add ImageAve interface, which is used for get image ave
Add ImageProcess interface, which is used for data processing on cloud
Add Qrcode interface, which is used for qrcode recognition
Add QrcodeGenerate interface, which is used for generate qrcode
Add DetectLabel interface, which is used for detect image label
Add PutBucketImageStyle interface, which is used for add bucket image style
Add GetBucketImageStyle interface, which is used for get bucket image style
Add DeleteBucketImageStyle interface, which is used for delete bucket image style
Add PutBucketGuetzli interface, which is used for open bucket guetzli state
Add GetBucketGuetzli interface, which is used for get bucket guetzli state
Add DeleteBucketGuetzli interface, which is used for close bucket guetzli state
allow_redirects parameterselectObjectContent interfacedownload interface supports breakpointgetPresignetUrl to getPresignedUrldownload interface, which is used for concurrent block downloadupload and download progressListBucketInventoryConfigurationsupload support upload with multithreadretry params for interface retrylistBuckets with doaminlistObjectVersionsgetObject with param of saveasListPartsputObject with fopencos-php-sdk-v5 now uses [GuzzleHttp] for HTTP message. Due to fact, it depending on PHP >= 5.6.
Qcloud\Cos\Client\getPresignetUrl() method instead of the Qcloud\Cos\Command\createPresignedUrl()v2:
$signedUrl = $cosClient->getPresignetUrl($method='putObject',
$args=['Bucket'=>'examplebucket-1250000000', 'Key'=>'exampleobject', 'Body'=>''],
$expires='+30 minutes');
v1:
$command = $cosClient->getCommand('putObject', array(
'Bucket' => "examplebucket-1250000000",
'Key' => "exampleobject",
'Body' => '',
));
$signedUrl = $command->createPresignedUrl('+30 minutes');
$copSource parameters of the Qcloud\Cos\Client\Copy interface are no longer compatible with older versions.v2:
$result = $cosClient->copy(
$bucket = '<srcBucket>',
$Key = '<srcKey>',
$copySorce = array(
'Region' => '<sourceRegion>',
'Bucket' => '<sourceBucket>',
'Key' => '<sourceKey>',
)
);
v1:
$result = $cosClient->Copy(
$bucket = '<srcBucket>',
$key = '<srcKey>',
$copysource = '<sourceBucket>.cos.<sourceRegion>.myqcloud.com/<sourceKey>'
);
open() to upload stream, if the local file does not exist, a 0 byte file will be uploaded without throwing an exception, only a warning.