李铭昕
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
huangzhhui
b5d27e672e
Use @requires PHP 8.0
to instead of skip marker
2021-09-21 06:36:08 +08:00
huangzhhui
8872a5c658
Skip the tests when PHP_VERSION < 8
2021-09-21 06:36:08 +08:00
huangzhhui
bd4eabcc89
Format code
2021-09-21 06:36:08 +08:00
huangzhhui
5b647f4911
Optimize the exception message when the attribute not found
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
李铭昕
898522e0e0
Added test cases about hyperloglog for redis. ( #4079 )
2021-09-17 19:48:26 +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
黄朝晖
b0a5347690
Merge pull request #4056 from sy-records/fix-docs
...
Combine the javascript content to index.html to allow local and production environments to run
2021-09-14 18:16:38 +08:00
沈唁
9eea6c76b5
Merge branch 'master' into fix-docs
2021-09-14 18:13:44 +08:00
sy-records
cb3c809a65
Update localization
2021-09-14 18:13:16 +08:00
黄朝晖
867756beac
Fixed the wrong js path, refer #4051
2021-09-14 18:07:25 +08:00
sy-records
4c48586066
Fix path error
2021-09-14 18:03:28 +08:00
黄朝晖
2e6a5738ea
Merge pull request #4051 from SalfordShane/docs/automatically-detect-language
...
Docs now automatically display in the chosen language of the users br…
2021-09-14 17:54:38 +08:00
黄朝晖
b69ed6f301
Merge pull request #4043 from SalfordShane/docs/installation-clear-english
...
Improve clarity of English language installation documentation
2021-09-14 17:54:21 +08:00
李铭昕
6c3f8a139b
Release v2.2.8 ( #4052 )
2021-09-14 09:45:22 +08:00
Shane Armstrong
4a9ffd8fc1
Fix code indentation in the Docs localization plugin
2021-09-13 14:35:22 +01:00
Shane Armstrong
d416b529c4
Docs now automatically display in the chosen language of the users browser for en-*, zh-HK, zh-TW users
2021-09-13 14:23:57 +01: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
Shane Armstrong
23b9ee6914
Improve clarity of English language installation documentation
2021-09-10 12:43:10 +01: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
沈唁
81310448de
Update docs and translate.
2021-09-09 09:29:08 +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
李铭昕
0765cf35cc
Added test cases for Collection::macro()
. ( #4032 )
2021-09-08 13:45:29 +08:00
李铭昕
11391280ba
Support test cases in container v2.0 ( #4031 )
2021-09-08 13:14:39 +08:00
李铭昕
a4727a4b1e
Fixed bug that async-queue broken caused by uncompress model failed.
2021-09-08 12:11:54 +08:00
李铭昕
db5a7488ee
Removed type hint from UnCompressInterface
.
2021-09-08 12:11:54 +08:00
沈唁
ccd7d8b6fe
Update resource link ( #4024 )
2021-09-08 08:46:10 +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
D.J.Hwang
dcbb709f56
Ignored the phpstan error about separator of function explode expects non-empty-string, string given
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-09-06 10:20:50 +08:00
李铭昕
705370fb1d
Added test cases.
2021-09-05 00:00:43 +08:00
李铭昕
00c94e5cae
Format code
2021-09-04 23:47:15 +08:00
huangdijia
1a4f483f5c
Added methods for Str
2021-09-04 23:47:15 +08:00
huangdijia
5a6ebf6c2c
Added Stringable class and Str::of() method
2021-09-04 23:47:15 +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
李铭昕
323b9e78f1
Format code
2021-09-01 00:09:18 +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