Commit Graph

371 Commits

Author SHA1 Message Date
李铭昕
2f3151d7ce
Upgrade the minimum version of php-amqplib to v2.9.2. (#2930)
* Upgrade the minimum version of amqplib to 2.9.2

* Update CHANGELOG-2.0.md
2020-12-06 14:58:12 +08:00
李铭昕
8e315925e8
Removed guzzle from matrix for Github Actions. (#2890) 2020-11-27 19:48:04 +08:00
李铭昕
c405f177a7 Merge branch 'master' into 2.1-merge 2020-11-27 19:01:03 +08:00
李铭昕
6567ca4dde Format code. 2020-11-25 23:42:52 +08:00
李铭昕
f673bb6995
Update CHANGELOG.md (#2866) 2020-11-25 20:36:31 +08:00
李铭昕
8921c2defc Merge branch 'master' into 2.1-merge
# Conflicts:
#	src/guzzle/src/CoroutineHandler.php
#	src/guzzle/tests/Stub/CoroutineHandlerStub.php
2020-11-25 16:46:33 +08:00
李铭昕
62a5ecac00 Added documents for encryption. 2020-11-25 15:22:14 +08:00
李铭昕
7bf3fe9b3b Optimized code for encryption. 2020-11-25 15:22:14 +08:00
李铭昕
84ac3f0a0d Merge branch 'master' into 2.1-merge
# Conflicts:
#	README.md
#	src/amqp/src/Message/ConsumerMessageInterface.php
#	src/utils/src/Coroutine/Concurrent.php
#	src/websocket-server/src/Server.php
2020-11-09 18:25:43 +08:00
李铭昕
05da0fa108
Removed doctrine/common (#2760) 2020-11-04 09:42:28 +08:00
李铭昕
199a6e2324
Added view-engine component. (#2737)
Co-authored-by: nfangxu <nfangxu@gmail.com>
2020-10-30 16:33:16 +08:00
jan
85b2ad4356
The methods with prefix __ will not be registered into service for rpc-server. (#2728)
* rpc register method filter __construct

* Added test cases

* Update CHANGELOG-2.0.md

Co-authored-by: byphper
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-10-29 18:16:04 +08:00
José Carlos Chávez
caf4435d2b
chore: upgrades zipkin to 2.0. (#2712)
* chore: upgrades zipkin to 2.0.

* fix(tracer): fixes the static checks.

Code would still work with no changes as Zipkin 2.0 is mostly retrocompatible but static checks fails.

* chore(tracer): upgrades zipkin-opentracing to 0.2.0

* Format code.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-10-29 15:26:12 +08:00
李铭昕
11dabbf792 Merge branch 'master' into 2.1-merge
# Conflicts:
#	.travis.yml
#	composer.json
#	src/json-rpc/src/CoreMiddleware.php
2020-10-28 09:18:07 +08:00
李铭昕
da784eef16
v2.0.16 (#2692) 2020-10-26 12:07:29 +08:00
李铭昕
3108b7d5a4
Optimized code of guzzle coroutine handler to adapt hyperf engine. (#2705)
* Optimized code of guzzle coroutine handler to adapt hyperf engine.

* Added test cases for pool handler.

* Update composer.json

* Update CHANGELOG-2.1.md

* Update
2020-10-24 17:43:46 +08:00
李铭昕
c598e21466 Support HttpServer for Swow. (#2659) 2020-10-15 11:31:31 +08:00
李铭昕
f72a7d884a
Upgrade twig to ^3.0 (#2628)
* Upgrade twig to ^3.0

* Update phpstan.neon
2020-10-10 20:13:55 +08:00
李铭昕
bdfa1e3572
Upgrade prometheus_client_php to ^1.0 (#2626)
* Upgrade prometheus_client_php to ^1.0

* Update phpstan.neon

* Update metric.md
2020-10-10 19:51:09 +08:00
李铭昕
6914d5a71f
Upgrade guzzlehttp/guzzle to ^7.0 (#2621) 2020-10-10 13:12:00 +08:00
李铭昕
0d599b4db5
Upgrade vlucas/phpdotenv to ^5.2 (#2620)
* Upgrade phpdotenv to ^5.2

* update

* Update ClassLoader.php

* Update
2020-10-10 07:27:12 +08:00
李铭昕
4aa5e28d61
Upgrade phpunit to 9.4 (#2617) 2020-10-10 01:06:25 +08:00
李铭昕
895ba2ade7 Merge branch 'master' into pr/1969 2020-10-04 18:27:39 +08:00
李铭昕
8faea9bc83 Merge branch 'master' into pr/1172 2020-10-02 08:13:20 +08:00
李铭昕
5b0501fdb2
Fixed composer.json error (#2558) 2020-09-21 15:08:43 +08:00
nfangxu
521bf94b0d Revert "perf: Use hyerf/transformer instead of hyperf/resource."
This reverts commit a93a57dd2f.
2020-09-18 17:48:00 +08:00
reasno
72ec6d243c build: fix grpc namespacing 2020-09-12 08:47:09 +08:00
reasno
e586a44464 fix: fix grpc-client streaming 2020-09-12 08:32:19 +08:00
fsl
b1fc0cd595
Fixed Sender::check does not works when the checked fd not belong to websocket. (#2478)
* 修复Hyperf\WebSocketServer\Sender->check($fd)方法如果传入的不是websocket的fd会出现:Notice: Undefined index: websocket_status的问题

* Update Sender.php

* Added test cases.

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-09-10 14:34:50 +08:00
huangzhhui
380cf96c3e Merge remote-tracking branch 'upstream/master' into pr/1969 2020-09-07 00:34:42 +08:00
黄朝晖
b60964fa79
Merge pull request #2254 from hyperf/dependabot/composer/markrogoyski/math-php-tw-1.2.0
Update markrogoyski/math-php requirement from ^0.49.0 to ^1.2.0
2020-08-24 14:00:05 +08:00
黄朝晖
0bf1f08ec9
Merge pull request #2253 from hyperf/dependabot/composer/jonahgeorge/jaeger-client-php-tw-0.6.0
Update jonahgeorge/jaeger-client-php requirement from ^0.4.4 to ^0.6.0
2020-08-13 13:43:46 +08:00
李铭昕
049ba0b0d3 Removed jet from hyperf/hyperf. 2020-08-10 10:18:51 +08:00
李铭昕
56b4608916 Update 2020-08-10 10:11:44 +08:00
nfangxu
a93a57dd2f perf: Use hyerf/transformer instead of hyperf/resource. 2020-08-10 09:47:43 +08:00
huangzhhui
36ecf03bbf Rename the component name to Jet and Optimize the code 2020-08-09 20:19:15 +08:00
huangzhhui
f62589938d Merge remote-tracking branch 'upstream/master' into pr/2125 2020-08-09 19:17:20 +08:00
dependabot-preview[bot]
4dc6479081
Update markrogoyski/math-php requirement from ^0.49.0 to ^1.2.0
Updates the requirements on markrogoyski/math-php to permit the latest version.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-07 06:26:02 +00:00
dependabot-preview[bot]
2afd6a3ed0
Update jonahgeorge/jaeger-client-php requirement from ^0.4.4 to ^0.6.0
Updates the requirements on jonahgeorge/jaeger-client-php to permit the latest version.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-07 06:21:26 +00:00
李铭昕
8703b9fead Format code. 2020-08-07 09:47:28 +08:00
李铭昕
9925bb25ae Merge branch 'master' into pr/1969 2020-08-07 09:40:38 +08:00
Ondrej Mirtes
45df236977
Verify PHPStan fix 2020-08-05 09:48:01 +02:00
李铭昕
1bd2446a76
Fixed collect more than once time when using watcher. (#2242) 2020-08-05 11:13:01 +08:00
phper666
33b2cc7733
Fixed document for overtrue/wechat. (#1780)
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-23 18:16:06 +08:00
李铭昕
2217036aa8 Added json-rpc-client. 2020-07-17 09:48:55 +08:00
李铭昕
f1d666ff22
Optimized requirement for di. (#2116)
* Optimized requirement for di.
* Only format code.
2020-07-14 17:58:29 +08:00
沈唁
2b143cf1ca
Added flysystem-cos for hyperf/filesystem (#2097)
* Added flysystem-cos for `hyperf/filesystem`

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-13 19:52:01 +08:00
李铭昕
b3295c89a9 Upgrade doctrine/inflector to 2.0 2020-07-12 19:56:42 +08:00
nfangxu
a408e37ec0 add hyperf/resource-grpc 2020-06-28 16:11:14 +08:00
李铭昕
d6ac43509b Added test cases. 2020-06-24 20:39:37 +08:00
nfangxu
12817d629d fix hyperf/resource version 2020-06-23 14:02:15 +08:00
nfangxu
f834a1511a add hyperf/resource 2020-06-23 13:57:46 +08:00
李铭昕
01b6dbf1ee
Merge pull request #705 from dickens7/opt-request
optimize http message
2020-06-19 16:05:03 +08:00
李铭昕
2ff1a52c01 Optimized code. 2020-06-19 15:47:53 +08:00
李铭昕
03164835f9 Merge branch '2.0' into pr/992 2020-06-19 14:46:22 +08:00
李铭昕
b645a5cce7
Optimized code for phpstan. (#1881) 2020-06-17 14:45:13 +08:00
huangzhhui
7a809a3507 Fix composer.json 2020-06-14 13:34:55 +08:00
huangzhhui
0d82e6789a Fix autoload rules 2020-06-11 22:23:02 +08:00
huangzhhui
ca8f0c2152 Merge branch '2.0' into pr/992 2020-06-11 22:11:41 +08:00
李铭昕
dd0b262dc0
Format code. (#1876) 2020-06-08 11:04:26 +08:00
李铭昕
2a3db07bc9
Added hyperf/signal component. (#1819) 2020-06-04 14:13:37 +08:00
李铭昕
07f3d8d2e4
Fixed code standards. (#1844) 2020-06-01 14:01:52 +08:00
李铭昕
7d47d32eca Upgrade 1.1 to 2.0 2020-05-26 09:54:53 +08:00
黄朝晖
31db7269bb
Merge branch '2.0' into 2.0-aop 2020-05-25 14:26:18 +08:00
Reasno
2cdccdaf55 Merge remote-tracking branch 'origin/master' 2020-05-22 20:03:00 +08:00
Reasno
7a2063c40e upgrade swoole to 4.5 2020-05-22 19:08:05 +08:00
José Carlos Chávez
16f2b39809
fix: Upgrades zipkin-php-opentracing (#1685) 2020-05-19 18:01:41 +02:00
李铭昕
ebb70e1d17 Update composer.json 2020-05-14 12:18:47 +08:00
谷溪
cb7d2ed598
Merge pull request #1723 from Reasno/whoops
Integrate Whoops
2020-05-14 11:48:42 +08:00
谷溪
5b66887164
Merge pull request #1665 from Reasno/nano
Add hyperf/nano
2020-05-14 11:48:27 +08:00
李铭昕
6b9ba9a38f Optimized amqp for phpstan. 2020-05-13 11:57:02 +08:00
李铭昕
c7d62ea37c Reset phpstan. 2020-05-13 10:22:44 +08:00
Reasno
ec2be8dcc4 add whoopse 2020-05-11 18:48:32 +08:00
reasno
cfd544ffcf it Merge branch 'master' of https://github.com/hyperf/hyperf into socketio 2020-05-05 19:25:18 +08:00
huangzhhui
ea90761e93 Update composer.json 2020-05-05 00:25:51 +08:00
huangzhhui
7eef437d26 Merge remote-tracking branch 'upstream/master' 2020-05-04 23:46:31 +08:00
李铭昕
4e09074290 Optimized composer.json. 2020-05-04 11:59:11 +08:00
李铭昕
5873fa4d6d
Fixed bug that command describe:routes will show the wrong list. (#1650) 2020-04-30 07:17:56 +08:00
reasno
5335960c3b pass analyzer, tests and format code 2020-04-27 23:21:28 +08:00
Reasno
b713d7756a add example
add socketio component
2020-04-27 16:47:46 +08:00
李铭昕
4af18a6a1c
Added conflict of symfony/event-dispatcher which < 4.3. (#1586) 2020-04-20 10:12:34 +08:00
李铭昕
8ee442adec Upgrade monolog version. 2020-04-17 15:55:03 +08:00
李铭昕
1e2c3037f7 Upgrade version of some components. 2020-04-17 15:23:24 +08:00
李铭昕
692dcbf134
Format composer.json (#1492) 2020-04-02 14:37:16 +08:00
李铭昕
4b22b85c45
Merge pull request #1451 from Reasno/filesystem
Add Filesystem component
2020-03-26 10:46:29 +08:00
李铭昕
1735612d76
Merge pull request #1452 from Reasno/patch-1
Encourage the use of \Hyperf\Redis\Redis instead of \Redis because of #938
2020-03-26 10:31:51 +08:00
李铭昕
c2938be06a Format code. 2020-03-26 10:25:47 +08:00
dayday
372668a91f
feat: use swoole/ide-helper (#1460)
* feat: use swoole/ide-helper

* Removed swoole/ide-helper form sub components.

* Fixed composer deprecation.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-03-26 10:15:48 +08:00
Reasno
49540bda45 Encourage the use of \Hyperf\Redis\Redis instead of \Redis because of #938 2020-03-23 12:27:24 +08:00
reasno
6b43033e55 fix: composer.json path 2020-03-23 00:48:49 +08:00
reasno
56f4b3e3b7 增加文档 2020-03-23 00:36:47 +08:00
huangzhhui
d5aa8a2a20 Optimize composer.json 2020-03-19 14:39:04 +08:00
李铭昕
322a3477a4
Added Hyperf\LoadBalancer\LoadBalancerInterface::getNodes(). (#1331) 2020-02-06 13:38:16 +08:00
李铭昕
c1b2276e0e Added ext-bcmatch required. 2020-01-24 13:11:31 +08:00
李铭昕
44d58d7766 Init nsq component. 2020-01-20 16:59:47 +08:00
李铭昕
5c8e9035e5 Merge branch 'master' into 1.1-superglobals 2020-01-07 16:23:30 +08:00
José Carlos Chávez
5a12584618
Upgrades jcchavezs/zipkin-php-opentracing to 0.1.4
This includes one bugfix and one new feature for propagation. For more details see https://github.com/jcchavezs/zipkin-php-opentracing/releases/tag/0.1.4
2020-01-04 16:56:12 +01:00
李铭昕
7e3ffb1c8e
Replaced zendframework/zend-mime into laminas/laminas-mine. (#1217) 2020-01-03 15:12:03 +08:00
李铭昕
c1518cea62 Added super-globals component. 2020-01-01 19:28:06 +08:00
Reasno
012e89d7d2 Add Scout Component 2019-12-23 15:34:00 +08:00
李铭昕
1deed1d262
Merge pull request #1144 from assert6/master
Fixed rate-limit config not work
2019-12-19 10:23:36 +08:00
李铭昕
7948abc1d1 Added default config for rate-limit. 2019-12-18 14:21:13 +08:00
reasno
5f519f780e Merge branch 'master' of https://github.com/hyperf/hyperf into rxphp 2019-12-07 01:44:29 +08:00
李铭昕
53d40d94d4
Added stdoutlogger testing. (#1037) 2019-11-28 10:25:15 +08:00
谷溪
364510e289
Merge branch 'master' into rxphp 2019-11-21 11:15:43 +08:00
李铭昕
60689a5437 Merge branch 'master' into pr/860 2019-11-21 09:55:23 +08:00
Reasno
6b83618bb7 fix invalid requirements in composer.json 2019-11-20 21:26:06 +08:00
Reasno
61bf54916f Add ReactiveX component 2019-11-20 21:05:39 +08:00
sy-records
9fd7530bf5 Update composer.json 2019-11-15 09:19:00 +08:00
Reasno
f6110a2de7 Merge branch 'master' of https://github.com/hyperf/hyperf into retry 2019-11-15 01:18:43 +08:00
Luffy
854d07a2c8 Update composer.json (#947) 2019-11-14 20:42:18 +08:00
李铭昕
3fa03c5fbe
Merge pull request #941 from daydaygo/dayday-201911140956
add config-zookeeper
2019-11-14 13:32:23 +08:00
黄朝晖
c407b1e09a
Merge pull request #921 from huangzhhui/session
Add Session component
2019-11-14 12:54:46 +08:00
李铭昕
0a2623c0af Optimized code. 2019-11-14 11:22:30 +08:00
李铭昕
3b8b23dddc Format code. 2019-11-13 10:47:16 +08:00
huangzhhui
ae964cac5d Merge remote-tracking branch 'upstream/master' into session 2019-11-11 20:38:49 +08:00
谷溪
abaee5d56b
Merge branch 'master' into retry 2019-11-11 00:25:59 +08:00
Dickens Gao
8ecbae4947 Added twig template engine for view. (#905) 2019-11-10 14:58:14 +08:00
李铭昕
05c375c07f
Added smarty testing. (#912) 2019-11-10 14:34:57 +08:00
李铭昕
d83e764c0e Merge branch 'master' into pr/827 2019-11-09 16:12:58 +08:00
谷溪
13394dcc96
Merge branch 'master' into retry 2019-11-07 17:16:26 +08:00
Reasno
83114383d2 Add Retry Component
Merge branch 'master' of https://github.com/hyperf/hyperf into retry
2019-11-05 15:15:29 +08:00
李铭昕
c387bb8e12 Format code. 2019-11-02 14:29:10 +08:00
李铭昕
a5385bb12e Optimized code. 2019-10-31 10:49:13 +08:00
李铭昕
e2d3542086 Moved repejota/nats into hyperf/nats. 2019-10-31 10:31:24 +08:00
李铭昕
f94d83fc12 Added nats component. 2019-10-30 22:04:16 +08:00
李铭昕
95ce15c17b
Merge pull request #796 from limingxinleo/1.1-etcd
Optimized etcd.
2019-10-30 16:26:57 +08:00
李铭昕
e0d7f2d596 Fixed namespaces for testing. 2019-10-30 14:36:00 +08:00
李铭昕
c7d73cf21c Optimized EtcdClient::getDefaultHandler. 2019-10-27 18:58:19 +08:00
huangzhhui
2fd430e7b5 Merge remote-tracking branch 'upstream/master' into session 2019-10-27 16:17:47 +08:00
Reasno
c6c8e1004b Add Metric Component
Support a various of Metrics providers, including prometheus, statsd, influxdb.
2019-10-25 16:51:03 +08:00
李铭昕
a690f36b3e Added protocol. 2019-10-22 19:29:31 +08:00
Peter Kokot
4cf07d573f Add ext-swoole to composer requirement (#671) 2019-10-08 17:47:24 +08:00
Dacheng Gao
6524415bba Fix LICENSE link 2019-10-06 19:53:21 +08:00
黄朝晖
85a14a8375
Merge pull request #429 from chunhei2008/feat/validation
Add validation component
2019-09-29 18:03:18 +08:00
水煮牛肉
c8ea4ca394 Deleted useless code of guzzle. (#618)
* Deleted useless code of guzzle.

* Optimized .
2019-09-26 14:58:19 +08:00
huangzhhui
3f783a65be Merge remote-tracking branch 'upstream/master' into pr/429 2019-09-20 23:42:41 +08:00
黄朝晖
0c327bd0ca
Merge pull request #478 from Reasno/tracer
Adopt opentracing interfaces and support jaeger
2019-09-20 23:28:21 +08:00
李铭昕
784ed332a2 Merge branch 'master' into 1.0-merge 2019-09-20 09:55:03 +08:00
huangzhhui
3c7553e918 Merge remote-tracking branch 'upstream/master' into pr/478 2019-09-20 00:21:15 +08:00
李铭昕
67eb4af5c8
Fixed the next request will be effected after using stopPropagation. (#571)
* Create Propagation.php

* Fixed stopPropagation will effect the next request.

* Added testing.

* Update phpunit.xml

* Update CHANGELOG.md
2019-09-16 09:28:45 +08:00
wangyi
f2258295d0 Merge branch 'master' into feat/validation 2019-09-10 18:28:22 +08:00
李铭昕
ca05d123a9 Added testing. 2019-09-10 17:13:55 +08:00
huangzhhui
8b2b06df28 Optimized 2019-09-04 16:19:23 +08:00
黄朝晖
1ebf616c0f
Merge pull request #489 from sy-records/master
Update SwooleTracker
2019-09-03 10:07:42 +08:00
reasno
bf4ad4a932 Add Documentation
Merge branch 'master' into tracer

Pass PHPStan
2019-08-31 18:33:41 +08:00
Luffy
5919740780
Update composer.json 2019-08-30 16:34:16 +08:00
Reasno
fcad7ce6bf [Feature] Adopt opentracing interface and support jaeger
This PR unties all Zipkin details from the hyper/tracer. All tracing interaction is done through the standard Opentracing interfaces. Configuration format is slightly modified according to the discussion in #453. Two adapters are provided out of box, Zipkin and Jaeger. The architecture is made pluggable now. Anything that implements opentracing can be used as the underlying tracer. Users are free to implement their own solution.

Note you need to "composer require jonahgeorge/jaeger-client-php" to use Jaeger as tracer.
2019-08-29 16:36:14 +08:00
李铭昕
2c9dadfda4 Merge branch '1.0' into pr/429 2019-08-28 11:48:48 +08:00
李铭昕
3fd84b3027 Merge branch 'master' into 1.0-merge 2019-08-28 11:41:30 +08:00