mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-29 18:27:44 +08:00
Release v3.0.17 (#5650)
This commit is contained in:
parent
7eceacf3a6
commit
ca4377c8f7
@ -1,4 +1,6 @@
|
||||
# v3.0.17 - TBD
|
||||
# v3.0.18 - TBD
|
||||
|
||||
# v3.0.17 - 2023-04-19
|
||||
|
||||
## Fixed
|
||||
|
||||
|
@ -1,5 +1,26 @@
|
||||
# Changelogs
|
||||
|
||||
# v3.0.17 - 2023-04-19
|
||||
|
||||
## Fixed
|
||||
|
||||
- [#5642](https://github.com/hyperf/hyperf/pull/5642) Fixed bug that the model cache cannot be created when using `find many` to get non-exists models.
|
||||
- [#5643](https://github.com/hyperf/hyperf/pull/5643) Fixed bug that the empty caches cannot be used for `Model::findManyFromCache()`.
|
||||
- [#5649](https://github.com/hyperf/hyperf/pull/5649) Fixed bug init table collector cannot work for coroutine style server.
|
||||
|
||||
## Added
|
||||
|
||||
- [#5634](https://github.com/hyperf/hyperf/pull/5634) Added `Hyperf\Stringable\str()` helper function.
|
||||
- [#5639](https://github.com/hyperf/hyperf/pull/5639) Added `Redis::pipeline()` and `Redis::transaction()` support.
|
||||
- [#5641](https://github.com/hyperf/hyperf/pull/5641) Support deeply nested cache relations for `model-cache`.
|
||||
- [#5646](https://github.com/hyperf/hyperf/pull/5646) Added `PriorityDefinition` to sort dependencies.
|
||||
|
||||
## Optimized
|
||||
|
||||
- [#5634](https://github.com/hyperf/hyperf/pull/5634) Use `Hyperf\Stringable\Str` instead of `Hyperf\Utils\Str`.
|
||||
- [#5636](https://github.com/hyperf/hyperf/pull/5636) Reduce kafka first start time and handle stop consumer logic
|
||||
- [#5648](https://github.com/hyperf/hyperf/pull/5648) Removed requirement `hyperf/utils` from `hyperf/guzzle`.
|
||||
|
||||
# v3.0.16 - 2023-04-12
|
||||
|
||||
## Fixed
|
||||
|
@ -1,5 +1,26 @@
|
||||
# 版本更新记录
|
||||
|
||||
# v3.0.17 - 2023-04-19
|
||||
|
||||
## Fixed
|
||||
|
||||
- [#5642](https://github.com/hyperf/hyperf/pull/5642) 修复使用批量读取模型缓存时,遇到不存在的数据时,无法初始化空缓存的问题。
|
||||
- [#5643](https://github.com/hyperf/hyperf/pull/5643) 修复使用批量读取模型缓存时,空缓存无法正常使用的问题。
|
||||
- [#5649](https://github.com/hyperf/hyperf/pull/5649) 修复协程风格下,无法初始化数据库字段收集器的问题。
|
||||
|
||||
## Added
|
||||
|
||||
- [#5634](https://github.com/hyperf/hyperf/pull/5634) 新增助手函数 `Hyperf\Stringable\str()`。
|
||||
- [#5639](https://github.com/hyperf/hyperf/pull/5639) 新增方法 `Redis::pipeline()` 和 `Redis::transaction()`。
|
||||
- [#5641](https://github.com/hyperf/hyperf/pull/5641) 为模型缓存 `loadCache` 增加嵌套初始化缓存的能力。
|
||||
- [#5646](https://github.com/hyperf/hyperf/pull/5646) 增加 `PriorityDefinition` 类,来处理容器 `dependencies` 优先级的问题。
|
||||
|
||||
## Optimized
|
||||
|
||||
- [#5634](https://github.com/hyperf/hyperf/pull/5634) 使用 `Hyperf\Stringable\Str` 替代 `Hyperf\Utils\Str`。
|
||||
- [#5636](https://github.com/hyperf/hyperf/pull/5636) 优化 `kafka` 消费者,启动时等待消费过长的问题。
|
||||
- [#5648](https://github.com/hyperf/hyperf/pull/5648) 将依赖 `hyperf/utils` 从 `hyperf/guzzle` 中移除。
|
||||
|
||||
# v3.0.16 - 2023-04-12
|
||||
|
||||
## 修复
|
||||
|
@ -1,5 +1,26 @@
|
||||
# 版本更新記錄
|
||||
|
||||
# v3.0.17 - 2023-04-19
|
||||
|
||||
## Fixed
|
||||
|
||||
- [#5642](https://github.com/hyperf/hyperf/pull/5642) 修復使用批量讀取模型緩存時,遇到不存在的數據時,無法初始化空緩存的問題。
|
||||
- [#5643](https://github.com/hyperf/hyperf/pull/5643) 修復使用批量讀取模型緩存時,空緩存無法正常使用的問題。
|
||||
- [#5649](https://github.com/hyperf/hyperf/pull/5649) 修復協程風格下,無法初始化數據庫字段收集器的問題。
|
||||
|
||||
## Added
|
||||
|
||||
- [#5634](https://github.com/hyperf/hyperf/pull/5634) 新增助手函數 `Hyperf\Stringable\str()`。
|
||||
- [#5639](https://github.com/hyperf/hyperf/pull/5639) 新增方法 `Redis::pipeline()` 和 `Redis::transaction()`。
|
||||
- [#5641](https://github.com/hyperf/hyperf/pull/5641) 為模型緩存 `loadCache` 增加嵌套初始化緩存的能力。
|
||||
- [#5646](https://github.com/hyperf/hyperf/pull/5646) 增加 `PriorityDefinition` 類,來處理容器 `dependencies` 優先級的問題。
|
||||
|
||||
## Optimized
|
||||
|
||||
- [#5634](https://github.com/hyperf/hyperf/pull/5634) 使用 `Hyperf\Stringable\Str` 替代 `Hyperf\Utils\Str`。
|
||||
- [#5636](https://github.com/hyperf/hyperf/pull/5636) 優化 `kafka` 消費者,啓動時等待消費過長的問題。
|
||||
- [#5648](https://github.com/hyperf/hyperf/pull/5648) 將依賴 `hyperf/utils` 從 `hyperf/guzzle` 中移除。
|
||||
|
||||
# v3.0.16 - 2023-04-12
|
||||
|
||||
## 修復
|
||||
|
@ -1,5 +1,26 @@
|
||||
# 版本更新記錄
|
||||
|
||||
# v3.0.17 - 2023-04-19
|
||||
|
||||
## Fixed
|
||||
|
||||
- [#5642](https://github.com/hyperf/hyperf/pull/5642) 修復使用批次讀取模型快取時,遇到不存在的資料時,無法初始化空快取的問題。
|
||||
- [#5643](https://github.com/hyperf/hyperf/pull/5643) 修復使用批次讀取模型快取時,空快取無法正常使用的問題。
|
||||
- [#5649](https://github.com/hyperf/hyperf/pull/5649) 修復協程風格下,無法初始化資料庫欄位收集器的問題。
|
||||
|
||||
## Added
|
||||
|
||||
- [#5634](https://github.com/hyperf/hyperf/pull/5634) 新增助手函式 `Hyperf\Stringable\str()`。
|
||||
- [#5639](https://github.com/hyperf/hyperf/pull/5639) 新增方法 `Redis::pipeline()` 和 `Redis::transaction()`。
|
||||
- [#5641](https://github.com/hyperf/hyperf/pull/5641) 為模型快取 `loadCache` 增加巢狀初始化快取的能力。
|
||||
- [#5646](https://github.com/hyperf/hyperf/pull/5646) 增加 `PriorityDefinition` 類,來處理容器 `dependencies` 優先順序的問題。
|
||||
|
||||
## Optimized
|
||||
|
||||
- [#5634](https://github.com/hyperf/hyperf/pull/5634) 使用 `Hyperf\Stringable\Str` 替代 `Hyperf\Utils\Str`。
|
||||
- [#5636](https://github.com/hyperf/hyperf/pull/5636) 最佳化 `kafka` 消費者,啟動時等待消費過長的問題。
|
||||
- [#5648](https://github.com/hyperf/hyperf/pull/5648) 將依賴 `hyperf/utils` 從 `hyperf/guzzle` 中移除。
|
||||
|
||||
# v3.0.16 - 2023-04-12
|
||||
|
||||
## 修復
|
||||
|
@ -329,7 +329,7 @@ class CoroutineHandlerTest extends TestCase
|
||||
],
|
||||
]);
|
||||
|
||||
$data = json_decode((string) $res->getBody());
|
||||
$data = json_decode((string) $res->getBody(), true);
|
||||
$this->assertArrayNotHasKey('Content-Length', $data['headers']);
|
||||
$this->assertArrayNotHasKey('Expect', $data['headers']);
|
||||
|
||||
@ -348,7 +348,7 @@ class CoroutineHandlerTest extends TestCase
|
||||
],
|
||||
]);
|
||||
|
||||
$data = json_decode((string) $res->getBody());
|
||||
$data = json_decode((string) $res->getBody(), true);
|
||||
$this->assertArrayHasKey('Content-Length', $data['headers']);
|
||||
$this->assertArrayHasKey('Expect', $data['headers']);
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ class PoolHandlerTest extends TestCase
|
||||
|
||||
$res = $client->get('/stats?format=json');
|
||||
$this->assertSame(200, $res->getStatusCode());
|
||||
$this->assertIsArray(json_decode((string) $res->getBody()));
|
||||
$this->assertIsArray(json_decode((string) $res->getBody(), true));
|
||||
$this->assertSame(1, $handler->count);
|
||||
$client->get('/stats?format=json');
|
||||
$this->assertSame(1, $handler->count);
|
||||
|
Loading…
Reference in New Issue
Block a user