Commit Graph

6266 Commits

Author SHA1 Message Date
李铭昕
2cc73d72cb Merge branch 'master' into merge
# Conflicts:
#	composer.json
2021-01-22 21:41:30 +08:00
李铭昕
0acc0f1834
Fixed json-rpc client failed to receive data when the target server restart. (#3179)
* Fixed json-rpc client failed to receive data when the target server restart.

* Update CHANGELOG-2.0.md

* Update composer.json
2021-01-22 17:13:09 +08:00
江湖大牛
429d317638
Fixed bug that the where bindings will be replaced by not rigorous code. (#3174)
* Fixed bug that the where bindings will be replaced by not rigorous code.

* Assert the binding values for database by default.

* Added test cases.

* Update CHANGELOG-2.1.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-22 13:03:40 +08:00
VinterHe
7c464d6bbb
Update documents (#3173)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-21 14:44:04 +08:00
毛自豪
0b0df042ab
Fixed Hyperf\Database\Schema\MySqlBuilder::getColumnListing does not works in MySQL 8.0. (#3165)
* Fixed bug

* Added test cases.

* Update CHANGELOG-2.1.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-20 18:17:54 +08:00
李铭昕
70249eb840
Optimized code for ErrorExceptionHandler (#3169)
* Optimized code for ErrorExceptionHandler

* Update CHANGELOG-2.1.md

* Update test.yml
2021-01-20 17:41:26 +08:00
李铭昕
8e550e04cf
v2.1.3 (#3147) 2021-01-18 09:49:08 +08:00
李铭昕
f18f06ab7e
Fixed tracer does not works in hyperf v2.1 (#3070) 2021-01-17 19:45:57 +08:00
李铭昕
9821c9db87
Update docs 2021-01-15 18:02:33 +08:00
李铭昕
fecdb5034d
Fixed doctrine/dbal does not works. (#3141)
* Fixed doctrine/dbal does not works.

* Fixed by https://github.com/laravel/framework/pull/35236
2021-01-15 17:00:52 +08:00
李铭昕
53c84628c9
Fixed type hint error, when don't set true for PDO::ATTR_PERSISTENT. (#3137)
* Revert #3045

* Fixed type hint error, when don't set `true` for `PDO::ATTR_PERSISTENT`.
2021-01-15 15:18:41 +08:00
江湖大牛
c9a6f5a5ac
Added method ComponentAttributeBag::has() for view-engine. (#3123)
* feat: Add has() method to Hyperf\ViewEngine\Component\ComponentAttributeBag

* docs: update view-engine.md

* Update CHANGELOG-2.1.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-14 12:00:25 +08:00
李铭昕
eab49ac7bf FIxed new chan without capacity does not works in Swow. 2021-01-14 10:20:54 +08:00
reasno
a2cfdf1df7 fix(tracer): add graceful shutdown 2021-01-14 10:20:54 +08:00
reasno
2ffc8ca254 fix(tracer): static analysis 2021-01-14 10:20:54 +08:00
reasno
dc260dba49 fix(tracer): swoole v4.6 SWOOLE_HOOK_SOCKETS conflicts with jaeger tracing. 2021-01-14 10:20:54 +08:00
Demin Yin
c82b3d64b1
update comments in the Redis component (#3127) 2021-01-14 09:38:13 +08:00
李铭昕
ee046b03df
Update kafka.md 2021-01-13 13:06:02 +08:00
李铭昕
49eb5014f3
Fixed bug that the config key of migrations is not correct. (#3118)
* Fixed bug that the config key of migrations is not correct.

* Update CHANGELOG-2.1.md
2021-01-13 10:53:01 +08:00
李铭昕
3b9c4c427e Update CHANGELOG-2.1.md 2021-01-13 10:18:43 +08:00
nfangxu
464eed13d0 docs: update view-engine.md 2021-01-13 10:18:43 +08:00
nfangxu
414e4ceb01 feat: The merged attributes in the view component support attributes other than 'class'. 2021-01-13 10:18:43 +08:00
pandaLIU
6f3351a744
Fixed routes will be replaced by another group when using describe:routes command.
* Fixed routes will be replaced by another group when using `describe:routes` command.

* Updated CHANGELOG-2.1.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-13 09:46:37 +08:00
李铭昕
9a2873c0f9
Added test cases for run(). (#3116) 2021-01-12 17:48:11 +08:00
sy-records
6d087e3bae Update Runtime::enableCoroutine param 2021-01-12 17:24:27 +08:00
sy-records
e483a1e3f8 Update swoole_hook_flags docs 2021-01-12 17:24:27 +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
李铭昕
17a4e2f52a
Fixed bug that call to a member function getArrayCopy() on null when the parent coroutine context destroyed. (#3106)
* Fixed copy failed when the parent coroutine context destroyed.

* Update CHANGELOG-2.1.md
2021-01-11 19:08:16 +08:00
李铭昕
d2ab897386
Added OnPacketInterface. (#3103) 2021-01-11 18:03:17 +08:00
李铭昕
301f28e237
Added kafka into docs. (#3102) 2021-01-11 14:33:53 +08:00
李铭昕
7139be6a43
v2.1.2 (#3100) 2021-01-11 09:57:22 +08:00
李铭昕
455e38d0da Fixed PHPUnit 2021-01-10 17:02:47 +08:00
李铭昕
a42db1e2c1 Format code 2021-01-10 17:02:47 +08:00
pandaLIU
fe7b3e1e31 Updated AbstractConsumer.php 2021-01-10 17:02:47 +08:00
pandaLIU
7aee813c87 Updated ConssumerManager.php 2021-01-10 17:02:47 +08:00
pandaLIU
82d57e2d56 Updated kafka.md 2021-01-10 17:02:47 +08:00
pandaLIU
4e8eea9836 Updated kafka test case 2021-01-10 17:02:47 +08:00
pandaLIU
e4198cf198 Upgrade longlang/phpkafka version 2021-01-10 17:02:47 +08:00
pandaLIU
ef50e8af34 Fixed ConsumerManager.php 2021-01-10 17:02:47 +08:00
pandaLIU
4ad53053f9 Updated start consumer retry number 2021-01-10 17:02:47 +08:00
pandaLIU
df22afadfa Added ConsumerManagerTest for kafka 2021-01-10 17:02:47 +08:00
pandaLIU
adb3eff390 Added config for kafka 2021-01-10 17:02:47 +08:00
pandaLIU
cf2ac1a14f update doc for kafka 2021-01-10 17:02:47 +08:00
pandaLIU
4ed6a6a918 Updated doc for kafka 2021-01-10 17:02:47 +08:00
pandaLIU
c5a49001ec Optimized ConsumerManager for kafka 2021-01-10 17:02:47 +08:00
pandaLIU
3cbf6c66ee Optimized ConsumerManager.php for kafka 2021-01-10 17:02:47 +08:00
pandaLIU
1081c76d23 Updated kafk-comsumer.stub 2021-01-10 17:02:47 +08:00
pandaLIU
8bd9867ac7 Added rejoin group for kafka 2021-01-10 17:02:47 +08:00
李铭昕
188a6f0dbb Added consume result for kafka. 2021-01-10 17:02:47 +08:00