Commit Graph

136 Commits

Author SHA1 Message Date
李铭昕
fee3efca51
Added RedisNsqAdapter which publish message through nsq. (#2336)
* Added RedisNsqAdapter which publish message  through nsq.

* Added changelog.
2020-08-24 10:55:30 +08:00
李铭昕
d923968493
Added method Arr::merge to merge array more friendly than array_merge_recursive. (#2334) 2020-08-24 10:47:25 +08:00
李铭昕
57274860eb
Fixed filesystem does not works when using s3 adapter. (#2338) 2020-08-24 10:23:59 +08:00
huangzhhui
64f87d5eb3 Update CHANGELOG-2.0.md 2020-08-24 00:27:38 +08:00
李铭昕
9aba324eb4
Added Hyperf/Utils/Optional. (#2335) 2020-08-22 13:58:56 +08:00
李铭昕
78a6bf5f1b Revert. 2020-08-21 11:08:26 +08:00
李铭昕
f13686c5c8 Added documents. 2020-08-19 10:54:27 +08:00
李铭昕
f18b03a08f
Optimized the config for nsqd. (#2312)
* Changed config of nsqd.

* Update changelog.md
2020-08-17 14:13:59 +08:00
李铭昕
2a54dc891e
v2.0.7 (#2310) 2020-08-17 11:39:33 +08:00
李铭昕
7f2368cf16
Merge pull request #2309 from huangzhhui/copy-from-2127
Fix JsonRpcHttpTransporter cannot set the custom timeout property
2020-08-17 10:05:53 +08:00
huangzhhui
a618556cc1 Add changelog 2020-08-17 01:41:48 +08:00
huangzhhui
8647f18779 Add changelog 2020-08-17 00:48:32 +08:00
李铭昕
5eb41fb014
Fixed dead cycle when del sid for socketio memory adapter. (#2304)
* Fixed dead cycle when del sid for socketio memory adapter.

* Added test cases.
2020-08-15 13:47:19 +08:00
李铭昕
d98084b696
Fixed bug that the config is cleared when the config is not modified in apollo. (#2276)
* Fix the bug that the configuration is covered because the status code is not 200 when the configuration is not modified in apollo.
2020-08-13 14:09:43 +08:00
李铭昕
e1847e32df
Fixed co::create failed in non-coroutine environment. (#2281) 2020-08-13 10:38:05 +08:00
李铭昕
2c18306439
Fixed bug that interface methods will be rewriten by aop. (#2280)
* Fixed bug that interface methods will be rewriten by aop.

* Update ProxyFactory.php

* Added test case.
2020-08-12 13:29:11 +08:00
李铭昕
6c535bd3dc
Fixed bug that fetch process blocking for config center. (#2275)
* Fixed sync config failed when socket::send timeout.

* Fixed bug that fetch process blocking for config center.
2020-08-12 09:35:27 +08:00
huangzhhui
53db463307 Translate 2020-08-10 13:33:19 +08:00
李铭昕
56b4608916 Update 2020-08-10 10:11:44 +08:00
李铭昕
1bd2446a76
Fixed collect more than once time when using watcher. (#2242) 2020-08-05 11:13:01 +08:00
刀刀
e98318e8a0
Fixed bug that select node failed when using loadBalancer for nacos. (#2236)
* fix: nacos loadBalancer

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-08-03 12:39:40 +08:00
李铭昕
a33635dadd
v2.0.5 (#2234) 2020-08-03 10:11:22 +08:00
李铭昕
ab283efbfb
Optimized eager load when the type is In or InRaw for model-cache. (#2232) 2020-08-02 15:07:15 +08:00
李铭昕
dd1ff1164a
Fixed context won't be destroyed when accept keepalive connection for co server. (#2227) 2020-08-01 11:47:33 +08:00
李铭昕
ff3429e6db
Fixed bug that sender does not works for coroutine server. (#2218)
* Fixed bug that call to undefined method Swoole\Http\Response::disconnect().

* Update CHANGELOG-2.0.md
2020-07-30 18:21:56 +08:00
Zheng
d40c8a4b89
Fixed bug that open event won't be executed after handshake right now. (#2210)
* fix:协程模式onOpen事件触发延迟

* Optimized code.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-30 17:50:24 +08:00
Zheng
d73a9e4944
Fixed bug that close event won't be executed when close the connection by websocket server.. (#2214)
* fix:协程模式服务端关闭连接未触发onClose事件

* Optimized code.

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-30 17:39:36 +08:00
baiguiren
c887a4f313
Added $concurrent for function parallel. (#2204)
* 为 parallel 函数添加并发控制参数

* Added test cases.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-29 18:52:08 +08:00
张子彬
862a0a824e
完善FindDriver热更新 (#2193)
* 完善FindDriver热更新

* Update CHANGELOG-2.0.md

Co-authored-by: zhangzibin <zhangzibin@ecomxhat.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-28 17:19:12 +08:00
李铭昕
c224ba6922
v2.0.4 (#2185)
* v2.0.4

* Translate

Co-authored-by: huangzhhui <huangzhwork@gmail.com>
2020-07-27 15:52:51 +08:00
zxyfaxcn
ee843711b7
Fixed bug that custom processes cannot fetch config from nacos. (#2149)
* 增加支持配置同步更新至用户自定义进程
* 修复心跳namespaceId参数缺少导致nacos心跳至public
* 调整服务、实例创建注册顺序

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-26 14:15:00 +08:00
yansongda
911b73f3fe
Don't record the close message when the server is not websocket server. (#2182)
* fix #2180

* fix typo && remove unnecessary qualifier

* Deleted useless code.

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-26 13:54:45 +08:00
motian
bbf8ae4793
[FEATURE] Added ModelRewriteTimestampsVisitor (#2174)
Added `ModelRewriteTimestampsVisitor` to rewrite `$timestamps` based on `created_at` and `updated_at`

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-24 13:43:43 +08:00
motian
864a9ba2be
Added ModelRewriteSoftDeletesVisitor to insert or remove SoftDeletes based on deleted_at (#2175)
* Added ModelRewriteSoftDeletesVisitor

* Added `ModelRewriteSoftDeletesVisitor` to insert or remove `SoftDeletes` based on `deleted_at` for Model.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-24 13:28:39 +08:00
motian
11e6447886
[FEATURE] Added ModelRewriteKeyNameVisitor (#2176)
Added `ModelRewriteKeyInfoVisitor` to rewrite `$incrementing` `$primaryKey` and `$keyType` for Model.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-24 12:28:31 +08:00
清流
28fa90425d
Update documents. (#2177)
* Update wechat.md

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-24 09:34:50 +08:00
phper666
33b2cc7733
Fixed document for overtrue/wechat. (#1780)
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-23 18:16:06 +08:00
Millyn
c954e949c8
Throw an exception when the scanner directories all does not exist. (#2043)
* Optimization when the Scanner directory all does not exist

* Optimized test cases.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-23 17:37:04 +08:00
myweb
3f0d876bf1
Added session.options.domain for hyperf/session to change the domain which get from request. (#2169)
* 支持设置 session domain 参数

* Fixed travis.

* Added test cases.

* Update session.php

* Update CHANGELOG-2.0.md

Co-authored-by: liulian <liulian@leros-MacBook.local>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-23 16:00:00 +08:00
张子彬
9b35d6fd42
Added Hyperf\Watcher\Driver\FindDriver for hyperf/watcher. (#2162)
* Update ShellDriver.php

* Optimized code.

* Support Darwin.

Co-authored-by: zhangzibin <zhangzibin@ecomxhat.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-23 15:09:25 +08:00
沈唁
b4b11bd031
Fixed fatal exception caused by exist file when using gen:migration. (#2159)
* Fixed fatal exception caused by exist file when using `gen:migration`.

* Format code.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-22 14:06:29 +08:00
谷溪
f657fa0491
feat: attach options to route handler (#2158)
* feat: attach options to route handler

* add CHANGELOG-2.0.md
2020-07-22 13:00:08 +08:00
ninvfeng
ebcefa4c8b
Added filed $result for QueryExecuted. (#2144)
* Add result field to QueryExecuted Event

* Add default value and type hint

* Update QueryExecuted.php

* Added types for result.

* Update Connection.php

* Update changelog.md

Co-authored-by: ninvfeng <ninvfeng@gmail.com>
Co-authored-by: 黄朝晖 <huangzhwork@gmail.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-20 19:37:00 +08:00
李铭昕
3a55665c47
v2.0.3 (#2136) 2020-07-20 15:17:27 +08:00
Reasno
6cf7fe9598 add changelog 2020-07-20 14:10:46 +08:00
李铭昕
d3f14f740c
Fixed bug that ValidationMiddleware will throw exception in websocket. (#2139) 2020-07-20 11:40:32 +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