Skip to content

Commit 6e12cf3

Browse files
authored
Release v3.1.66 (#7701)
1 parent f0695d1 commit 6e12cf3

5 files changed

Lines changed: 91 additions & 1 deletion

File tree

‎CHANGELOG-3.1.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# v3.1.66 - TBD
1+
# v3.1.67 - TBD
2+
3+
# v3.1.66 - 2026-01-25
24

35
## Added
46

‎docs/en/changelog/3.1.md‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Changelogs
22

3+
# v3.1.66 - 2026-01-25
4+
5+
## Added
6+
7+
- [#7667](https://github.com/hyperf/hyperf/pull/7667) [#7672](https://github.com/hyperf/hyperf/pull/7672) Added support for `client_count` option to create multiple gRPC clients with load balancing in `hyperf/grpc-client`.
8+
- [#7668](https://github.com/hyperf/hyperf/pull/7668) Added the `$isCookiePersistent` parameter to `Hyperf\Guzzle\PoolHandler` to enable persistent cookies.
9+
- [#7670](https://github.com/hyperf/hyperf/pull/7670) Added `--path` option to generator commands for specifying custom output locations.
10+
- [#7684](https://github.com/hyperf/hyperf/pull/7684) Added method `Hyperf\Database\Schema\Builder::withoutForeignKeyConstraints()`.
11+
- [#7693](https://github.com/hyperf/hyperf/pull/7693) Added methods `cascadeOnDelete()`, `restrictOnDelete()`, `noActionOnDelete()`, `restrictOnUpdate()`, `nullOnUpdate()`, `noActionOnUpdate()` for `ForeignKeyDefinition`.
12+
- [#7698](https://github.com/hyperf/hyperf/pull/7698) Added `Pool::flushAll()` and `PoolFactory::flushAll()` methods to close all pool connections.
13+
- [#7699](https://github.com/hyperf/hyperf/pull/7699) Added methods `whereJsonContainsKey()`, `orWhereJsonContainsKey()`, `whereJsonDoesntContainKey()`, `orWhereJsonDoesntContainKey()` for Query Builder.
14+
15+
## Optimized
16+
17+
- [#7675](https://github.com/hyperf/hyperf/pull/7675) Removed redundant timer cleanup code from metric listeners since the Timer component now handles cleanup automatically.
18+
- [#7687](https://github.com/hyperf/hyperf/pull/7687) Optimized handling of `ValidationException` in JSON-RPC core middleware to properly return `INVALID_PARAMS` error responses.
19+
20+
## Fixed
21+
22+
- [#7669](https://github.com/hyperf/hyperf/pull/7669) Fix PostgreSQL boolean handling for emulated prepares and raw SQL.
23+
- [#7682](https://github.com/hyperf/hyperf/pull/7682) Fixed incorrect return type for `Blueprint::foreign()` which caused static analysis errors when chaining `references()`, `on()`, etc.
24+
325
# v3.1.65 - 2025-12-04
426

527
## Added

‎docs/zh-cn/changelog/3.1.md‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# 版本更新记录
22

3+
# v3.1.66 - 2026-01-25
4+
5+
## 新增
6+
7+
- [#7667](https://github.com/hyperf/hyperf/pull/7667) [#7672](https://github.com/hyperf/hyperf/pull/7672) 为 `hyperf/grpc-client` 新增参数 `client_count` 用来支持创建多个客户端。
8+
- [#7668](https://github.com/hyperf/hyperf/pull/7668) 为 `Hyperf\Guzzle\PoolHandler` 新增参数 `$isCookiePersistent` 用来支持是否持久化 `Cookies`。
9+
- [#7670](https://github.com/hyperf/hyperf/pull/7670) 为文件生成命令增加 `--path` 选项,用来指定生成位置。
10+
- [#7684](https://github.com/hyperf/hyperf/pull/7684) 新增方法 `Hyperf\Database\Schema\Builder::withoutForeignKeyConstraints()`。
11+
- [#7693](https://github.com/hyperf/hyperf/pull/7693) 为 `ForeignKeyDefinition` 新增方法 `cascadeOnDelete()`, `restrictOnDelete()`, `noActionOnDelete()`, `restrictOnUpdate()`, `nullOnUpdate()`, `noActionOnUpdate()`。
12+
- [#7698](https://github.com/hyperf/hyperf/pull/7698) 新增方法 `Pool::flushAll()` 和 `PoolFactory::flushAll()`。
13+
- [#7699](https://github.com/hyperf/hyperf/pull/7699) 为 `QueryBuilder` 新增方法 `whereJsonContainsKey()`, `orWhereJsonContainsKey()`, `whereJsonDoesntContainKey()`, `orWhereJsonDoesntContainKey()`。
14+
15+
## 优化
16+
17+
- [#7675](https://github.com/hyperf/hyperf/pull/7675) 为 `metric` 组件删除多余的定时器清理代码。
18+
- [#7687](https://github.com/hyperf/hyperf/pull/7687) 为 `JSON-RPC` 组件增加默认捕获 `ValidationException` 的逻辑。
19+
20+
## 修复
21+
22+
- [#7669](https://github.com/hyperf/hyperf/pull/7669) 修复 `PostgreSQL` 组件中 `boolean` 格式问题。
23+
- [#7682](https://github.com/hyperf/hyperf/pull/7682) 修复 `Blueprint::foreign()` 返回值注释错误。
24+
325
# v3.1.65 - 2025-12-04
426

527
## 新增

‎docs/zh-hk/changelog/3.1.md‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# 版本更新記錄
22

3+
# v3.1.66 - 2026-01-25
4+
5+
## 新增
6+
7+
- [#7667](https://github.com/hyperf/hyperf/pull/7667) [#7672](https://github.com/hyperf/hyperf/pull/7672) 為 `hyperf/grpc-client` 新增參數 `client_count` 用來支持創建多個客户端。
8+
- [#7668](https://github.com/hyperf/hyperf/pull/7668) 為 `Hyperf\Guzzle\PoolHandler` 新增參數 `$isCookiePersistent` 用來支持是否持久化 `Cookies`。
9+
- [#7670](https://github.com/hyperf/hyperf/pull/7670) 為文件生成命令增加 `--path` 選項,用來指定生成位置。
10+
- [#7684](https://github.com/hyperf/hyperf/pull/7684) 新增方法 `Hyperf\Database\Schema\Builder::withoutForeignKeyConstraints()`。
11+
- [#7693](https://github.com/hyperf/hyperf/pull/7693) 為 `ForeignKeyDefinition` 新增方法 `cascadeOnDelete()`, `restrictOnDelete()`, `noActionOnDelete()`, `restrictOnUpdate()`, `nullOnUpdate()`, `noActionOnUpdate()`。
12+
- [#7698](https://github.com/hyperf/hyperf/pull/7698) 新增方法 `Pool::flushAll()` 和 `PoolFactory::flushAll()`。
13+
- [#7699](https://github.com/hyperf/hyperf/pull/7699) 為 `QueryBuilder` 新增方法 `whereJsonContainsKey()`, `orWhereJsonContainsKey()`, `whereJsonDoesntContainKey()`, `orWhereJsonDoesntContainKey()`。
14+
15+
## 優化
16+
17+
- [#7675](https://github.com/hyperf/hyperf/pull/7675) 為 `metric` 組件刪除多餘的定時器清理代碼。
18+
- [#7687](https://github.com/hyperf/hyperf/pull/7687) 為 `JSON-RPC` 組件增加默認捕獲 `ValidationException` 的邏輯。
19+
20+
## 修復
21+
22+
- [#7669](https://github.com/hyperf/hyperf/pull/7669) 修復 `PostgreSQL` 組件中 `boolean` 格式問題。
23+
- [#7682](https://github.com/hyperf/hyperf/pull/7682) 修復 `Blueprint::foreign()` 返回值註釋錯誤。
24+
325
# v3.1.65 - 2025-12-04
426

527
## 新增

‎docs/zh-tw/changelog/3.1.md‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# 版本更新記錄
22

3+
# v3.1.66 - 2026-01-25
4+
5+
## 新增
6+
7+
- [#7667](https://github.com/hyperf/hyperf/pull/7667) [#7672](https://github.com/hyperf/hyperf/pull/7672) 為 `hyperf/grpc-client` 新增引數 `client_count` 用來支援建立多個客戶端。
8+
- [#7668](https://github.com/hyperf/hyperf/pull/7668) 為 `Hyperf\Guzzle\PoolHandler` 新增引數 `$isCookiePersistent` 用來支援是否持久化 `Cookies`。
9+
- [#7670](https://github.com/hyperf/hyperf/pull/7670) 為檔案生成命令增加 `--path` 選項,用來指定生成位置。
10+
- [#7684](https://github.com/hyperf/hyperf/pull/7684) 新增方法 `Hyperf\Database\Schema\Builder::withoutForeignKeyConstraints()`。
11+
- [#7693](https://github.com/hyperf/hyperf/pull/7693) 為 `ForeignKeyDefinition` 新增方法 `cascadeOnDelete()`, `restrictOnDelete()`, `noActionOnDelete()`, `restrictOnUpdate()`, `nullOnUpdate()`, `noActionOnUpdate()`。
12+
- [#7698](https://github.com/hyperf/hyperf/pull/7698) 新增方法 `Pool::flushAll()` 和 `PoolFactory::flushAll()`。
13+
- [#7699](https://github.com/hyperf/hyperf/pull/7699) 為 `QueryBuilder` 新增方法 `whereJsonContainsKey()`, `orWhereJsonContainsKey()`, `whereJsonDoesntContainKey()`, `orWhereJsonDoesntContainKey()`。
14+
15+
## 最佳化
16+
17+
- [#7675](https://github.com/hyperf/hyperf/pull/7675) 為 `metric` 元件刪除多餘的定時器清理程式碼。
18+
- [#7687](https://github.com/hyperf/hyperf/pull/7687) 為 `JSON-RPC` 元件增加預設捕獲 `ValidationException` 的邏輯。
19+
20+
## 修復
21+
22+
- [#7669](https://github.com/hyperf/hyperf/pull/7669) 修復 `PostgreSQL` 元件中 `boolean` 格式問題。
23+
- [#7682](https://github.com/hyperf/hyperf/pull/7682) 修復 `Blueprint::foreign()` 返回值註釋錯誤。
24+
325
# v3.1.65 - 2025-12-04
426

527
## 新增

0 commit comments

Comments
 (0)