Commit Graph

6349 Commits

Author SHA1 Message Date
pandaLIU
99fe12a9aa
Fixed autoCommit does not works when you set false for hyperf/kafka. (#3245)
* Fixed `autoCommit` does not works when you set `false` for `hyperf/kafka`.

* Format code

* Update CHANGELOG-2.1.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-02-05 10:51:04 +08:00
谷溪
1b3a68b484
Backport upstream change from longyan/phpkafka (#3247)
see https://github.com/longyan/phpkafka/pull/22
2021-02-05 09:49:25 +08:00
jan
ca5c22cd65
Optimized config of cos for hyperf/filesystem. (#3239)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-02-03 16:29:12 +08:00
pandaLIU
e203ac5156
Removed rebalance check (#3235)
* Removed rebalance check

* Update CHANGELOG-2.1.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-02-03 09:55:04 +08:00
李铭昕
a3f52abd78
Fixed connection exhausted, when connect amqp server failed. (#3233)
* Fixed connection exhausted, when connect amqp server failed.

* Update CHANGELOG-2.1.md
2021-02-01 13:43:16 +08:00
李铭昕
aa8218ab4b
v2.1.5 (#3232) 2021-02-01 11:18:42 +08:00
李铭昕
3629fafeef
Fixed orderBy does not works for scout. (#3230)
* Fixed orderBy does not works for scout.

* Added Test Cases
2021-01-31 13:11:26 +08:00
李铭昕
80830d726f
Fixed bug that server crash when tracer flush failed in defer. (#3228)
* Fixed bug that server crash when tracer flush failed in defer.
* Update CHANGELOG-2.1.md
2021-01-30 19:47:11 +08:00
李铭昕
0bfb89fa1c Format code 2021-01-30 16:08:16 +08:00
李铭昕
29eb4e86d5 Upgrade jean85/pretty-package-versions to v2.0 2021-01-30 16:08:16 +08:00
李铭昕
226e513b6d Added Hyperf\Utils\CodeGen\Package::getPrettyVersion(). 2021-01-30 16:08:16 +08:00
tw2066
0ec731f1ca
Run pagination count as subquery for group by and havings. (#3226)
* Run pagination count as subquery for group by and havings

* Added Test cases.

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-29 14:33:59 +08:00
李铭昕
efbb753d34
change the php version for docs. (#3225) 2021-01-29 11:32:57 +08:00
刀刀
7d32ef4780
Added optional configuration url for nacos which used to request nacos server. (#3211)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-28 12:02:54 +08:00
李铭昕
1f40236e35 Format code 2021-01-28 11:44:57 +08:00
李铭昕
5ae4f63832 Merge branch '2.0' into 2.0-merge 2021-01-28 11:44:03 +08:00
tegic
b8eb394d95
Fixed memory leak for join queries in hyperf/database. (#3222)
* Fix join clause memory leak

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-28 11:36:17 +08:00
李铭昕
3235820803
Optimized code for closing amqp connection (#3219) 2021-01-27 18:23:30 +08:00
李铭昕
4790d69878
Set qos of amqp by default. (#3218)
* Set qos of amqp by default.

* Update CHANGELOG-2.1.md
2021-01-27 17:49:00 +08:00
李铭昕
604e4dd276
Added Caller which help you to use instance in coroutine security mode. (#3214)
* Added Caller which using instance in coroutine security mode.

* Update CHANGELOG-2.1.md
2021-01-27 13:46:44 +08:00
李铭昕
26322cbb62
break consuming when amqp ack failed. (#3213) 2021-01-27 12:53:05 +08:00
李铭昕
8272be2bfe
Fixed bug that connection was not be released to pool when the consumer broken in coroutine style server. (#3209) 2021-01-27 10:10:06 +08:00
刀刀
85d7194c18
Update nacos.md (#3205) 2021-01-26 18:23:49 +08:00
lionXu
b7687d998d
Fixed unexpected behavior for middlewares when using rpc-server. (#3204)
* Fixed unexpected behavior for `middlewares` when using `rpc-server`.

* Added test cases

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-26 15:41:44 +08:00
谷溪
9da13bc9d4
fix: coroutine leak (#3201)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-25 16:44:25 +08:00
李铭昕
4b78aeaaaf
Don't retry, when recv timeout for json-rpc client. (#3195)
* Don't retry, when recv timeout for json-rpc client.
2021-01-25 11:48:00 +08:00
李铭昕
4ee143b87a
v2.1.4 (#3190) 2021-01-25 10:17:05 +08:00
李铭昕
44e038cbb3 Try to reconnect the target server when json-rpc connectoin closed. 2021-01-24 20:14:42 +08:00
李铭昕
199e2a3a05 Fixed rpc-client with pool transporter recv failed once when the server restart. 2021-01-24 20:14:42 +08:00
李铭昕
a1e25daafc Added test cases for connecting not exist server. 2021-01-24 20:14:42 +08:00
谷溪
d8a4b1fce1
fix: make kafka producer usable in cluster setup (#3189) 2021-01-24 10:30:19 +08:00
张子彬
0fbda4f915
Added FindNewerDriver which is friendly with mac, linux and docker for watcher. (#3170)
* Added FindNewerDriver
* Update documents and changelog

Co-authored-by: zhangzibin <zhangzibin@idvert.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-23 13:09:45 +08:00
jiangwu10057
9e49c448c6
Added the method to install fswatch for ubuntu (#3185) 2021-01-23 12:32:14 +08:00
李铭昕
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