Commit Graph

744 Commits

Author SHA1 Message Date
crystal9002
e9895f7a01
Changed \Redis to RedisProxy for RedisDriver in async-queue. (#1568)
* redis async queue pool

* 增加文档 & 默认配置文件

* Fixed test cases.

Co-authored-by: zhenguo.guan <guanzhenguo@3k.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-04-16 11:55:03 +08:00
daydaygo
0af47cba09 docs: update 2020-04-16 11:31:09 +08:00
李铭昕
112e27157c
Reset transaction level to zero, when reconnent to mysql server. (#1565) 2020-04-15 18:59:49 +08:00
谷溪
63b262b58b
Update CHANGELOG.md 2020-04-14 09:23:31 +08:00
李铭昕
285ba93136
Fixed interface 'Symfony\Component\EventDispatcher\EventDispatcherInterface' not found. (#1532)
* Fixed interface 'Symfony\Component\EventDispatcher\EventDispatcherInterface' not found.
2020-04-09 14:38:35 +08:00
李铭昕
59fce8c00f
v1.1.24 (#1524)
Co-authored-by: 黄朝晖 <huangzhwork@gmail.com>
2020-04-09 11:48:21 +08:00
黄朝晖
f5955e4b12
Merge branch 'master' into di2 2020-04-09 11:42:41 +08:00
huangzhhui
d82790bc0a Update CHANGELOG.md 2020-04-09 11:29:57 +08:00
huangzhhui
ce3986ec23 Update CHANGELOG.md 2020-04-09 01:09:23 +08:00
黄朝晖
859119bb77
Merge branch 'master' into 1.1-queue 2020-04-09 00:06:16 +08:00
huangzhhui
b3fb83f50f Update CHANGELOG.md 2020-04-09 00:05:26 +08:00
黄朝晖
6cdf4cca88
Merge pull request #1510 from Reasno/framework
better handling of graceful start & graceful stop
2020-04-09 00:00:20 +08:00
黄朝晖
022dd69a11
Merge branch 'master' into master 2020-04-08 23:59:49 +08:00
huangzhhui
c4b59f6ba9 Update CHANGELOG.md 2020-04-08 23:58:16 +08:00
huangzhhui
aeac3868e5 Update CHANGELOG.md 2020-04-08 23:56:00 +08:00
黄朝晖
8858fcf4a0
Merge pull request #1507 from daodao97/patch-1
fix: consul catalog register method GET => PUT
2020-04-07 20:26:21 +08:00
黄朝晖
416fa802e6
Update CHANGELOG.md 2020-04-07 20:26:11 +08:00
daydaygo
f6b872c95d Update CHANGELOG.md 2020-04-07 15:06:12 +08:00
谷溪
b28e5435e3
Merge pull request #1501 from Reasno/framework
feat: bridge symfony events to hyperf event dispatcher.
2020-04-06 09:58:16 +08:00
reasno
5910715f26 Add CHANGELOG.md 2020-04-05 00:16:29 +08:00
李铭昕
d09c6923b3 Update CHANGELOG.md 2020-04-04 19:46:53 +08:00
李铭昕
bc1d1df15e Added test cases. 2020-04-03 18:38:15 +08:00
黄朝晖
7b06df16ee
Update CHANGELOG.md 2020-04-02 15:29:57 +08:00
Reasno
9eff29cfd6 ignore @mixin annotation 2020-04-02 15:14:33 +08:00
李铭昕
32190b4a97
v1.1.23 (#1488)
Co-authored-by: huangzhhui <huangzhwork@gmail.com>
2020-04-02 11:35:51 +08:00
黄朝晖
f4e4c63051
Merge pull request #1480 from huangzhhui/master
rpc client will generate the methods of inherited interface automatically now
2020-04-02 11:18:57 +08:00
huangzhhui
62ad155871 Add CHANGELOG 2020-04-02 11:13:13 +08:00
puppy
f60db3ce58
Fixed Invalid argument supplied for Hyperf\Testing\Client::flushContext. (#1477)
* - 解决 Hyperf\Testing\Client::flushContext 因获取上下文返回 nul 时报 Invalid ar
gument supplied for foreach() 的问题

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-04-02 09:45:05 +08:00
李铭昕
1b55e8c2f7
Creating message with make instead of new for async-queue. (#1481) 2020-03-31 13:42:58 +08:00
黄朝晖
a3c3eabca8
Update CHANGELOG.md 2020-03-31 11:39:21 +08:00
黄朝晖
4fae295f20
Merge branch 'master' into 1.1-guzzle 2020-03-31 11:36:47 +08:00
李铭昕
7453f1dc2a
Fixed the consumer of NSQ will restart when requeue message. (#1474)
Co-authored-by: 黄朝晖 <huangzhwork@gmail.com>
2020-03-27 18:01:10 +08:00
李铭昕
367f4f9e8d
Fixed data recved failed, when the body is larger than max-output-buffer-size. (#1471)
* Fixed data recved failed, when the body is larger than max-output--buffer-size.

* Update CHANGELOG.md
2020-03-27 17:50:33 +08:00
李铭昕
293cb6662a
Fixed consume failed, when publish message in consumer. (#1472)
* Fixed consume failed, when publish message in consumer.

* Update CHANGELOG.md

* Fixed connection name not found.

* Update KeepaliveConnection.php
2020-03-27 16:30:04 +08:00
李铭昕
61f7f18f2a Update CHANGELOG.md 2020-03-27 10:12:29 +08:00
李铭昕
7c1564856b Update changelog.md 2020-03-26 17:44:05 +08:00
李铭昕
20f50b8e6c
v1.1.22 (#1465)
Co-authored-by: huangzhhui <huangzhwork@gmail.com>
2020-03-26 11:28:26 +08:00
李铭昕
fd7533bcc5
Added option on_stats for guzzle handler. (#1463)
* Added option `on_stats` for guzzle handler.

* Added test cases.
2020-03-26 09:44:58 +08:00
李铭昕
9718117e30
Fixed guzzle handler not support elasticsearch which version is larger than 7.0. (#1458)
* Fixed guzzle handler not support elasticsearch which version is larger than 7.0.

* Update CHANGELOG.md
2020-03-24 14:08:13 +08:00
Donjan
de69980836
Fixed flatten() failed, bacause INF is float. (#1454)
* 强制int参数,默认INF并不会有用,且会报错

* Added test cases.

* Update CHANGELOG.md

Co-authored-by: Donjan <Donjan@cqbaobao.cn>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-03-23 17:18:53 +08:00
reasno
4526c5c031 ADD CHANGELOG.md 2020-03-21 18:46:46 +08:00
李铭昕
8ed789b1e1
v1.1.21 (#1437) 2020-03-19 13:16:57 +08:00
李铭昕
483d5f5adb Merge branch 'master' into pr/1419 2020-03-19 10:10:47 +08:00
Reasno
42a505ace6 Add CHANGELOG.md 2020-03-17 12:36:47 +08:00
李铭昕
5fe248e492 Merge branch 'master' into pr/1393 2020-03-17 11:47:03 +08:00
huangzhhui
84dad4106e Update CHANGELOG.md 2020-03-17 10:22:34 +08:00
黄朝晖
23f335e2e6
Update CHANGELOG.md 2020-03-15 23:14:39 +08:00
霸气千秋
0855fd625f
Merge branch 'master' into feature/implement-swoole-stream 2020-03-15 13:30:09 +08:00
李铭昕
a9e795b167
v1.1.20 (#1409)
* Update .travis.yml

* Removed mark test spipped.

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: 黄朝晖 <huangzhwork@gmail.com>
2020-03-13 10:37:42 +08:00
李铭昕
719351085d
Added server event constants ON_WORKER_ERROR. (#1416) 2020-03-13 10:06:44 +08:00
Abel
6cd7c860f3
Fixed bug that decoded sts token failed when optional header SecurityToken is empty. (#1415) 2020-03-13 08:53:16 +08:00
minbaby.zhang
53c27a07a4 Merge branch 'master' into feature/implement-swoole-stream
# Conflicts:
#	CHANGELOG.md
2020-03-12 17:56:38 +08:00
huangzhhui
c01c08541b Update CHANGELOG.md 2020-03-12 11:21:26 +08:00
会敲代码的喵
050ffd6969
Added Hyperf\DbConnection\Annotation\Transactional to begin a transaction automatically. (#1402) 2020-03-12 10:27:20 +08:00
李铭昕
3cf6653d2c
Fixed attributes are not right, when the model has property hidden. (#1405) 2020-03-11 20:16:03 +08:00
黄朝晖
bec4c2f97e
Update CHANGELOG.md 2020-03-05 14:53:55 +08:00
李铭昕
e2598173b1
v1.1.19 (#1390) 2020-03-05 14:50:39 +08:00
minbaby.zhang
8a33a0c6ec add changelog 2020-03-05 14:31:07 +08:00
minbaby.zhang
551b2a3d6f 实现 SwooleStream 方法, 并添加测试方法. 2020-03-05 14:27:58 +08:00
李铭昕
2b1ad2d03a
Merge pull request #1384 from run6/master
add gen:model --camel-case configure. properties as camel case, instead of snake case.
2020-03-05 10:35:53 +08:00
李铭昕
8fc0a557d5 Optimized code. 2020-03-05 10:30:49 +08:00
李铭昕
7ac1f83b57
Added info:routes command. (#1339) 2020-03-05 09:23:53 +08:00
daydaygo
78cc0a7739 docs: update 2020-03-04 17:14:06 +08:00
daydaygo
781057b88d docs: update 2020-03-04 17:11:44 +08:00
pandaLIU
4af1415dce
Added Hyperf\DB\DB::connection(). (#1371) 2020-03-04 16:44:26 +08:00
李铭昕
9e0c21adb1
Fixed variadic arguments do not work in async message annotation. (#1386) 2020-03-04 15:40:21 +08:00
evolution
33098dc04c
Added getPoolNames() for Hyperf\Pool\SimplePool\PoolFactory. (#1362) 2020-03-02 16:29:14 +08:00
李铭昕
105dc1cd46 v1.1.18 2020-02-27 10:46:38 +08:00
李铭昕
996e3f1242
Added config of processors for logger. (#1361)
* Added processors for logger.

* Added config of default processor for logger.
2020-02-24 16:30:22 +08:00
monkeycraps
756572f7c7
Fixed bug that root settings do not works when the slave servers set their own settings. (#1338) 2020-02-24 12:37:33 +08:00
李铭昕
397afbfa4f
Fixed bug that queue length check every time when not set max messages. (#1344) 2020-02-16 14:45:36 +08:00
reasno
229b85029c Merge branch 'master' of https://github.com/hyperf/hyperf into metric
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2020-02-15 17:49:55 +08:00
李铭昕
2f83aa4ee6
Added event AfterExecute for command. (#1335) 2020-02-12 09:33:29 +08:00
李铭昕
a5cd1416b0 Update CHANGELOG.md 2020-02-12 09:19:04 +08:00
wiseker
fd9404ac2a
Fixed bug when using (new Parallel())->add($callback, $key) and the parameter $key is a not string index, the returned result will be sorted from 0. 2020-02-07 19:21:23 +08:00
李铭昕
322a3477a4
Added Hyperf\LoadBalancer\LoadBalancerInterface::getNodes(). (#1331) 2020-02-06 13:38:16 +08:00
李铭昕
11b60b7419
Queuelengthlistener is no longer as the default listener of async-queue (#1324)
* Queuelengthlistener is no longer the default listener

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: 黄朝晖 <huangzhwork@gmail.com>
2020-02-03 10:22:52 +08:00
李可鑫
cdc9aa5614
Deleted useless $httpMethod for Hyperf\RpcServer\Router\Router. (#1303) 2020-01-31 15:37:16 +08:00
huangzhhui
73d6660c17 Add CHANGELOG 2020-01-28 18:19:23 +08:00
李铭昕
727c76ea3d
v1.1.17 (#1320) 2020-01-24 13:43:35 +08:00
Bi Zhiming
2bf162db0d Fixed register failed because has the exactly same service. (#1310) 2020-01-21 13:22:05 +08:00
Reasno
156c15f7b3 Update CHANGELOG.md 2020-01-21 13:01:04 +08:00
qingpizi
f03e236d96 Added the missing config variable for Hyperf\AsyncQueue\Process\ConsumerProcess. (#1315) 2020-01-21 12:47:54 +08:00
黄朝晖
50f9bd1b69
Translate and format 2020-01-20 12:02:29 +08:00
kakuilan
ade0766b5f fix CHANGELOG.md validation组件添加缺少的翻译项:gt,gte,ipv4,ipv6,lt,lte,mimetypes,not_regex,starts_with,uuid 2020-01-20 11:50:09 +08:00
耐小心
d6168816e1 Fixed $_SERVER has lower keys for super-globals. (#1291) 2020-01-20 10:55:35 +08:00
黄朝晖
0829af06e9
Update CHANGELOG.md 2020-01-16 14:25:25 +08:00
黄朝晖
c63720fbc1
Update CHANGELOG.md 2020-01-16 14:24:23 +08:00
黄朝晖
ec98c5ae7f
Update CHANGELOG.md 2020-01-16 14:24:10 +08:00
黄朝晖
b4fd69488f
Update CHANGELOG.md 2020-01-16 14:10:12 +08:00
李铭昕
8bc6cc0ec0 v1.1.16 2020-01-16 13:51:14 +08:00
李铭昕
2850b8b2e9
v1.1.16 Changelog (#1284) 2020-01-16 13:49:56 +08:00
Reasno
4ee1ba6156 Add NoOp Driver, to help those who want to disable hyperf/metric temporarily. 2020-01-14 14:55:32 +08:00
李铭昕
247ccd200c
Fixed bug that process not restart when use timer. (#1266) 2020-01-14 11:29:43 +08:00
李铭昕
f034439d1f
Fixed bug that request id will be checked failed, when the id is null. (#1272) 2020-01-14 11:14:27 +08:00
李铭昕
f615a222a7
Fixed bug that socket of keepaliveIO always exhausted.. (#1262) 2020-01-11 16:52:03 +08:00
李铭昕
4d866f4d38
Added Event QueueLength for async-queue. (#1263) 2020-01-10 22:28:02 +08:00
李铭昕
2dab5f3e0a
Fixed json rpc connection confused.(#1260) 2020-01-10 17:02:32 +08:00
李铭昕
badb4b0553
Fixed CRITICAL error that socket of process is unavailable when amqp send heartbeat failed. (#1258) 2020-01-10 16:24:11 +08:00
黄朝晖
ab29e13675
Update CHANGELOG.md 2020-01-10 16:08:30 +08:00