Commit Graph

7162 Commits

Author SHA1 Message Date
李铭昕
7887c13578
Support Swow for json-rpc. (#4991) 2022-08-06 18:11:53 +08:00
李铭昕
0575f13a91
Support Swow for nsq. (#4990) 2022-08-06 15:09:08 +08:00
李铭昕
303d0ea364
Support Swow for hyperf/crontab. (#4989) 2022-08-06 11:46:53 +08:00
她和她的猫
0b04e4b0ce
Support Swow for hyperf/pool. (#4988)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-08-06 11:30:54 +08:00
李铭昕
2f6dee5b6f
Support Swow for hyperf/retry. (#4984) 2022-08-05 07:19:22 +08:00
Deeka Wong
226d5dc21d
Confirm before proceeding with the action when using ConfirmableTrait, such as migrate command.
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-08-04 23:18:06 +08:00
张城铭
0cd7d1fc67
Optimized code for Hyperf\Di\Resolver\ResolverDispatcher. (#4977)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-08-04 22:35:33 +08:00
张城铭
ca95ce03c6
Depend on interface instead of instantiation (#4978)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-08-03 19:26:13 +08:00
李铭昕
a6aa10796c
Don't support database commands by default, please require hyperf/devtool or set them in autoload/commands. (#4979) 2022-08-03 19:00:16 +08:00
chengyao
3e84c9bbc1
Fix typos (#4968) 2022-07-30 13:57:59 +08:00
张城铭
a0ab07f5e8
Removed proxy mode from Hyperf\Di\ClassLoader and Optimized Composer::getLoader(). (#4961)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-07-29 12:52:11 +08:00
李铭昕
7216ef29b0
Don't write pid when the settings.pid_file is null. (#4952) 2022-07-21 20:01:42 +08:00
张城铭
09747e6c09
Optimized code for ProxyCallVisitor.php 2022-07-21 19:46:57 +08:00
李铭昕
a1279885ef
Removed useless call() from Coroutine::create(). (#4949) 2022-07-21 14:46:58 +08:00
李铭昕
0d0cfd77bb Merge branch '2.2' into master
# Conflicts:
#	src/utils/src/Parallel.php
2022-07-21 13:49:28 +08:00
李铭昕
89c0182247
Fixed memory leak caused by an exception which occurred in Parallel. (#4948) 2022-07-21 13:42:54 +08:00
Nick
c01a54e436
Update document about rate limit (#4945) 2022-07-20 23:13:13 +08:00
Tall Libra
bd03e7ab41
Throw NoNodesAvailableException when cannot select any node from load balancer. (#4934)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-07-19 22:14:36 +08:00
张城铭
2c34969896
Fixed memory leak caused by an exception which occurred in Parallel. (#4940)
Co-authored-by: assert <zhangchengming@kkguan.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-07-19 21:55:50 +08:00
张城铭
0b659abea2
optimize syntax (#4931)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-07-17 21:38:21 +08:00
李铭昕
2e7256cb01
Renamed getFormatedKey() to getFormattedKey(). (#4930) 2022-07-15 17:10:49 +08:00
李铭昕
99d32f7cce
Support TcpServer for Swow. (#4924) 2022-07-13 20:46:57 +08:00
Wisp X
2389fdf38e
Fixed bug that the routing path is wrong when the routing prefix is end of '/'.
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-07-13 09:27:36 +08:00
李铭昕
1bcd444b22
Fixed typo. 2022-07-12 14:19:59 +08:00
李铭昕
134cfaa383
Fixed SocketFactory::bindAfterRefreshed. (#4921) 2022-07-12 13:48:16 +08:00
李铭昕
2fe743dd8a
Fixed bug that rpc connections can't refresh themselves after nodes changed. (#4919) 2022-07-12 13:18:35 +08:00
李铭昕
1f709b7c83
Added afterRefreshed() to register a hook which to be run after refresh nodes. (#4918) 2022-07-12 12:46:09 +08:00
李铭昕
52bcee01b5
Support Swow for load-balancer. (#4917) 2022-07-12 11:51:41 +08:00
李铭昕
98d47cc10c
Format code (#4916) 2022-07-11 18:55:12 +08:00
李铭昕
9e131caaea
Fixed bug that websocket connection will be closed after 10s when using Swow. (#4912)
* Fixed bug that ws connection will be closed after 10s.

* Update CHANGELOG-3.0.md
2022-07-09 13:19:52 +08:00
Wisp X
3f10e2ab33
Fixed bug that method ComponentTagCompiler::escapeSingleQuotesOutsideOfPhpBlocks() cannot work. (#4910) 2022-07-08 11:55:04 +08:00
她和她的猫
8b67301dfb
Added ConsumerMessageInterface::getNums() to change the number of amqp consumer by dynamically. (#4909)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-07-08 11:40:48 +08:00
Deeka Wong
13ab808087
Added Db::beforeExecuting() to register a hook which to be run just before a database query is executed. (#4908)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-07-08 11:16:41 +08:00
她和她的猫
5ed82f8c0f
Removed the redundant parameters of method HasEvents::fireModelEvent(). (#4905)
* Fixed typo in `file.php`

Co-authored-by: 李铭昕 <715557344@qq.com>
2022-07-07 09:16:20 +08:00
李铭昕
c5aef1f78c
Upgrade league/flysystem to ^1.0|^2.0|^3.0. (#4903) 2022-07-06 14:32:28 +08:00
Deeka Wong
6dd600803c
Fixed bug that RedisAdapter::mixSubscribe cannot work cased by redis prefix. (#4895) 2022-07-04 12:23:29 +08:00
greezen
3b19eb9d08
Added document about validation scene.
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-07-02 10:12:43 +08:00
Farmer
73a8058ab8
Fixed bug that RedisAdapter::mixSubscribe cannot work cased by redis prefix. (#4892)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-07-02 09:59:40 +08:00
张城铭
b394845103
Removed useless Hyperf\Di\ClassLoader::$proxies, because merge it into Composer\Autoload\ClassLoader::$classMap. (#4888)
Co-authored-by: assert <zhangchengming@kkguan.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-06-30 18:34:16 +08:00
张城铭
9c3da93e03
Fixed bug that ProxyTrait::__getParamsMap can not work when using trait alias. (#4885)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-06-30 09:58:36 +08:00
Mr.唐
7a3de94941
swagger文档组件 (#4883) 2022-06-28 22:00:30 +08:00
李铭昕
723d4fd4cc
Support ignoreAnnotations for Annotation Reader. (#4880) 2022-06-26 07:58:47 +08:00
李铭昕
fe19a4fb93
Upgrade docs to hyperf 3.0 (#4878) 2022-06-25 20:16:32 +08:00
Deeka Wong
ae39272443
Use the original style when regenerating models. (#4875) 2022-06-24 15:54:39 +08:00
李铭昕
7a05c92d21
Use wait instead of parallel for coroutine style tcp server. (#4874) 2022-06-23 17:40:15 +08:00
李铭昕
08443db222
Added Swow support for hyperf/websocket-server. (#4873) 2022-06-23 17:19:07 +08:00
李铭昕
a3453e1d74
Fixed bug that onOpen failed when using async style for websocket server. (#4871) 2022-06-23 11:45:21 +08:00
Deeka Wong
91f40be1a6
The $scene allowed to be NULL. (#4869)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-06-23 11:06:05 +08:00
Deeka Wong
1c94256348
No need to check Redis::isConnected().
Because it could be connected defer or reconnected after disconnected.
2022-06-22 17:18:50 +08:00
greezen
48bf28e3c2
Added the type of $classes and $annotations for aspect. (#4867) 2022-06-22 17:13:13 +08:00