Commit Graph

6218 Commits

Author SHA1 Message Date
Reasno
9eea5a0b64 fix: renew sid in all namespaces 2020-12-27 10:57:08 +08:00
Reasno
c4cd77fb0a fix: use fixed ttl 2020-12-27 10:57:08 +08:00
Reasno
795199d5df fix: flaky test 2020-12-27 10:57:08 +08:00
Reasno
8dc7061c6c fix: phpstan complaints 2020-12-27 10:57:08 +08:00
Reasno
bc6ff552c2 feat: add a mechanism to clean up garbage sid automatically. 2020-12-27 10:57:08 +08:00
谷溪
d44b6dc7fc
fix: log and tag Throwable in a span (#3011)
* fix: log and tag Throwable in a span

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-27 10:38:09 +08:00
李铭昕
2ff91b21f8
Upgraded league/flysystem to ^1.0|^2.0 (#3034) 2020-12-27 10:24:51 +08:00
张城铭
ac6c196653
Optimized code for JsonRpcHttpTransporter (#3029) 2020-12-26 10:09:32 +08:00
李铭昕
53a3060f49
Added method ProceedingJoinPoint::getInstance() to get instance which will be called by AOP. (#3030)
* Added method `ProceedingJoinPoint::getInstance()` to get instance which was cut by AOP.

* Update CHANGELOG-2.0.md

* Added test cases.
2020-12-26 09:47:58 +08:00
刘志铭
a6556d80b0
Added document for phar. (#3020)
* 提交phar文档

* Update

Co-authored-by: liuzhiming1 <liuzhiming1@chelun.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-25 14:58:02 +08:00
李铭昕
715e740ea9
Added test cases for MetricFactory::getUri(). (#3017) 2020-12-25 10:41:04 +08:00
ushell
39b36eff3f
Optimized code for prometheus which support https not only http. (#3009)
* Optimized code for prometheus which support `https` not only `http`.

* Update composer.json

* Format code.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-25 10:11:53 +08:00
李铭昕
e56ecda54c
Fixed the broken PHPUnit with the latest opentracing. (#3007) 2020-12-25 09:57:01 +08:00
李铭昕
4ae92ac453
Added method Model\Collection::columns(). (#3001)
* Added method `Model\Collection::columns()`.

* Update CHANGELOG-2.1.md
2020-12-24 09:58:29 +08:00
李铭昕
276cac2dbb
Added params $depth and $flags for Json::decode and Json::encode. (#3002)
* Added params `$depth` and `$flags` for `Json::decode` and `Json::encode`.

* Added test cases

* Added PHPUnit for Swoole 4.5 and 4.6
2020-12-23 13:42:40 +08:00
李铭昕
f5dc5257c0
Update documents for docker tag. (#2998) 2020-12-21 15:09:49 +08:00
huxiuhang
16a5bbfd90
Update async-queue.md (#2996)
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-21 13:22:46 +08:00
李铭昕
76cc3511ed Merge branch 'master' into 2.1-merge
# Conflicts:
#	src/validation/composer.json
2020-12-21 13:21:44 +08:00
李铭昕
0a6ba00cc5
v2.0.24 (#2989)
* Optimized code for Arr.

* Update changelog.md
2020-12-21 09:46:38 +08:00
李铭昕
358117a08e
Fixed Arr::merge() does not works when $array1 is empty. (#2993)
* Fixed `Arr::merge()` does not works when `$array1` is empty. 

* Update CHANGELOG-2.0.md
2020-12-19 10:54:07 +08:00
李铭昕
81f4e62a6d
Optimized requirement for hyperf/validation (#2992)
* Removed devtool from validation.

* Update CHANGELOG-2.0.md
2020-12-18 22:20:11 +08:00
沈唁
a7782c6054
Add yasd (#2988) 2020-12-17 11:29:48 +08:00
Fangx
fbdc424c63
Update questions.md (#2987) 2020-12-17 11:01:26 +08:00
李铭昕
9c870b8b94
Fixed swoole hook flags does works for co server. (#2983)
* Fixed swoole hook flags does works for co server.

* Update CHANGELOG-2.0.md
2020-12-16 15:13:26 +08:00
keepitfocusing
5801d343dc
Optimized document for dao-cloud (#2974)
Co-authored-by: yuanjiawei <jiawei.yuan@zcplan.cn>
2020-12-16 10:11:56 +08:00
沈唁
99e1f4e198
Fixed bug that hyperf/snowflake is broken due to missing hyperf/contract. (#2980)
* Update snowflake dependencies

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-16 09:47:21 +08:00
李铭昕
c74e5d8368
Don't format decimal to float for command gen:model by default. (#2979)
* Don't format `decimal` to `float` for command `gen:model` by default.

* Update CHANGELOG-2.1.md

* Added test case.
2020-12-16 09:38:41 +08:00
沈唁
5e60a43ac7
Support custom HTTP status code. (#2973)
* Support for custom HTTP status code

* Update test

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-15 20:35:28 +08:00
李铭昕
4081346d37
Fixed the wrong hook flags. (#2969) 2020-12-14 23:30:33 +08:00
李铭昕
d28a4273fc Fixed command does not support swow. 2020-12-14 19:42:06 +08:00
李铭昕
a8ea182146 Merge branch 'master' into 2.1-merge 2020-12-14 19:25:02 +08:00
李铭昕
1257b1f79f
v2.0.23 (#2962) 2020-12-14 10:17:24 +08:00
motian
481b3bd6ed
Removed onStart event from server default callbacks when the mode is SWOOLE_BASE. (#2963)
* Optimized Server defaultCallbacks

* Format code.

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-12 19:45:44 +08:00
Jyri Mikkola
a7a44fd447 Merge remote-tracking branch 'upstream/master' 2020-12-11 14:31:07 +02:00
沈唁
28fa61c687
Added NoneEngine as the default engine of view config (#2958)
* Changed default engine of view config

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-11 16:21:12 +08:00
zxyfaxcn
e04811fea8
Fixed bug that nacos config center does not works in coroutine server. (#2952)
* Fixed bug that nacos config center does not works in coroutine server

* Update CHANGELOG-2.0.md

Co-authored-by: DESKTOP-RPFQ2JN\pc <pc@hitotech.cn>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-10 18:33:52 +08:00
黄朝晖
7c8c3ff272
Hide Swoole\ExitException trace message in command (#2953)
* Hide Swoole\ExitException trace message in command

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-10 17:09:22 +08:00
黄朝晖
714e714c3f
Merge pull request #2872 from osgochina/master
Add phar component
2020-12-10 16:56:17 +08:00
huangzhhui
49c4b8fb5f Optimized 2020-12-10 16:38:52 +08:00
minxinqing
4374c04d6f
Optimized code for model-cache, which will delete model cache only once, when using it in transaction. (#2951)
* Optimized code for model-cache, which will delete model cache only once, when using it in transaction.

* Added test cases.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-10 13:45:35 +08:00
黄朝晖
d36d8e00f7
Merge pull request #2940 from TragicMale/patch-1
Update json-rpc.md
2020-12-09 23:37:42 +08:00
xxff
0f38cd3e99
Update json-rpc.md
修改RpcService 注解 protocol 属性的描述。
2020-12-08 18:46:27 +08:00
dayday
8021daf543
Update questions.md (#2937)
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-08 15:53:38 +08:00
李铭昕
4a762c9e98
Changed config file scout.php which search engine index is used as the model index name by default. (#2934)
* Update the default config file for scout.

* Update CHANGELOG-2.0.md
2020-12-08 11:24:30 +08:00
李铭昕
4a01fa1135
Changed the string format for default exception formatter. (#2935) 2020-12-08 10:09:30 +08:00
李铭昕
b556e34bee
v2.0.22 (#2932)
Co-authored-by: 沈唁 <52o@qq52o.cn>
2020-12-07 14:02:00 +08:00
黄朝晖
9360b67c5f
Pass controller instance as first argument to method_exists function not the class namespace string (#2931)
* Pass controller instance as first argument to method_exists function not the class name

* Update CHANGELOG-2.0.md

* Added test cases.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-07 10:26:24 +08:00
李铭昕
a7c525bf95 Remove waiter functions file 2020-12-07 09:45:54 +08:00
huangzhhui
600817be72 Move waiter from Utils\Coroutine\Waiter to Utils src 2020-12-07 09:45:54 +08:00
李铭昕
c155ddfab9 Removed useless code. 2020-12-07 09:45:54 +08:00