mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-29 18:27:44 +08:00
Release v2.2.16
This commit is contained in:
parent
9a73aa912c
commit
ee98ef979a
@ -1,4 +1,6 @@
|
||||
# v2.2.16 - TBD
|
||||
# v2.2.17 - TBD
|
||||
|
||||
# v2.2.16 - 2021-11-15
|
||||
|
||||
## Added
|
||||
|
||||
|
@ -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
|
||||
|
||||
## 修复
|
||||
|
@ -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
|
||||
|
||||
## 修復
|
||||
|
@ -100,7 +100,7 @@ use Hyperf\DbConnection\Db;
|
||||
$names = Db::table('user')->pluck('name');
|
||||
|
||||
foreach ($names as $name) {
|
||||
echo $names;
|
||||
echo $name;
|
||||
}
|
||||
|
||||
```
|
||||
|
@ -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
|
||||
|
||||
## 修復
|
||||
|
@ -100,7 +100,7 @@ use Hyperf\DbConnection\Db;
|
||||
$names = Db::table('user')->pluck('name');
|
||||
|
||||
foreach ($names as $name) {
|
||||
echo $names;
|
||||
echo $name;
|
||||
}
|
||||
|
||||
```
|
||||
|
@ -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);
|
||||
} elseif (PHP_VERSION_ID > 80000) {
|
||||
$this->assertInstanceOf(\Swoole\Coroutine\Curl\Handle::class, $rs);
|
||||
}
|
||||
|
||||
$this->assertTrue(\Oss\OssClient\is_resource($rs));
|
||||
} elseif (PHP_VERSION_ID > 80000) {
|
||||
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));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
run(function () {
|
||||
|
Loading…
Reference in New Issue
Block a user