Commit Graph

5595 Commits

Author SHA1 Message Date
李铭昕
b5ff17eda1
Merge pull request #2140 from Reasno/session
fix: save session even if an exception is thrown
2020-07-20 15:09:11 +08:00
Reasno
6cf7fe9598 add changelog 2020-07-20 14:10:46 +08:00
Reasno
e4cfde3601 fix: save session even if an exception is thrown 2020-07-20 14:02:19 +08:00
李铭昕
d3f14f740c
Fixed bug that ValidationMiddleware will throw exception in websocket. (#2139) 2020-07-20 11:40:32 +08:00
李铭昕
1855a666c9
Merge pull request #1554 from daodao97/feature/nacos
perf: 增加 nacos 微服务组件
2020-07-20 10:57:35 +08:00
李铭昕
835eae2895 Moved nacos.md to docs. 2020-07-20 10:53:09 +08:00
刀刀
8968dfbd9c fix: config key style 2020-07-20 10:48:23 +08:00
huangzhhui
9f682b4cc4 Fix CI 2020-07-20 00:39:49 +08:00
huangzhhui
9b1d4ae3cb Update composer.json 2020-07-20 00:34:39 +08:00
huangzhhui
02f782ec88 Update the process name 2020-07-20 00:29:40 +08:00
huangzhhui
207fc7704d Update 2020-07-20 00:29:00 +08:00
huangzhhui
8706be32a7 Re-format by new rules 2020-07-20 00:23:53 +08:00
huangzhhui
a824a53520 Merge remote-tracking branch 'upstream/master' into pr/1554 2020-07-20 00:23:19 +08:00
huangzhhui
232fb93300 Format 2020-07-20 00:22:53 +08:00
huangzhhui
fd3021dd9d Add NacosThrowable and adjust the extend relation of excpetions 2020-07-20 00:22:46 +08:00
huangzhhui
8de756fdb9 Optimized 2020-07-20 00:19:59 +08:00
刀刀
7262cf3dfd fix: Optimized config 2020-07-19 14:55:43 +08:00
李铭昕
fa5c246887 Optimized MainWorkerStartListener. 2020-07-18 15:08:28 +08:00
黄朝晖
dee7460d41
Optimized the exception message when the response json encoding failed. (#2129)
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-17 19:00:08 +08:00
黄朝晖
72c231290d
Merge pull request #2017 from cwb2819259/fix_promeuthes_redis_colletcor
fix: 修复Prometheus使用redis打点,改变label导致收集报错的问题
2020-07-17 13:42:39 +08:00
黄朝晖
2b9bae8919
Update CHANGELOG-2.0.md 2020-07-17 13:42:21 +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