Commit Graph

7149 Commits

Author SHA1 Message Date
李铭昕
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
Deeka Wong
ef269c74f6
Added Annotation Scene which use scene in FormRequest easily. (#4866)
Co-authored-by: awengan <goto8848@qq.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-06-22 17:09:45 +08:00
李铭昕
bb3f034c7d
Fixed bug that the socket-io server always restart when using coroutine style server. (#4854) 2022-06-20 09:53:54 +08:00
李铭昕
c8d4d666aa
Added NullDisableEventDispatcher to disable event dispatcher by default. (#4852)
Co-authored-by: huangdijia <huangdijia@gmail.com>
2022-06-16 22:54:21 +08:00
李铭昕
624f0d158f
Fixed bug that prometheus server will not be closed automatically when using command which enable event dispatcher. (#4851) 2022-06-16 21:05:28 +08:00
greezen
77236ec2de
Fixed bug that the $prefix of ZipkinTracerFactory does not match the actual. 2022-06-16 20:10:37 +08:00
黄朝晖
f5a96ca0f3
Merge pull request #4729 from gabrieleluz/patch-1
Translation of Model page
2022-06-16 17:48:59 +08:00
Deeka Wong
b135ac887c
Changed $value.timeout to $options.timeout for annotation CircuitBreaker. (#4848) 2022-06-16 14:36:55 +08:00
Deeka Wong
002c8b03de
Fixed the lost description when using property $description and $signature for hyperf/command. (#4835) 2022-06-14 09:35:03 +08:00
李铭昕
fd1369a02b
Added document about how to upgrade monolog (#4827) 2022-06-12 12:15:41 +08:00
李铭昕
b183430e61
Upgraded monolog/monolog to ^2.7|^3.1. (#4825) 2022-06-10 16:21:17 +08:00
Deeka Wong
c6f53bd7f8
Added return type static into Cacheable. 2022-06-10 15:15:01 +08:00
李铭昕
517396566e
Replaced Swoole\Coroutine\Channel by Hyperf\Engine\Channel. (#4808) 2022-06-04 15:51:29 +08:00
李铭昕
c494bb5657
Changed branch-alias to 3.0-dev for context. (#4807) 2022-06-04 15:05:08 +08:00