Commit Graph

415 Commits

Author SHA1 Message Date
李铭昕
9953486b68 Added document about how to use config center 2021-06-25 10:04:45 +08:00
huangzhhui
41fa935365 Fixed unit test 2021-06-25 10:04:45 +08:00
李铭昕
e8e1819756
Removed useless code from config-nacos. (#3735)
* Removed useless code from `config-nacos`.

* Update composer.json
2021-06-24 17:12:15 +08:00
李铭昕
74e5c8848a Renamed nacos-sdk as nacos. 2021-06-24 16:30:27 +08:00
huangzhhui
376d75ac03 Fix error 2021-06-23 09:07:42 +08:00
huangzhhui
4d6a6139bb Fix error 2021-06-23 09:07:42 +08:00
huangzhhui
2dba169c62 Add config-center component 2021-06-23 09:07:42 +08:00
李铭昕
fc023147f6 Restructure nacos component 2021-06-22 19:49:34 +08:00
李铭昕
a280656acf
Added ide-helper component (#3714) 2021-06-20 10:18:28 +08:00
李铭昕
b9b921cf60
Upgraded markrogoyski/math-php to ^2.0 (#3709) 2021-06-18 18:42:01 +08:00
李铭昕
3d9afbf9a0
Added ci for php8 (#3661) 2021-06-18 18:29:57 +08:00
pandaLIU
5eb2dbfe5c
Added Nacos SDK component (#3679)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-06-06 14:19:18 +08:00
李铭昕
17048c0128
Use promphp instead of endclothing for prometheus_client_php. (#3676) 2021-06-05 22:39:01 +08:00
李铭昕
3be446e13c
Make tests compatible with phpunit 10. (#3672) 2021-06-05 12:30:59 +08:00
李铭昕
e96d722075
Adapt database component to support php8. (#3670) 2021-06-05 12:03:34 +08:00
李铭昕
e6650112a0
Removed roave/better-reflection from other components. (#3654) 2021-06-02 13:18:33 +08:00
张城铭
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
李铭昕
723fee369e Support multiplexing for AMQP component. 2021-05-30 10:17:07 +08:00
李铭昕
d621795dd5 Added RPN component 2021-05-20 17:05:46 +08:00
李铭昕
1af932a66c
Added DAG component. (#3589) 2021-05-15 17:46:42 +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
李铭昕
3b097dc70a
Upgrade friendsofphp/php-cs-fixer to ^3.0 (#3566)
* Upgrade friendsofphp/php-cs-fixer to ^3.0 and format code

* Rename barnch  to 2.2

* Create CHANGELOG-2.2.md
2021-05-11 12:18:49 +08:00
李铭昕
00fe0793e1
Since the 2.2.2 version, promphp/prometheus_client_php will cause fatal error 2021-03-05 20:54:24 +08:00
李铭昕
29eb4e86d5 Upgrade jean85/pretty-package-versions to v2.0 2021-01-30 16:08:16 +08:00
李铭昕
a1e25daafc Added test cases for connecting not exist server. 2021-01-24 20:14:42 +08:00
李铭昕
f18f06ab7e
Fixed tracer does not works in hyperf v2.1 (#3070) 2021-01-17 19:45:57 +08:00
pandaLIU
e6bf2d78ce
Removed useless code. (#3109)
* Updated kafka.md

* Update changelog.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-12 11:50:37 +08:00
李铭昕
4b174ac5ba
Optimized PHPUnit for kafka. (#3107) 2021-01-12 09:24:40 +08:00
李铭昕
455e38d0da Fixed PHPUnit 2021-01-10 17:02:47 +08:00
李铭昕
188a6f0dbb Added consume result for kafka. 2021-01-10 17:02:47 +08:00
李铭昕
5acfbd594e Optimized code for kafka. 2021-01-10 17:02:47 +08:00
谷溪
e0533cb7f9
revert: flysystem v2.0 support (#3077)
* revert: flysystem v2.0 support

v2.0 is incompatible with almost all adapters available.

* Update composer.json

* Update CHANGELOG-2.1.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-06 16:01:13 +08:00
李铭昕
b3ef62833c Optimized schema for composer.json 2020-12-29 16:17:31 +08:00
李铭昕
54765d32ce
Changed branch-alias of dev-master to 2.1-dev (#3038)
* Update branch-alias

* Update composer.json
2020-12-27 14:12:45 +08:00
李铭昕
2ff91b21f8
Upgraded league/flysystem to ^1.0|^2.0 (#3034) 2020-12-27 10:24:51 +08:00
李铭昕
e56ecda54c
Fixed the broken PHPUnit with the latest opentracing. (#3007) 2020-12-25 09:57:01 +08:00
李铭昕
a8ea182146 Merge branch 'master' into 2.1-merge 2020-12-14 19:25:02 +08:00
黄朝晖
714e714c3f
Merge pull request #2872 from osgochina/master
Add phar component
2020-12-10 16:56:17 +08:00
李铭昕
a7c525bf95 Remove waiter functions file 2020-12-07 09:45:54 +08:00
李铭昕
9f43e2db9e Moved waiter component into utils. 2020-12-07 09:45:54 +08:00
李铭昕
3881f5ac16 Added test cases. 2020-12-07 09:45:54 +08:00
李铭昕
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