ushell
07d9984b5c
Fix typo for example of nacos config ( #3961 )
...
* update config_nacos url to uri
* Update config_center.php
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-08-20 11:54:12 +08:00
Vinchan
5f2ca20fbf
Optimized code
...
* ValidatesAttributes remove catch "Exception"
* Added Annotations of PHP8 for devtool.
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-08-19 14:58:40 +08:00
李铭昕
63c82e4d5f
Fixed bug that crontab cannot be closed safely in coroutine server. ( #3960 )
2021-08-19 10:21:00 +08:00
tangq
3e0b43a42d
Fixed validate rule date
does not work as expected when the value isn't string. ( #3959 )
...
* Added suggest requirement for `hyperf/database`.
* Added test cases
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-08-18 16:51:36 +08:00
李铭昕
daf199c967
Optimized code
2021-08-18 16:28:09 +08:00
李铭昕
56a2eddd3e
Added Hyperf\Utils\CodeGen\PhpDocReader
which used to read return type from class methods.
2021-08-18 16:28:09 +08:00
D.J.Hwang
381c9cfd45
Supported get returnType from docComment
2021-08-18 16:28:09 +08:00
dayday
84210c5b4c
Merge pull request #3946 from limingxinleo/release-v2.2.4
...
Release v2.2.4
2021-08-16 10:21:33 +08:00
limingxinleo
19c16505c7
Update docs and translate
2021-08-15 01:56:23 +00:00
李铭昕
ebd3c9532a
Release v2.2.4
2021-08-15 09:55:23 +08:00
Leo Cavalcante
0962f623c3
Added method Str::mask
which used to replace chars from a string by a given char. ( #3947 )
...
* Replaces the first or the last ones chars from a string by a given char.
If the `$offset` is negative it starts from the end.
* Support length
* Support Chinese
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-08-15 09:45:16 +08:00
Vinchan
ea8eef1d90
Encapsulated the code for reading aspect meta properties. ( #3944 )
...
* Format code
* Update CHANGELOG-2.2.md
* Added test cases.
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-08-14 10:40:30 +08:00
D.J.Hwang
2beb41177a
Support service register for rpc-multiplex
. ( #3941 )
...
* 支持 rpc-multiplex 注册到服务中心
* 支持 rpc-multiplex 注册到服务中心,增加监控检查支持
* Support service register for `rpc-multiplex`.
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-08-13 18:07:28 +08:00
Nathan.ZH
f718fa53ef
Support requeue the message when return NACK
for AMQP
consumer.。 ( #3932 )
...
* Update CHANGELOG-2.2.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-08-12 10:16:00 +08:00
李铭昕
8b6d3f6d52
Fixed config of config_center.drivers.nacos.client
does not work. ( #3926 )
2021-08-10 12:56:07 +08:00
tw2066
107e08d185
Fixed bug that heartbeat failed caused by nacos light beat enabled. ( #3925 )
...
* Format code
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-08-10 10:47:57 +08:00
李铭昕
6bf0f5d3da
Format code
2021-08-10 10:20:43 +08:00
huangdijia
b9e42b759e
Added check parameters for consul
2021-08-10 10:20:43 +08:00
李铭昕
3b4403df3c
Release v2.2.3
2021-08-09 09:37:46 +08:00
李铭昕
b7bcfa2a3f
Fixed bug that the process couldn't be restarted caused by loop which using CoordinatorManager
. ( #3908 )
...
* Fixed bug the consumer restart failed when AMQP server restart.
* Update CHANGELOG-2.2.md
2021-08-05 14:20:33 +08:00
李铭昕
fecba7a7d9
Fixed bug that close connection failed caused by wait channels flushed. ( #3906 )
...
* Fixed bug that close connection failed caused by wait channels flushed.
* Don't close connection again when connection exited.
* Added test cases for AMQP
2021-08-05 13:08:28 +08:00
李铭昕
4ffa822873
Fixed null pointer exception when closing AMQPConnection. ( #3905 )
...
* Fixed null pointer exception when AMQPConnection closed.
* Update CHANGELOG-2.2.md
2021-08-05 10:45:55 +08:00
tw2066
f19d5c46f1
Fixed bug that nacos instance will be registered more than once, because heartbeat failed caused by light beat enabled. ( #3897 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-08-04 21:06:04 +08:00
李铭昕
c9b0254a18
Release v2.2.2 ( #3899 )
2021-08-03 13:47:46 +08:00
Donjan
a5de0c616b
Removed hyperf-permission
from awesome components, please use hyperf-casbin
instead.
...
Co-authored-by: Donjan <Donjan@cqbaobao.cn>
2021-08-02 14:07:46 +08:00
tw2066
5eb2ab37a8
Fixed bug that heartbeat will be registered more than once. ( #3877 )
...
1.nacos 心跳bug 掉线问题
2.nacos 增加20404 状态码判断
3.优化元数据获取
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-07-30 19:01:55 +08:00
zxyfaxcn
2132ee5ebe
Fixed bug that heartbeat failed when using nacos without default group. ( #3873 )
...
* fixed 修复nacos原生用法心跳异常
* fixed 修复ephemeral 是否临时实例设置不生效问题
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-07-30 18:32:38 +08:00
biausix
91aae7df4f
Fixed bug that watcher
does not work caused by proxies replaced. ( #3879 )
...
* Fixed bug that `watcher` does not work caused by proxies replaced.
* Update CHANGELOG-2.2.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-07-29 10:39:11 +08:00
alexzy228
f0cdde4523
Fixed bug that heartbeat failed when using nacos without default group. ( #3872 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-07-28 13:28:07 +08:00
张城铭
7f7bd7aedd
Update document about how to use inject in trait
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-07-27 13:45:23 +08:00
李铭昕
5efe21fc5b
Release v2.2.1 ( #3861 )
2021-07-27 11:01:21 +08:00
upper1027
a794a17a79
Fixed bug that the metadata of nacos instance can't be registered successfully. ( #3866 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-07-27 10:43:10 +08:00
pandaLIU
195a2f28bf
Fixed fatal error which caused by dispatching a non exist namespace when using socket-io
. ( #3750 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-07-25 22:57:16 +08:00
hesunfly
301278bfcf
Support chained calls for JsonResource::wrap()
and JsonResource::withoutWrapping()
. ( #3763 )
...
* 修改Resource包 调用wrap方法和withoutWrapping方法调用错误的问题
* Update CHANGELOG-2.2.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-07-25 22:35:00 +08:00
LosingBattle
08ee962ef5
Support RFC 5987 for download()
which allows utf-8 encoding, percentage encoded (url-encoded). ( #3854 )
...
* Support RFC 5987 for `Hyperf\HttpServer\Contract\ResponseInterface::download()` which allows utf-8 encoding, percentage encoded (url-encoded).
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-07-25 22:14:58 +08:00
alexzy228
9331644273
Fixed bug that the metadata of nacos instance can't be registered successfully. ( #3843 )
...
* Check the status code and body of the response to ensure whether the instance already be registered.
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-07-25 21:36:31 +08:00
JokerNg
28b73036e4
Update aliyun-logger.md ( #3852 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
Co-authored-by: 桥边红药 <24204533+qbhy@users.noreply.github.com>
2021-07-23 18:50:43 +08:00
沈唁
3d70993377
Added documents with filesystem about how to upgrade to v2.2 ( #3853 )
2021-07-22 12:27:08 +08:00
lidaqi
40ae1a59a1
更改grpc文档,代码位置变更 ( #3847 )
2021-07-22 11:09:39 +08:00
沈唁
5745d5fff3
Added documents that interface cannot be found in PHP 7.3 ( #3849 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-07-21 17:49:46 +08:00
yansongda
2e22c8ff53
Added yansongda/hyperf-pay
into awesome-components.md
.
...
* add: yansongda/hyperf-pay
* add: yansongda/hyperf-pay
* update: update because of Ad law
* Update
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-07-21 17:21:05 +08:00
zxyfaxcn
27daf56166
Fixed bug that the usage of registering itself like nacos v2.1
does not work. ( #3848 )
...
* changed 更改Nacos心跳Process命名空间问题
fixed 兼容Nacos查询服务、实例不存在时返回500状态码的情况
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-07-21 16:42:10 +08:00
李铭昕
6300efaf81
Fixed bug that watcher
does not work for v2.2
. ( #3845 )
2021-07-20 21:49:49 +08:00
shixuefeng
410e3dabda
Update testing.md ( #3792 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-07-20 18:20:29 +08:00
江湖大牛
4d3eb5fb5e
docs: Update upgrade-2.2.md ( #3841 )
2021-07-20 16:51:44 +08:00
zxyfaxcn
a6bf8c1e9a
Fixed typo of namespace in nacos.md
2021-07-20 16:50:40 +08:00
cexll
0025c18e1d
Update Upgrade2.2.md
...
Co-authored-by: 李铭昕 <715557344@qq.com>
Co-authored-by: 沈唁 <52o@qq52o.cn>
2021-07-20 14:17:33 +08:00
沈唁
be245c1fc8
Added suggest requirement ext-pcntl
for di.
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-07-20 13:46:13 +08:00
李铭昕
d117f59d58
Fixed bug that lazy inject does not work for Hyperf\Redis\Redis
. ( #3828 )
...
* Fixed bug that lazy inject does not work for `Hyperf\Redis\Redis`.
* Update CHANGELOG-2.2.md
2021-07-19 23:28:36 +08:00
黄朝晖
e7e3a395f3
Merge pull request #3820 from huangzhhui/2.2-docs
...
Translate 2.2 docs
2021-07-19 13:02:12 +08:00