diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d8e8477..50274fa1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # ChangeLog - Aliyun OSS SDK for PHP +## v2.4.2 / 2021-06-04 +* Compatible with PHP8. +* Fixed: compatible with PHP5.4. +* Fixed: the signature is incorrect in some scenarios +* Update: change $requestUrl from a member variable to a local variable. + ## v2.4.1 / 2020-09-29 * Fixed: the getBucketPolicy bug. diff --git a/src/OSS/OssClient.php b/src/OSS/OssClient.php index 54933b7f..c41cacda 100644 --- a/src/OSS/OssClient.php +++ b/src/OSS/OssClient.php @@ -3508,8 +3508,8 @@ public function setConnectTimeout($connectTimeout) ); // OssClient version information const OSS_NAME = "aliyun-sdk-php"; - const OSS_VERSION = "2.4.1"; - const OSS_BUILD = "20200929"; + const OSS_VERSION = "2.4.2"; + const OSS_BUILD = "20210604"; const OSS_AUTHOR = ""; const OSS_OPTIONS_ORIGIN = 'Origin'; const OSS_OPTIONS_REQUEST_METHOD = 'Access-Control-Request-Method';