Commit Graph

5655 Commits

Author SHA1 Message Date
李铭昕
05e119b2f2 Update wechat.md 2020-08-09 18:16:51 +08:00
李铭昕
901f0193c7 Update wechat.md 2020-08-09 18:14:37 +08:00
李铭昕
6149fb8680 Update nacos.md 2020-08-09 15:30:20 +08:00
Kids Return
45550adeb8
Improve guzzle set default handler, use Hyperf\Guzzle\CoroutineHandle… (#2243)
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-08-06 17:07:22 +08:00
ihor.kpl
8fe2e26369
Update phpstan.neon (#2247)
Fix typo :D
2020-08-06 08:50:08 +08:00
黄朝晖
8eb3c7b865
Merge pull request #2245 from ondrejmirtes/phpstan-fix
Verify PHPStan fix
2020-08-05 16:19:03 +08:00
Ondrej Mirtes
45df236977
Verify PHPStan fix 2020-08-05 09:48:01 +02:00
李铭昕
1bd2446a76
Fixed collect more than once time when using watcher. (#2242) 2020-08-05 11:13:01 +08:00
沈唁
50cd5ebfe6
fix typo (#2238) 2020-08-03 18:32:06 +08:00
沈唁
4aaeb2566b
fix typo (#2237) 2020-08-03 15:20:37 +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
李铭昕
59e44150bc
Merge pull request #2001 from nfangxu/command-signature
[feature] 支持在 command 的 signature 中设置参数及名称
2020-08-02 14:51:57 +08:00
李铭昕
68a2bccfc8 Added cases of command into phpunit.xml 2020-08-02 13:56:40 +08:00
李铭昕
ac2d1db7cf
Added document for tcp-server. (#2228) 2020-08-02 13:45:08 +08:00
李铭昕
63d531a667 Format code. 2020-08-02 13:41:46 +08:00
李铭昕
ffa0d18fcc Merge branch 'master' into pr/2001 2020-08-02 13:06:26 +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
黄朝晖
bbaffc409c
Merge pull request #2222 from kids-return/patch-1
Fix Code Format Error
2020-07-31 16:33:23 +08:00
Kids Return
8735c7e688
Fix Code Format Error
Fix Code Format Error
2020-07-31 14:51:45 +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
沈唁
f00544ffc0
fix typo (#2215) 2020-07-30 15:22:41 +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
沈唁
73b3647262
docs: update webscoket server (#2205)
* docs: update webscoket server

* Update FindDriver.php

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-29 18:37:33 +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
nfangxu
e1cd5f56e1 变量类型注释 2020-07-27 09:30:42 +08:00
nfangxu
14804c41d6 使用强类型约束返回值 2020-07-27 09:28:50 +08:00
huangzhhui
f2ab7b3ba3 Update the english doc 2020-07-27 02:32:06 +08:00
李铭昕
098d51c17e
Update important.md (#2184) 2020-07-26 17:49:44 +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
李铭昕
e89ea25691
Update awesome-components.md (#2171) 2020-07-23 21:20:01 +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
沈唁
3fe24eb58d
fix: Translations docs search error (#2167)
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-07-23 10:32:18 +08:00
李铭昕
453e2774ea
Fixed travis errors. (#2168) 2020-07-23 10:20:27 +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
黄朝晖
815cd3f175
Merge pull request #2152 from sy-records/update-doc
fix typo
2020-07-21 18:03:41 +08:00
黄朝晖
14465c8dfc
Update README-CN.md 2020-07-21 18:02:30 +08:00