Commit Graph

7295 Commits

Author SHA1 Message Date
Joandysson Gama
0bc2950d5d
adjustment in doc 2023-01-01 14:48:16 -03:00
张城铭
33db7494b8
Abstract methods should not be rewritten by proxies (#5268)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-01-01 13:13:29 +08:00
黄朝晖
dd06173639
Merge pull request #5264 from hyperf/docs-middleware
Fix error doc of multi-middleware usage example
2022-12-27 21:44:15 +08:00
huangzhhui
d3cafa94e7 Update docs and translate 2022-12-27 13:40:46 +00:00
黄朝晖
26558bae24
Update middleware.md 2022-12-27 21:39:42 +08:00
她和她的猫
f604d258f7
Fixed bug that method Request::parseHost not working when host is invalid. (#5142)
Co-authored-by: hexianghui <hexianghui@kkguan.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-12-27 14:08:25 +08:00
李铭昕
18f5fba851
Update docs and translate (#5262) 2022-12-27 13:37:04 +08:00
李铭昕
67ad6b7250
Added requirement ext-posix for watcher. (#5261) 2022-12-27 10:58:03 +08:00
devin
aa8a82a157
Optimized code for FormRequest:: getRules(). 2022-12-22 16:23:24 +08:00
pandaLIU
6fdb95d534
Fixed bug that generate rpc-client failed when the interface has parent interfaces. (#5252)
* Added test cases.

Co-authored-by: 李铭昕 <715557344@qq.com>
2022-12-22 16:16:49 +08:00
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