Commit Graph

91 Commits

Author SHA1 Message Date
李铭昕
296ec50ce4
Format code (#5172) 2022-11-01 10:50:54 +08:00
李铭昕
351b11d739
Format code. (#5069) 2022-09-04 10:22:42 +08:00
李铭昕
dd8e12ca42
Format code (#5063) 2022-08-30 14:33:36 +08:00
李铭昕
d74bd47cc7
Upgraded the minimum php version to ^8.0 for grpc-client. (#5041) 2022-08-20 17:29:18 +08:00
李铭昕
29dea82fc4
Added test cases for connecting golang grpc server. (#5040) 2022-08-20 15:36:11 +08:00
李铭昕
517396566e
Replaced Swoole\Coroutine\Channel by Hyperf\Engine\Channel. (#4808) 2022-06-04 15:51:29 +08:00
李铭昕
bf12f37f7a Merge branch 'master' into 3.0-merge
# Conflicts:
#	src/rpn/src/Calculator.php
2022-05-30 10:16:40 +08:00
李铭昕
6e0cfbf594
Added close-pull-request.yml to close pr for read-only repositories. (#4781) 2022-05-24 21:10:54 +08:00
李铭昕
ad5afa9073 Merge branch 'master' into 3.0-merge
# Conflicts:
#	.github/workflows/test.yml
#	phpunit.xml
#	src/amqp/src/ConnectionFactory.php
#	src/amqp/src/IO/SwooleIO.php
2021-12-30 19:04:00 +08:00
李铭昕
0e7054c304
Adapt swoole 5.0 by removing swoole classes with PSR-0. (#4406)
* Removed swoole classes with `PSR-0`

* Update CHANGELOG-2.2.md
2021-12-29 11:14:18 +08:00
李铭昕
74a21bbab3
Optimized code about amqp and upgrade all requirements from v2.2 to v3.0 (#4196) 2021-11-02 15:06:17 +08:00
李铭昕
323b9e78f1 Format code 2021-09-01 00:09:18 +08:00
李铭昕
0398f5d761 Update branch-alias to 2.2-dev in composer.json 2021-07-18 14:50:14 +08:00
李铭昕
b1747fb3eb
Optimized all composer.json (#3569)
* Optimized all composer.json

* Update package-lock.json
2021-05-11 16:15:42 +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
李铭昕
29eb4e86d5 Upgrade jean85/pretty-package-versions to v2.0 2021-01-30 16:08:16 +08:00
李铭昕
faa2ae0907 Format code. 2020-12-28 11:05:18 +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
李铭昕
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
李铭昕
4aa5e28d61
Upgrade phpunit to 9.4 (#2617) 2020-10-10 01:06:25 +08:00
李铭昕
0a1f01c4b9 Upgrade 2.0 to 2.1 2020-10-09 17:12:06 +08:00
Reasno
1b425d7772 style: format 2020-09-25 13:07:43 +08:00
Reasno
d42cbe4642 feat: support grpc metadata 2020-09-24 17:53:59 +08:00
李铭昕
5b0501fdb2
Fixed composer.json error (#2558) 2020-09-21 15:08:43 +08:00
李铭昕
baacbff862 Format code. 2020-09-17 09:33:29 +08:00
Reasno
b30f33f018 test: pass grpc test 2020-09-14 14:21:59 +08:00
Reasno
1df8f30585 fix: throw exceptions when disconnect 2020-09-14 13:37:37 +08:00
reasno
f1b35f5030 build: ignore phpstan complaints 2020-09-12 08:40:52 +08:00
reasno
e586a44464 fix: fix grpc-client streaming 2020-09-12 08:32:19 +08:00
李铭昕
efc637a4a5
Added auto release. (#2457) 2020-09-07 18:26:15 +08:00
李铭昕
7a24dd1282 Fixed travis. 2020-08-30 09:10:01 +08:00
huangzhhui
db2a18d7b0 Follow the commit 42d99d44b6ccf08c1cf1aa15a4f6052dc3211331 of swoole 2020-08-28 19:39:06 +08:00
李铭昕
d8c175585b
Format code. (#2122) 2020-07-15 17:05:45 +08:00
李铭昕
fce95cd786
Format code. (#1983) 2020-06-25 07:15:36 +08:00
李铭昕
4cd23167b9 Fixed branch alias. 2020-06-19 21:11:07 +08:00
huangzhhui
00b1dac8f2 Merge remote-tracking branch 'origin/master' into 2.0 2020-06-19 19:10:12 +08:00
谷溪
cfd51abb52
proposed gRPC-client 2.0 breaking changes (#1924)
* fix oss hook

* normalize names and function scope in gRPC-client

* expose _getGrpcClient

* expose _getGrpcClient

* fix tests
2020-06-18 11:42:09 +08:00
李铭昕
e0570b39da
Fixed code standards. (#1834) 2020-05-29 16:29:34 +08:00
李铭昕
7d47d32eca Upgrade 1.1 to 2.0 2020-05-26 09:54:53 +08:00
李铭昕
aa27e7eed0
Format all files. (#1562) 2020-04-16 11:41:10 +08:00
huangzhhui
b6c4510873 Optimize composer.json 2020-03-19 14:42:43 +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
李铭昕
322a3477a4
Added Hyperf\LoadBalancer\LoadBalancerInterface::getNodes(). (#1331) 2020-02-06 13:38:16 +08:00
huangzhhui
f441d437c5 Optimize the usage of retry function 2020-01-16 10:51:38 +08:00
Reasno
5bd376baf2 Remove duplicate unset. 2020-01-14 17:19:28 +08:00
Reasno
000c9462a9 skip buggy version 2020-01-14 10:45:14 +08:00
Reasno
14fe2d8823 gRPC-client optimization.
1. gRPC client now automatically reconnects to the server after disconnection.

2. when gRPC client is garbage collected, the connection is automatically closed.

3. fix a bug where a closed gRPC client still holds the underlying http2 connection.

4. fix a bug where channel pool for gRPC may contain non-empty channels.

5. gRPC client new initializes itself lazily, so it can be used in constructor and container.
2020-01-13 12:52:16 +08:00
York.Gu
3a97533b2d Fixed Hyperf\GrpcClient\GrpcClient::yield does not get the correct channel pool. (#982) 2019-11-19 15:51:41 +08:00
李铭昕
85042de806
Renamed hyperf-cloud to hyperf. (#754) 2019-10-22 09:35:48 +08:00