Release v3.1.6 (#6478)

This commit is contained in:
李铭昕 2024-01-18 18:28:11 +08:00 committed by GitHub
parent 0cb5f42a66
commit 0c864c5de4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 70 additions and 4 deletions

View File

@ -1,4 +1,6 @@
# v3.1.6 - TBD
# v3.1.7 - TBD
# v3.1.6 - 2024-01-18
## Added
@ -12,7 +14,7 @@
- [#6440](https://github.com/hyperf/hyperf/pull/6440) Optimized code of `Hyperf\SocketIOServer\Parser\Decoder::decode()`.
- [#6472](https://github.com/hyperf/hyperf/pull/6472) Optimized code of `DispatcherFactory` which use `require` instead of `require_once` for loading `routes`.
- [#6473](https://github.com/hyperf/hyperf/pull/6473) Auto mkdir folder when using command `gen:swagger-schema`.
- [#6477](https://github.com/hyperf/hyperf/pull/6477) Optimized `serverMutex` and `taskMutex` binding method.
- [#6477](https://github.com/hyperf/hyperf/pull/6477) Optimized code about binding `serverMutex` and `taskMutex` for `Crontab`.
# v3.1.5 - 2024-01-04

View File

@ -1,5 +1,21 @@
# Changelogs
# v3.1.6 - 2024-01-18
## Added
- [#6449](https://github.com/hyperf/hyperf/pull/6449) Added method `ReflectionManager::getAllClassesByFinder`.
- [#6468](https://github.com/hyperf/hyperf/pull/6468) Added support for Crontab specified operating environments.
- [#6471](https://github.com/hyperf/hyperf/pull/6471) Added method `Arr::remove`.
- [#6474](https://github.com/hyperf/hyperf/pull/6474) Added `Crontab::setOptions()` and `Crontab::getOptions()`.
## Optimized
- [#6440](https://github.com/hyperf/hyperf/pull/6440) Optimized code of `Hyperf\SocketIOServer\Parser\Decoder::decode()`.
- [#6472](https://github.com/hyperf/hyperf/pull/6472) Optimized code of `DispatcherFactory` which use `require` instead of `require_once` for loading `routes`.
- [#6473](https://github.com/hyperf/hyperf/pull/6473) Auto mkdir folder when using command `gen:swagger-schema`.
- [#6477](https://github.com/hyperf/hyperf/pull/6477) Optimized code about binding `serverMutex` and `taskMutex` for `Crontab`.
# v3.1.5 - 2024-01-04
## Fixed

View File

@ -1,5 +1,21 @@
# 版本更新记录
# v3.1.6 - 2024-01-18
## 新增
- [#6449](https://github.com/hyperf/hyperf/pull/6449) 新增方法 `ReflectionManager::getAllClassesByFinder`
- [#6468](https://github.com/hyperf/hyperf/pull/6468) 为 `Crontab` 增加环境变量限制。
- [#6471](https://github.com/hyperf/hyperf/pull/6471) 新增方法 `Arr::remove`
- [#6474](https://github.com/hyperf/hyperf/pull/6474) 新增方法 `Crontab::setOptions()``Crontab::getOptions()`
## 优化
- [#6440](https://github.com/hyperf/hyperf/pull/6440) 优化代码 `Hyperf\SocketIOServer\Parser\Decoder::decode()`
- [#6472](https://github.com/hyperf/hyperf/pull/6472) 优化代码 `DispatcherFactory`,当读取路由时,使用 `require` 代替 `require_once`
- [#6473](https://github.com/hyperf/hyperf/pull/6473) 执行 `gen:swagger-schema` 脚本时,自动生成对应的文件夹。
- [#6477](https://github.com/hyperf/hyperf/pull/6477) 为 `Crontab` 优化 `serverMutex``taskMutex` 的绑定逻辑。
# v3.1.5 - 2024-01-04
## 修复

View File

@ -1,5 +1,21 @@
# 版本更新記錄
# v3.1.6 - 2024-01-18
## 新增
- [#6449](https://github.com/hyperf/hyperf/pull/6449) 新增方法 `ReflectionManager::getAllClassesByFinder`
- [#6468](https://github.com/hyperf/hyperf/pull/6468) 為 `Crontab` 增加環境變量限制。
- [#6471](https://github.com/hyperf/hyperf/pull/6471) 新增方法 `Arr::remove`
- [#6474](https://github.com/hyperf/hyperf/pull/6474) 新增方法 `Crontab::setOptions()``Crontab::getOptions()`
## 優化
- [#6440](https://github.com/hyperf/hyperf/pull/6440) 優化代碼 `Hyperf\SocketIOServer\Parser\Decoder::decode()`
- [#6472](https://github.com/hyperf/hyperf/pull/6472) 優化代碼 `DispatcherFactory`,當讀取路由時,使用 `require` 代替 `require_once`
- [#6473](https://github.com/hyperf/hyperf/pull/6473) 執行 `gen:swagger-schema` 腳本時,自動生成對應的文件夾。
- [#6477](https://github.com/hyperf/hyperf/pull/6477) 為 `Crontab` 優化 `serverMutex``taskMutex` 的綁定邏輯。
# v3.1.5 - 2024-01-04
## 修復

View File

@ -16,7 +16,7 @@ composer require hyperf/nats
php bin/hyperf.php gen:nats-consumer DemoConsumer
```
如果設置了 `queue`,則相同的 `subject` 只會被一個 `queue` 消費。若不設置 `queue`,則每個消費者都會收到息。
如果設置了 `queue`,則相同的 `subject` 只會被一個 `queue` 消費。若不設置 `queue`,則每個消費者都會收到息。
```php
<?php

View File

@ -14,7 +14,7 @@ composer require hyperf/cache
| driver | Hyperf\Cache\Driver\RedisDriver | 快取驅動,預設為 Redis |
| packer | Hyperf\Codec\Packer\PhpSerializerPacker | 打包器 |
| prefix | c: | 快取字首 |
| skip_cache_results | [] | 指定的結果不被緩存 |
| skip_cache_results | [] | 指定的結果不被快取 |
```php
<?php

View File

@ -1,5 +1,21 @@
# 版本更新記錄
# v3.1.6 - 2024-01-18
## 新增
- [#6449](https://github.com/hyperf/hyperf/pull/6449) 新增方法 `ReflectionManager::getAllClassesByFinder`
- [#6468](https://github.com/hyperf/hyperf/pull/6468) 為 `Crontab` 增加環境變數限制。
- [#6471](https://github.com/hyperf/hyperf/pull/6471) 新增方法 `Arr::remove`
- [#6474](https://github.com/hyperf/hyperf/pull/6474) 新增方法 `Crontab::setOptions()``Crontab::getOptions()`
## 最佳化
- [#6440](https://github.com/hyperf/hyperf/pull/6440) 最佳化程式碼 `Hyperf\SocketIOServer\Parser\Decoder::decode()`
- [#6472](https://github.com/hyperf/hyperf/pull/6472) 最佳化程式碼 `DispatcherFactory`,當讀取路由時,使用 `require` 代替 `require_once`
- [#6473](https://github.com/hyperf/hyperf/pull/6473) 執行 `gen:swagger-schema` 指令碼時,自動生成對應的資料夾。
- [#6477](https://github.com/hyperf/hyperf/pull/6477) 為 `Crontab` 最佳化 `serverMutex``taskMutex` 的繫結邏輯。
# v3.1.5 - 2024-01-04
## 修復