mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-29 18:27:44 +08:00
parent
8b37f778b9
commit
7c601604a2
@ -1,4 +1,6 @@
|
||||
# v2.0.20 - TBD
|
||||
# v2.0.21 - TBD
|
||||
|
||||
# v2.0.20 - 2020-11-23
|
||||
|
||||
## Added
|
||||
|
||||
@ -16,6 +18,7 @@
|
||||
|
||||
## Optimized
|
||||
|
||||
- [#2766](https://github.com/hyperf/hyperf/pull/2766) Safely finish spans in case of exception for tracer.
|
||||
- [#2805](https://github.com/hyperf/hyperf/pull/2805) Optimized nacos process which can stop safely.
|
||||
- [#2821](https://github.com/hyperf/hyperf/pull/2821) Optimized the exceptions thrown by `Json` and `Xml`.
|
||||
- [#2827](https://github.com/hyperf/hyperf/pull/2827) Optimized `Hyperf\Server\ServerConfig` which return type of `__set` should be void.
|
||||
|
@ -1,5 +1,29 @@
|
||||
# 版本更新记录
|
||||
|
||||
# v2.0.20 - 2020-11-23
|
||||
|
||||
## 新增
|
||||
|
||||
- [#2824](https://github.com/hyperf/hyperf/pull/2824) 为 `Hyperf\Database\Query\Builder` 增加方法 `simplePaginate()`。
|
||||
|
||||
## 修复
|
||||
|
||||
- [#2820](https://github.com/hyperf/hyperf/pull/2820) 修复使用 `fanout` 交换器时,`AMQP` 消费者无法正常工作的问题。
|
||||
- [#2831](https://github.com/hyperf/hyperf/pull/2831) 修复 `AMQP` 连接会被客户端意外关闭的问题。
|
||||
- [#2848](https://github.com/hyperf/hyperf/pull/2848) 修复在 `defer` 中使用数据库组件时,会导致数据库连接会同时被其他协程绑定的问题。
|
||||
|
||||
## 变更
|
||||
|
||||
- [#2824](https://github.com/hyperf/hyperf/pull/2824) 修改 `Hyperf\Database\Query\Builder` 方法 `paginate()` 返回值类型,由 `PaginatorInterface` 变更为 `LengthAwarePaginatorInterface`。
|
||||
|
||||
## 优化
|
||||
|
||||
- [#2766](https://github.com/hyperf/hyperf/pull/2766) 优化 `Tracer` 组件,在抛出异常的情况下,也可以执行 `finish` 方法,记录链路。
|
||||
- [#2805](https://github.com/hyperf/hyperf/pull/2805) 优化 `Nacos` 进程,可以安全停止。
|
||||
- [#2821](https://github.com/hyperf/hyperf/pull/2821) 优化工具类 `Json` 和 `Xml`,使其抛出一致的异常。
|
||||
- [#2827](https://github.com/hyperf/hyperf/pull/2827) 优化 `Hyperf\Server\ServerConfig`,使其方法 `__set` 因返回值不为 `void`,导致 `PHP8` 不兼容的问题。
|
||||
- [#2839](https://github.com/hyperf/hyperf/pull/2839) 优化 `Hyperf\Database\Schema\ColumnDefinition` 的注释。
|
||||
|
||||
# v2.0.19 - 2020-11-17
|
||||
|
||||
## 新增
|
||||
|
Loading…
Reference in New Issue
Block a user