Commit Graph

7285 Commits

Author SHA1 Message Date
pandaLIU
38e2e2f31c
Added defer_release config for hyperf/db. (#5250) 2022-12-20 17:18:22 +08:00
Leo Cavalcante
9d6d35a3c0
feat: statsd timeout and persistent connection configurable (#5256)
* feat: statsd timeout and persistent connection configurable

* chore: add to the published config
2022-12-19 10:48:59 +08:00
Deeka Wong
fcfd073629
Optimize UdpSocketAspect, AOP for getSocket (#5246) 2022-12-11 12:49:47 +08:00
Deeka Wong
614c95fc08
Added Aspect for UdpSocket (#5234) 2022-12-10 22:31:03 +08:00
Deeka Wong
c07162dc5b
Support PHP 8.2 (#5087)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-12-10 21:24:37 +08:00
李铭昕
2bfb5c21be
Fixed test cases. (#5244) 2022-12-10 20:23:47 +08:00
Deeka Wong
6e7317b9e1
Throw exception when column id is not existed (#5239)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-12-10 20:14:47 +08:00
李铭昕
afe17c45b2
Fixed bug that proxy class will be generated failed when using parameters who allow null in constructor. 2022-11-28 18:55:55 +08:00
李铭昕
fe5abff840
Added Hyperf\WebSocketServer\Sender::getResponses(). (#5227) 2022-11-28 16:56:48 +08:00
李铭昕
afab4e0e37
Removed WARNING log when amqp connection restart. (#5226) 2022-11-28 11:33:43 +08:00
耐小心
70141405b5
Fixed bug that KeepaliveConnection::isTimeout() can't work when using swow. (#5223) 2022-11-26 19:47:54 +08:00
kingIZZZY
b5bfe53b10
Fixed bug that PGSqlSwooleConnection::affectingStatement() can't work when the sql is wrong. (#5221)
* Return value must be of type int, bool returned

`TypeError: Hyperf\Database\PgSQL\PostgreSqlSwooleExtConnection::affectingStatement(): Return value must be of type int, bool returned`

The hyperf database method has type hint 'int' but Swoole\Coroutine\PostgreSQLStatement::affectedRows() can return bool https://github.com/swoole/swoole-src/blob/master/ext-src/swoole_postgresql_coro.cc#L1242

* Initial fix didn't solve the exception

Seems maybe the $this->run() method might also return bool which mismatches the function return type hint

Co-authored-by: 李铭昕 <715557344@qq.com>
2022-11-25 10:48:22 +08:00
李铭昕
e2b188bc4c Merge branch '2.2' into 3.0-merge2
# Conflicts:
#	docs/en/component-guide/configprovider.md
#	docs/en/component-guide/create.md
#	docs/en/component-guide/intro.md
#	docs/en/db/model.md
#	docs/en/release-planning.md
#	docs/zh-cn/db/model.md
#	docs/zh-cn/release-planning.md
#	docs/zh-hk/db/model.md
#	docs/zh-hk/release-planning.md
#	docs/zh-tw/db/model.md
#	docs/zh-tw/release-planning.md
2022-11-24 16:09:08 +08:00
黄朝晖
30d6445851
Merge pull request #5216 from huangzhhui/docs-release-planning
Update the Latest RC version
2022-11-23 11:55:13 +08:00
huangzhhui
4c34571889 Update docs and translate 2022-11-23 03:54:10 +00:00
huangzhhui
913746a0bc Update 2022-11-23 11:50:30 +08:00
黄朝晖
fd59c6a04a
Merge pull request #5214 from huangzhhui/docs-orm-bit
Docs orm bit
2022-11-23 11:38:53 +08:00
黄朝晖
d97796e1f1
Merge pull request #5215 from huangzhhui/docs-release-planning
Docs release planning
2022-11-23 11:38:37 +08:00
huangzhhui
3b0ec2bf63 Update docs and translate 2022-11-23 03:37:07 +00:00
huangzhhui
61006b26bf Update 2022-11-23 11:35:34 +08:00
huangzhhui
c599f43bab Merge branch 'docs-release-planning' of github.com:huangzhhui/hyperf into docs-release-planning 2022-11-23 11:34:17 +08:00
huangzhhui
7d504ef520 Update docs and translate 2022-11-23 03:16:00 +00:00
huangzhhui
fff4cb5e2c Update 2022-11-23 11:14:43 +08:00
李铭昕
d3b543cabf Added document about CacheAhead. 2022-11-22 12:45:19 +08:00
李铭昕
cba5e42ca1 Optimized code. 2022-11-22 12:45:19 +08:00
李铭昕
73489e401f Added Annotation CacheAhead which used to cache data ahead. 2022-11-22 12:45:19 +08:00
huangzhhui
f2bdc6e564 Update the sec-fixes support date 2022-11-21 16:06:45 +08:00
黄朝晖
01a9202f3e
Merge pull request #5209 from huangzhhui/docs-release-planning
Update release planning docs
2022-11-21 15:42:15 +08:00
huangzhhui
83678582c3 Update docs and translate 2022-11-21 07:41:58 +00:00
huangzhhui
a8e0fc3a15 Update 2022-11-21 15:40:45 +08:00
Deeka Wong
be4b34c589
Fix the errors for watcher tests (#5207) 2022-11-18 17:45:31 +08:00
李铭昕
5e27db78c7
Support the transformation of object type to AST nodes. (#5206) 2022-11-18 17:11:18 +08:00
李铭昕
8333acf780
Update composer.json (#5205) 2022-11-17 17:25:49 +08:00
lihq1403
7c92e08003
Transform the type of param $server in Hyperf\WebSocketServer\Server::deferOnOpen() to mixed. (#5204)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-11-17 16:56:13 +08:00
黄朝晖
7d2aea163b
Merge pull request #5203 from aldok10/patch-4
Update docs/en/redis.md
2022-11-16 16:01:41 +08:00
宣言就是Siam
67fec55758
Fixed bug that RedisSentinel can't support empty password. (#5199)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-11-16 10:16:48 +08:00
Aldo Karendra
b5e20c6c68
Update docs/redis.md 2022-11-15 21:48:42 +07:00
宣言就是Siam
972b9d0a9a
补充redis 哨兵模式使用文档 (#5202)
* 补充redis 哨兵模式使用文档

* Update docs and translate

Co-authored-by: 何泽宏 <hzh@addcn.com>
2022-11-15 17:04:33 +08:00
黄朝晖
c7882d0627
Merge pull request #5131 from ReinanHS/feature/add-invokable-controller
feat: add handler for an invokable controller in single actions
2022-11-15 14:04:05 +08:00
黄朝晖
762f21d4d8
Merge pull request #5138 from her-cat/docs/update-route
Update docs for `Controller` annotation.
2022-11-15 14:02:57 +08:00
huangzhhui
73439a63f3 Update router.md 2022-11-15 14:02:31 +08:00
huangzhhui
9946f0e147 Update router.md 2022-11-15 14:01:54 +08:00
huangzhhui
d7f628d304 Update 2022-11-15 14:00:41 +08:00
黄朝晖
99211d154c
Merge pull request #5171 from aldok10/3.0
Update doc [en]
2022-11-15 13:50:04 +08:00
huangzhhui
86d014e08c Update the release plans 2022-11-15 12:09:09 +08:00
huangzhhui
ca3b6016ce Remove useless images 2022-11-15 12:08:55 +08:00
huangzhhui
2b0c767632 Update gen.md 2022-11-15 12:01:53 +08:00
Aldo Karendra
dd2c6d0d68
Merge branch 'master' into 3.0 2022-11-14 21:52:13 +07:00
李铭昕
009a38141c Merge branch 'master' into 2.2-merge 2022-11-14 14:04:16 +08:00
李铭昕
b224ab76a5
Update communication.md (#5195) 2022-11-14 14:02:00 +08:00