Release v2.2.16

This commit is contained in:
李铭昕 2021-11-15 10:27:27 +08:00 committed by GitHub
parent 9a73aa912c
commit ee98ef979a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 42 additions and 6 deletions

View File

@ -1,4 +1,6 @@
# v2.2.16 - TBD
# v2.2.17 - TBD
# v2.2.16 - 2021-11-15
## Added

View File

@ -1,5 +1,15 @@
# 版本更新记录
# v2.2.16 - 2021-11-15
## 新增
- [#4252](https://github.com/hyperf/hyperf/pull/4252) 为 `Hyperf\RpcClient\AbstractServiceClient` 新增 `getServiceName()` 方法。
## 优化
- [#4253](https://github.com/hyperf/hyperf/pull/4253) 在扫描阶段时,如果类库找不到,则跳过且报出警告。
# v2.2.15 - 2021-11-08
## 修复

View File

@ -1,5 +1,15 @@
# 版本更新記錄
# v2.2.16 - 2021-11-15
## 新增
- [#4252](https://github.com/hyperf/hyperf/pull/4252) 為 `Hyperf\RpcClient\AbstractServiceClient` 新增 `getServiceName()` 方法。
## 優化
- [#4253](https://github.com/hyperf/hyperf/pull/4253) 在掃描階段時,如果類庫找不到,則跳過且報出警告。
# v2.2.15 - 2021-11-08
## 修復

View File

@ -100,7 +100,7 @@ use Hyperf\DbConnection\Db;
$names = Db::table('user')->pluck('name');
foreach ($names as $name) {
echo $names;
echo $name;
}
```

View File

@ -1,5 +1,15 @@
# 版本更新記錄
# v2.2.16 - 2021-11-15
## 新增
- [#4252](https://github.com/hyperf/hyperf/pull/4252) 為 `Hyperf\RpcClient\AbstractServiceClient` 新增 `getServiceName()` 方法。
## 優化
- [#4253](https://github.com/hyperf/hyperf/pull/4253) 在掃描階段時,如果類庫找不到,則跳過且報出警告。
# v2.2.15 - 2021-11-08
## 修復

View File

@ -100,7 +100,7 @@ use Hyperf\DbConnection\Db;
$names = Db::table('user')->pluck('name');
foreach ($names as $name) {
echo $names;
echo $name;
}
```

View File

@ -32,11 +32,15 @@ class AliyunHookTest extends TestCase
$rs = curl_init();
if (version_compare(SWOOLE_VERSION, '4.6.0', '<')) {
$this->assertInstanceOf(\Swoole\Curl\Handler::class, $rs);
$this->assertTrue(\Oss\OssClient\is_resource($rs));
} elseif (PHP_VERSION_ID > 80000) {
$this->assertInstanceOf(\Swoole\Coroutine\Curl\Handle::class, $rs);
if (SWOOLE_VERSION_ID >= 40900) {
$this->assertInstanceOf(\CurlHandle::class, $rs);
} else {
$this->assertInstanceOf(\Swoole\Coroutine\Curl\Handle::class, $rs);
$this->assertTrue(\Oss\OssClient\is_resource($rs));
}
}
$this->assertTrue(\Oss\OssClient\is_resource($rs));
});
run(function () {