Commit Graph

6528 Commits

Author SHA1 Message Date
张城铭
ae9d1e3268
Use Fork Process strategy to replace BetterReflection strategy (#3634)
* 2.2

* Format code

* optimization

* ast parser

* temp data of scan process

* replace BetterReflection strategy

* Optimized code

* Update Scanner.php

* Fixed phpunit

* Fixed phpunit

* replace BetterReflection strategy

* Update AsyncQueueAspectTest.php

* optimization

* Update InjectTest.php

* Update CHANGELOG-2.2.md

Co-authored-by: assert <zhangchengming@kkguan.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-06-01 00:56:09 +08:00
李铭昕
d562a019ce
Optimized log level for SwooleIO. (#3640) 2021-05-31 13:47:06 +08:00
李铭昕
9aecca3cb0
close push channel and socket when worker exited. (#3639) 2021-05-31 13:00:29 +08:00
李铭昕
665a47f2aa
close channel when it broken. (#3638) 2021-05-31 12:29:10 +08:00
李铭昕
04be901023 Merge branch 'master' into 2.2-merge 2021-05-31 11:37:01 +08:00
李铭昕
a0146e53d0
Release v2.1.19 (#3637) 2021-05-31 09:44:47 +08:00
黄朝晖
2c40ec01b7
Added Hyperf\Rpc\PathGenerator\DotPathGenerator. (#3626)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-05-30 12:51:48 +08:00
李铭昕
31a61e8f09 Fixed bug that connection will be broken caused by second channel.open seen. 2021-05-30 10:17:07 +08:00
李铭昕
1daa06fd04 Fixed test cases for amqp 2021-05-30 10:17:07 +08:00
李铭昕
333eb00e1d Removed useless code 2021-05-30 10:17:07 +08:00
李铭昕
77eb94bc15 Fixed bug that AMQPConnection couldn't reconnect automatically. 2021-05-30 10:17:07 +08:00
李铭昕
48deb4cdf2 Optimized code for Connection and SwooleIO 2021-05-30 10:17:07 +08:00
李铭昕
723fee369e Support multiplexing for AMQP component. 2021-05-30 10:17:07 +08:00
李铭昕
7af798f8fa
Hyperf\Utils\Resource will be deprecated in v2.3. (#3636)
* `Hyperf\Utils\Resource` will be deprecated in v2.3, please use `Hyperf\Utils\ResourceGenerator` instead.

* Update composer.json
2021-05-29 23:26:08 +08:00
李铭昕
90623860ab
Added Hyperf\Utils\CodeGen\PhpParser which used to generate AST for reflection. (#3635) 2021-05-29 23:14:55 +08:00
李铭昕
f1825a9f33
Added Hyperf\Utils\Channel\ChannelManager which used to manage channels. 2021-05-28 11:57:20 +08:00
张城铭
b8d504c6a4
Fixed bug that class_map does not works in Hyperf\Di\Annotation\Scanner. (#3625)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-05-27 19:43:27 +08:00
nonetallt
f3306fd42b
Add view and view-engine english documentation (#3624) 2021-05-27 11:27:46 +08:00
李维山
dbb2b0ed41
Fix typo: Undefined variable $count (#3622)
Co-authored-by: 李维山 <msllws@163.com>
2021-05-26 10:58:33 +08:00
yandycom
f258bfa255
Fixed nsq max idle time. (#3621)
* Fixed nsq max idle time.

* Update nsq.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-05-25 20:39:16 +08:00
李铭昕
5eada19fb0
Fixed routes with same path but different methods will be merged when using describe:routes. (#3618) 2021-05-25 12:14:41 +08:00
李铭昕
f067d611d4 Format code 2021-05-24 15:50:49 +08:00
李铭昕
c0c0c47a22 Merge branch 'master' into 2.2-merge
# Conflicts:
#	composer.json
#	phpunit.xml
2021-05-24 15:50:44 +08:00
沈唁
987d3087e8
Fix typo 2021-05-24 15:45:42 +08:00
李铭昕
4234f9d791
Release v2.1.18 (#3613) 2021-05-24 09:46:08 +08:00
李铭昕
d9d799b211
Removed useless @mixin (#3612) 2021-05-22 20:27:40 +08:00
SuSuSoo
de7ba7b300
Fixed bug that fromSub() and joinSub() don't work with table prefix. (#3610)
* fix #3602

* Added test cases

Co-authored-by: WeGiao <wegiao@gmail.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-05-21 23:05:07 +08:00
沈唁
4f03575e94
Fix typo (#3608) 2021-05-21 17:16:08 +08:00
李铭昕
f6e9ff2213
Fixed bug that coroutine won't destruct when using onOpen in coroutine style websocket server. (#3607) 2021-05-21 14:56:36 +08:00
李铭昕
70a78ad6d9 Added rpn.md 2021-05-20 17:05:46 +08:00
李铭昕
d621795dd5 Added RPN component 2021-05-20 17:05:46 +08:00
李铭昕
6d97e438c2
Fixed bug that increment/decrement does not works as expect when used in transaction. (#3598) 2021-05-18 21:00:26 +08:00
李铭昕
3530600a16
Optimized Hyperf\WebSocketClient\Client::push() (#3597) 2021-05-18 20:04:24 +08:00
李铭昕
6f66dbcffd
Added crontab test cases into phpunit.xml (#3594)
* Added crontab test cases into phpunit.xml

* Update ParserTest.php
2021-05-17 17:03:58 +08:00
李铭昕
ebead50863
Release v2.1.17 (#3590) 2021-05-17 14:59:01 +08:00
李铭昕
b613e61608
Added document for DAG (#3592) 2021-05-15 23:45:30 +08:00
codinghuang
a667ccba99 Fix type declaration 2021-05-15 22:21:14 +08:00
codinghuang
be1917ef08 Delete sleep in test 2021-05-15 22:21:14 +08:00
codinghuang
cda7d9f9b0 Fix type declaration 2021-05-15 22:21:14 +08:00
codinghuang
cb1c4bc41c Add checkCircularDependences 2021-05-15 22:21:14 +08:00
yansongda
faed954ce4
The enable parameter of the @Crontab supports array, which you can dynamically control whether the task is executed or not. (#3329)
* support crontab annotation `enable` bool or array

* Format code

* Update CHANGELOG-2.1.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-05-15 18:14:24 +08:00
李铭昕
1af932a66c
Added DAG component. (#3589) 2021-05-15 17:46:42 +08:00
李铭昕
8b13089b12
Fixed bug that coroutine won't destruct for keepalive request in swow server. (#3586) 2021-05-14 12:44:23 +08:00
李铭昕
373bf01d25
lock the version of phpstan to 0.12.86 (#3583) 2021-05-14 09:07:30 +08:00
李铭昕
669fa75738
Changed the consumer tag of amqp to empty string. (#3582) 2021-05-13 16:07:31 +08:00
李铭昕
80c1c818fe
Changed the default priority of aspect to 0. (#3580) 2021-05-13 15:35:09 +08:00
李铭昕
42bf89639b
domnikl/statsd is no longer maintained, using the slickdeals/statsd package instead. 2021-05-13 09:58:05 +08:00
李铭昕
42b9a78860
Upgraded egulias/email-validator to ^3.0 (#3576) 2021-05-13 09:37:44 +08:00
李铭昕
b1747fb3eb
Optimized all composer.json (#3569)
* Optimized all composer.json

* Update package-lock.json
2021-05-11 16:15:42 +08:00
李铭昕
62f7c49352
Upgraded psr/container to ^1.0|^2.0 (#3337)
* Support psr/container ^2.0

* Update composer.json

* Update CHANGELOG-2.2.md
2021-05-11 13:27:43 +08:00