Commit Graph

5949 Commits

Author SHA1 Message Date
Hugh
79f810d3af
Optimized FindDriver which can support alpine image. (#2611)
Co-authored-by: 李铭昕 <715557344@qq.com>
Co-authored-by: sy-records <52o@qq52o.cn>
2020-10-21 11:28:34 +08:00
Dleno
20710a40e5
Optimized amqp consumer which can stop safely. (#2662)
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-10-21 11:04:27 +08:00
谷溪
27c5ce7837
ensure span finished and flushed. (#2690)
* fix: ensure span finishes

* fix: ensure span finished and flushed

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-10-21 10:20:38 +08:00
djunny
f0a8d72d36
Added method getCacheTTL for CacheableInterface which can control cache time each models. (#2682)
Co-authored-by: dj <github@djunny.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-10-21 10:02:30 +08:00
沈唁
b42419714b
update max_coroutine (#2685) 2020-10-19 18:47:35 +08:00
李铭昕
864f500eab
v2.0.15 (#2679) 2020-10-19 15:08:13 +08:00
Nash Gao
6b5b36ce21
Optimized the response when parse parameters failed for json-rpc. (#2656)
* add try catch for parseParameters method in order to return valid error response to rpc client

* let parseParameter catch \InvalidArugmentException

* let parseParameter catch \InvalidArugmentException

* Format code.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-10-15 12:05:56 +08:00
李铭昕
7d477a9b60
Optimized code. (#2657) 2020-10-14 09:26:49 +08:00
李铭昕
cbf6ae79bc
Added method Hyperf\Utils\Resource::from which can convert string to resource. (#2654)
* Added `Hyperf\Utils\Resource::resourceFor`.
2020-10-13 21:15:07 +08:00
Alone88
7243b8f918
Update scout.md (#2645) 2020-10-13 07:26:47 +08:00
李铭昕
d8a721ffa9
Fixed undefined method unsearchable for scout:flush. (#2643)
* Fixed scout:flush does not works.

* Update CHANGELOG-2.0.md
2020-10-12 20:02:57 +08:00
李铭昕
84e19f78de
Fixed bug that RedisSecondMetaGenerator will generate the same meta. (#2640)
* Fixed bug that `RedisSecondMetaGenerator` will generate the same meta.

* Update RedisMetaGenerator.php

* Update CHANGELOG-2.0.md
2020-10-12 19:03:31 +08:00
李铭昕
044d827d2a
Fixed bug that RedisSecondMetaGenerator will generate the same meta. (#2634)
* Update RedisSecondMetaGenerator.php

* Update RedisMetaGeneratorTest.php

* Update CHANGELOG-2.0.md
2020-10-12 17:10:52 +08:00
李铭昕
9c0a2af77d
Fixed exception will not be normalized for json-rpc. (#2639)
* Fixed exception will not be normalized for json-rpc.

* Update CHANGELOG-2.0.md
2020-10-12 16:00:58 +08:00
谷溪
eb1fb28e33
fix: broken interface binding in retry annotation (#2637)
* fix: broken interface binding in retry annotation

 Di interface bindings are not available at the time of annotation parsing.

* Update Retry.php

* changelog

* test: fix test bindings

* Update RetryAnnotationAspectTest.php

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-10-12 14:13:50 +08:00
沈唁
3768a08ab3
fix redis config replace error (#2635)
* fix redis config error

* update

* update

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-10-12 12:02:08 +08:00
李铭昕
13d0fb58cc
v2.0.14 (#2631)
* v2.0.14

* Update translation

Co-authored-by: huangzhhui <huangzhwork@gmail.com>
2020-10-12 10:40:47 +08:00
李铭昕
7cedd18caf
Fixed redis cluster does not support auth. (#2632) 2020-10-12 10:25:20 +08:00
李铭昕
38d12e4e5d
Fixed http client does not works when using guzzle 7.0 and curl hook for hyperf/testing. (#2624)
* Update HttpClient.php

* Create HttpClientTest.php

* Update HttpClientTest.php

* Update CHANGELOG-2.0.md
2020-10-10 17:22:32 +08:00
李铭昕
df2ab77895
Update LICENSE (#2613) 2020-10-07 16:29:23 +08:00
李铭昕
aaaef039d6
Optimized documents. (#2610) 2020-10-05 08:31:32 +08:00
李铭昕
55698e9dd4
Merge pull request #1969 from nfangxu/resource
[feature] add hyperf/resource
2020-10-04 19:03:31 +08:00
李铭昕
ad1fd279d5 Update changelog. 2020-10-04 18:59:05 +08:00
李铭昕
48ca8d1616 Format composer.json 2020-10-04 18:42:03 +08:00
李铭昕
895ba2ade7 Merge branch 'master' into pr/1969 2020-10-04 18:27:39 +08:00
李铭昕
5eb2f1f131
Fixed the wrong exception namespace. (#2608) 2020-10-03 07:22:37 +08:00
谷溪
5e70bad389
fix: fix memory leak in RetryAnnotationAspect (#2607)
* fix: fix memory leak in RetryAnnotationAspect

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-10-03 07:11:33 +08:00
李铭昕
68ae3c38bc
Adjust composer.json for scout. (#2606)
* Adjust composer.json for scout.

* Update composer.json
2020-10-02 11:26:35 +08:00
李铭昕
f3690648b4
Merge pull request #1172 from Reasno/scout
Add hyperf/scout, a coroutine friendly version of laravel/scout
2020-10-02 10:29:39 +08:00
李铭昕
6a96fbaccb Fixed documents. 2020-10-02 10:24:19 +08:00
李铭昕
bde95ead2d Deleted useless code. 2020-10-02 10:01:35 +08:00
李铭昕
e3115cfcbb Fixed travis. 2020-10-02 09:54:51 +08:00
李铭昕
8faea9bc83 Merge branch 'master' into pr/1172 2020-10-02 08:13:20 +08:00
Craig Lei
9aaf2735dc
Added sentinel mode for redis. (#1868)
Co-authored-by: tiantao <tiantao2991@163.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-10-01 13:36:52 +08:00
李铭昕
b74539d3a3
Allow whereNull to accept array columns argument. (#2603)
* Fixed the error sql when the column is null.

* Added test cases.

* Update
2020-09-30 21:08:43 +08:00
李铭昕
50479409ca
Fixed @property will be replaced by @property-read when the property has getter and setter at the same time. 2020-09-30 15:41:46 +08:00
李铭昕
b9c729211b
Fixed crontab does not stops when using signal. (#2594)
* Fixed crontab does not stops when using signal.

* Update CHANGELOG-2.0.md
2020-09-28 17:56:39 +08:00
李铭昕
34ed6f37e4
v2.0.13 (#2586)
* Update CHANGELOG-2.0.md

* Update awesome-components.md

Co-authored-by: huangzhhui <huangzhwork@gmail.com>
2020-09-28 10:47:04 +08:00
李铭昕
fdbc32a4e4
Fixed crontab does not works when using coroutine style server. (#2590)
* Added PHPDOc.

* Fixed crontab does not works when using coroutine style server.
2020-09-27 16:25:56 +08:00
李铭昕
8032cc206a
Fixed amqp consumer does not starts when using coroutine style server. (#2589)
* Fixed amqp consumer does not starts when using coroutine style server.

* Update CHANGELOG-2.0.md
2020-09-27 15:35:47 +08:00
李铭昕
21eb870b2d
Don't delete nacos service when shutdown. (#2584)
* Don't delete nacos service when shutdown.

* Update CHANGELOG-2.0.md
2020-09-25 17:03:47 +08:00
李铭昕
d14c168836
Merge pull request #2580 from Reasno/grpc-metadata
feat: support grpc client side metadata
2020-09-25 14:10:17 +08:00
Reasno
1b425d7772 style: format 2020-09-25 13:07:43 +08:00
李铭昕
1cbbf3516e
Fixed redis connection has already been bound to another coroutine. (#2582)
* Added test cases.

* Update

* Update CHANGELOG-2.0.md
2020-09-24 20:45:35 +08:00
李铭昕
fea7f0a1f2
Fixed event AfterProcessHandle won't be dispatched when throw exception in process. (#2578)
* Fixed event `AfterProcessHandle` does not dispatched when throw exception in process.

* Added test cases.
2020-09-24 18:56:15 +08:00
Reasno
d42cbe4642 feat: support grpc metadata 2020-09-24 17:53:59 +08:00
kis龍
56b5103011
Added trace info for WhoopsExceptionHandler. (#2445)
* Whoops exception class returns json format to support trace error details.(#2418)

* Optimized code.

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-09-24 11:36:22 +08:00
Nash Gao
1e13776e47
fix typo and ambiguous expression (#2569)
* fix typo and ambiguous expression

* fix typo

* update questions with zirocte/swagger 3.0.5 version issue
2020-09-23 10:31:52 +08:00
李铭昕
711b692e08
Fixed proxy class generate keyword parent::class but the class scope has on parent. (#2565)
* Fixed proxy class generate keyword `parent::class` but the class scop has on parent.

* Update CHANGELOG-2.0.md
2020-09-22 13:58:02 +08:00
李铭昕
afe7f65a78
Optimized error message when close amqp connection failed (#2561)
* Optimized error message when close amqp connection failed

* Update CHANGELOG-2.0.md
2020-09-22 09:52:21 +08:00