Commit Graph

6301 Commits

Author SHA1 Message Date
李铭昕
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
李铭昕
9f43e2db9e Moved waiter component into utils. 2020-12-07 09:45:54 +08:00
李铭昕
3881f5ac16 Added test cases. 2020-12-07 09:45:54 +08:00
李铭昕
d1dd102995 Added waiter component. 2020-12-07 09:45:54 +08:00
Jyri Mikkola
b531fd4a30 Fix line wrapping in watcher.md 2020-12-06 21:22:54 +02:00
huangzhhui
6d590b46d6 Update composer.json 2020-12-07 01:42:24 +08:00
李铭昕
2f3151d7ce
Upgrade the minimum version of php-amqplib to v2.9.2. (#2930)
* Upgrade the minimum version of amqplib to 2.9.2

* Update CHANGELOG-2.0.md
2020-12-06 14:58:12 +08:00
weskiller
1d4474fde8
Added method count() for Parallel. (#2921)
* Added method `count()` for `Parallel`.

* Format code.

* Added test cases.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-06 14:38:02 +08:00
jonny77
9d67a9bf76
Optimized document for Annotation @AutoController. (#2924)
* Optimized document for AutoController.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-06 14:23:10 +08:00
pandaLIU
b5ff8f1ee1
Fixed validation rule alpha_dash does not support int. (#2927)
* Updated validation.md

* Fixed validation rule `alpha_dash` does not support `int`.

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-06 13:56:26 +08:00
Jyri Mikkola
de12897167 Add english documentation for watcher 2020-12-05 14:15:21 +02:00
沈唁
985f45de28
Disable the daemonize when use watcher (#2918)
* Disable the daemonize when use watcher

* Update CHANGELOG-2.0.md

* Update view-engine.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-03 19:06:02 +08:00
沈唁
0ff57ebcd9
Fix typo (#2916)
* Fix typo

* Update AbstractController
2020-12-03 15:58:26 +08:00
李铭昕
a83c3ebe3b
Fixed bug that worker will be stoped when onMessage or onClose failed in websocket server. (#2915)
* Fixed bug that worker will be stoped when `onMessage` or `onClose` failed in websocket server.

* Update CHANGELOG-2.0.md
2020-12-03 14:01:53 +08:00
李铭昕
1c7450fd72
Fixed memory leak when using with() for ORM. (#2913)
* Fixed memory leak when using `with()` for ORM.

* Update CHANGELOG-2.0.md
2020-12-03 10:36:00 +08:00
李铭昕
9fcbdb62f0
Allow setting repeated middlewares. (#2909) 2020-12-02 16:29:54 +08:00
沈唁
ac470e13ee
Upgraded doctrine/dbal to ^3.0 (#2901)
* Upgraded doctrine/dbal to ^3.0

* Update Connector.php

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-12-01 14:55:18 +08:00
李铭昕
29e420bc17 Merge branch 'master' into 2.1-merge 2020-12-01 14:33:53 +08:00