李铭昕
b9f022ad41
Fixed bug that amqp io has been bound to more than one coroutine when out of buffer. ( #4347 )
2021-12-13 11:14:24 +08:00
李铭昕
5ad7a23715
Fixed fatal error for declaration when using amqplib 3.1.1 ( #4346 )
2021-12-13 09:53:18 +08:00
李铭昕
f187577828
Release v2.2.20 ( #4342 )
2021-12-13 09:35:04 +08:00
slairmy
fded877816
Fixed bug that the path with query params won't match route when using testing client. ( #4338 )
...
Co-authored-by: 丁少龙 <dingshaolong@aipai.com>
2021-12-11 17:45:51 +08:00
李铭昕
0fa626cd87
Added method Debug::getRefCount($object)
. ( #4331 )
2021-12-10 15:57:48 +08:00
沈唁
eebeea61e7
Support pack vendor/bin files for Phar ( #4330 )
...
* Update test-components.yml
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-12-10 13:45:50 +08:00
李铭昕
e6249fde70
Release v2.2.19 ( #4318 )
2021-12-06 10:42:11 +08:00
cvoid
79582ab798
Improves Hyperf\Utils\Collection
and Hyperf\Database\Model\Collection
type definitions.
2021-12-06 09:44:39 +08:00
沈唁
0a353eee01
Fix collector-reload
file not found when running server:watch
with absolute path ( #4308 )
...
* Fix Could not open input file: vendor/hyperf/watcher/collector-reload.php
* Update CHANGELOG-2.2.md
2021-12-02 09:30:30 +08:00
李铭昕
c0a839331d
Release v2.2.18 ( #4299 )
2021-11-29 09:55:47 +08:00
Zelin Ning
7cfc929193
Added alias id()
for Hyperf\Database\Schema\Blueprint::bigIncrements()
. ( #4295 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-11-27 09:31:04 +08:00
沈唁
aa519afba8
Support run with absolute paths for server:watch
( #4293 )
...
* Support run with absolute paths for `server:watch`
* Update CHANGELOG-2.2.md
2021-11-25 14:43:23 +08:00
weskiller
6c7f6d90f6
Support dynamic $arguments
for function value()
. ( #4291 )
...
* Added test cases
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-11-25 09:43:31 +08:00
沈唁
cc4cf11a4c
Added HTTP chunk support for hyperf/http-message
( #4290 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
Co-authored-by: pandaLIU <563883861@qq.com>
2021-11-24 20:20:55 +08:00
沈唁
019c515ff4
Added method Hyperf\Utils\Network::ip()
. ( #4284 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-11-23 17:01:56 +08:00
Leo Cavalcante
6919bf20f9
Fixed type hint error for Hyperf\Grpc\Parser::deserializeMessage()
when $response->data
is null.
...
* fix: argument #2 ($value) must be of type string, null given
* Update CHANGELOG-2.2.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-11-23 12:01:14 +08:00
李铭昕
a963aafd2f
Release v2.2.17 ( #4272 )
2021-11-22 09:40:18 +08:00
José Carlos Chávez
d38a678ba3
Added PHP8 support for hyperf/tracer
. ( #4109 )
...
* chore: upgrades to Zipkin Opentracing 2.x.
* chore: fixes zipkin-opentracing version
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-11-19 09:40:33 +08:00
geteng-zyp
293ac3da4b
Fixed the bug that key sort of the result is inconsistent with $callables
for parallel
. ( #4243 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-11-16 12:47:00 +08:00
李铭昕
f7cc4cc027
Added force index for hyperf/database
. ( #4260 )
2021-11-16 12:03:12 +08:00
李铭昕
ee98ef979a
Release v2.2.16
2021-11-15 10:27:27 +08:00
沈唁
9a73aa912c
Skip class which is not found by class loader at scan time ( #4253 )
...
* Skip class file does not exist at scan time
* Skip class which is not found by class loader at scan time.
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-11-13 12:35:05 +08:00
李铭昕
e87ace7ab9
Added method getServiceName
for rpc client. ( #4252 )
2021-11-12 19:07:43 +08:00
李铭昕
ddbb3bc240
Release v2.2.15 ( #4231 )
2021-11-08 09:28:41 +08:00
水煮牛肉
37fc92eea3
Fixed bug that filesystem cache driver does not work when runtime/caches
is not a directory.
...
Co-authored-by: qiq@pvc123.com <qiq@pvc123.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-11-02 18:34:27 +08:00
Deeka Wong
bcbcc49130
Added Macroable
for Hyperf\Utils\Arr
. ( #4157 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-11-02 10:30:11 +08:00
李铭昕
8916691f53
Fixed bug that Hyperf\Server\Entry\Logger
does not work when using psr/log 3.0
. ( #4192 )
2021-11-01 11:02:11 +08:00
李铭昕
98d41fa7ee
Release v2.2.14
2021-11-01 09:48:56 +08:00
fandaren
59700e8c62
Fixed bug that build phar failed when using composer 1.x
. ( #4188 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-10-31 12:33:23 +08:00
李铭昕
52fc81267a
Added versions (v1.0, v2.0, v3.0) support for psr/log
.
2021-10-28 18:13:44 +08:00
小城zjc
8c7dff7dc9
Fixed health check failed when using consul with token. ( #4171 )
...
Co-authored-by: zhangruochu <zhangruochu@buptinfo.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-10-26 17:05:36 +08:00
李铭昕
78d60471ad
Release v2.2.13 ( #4165 )
2021-10-25 09:37:58 +08:00
李铭昕
401a3e5904
Renamed the namespace about macroable component. ( #4166 )
2021-10-25 09:29:21 +08:00
沈唁
248f599ee9
Removed inactive project sdebug
from awesome components. ( #4163 )
2021-10-22 15:03:47 +08:00
沈唁
d4840c5bc5
Fixed bug that generate proxy class failed when using union type. ( #4158 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-10-21 11:36:40 +08:00
李铭昕
4f57ed7208
Added test cases for macroable.
2021-10-21 10:46:42 +08:00
李铭昕
5c841287dd
Release v2.2.12 ( #4142 )
2021-10-18 09:16:14 +08:00
李铭昕
1760821c73
Fixed validator factory does not support other validators. ( #4141 )
...
* Fixed validator factory does not support other validators.
* Update CHANGELOG-2.2.md
2021-10-16 14:37:55 +08:00
weskiller
7ff380f19a
Fixed generate model failed when using option --with-ide
and scope
methods. ( #4130 )
...
* fixed gen:model command
* Update CHANGELOG-2.2.md
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-10-13 19:33:22 +08:00
Deeka Wong
6d559e1033
Added methods Str::stripTags()
and Stringable::stripTags()
. ( #4129 )
2021-10-13 11:37:40 +08:00
李铭昕
c1f72a04ec
Release v2.2.11 ( #4126 )
2021-10-11 09:51:09 +08:00
liuende501
c85bd51fc8
Optimized testing client which create the directory again when the directory does not exist. ( #4119 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-10-09 09:37:54 +08:00
沈唁
46d6d0dc04
Optimize: get error code after Websocket upgrade failed ( #4114 )
...
* Optimize: get error code after Websocket upgrade failed
* Update CHANGELOG-2.2.md
2021-10-06 13:45:18 +08:00
Elrond G
8cb967c990
Fixed bug that auth failed when password has special charsets. ( #4101 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-09-28 18:21:37 +08:00
李铭昕
f05c1a8595
Release v2.2.10 ( #4097 )
2021-09-26 10:15:44 +08:00
李铭昕
24c2f18b8d
Fixed bug that generate proxy class failed caused by variadic parameters with type. ( #4096 )
...
Co-authored-by: Demin Yin <deminy@deminy.net>
2021-09-26 09:27:11 +08:00
李铭昕
ba81e6d313
Release v2.2.9 ( #4081 )
2021-09-22 09:46:38 +08:00
李铭昕
b54125f0ea
Optimized tag of exception for tracer. ( #4082 )
...
* Optimized tag of exception for tracer.
* allow user to change the tags of exception when using tracer.
* Use setTag instead of log.
2021-09-21 17:06:07 +08:00
黄朝晖
d34e162f72
Support annotation for interface ( #4086 )
...
* Support annotation for interface
* Fixed bug
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-09-21 06:53:41 +08:00
李铭昕
4688effb44
Format code
2021-09-21 06:36:08 +08:00
李铭昕
07644751c5
Fixed bug that kafka does not work caused by undefined method setSasl
and setSsl
. ( #4080 )
...
* Fixed kafka does not work caused by undefined method `setSasl` and `setSsl`.
* Update CHANGELOG-2.2.md
2021-09-17 23:16:57 +08:00
pandaLIU
9c26ba1aa6
Kafka support ssl and sasl ( #4014 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-09-17 22:56:25 +08:00
李铭昕
edb0c9393a
Fixed server broken caused by send response failed. ( #4076 )
...
* Fixed server broken caused by send response failed.
* Update CHANGELOG-2.2.md
2021-09-17 12:03:36 +08:00
Leo Cavalcante
5da73b9049
feat(tracer): http tags ( #4045 )
...
* Support to control whether to report by `tracer` through config `opentracing.enable.error`.
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-09-16 22:41:01 +08:00
upper1027
914ebfbddd
Fixed bug that exit code of Command
is incorrect when throwing an exception. ( #4068 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-09-16 15:20:30 +08:00
李铭昕
0437ff4a89
Lock the version of promphp/prometheus_client_php
to 2.2.* ( #4061 )
...
* Lock the version of `promphp/prometheus_client_php` to 2.2.*
* Update CHANGELOG-2.2.md
2021-09-15 10:37:02 +08:00
李铭昕
6c3f8a139b
Release v2.2.8 ( #4052 )
2021-09-14 09:45:22 +08:00
tegic
9e07b636ba
Fixed coroutines deadlock caused by cleaning up expired fds in socketio-server when stop server. ( #4042 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-09-13 10:07:55 +08:00
Nathan.ZH
8e53908320
Added method ConsumerDelayedMessageTrait::getDeadLetterExchange()
. ( #4040 )
...
* Added method `ConsumerDelayedMessageTrait::getDeadLetterExchange()` which used to rewrite `x-dead-letter-exchange` by yourself.
Co-authored-by: 张玉波 <zhangyubo@scjuchuang.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-09-10 12:12:02 +08:00
Bruce Dou
a9f3a971c9
Support sameSite=None
when return response with cookies. ( #4013 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-09-10 09:26:43 +08:00
李铭昕
bb85d29ca0
Moved Macroable
from Hyperf\Database\Model\Collection
to Hyperf\Utils\Collection
. ( #4017 )
2021-09-08 14:55:45 +08:00
Leo Cavalcante
cb077017e1
fix(metrics): success rate calculation ( #4028 )
2021-09-08 14:38:50 +08:00
李铭昕
a4727a4b1e
Fixed bug that async-queue broken caused by uncompress model failed.
2021-09-08 12:11:54 +08:00
D.J.Hwang
6ad5713817
Added argument $attempts
into $callback
when using function retry()
. ( #4021 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-09-07 09:41:25 +08:00
李铭昕
c8aa5d398b
Release v2.2.7 ( #4008 )
2021-09-06 10:50:20 +08:00
李铭昕
705370fb1d
Added test cases.
2021-09-05 00:00:43 +08:00
woainixyz1
37e7bf375e
Support method FormRequest::scene()
which used to rewrite different rules according to different scenes. ( #4002 )
...
Co-authored-by: codelin <49402937@qq.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-09-04 17:35:00 +08:00
Kids Return
89818f47ad
Optimized method MethodDefinitionCollector::getOrParse()
to avoid deprecated in PHP8. ( #4009 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-09-03 23:52:27 +08:00
李铭昕
65d9be248d
Fixed unexpected termination of nats consumer after timeout
2021-09-01 00:09:18 +08:00
fandaren
7bbb7f9727
Fixed bug that apollo
does not support https
. ( #3998 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-08-31 23:50:50 +08:00
李铭昕
be13502347
Fixed type error of return value for watcher. ( #3992 )
...
* Fixed type error of return value for watcher.
* Update
2021-08-30 14:47:00 +08:00
李铭昕
1fda790293
Release v2.2.6
2021-08-30 10:46:59 +08:00
李铭昕
1bd6d1b386
Added option command
which used to define your own start command. ( #3989 )
...
* Added option `command` which you can used to define your own start command.
* Update CHANGELOG-2.2.md
2021-08-29 12:45:52 +08:00
Hyman
c27f12655e
Support delayed message exchange for AMQP. ( #3987 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-08-28 17:36:30 +08:00
沈唁
b996c3c690
Fixed OSS hook failed when using SWOOLE_HOOK_NATIVE_CURL
. ( #3986 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-08-28 12:09:18 +08:00
李铭昕
ae2cf79ed4
Fixed bug that timeout property does not work in circuit breaker. ( #3979 )
2021-08-25 19:07:26 +08:00
Kids Return
cf1bc96e28
Fixed type error when using Hyperf\Validation\Rules\Unique::__toString()
in PHP8. ( #3969 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-08-23 15:38:19 +08:00
李铭昕
3a0d267650
Release v2.2.5 ( #3968 )
2021-08-23 11:09:11 +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
李铭昕
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
李铭昕
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
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
李铭昕
5efe21fc5b
Release v2.2.1 ( #3861 )
2021-07-27 11:01:21 +08:00