Commit Graph

5731 Commits

Author SHA1 Message Date
李铭昕
fb4e143dd5 Added timeout for FpmTcpTransporter. 2020-07-17 10:05:19 +08:00
李铭昕
eb85134ea5 Fixed travis. 2020-07-17 09:55:07 +08:00
李铭昕
2217036aa8 Added json-rpc-client. 2020-07-17 09:48:55 +08:00
weskiller
35a9782305
Optimized the type of $perPage from int to ?int. (#2080)
* Optimize builder::paginate argument

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-16 17:18:31 +08:00
逍遥
5a677c7b81 docs: 添加CHANGELOG说明 2020-07-16 14:34:41 +08:00
逍遥
6716310075 merge: branch 'master' into fix_promeuthes_redis_colletcor 2020-07-16 14:32:24 +08:00
逍遥
7feea4bf16
Merge pull request #3 from hyperf/master
pull
2020-07-16 14:29:41 +08:00
李铭昕
d75ace0e34
Fixed bug that redis::call will be recorded twice. (#2123)
* Fixed bug that `redis::call` will be recorded twice.

* Update CHANGELOG-2.0.md
2020-07-16 13:41:54 +08:00
李铭昕
83dc9e8b8a Removed useless code. 2020-07-15 18:34:41 +08:00
李铭昕
d8c175585b
Format code. (#2122) 2020-07-15 17:05:45 +08:00
李铭昕
548bfea189
Format code. (#2121)
* Replaced the default property if user redeclare it.

* Format code.
2020-07-15 16:41:13 +08:00
李铭昕
deeeef0ec7
Added document. (#2119) 2020-07-15 14:57:12 +08:00
李铭昕
75b9384996
Fixed @Inject will be useless sometimes when using server:watch. (#2117) 2020-07-15 10:59:36 +08:00
李铭昕
f1d666ff22
Optimized requirement for di. (#2116)
* Optimized requirement for di.
* Only format code.
2020-07-14 17:58:29 +08:00
谷溪
4835335987
feat: Add snowflake trait for database model. (#2112)
* feat: Add snowflake trait for database model.

* doc: reword snowflake

* doc: reword snowflake

* doc: Add changelog

* refactor: rename HasSnowflake to Snowflake
2020-07-14 17:56:00 +08:00
nfangxu
51cde09441
Added SIGINT listened by Hyperf\Signal\Handler\WorkerStopHandler. (#2082)
* listen SIGINT

* ctrl+c do not need sleep

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-14 13:53:22 +08:00
沈唁
c88949fc3e
Don't kill SIGTERM if the process not exists. (#2110)
* Added check if the process exists to `hyperf/watcher`

* Format code.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-14 13:42:37 +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
黄朝晖
6f45957814
Merge pull request #2106 from sy-records/update-raw-link
use cdn for grafana.json
2020-07-13 18:22:22 +08:00
sy-records
7ca9fbf6aa use cdn for grafana.json 2020-07-13 14:49:49 +08:00
李铭昕
90992d6dd1
v2.0.2 (#2099) 2020-07-13 13:21:16 +08:00
黄朝晖
cfd2ac1e34
Merge pull request #2103 from sy-records/update-document-link
Update .php_cs
2020-07-13 13:12:52 +08:00
黄朝晖
8698275f0d
Merge pull request #2100 from limingxinleo/2.0-utils
Upgrade `doctrine/inflector` to `^2.0`.
2020-07-13 13:03:22 +08:00
沈唁
f63a3ad21d
Updated upgrade 2.0 (#2102) 2020-07-13 09:07:26 +08:00
李铭昕
d5900a5b61 Update Pluralizer.php 2020-07-13 09:00:34 +08:00
sy-records
a27f842791 Update .php_cs 2020-07-13 08:12:30 +08:00
黄朝晖
6bc48a5a3f
Merge pull request #2018 from cwb2819259/feat_prometheus_redis_support_cluster
feat: 新增prometheus使用redis打点支持Redis集群
2020-07-12 22:55:56 +08:00
李铭昕
b3295c89a9 Upgrade doctrine/inflector to 2.0 2020-07-12 19:56:42 +08:00
李铭昕
407bcee901 Moved ext-swoole to suggest for utils. 2020-07-12 18:58:09 +08:00
zonghay
6e09a80501
Server adds the OnWorkerExit callback by default (#1860)
* Server adds the OnWorkerExit callback by default

由于CoordinatorManager是根据OnWorkerExit回调来执行的,默认Server是不带这个回调的,server.php也没有配置。

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-12 13:08:09 +08:00
沈唁
acd830f0a5
Fixed document. (#2098)
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-12 12:52:06 +08:00
沈唁
d7713af34c
fix typo (#2092) 2020-07-11 16:47:32 +08:00
沈唁
9490696950
Fixed type error for command vendor:publish. (#2093)
* fix return value type error

* Format code.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-11 15:01:02 +08:00
沈唁
819523e13b
Adapte original response object. (#2090)
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-11 09:37:15 +08:00
李铭昕
bcc60f5ded
Fixed class of command won't be loaded after gen:command. (#2089) 2020-07-10 17:49:18 +08:00
黄朝晖
e3d334fb26
Merge pull request #2085 from Reasno/retry
fix: fix buggy RetryFalsy.php
2020-07-10 16:44:36 +08:00
李铭昕
968e00f8b2 Optimized code. 2020-07-10 16:44:00 +08:00
黄朝晖
577f42a8ee
Merge pull request #2077 from sy-records/update-ws-doc
remove typehinting from websocket docs
2020-07-10 16:41:43 +08:00
黄朝晖
1396b7b36d
Merge pull request #2078 from sy-records/update-signal
updapte signal doc
2020-07-10 16:40:46 +08:00
黄朝晖
b64dda8ded
Update signal.md 2020-07-10 16:38:13 +08:00
黄朝晖
b2e76042db
Update release-planning.md 2020-07-10 13:56:28 +08:00
Reasno
5759f59966 chore: update CHANGELOG-2.0.md 2020-07-10 12:26:39 +08:00
Reasno
5aa4366a79 test: add tests 2020-07-10 12:22:53 +08:00
Reasno
2af6f2fd7a fix: fix buggy RetryFalsy.php 2020-07-10 12:16:55 +08:00
sy-records
2838178c88 updapte signal doc 2020-07-09 17:20:31 +08:00
sy-records
50f9c476ad remove typehinting from websocket docs 2020-07-09 16:53:21 +08:00
李铭昕
fea88bcff5 Removed useless code. 2020-07-08 18:50:34 +08:00
李铭昕
d18cf2e4b5 Optimized code. 2020-07-08 17:32:33 +08:00
李铭昕
fd903fd590 Removed func.php 2020-07-08 15:34:05 +08:00
李铭昕
d1431a9fc6 Deleted function container. 2020-07-08 14:43:25 +08:00