Commit Graph

7024 Commits

Author SHA1 Message Date
李铭昕
a8de513425
Changed return type to void for Hyperf\Event\Contract\ListenerInterface::process(). (#4611) 2022-03-18 09:55:36 +08:00
李铭昕
299d67b952 Merge branch 'master' into 3.0
# Conflicts:
#	src/http-server/src/Request.php
#	src/model-cache/tests/Stub/ManagerStub.php
2022-03-14 11:43:17 +08:00
李铭昕
9fa13f8c88
Make public for method Hyperf\ModelCache\Manager::formatModels(). (#4603) 2022-03-14 11:07:12 +08:00
Deeka Wong
e9b7586710
Removed Hyperf\Utils\Context, please use Hyperf\Context\Context instead. (#4596) 2022-03-11 14:02:57 +08:00
李铭昕
7d8dd34366 Added document about how to use bit in ORM. 2022-03-10 15:58:49 +08:00
李铭昕
f727897e39 Fixed bug that database does not support bit. 2022-03-10 15:58:49 +08:00
李铭昕
d7e5f336c4
Fixed bug that ephemeral instance register failed when using nacos. (#4589) 2022-03-10 14:57:52 +08:00
Flc゛
76e5782b7e
Added method Hyperf\Utils\Coroutine\Concurrent::getChannel(). (#4580)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-03-08 14:49:09 +08:00
李铭昕
729039f43e
Fixed type hint error when using command::choice(). (#4582) 2022-03-08 12:33:27 +08:00
李铭昕
8f041fb103
Release v2.2.27 (#4578) 2022-03-07 10:08:55 +08:00
Hyman
cdda82b0f4
Added test case for Builder::simplePaginate(). (#4574)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-03-07 10:06:01 +08:00
pandaLIU
1a916f192c
update testing.md 2022-03-07 09:34:38 +08:00
沈唁
c16780b537
Use Hyperf\LoadBalancer\Exception\RuntimeException instead of \RuntimeException. 2022-03-04 09:37:25 +08:00
李铭昕
38e75712ed
Fixed bug that $server must not be accessed before initialization. (#4568) 2022-03-03 11:27:02 +08:00
李铭昕
7138a915c6 Merge branch 'master' into 3.0-merge 2022-03-01 11:38:31 +08:00
李铭昕
7b20914070
Use Hyperf/Context/Context instead of Hyperf/Utils/Context. (#4565) 2022-03-01 11:13:47 +08:00
黄朝晖
8332a19664
Merge pull request #4564 from PandaLIU-1111/feature/update-json-rpc-context 2022-02-28 14:12:44 +08:00
pandaLIU
db941f788c Updated json-rpc context 2022-02-28 10:22:56 +08:00
pandaLIU
7fa74f1e69
add dtm doc. #4553 (#4560) 2022-02-26 21:20:36 +08:00
huangzhhui
0dbb052308 Merge branch 'master' of https://github.com/hyperf/hyperf 2022-02-25 19:18:23 +08:00
huangzhhui
181931eb2f Update release planning 2022-02-25 19:18:20 +08:00
李铭昕
e7548bfdf7
Fixed bug that PhpParser::getExprFromValue() does not support assoc array. (#4549) 2022-02-21 20:23:48 +08:00
李铭昕
3773c9a362
Support symfony v6.0 (#4548) 2022-02-21 17:17:24 +08:00
李铭昕
a57dfe6b98
Upgrade the minimum php version to 8.0 for context. (#4546) 2022-02-21 12:08:56 +08:00
zxyfaxcn
c2d8894f74
Fixed typo 2022-02-21 10:18:52 +08:00
李铭昕
4135ea0a0e Merge branch 'master' into 3.0-merge
# Conflicts:
#	.github/workflows/test.yml
#	composer.json
#	phpunit.xml
#	src/config-apollo/src/Client.php
#	src/http-server/src/Request.php
#	src/redis/src/RedisConnection.php
#	src/utils/composer.json
2022-02-21 10:03:25 +08:00
李铭昕
fc501d4383
Release v2.2.26 (#4544)
Co-authored-by: 沈唁 <52o@qq52o.cn>
2022-02-21 09:27:49 +08:00
Tall
5e3b3edf4e
Fixed bug that response header content-type will be set more than once sometimes. (#4536)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-02-18 09:58:04 +08:00
zyhzyh
142d424288
Added some useful methods for Hyperf\Database\Schema\Blueprint. (#4527)
Co-authored-by: 庄远辉 <zhuangyuanhui@kkguan.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-02-18 09:49:29 +08:00
Tall
0542c177fa
Deleted incorrect comment from Request::input(). 2022-02-17 11:33:00 +08:00
李铭昕
ce0cb38294
Split hyperf/context from hyperf/utils. (#4529) 2022-02-16 11:17:15 +08:00
huangzhhui
68324564f4 Update doc 2022-02-16 02:13:55 +08:00
Deeka Wong
fac58eaff9
Support callback conditions for Conditionable::when() and Conditionable::unless(). (#4523)
* Add Conditionable support for callback conditions

* Format code

Co-authored-by: 李铭昕 <715557344@qq.com>
2022-02-15 15:31:58 +08:00
李铭昕
e85de228a9
Upgrade the minimum php version to 8.0 for websocket. (#4525) 2022-02-15 11:59:48 +08:00
李铭昕
cc51ffddb0
Upgrade the minimum php version to 8.0 for watcher. (#4524) 2022-02-15 11:32:36 +08:00
蔡政
9d2fd1c402
Try to connect to another one when connected redis sentinel failed. (#4521)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-02-14 17:03:01 +08:00
李铭昕
653f7ff7df
Upgrade the minimum php version to 8.0 for view-engine. (#4520) 2022-02-14 15:50:11 +08:00
李铭昕
98e2ad4885
Upgrade the minimum php version to 8.0 for view. (#4519) 2022-02-14 14:11:07 +08:00
李铭昕
435b2411ca
Upgrade the minimum php version to 8.0 for socketio-server. (#4518) 2022-02-14 11:49:52 +08:00
李铭昕
33bb0942c9
Upgrade the minimum php version to 8.0 for metric. (#4517) 2022-02-13 19:40:56 +08:00
李铭昕
b19a1542fd
Upgrade the minimum php version to 8.0 for validation. (#4516) 2022-02-12 14:31:39 +08:00
李铭昕
9072b4572e
Improved some performance by using lowercase headers. (#4514) 2022-02-11 17:45:53 +08:00
李铭昕
9e587b770b Upgrade php requirement to >=8.0 in composer.json. 2022-02-10 13:18:20 +08:00
李铭昕
39bbd8bc83 Upgrade the minimum php version to 8.0 for resource-grpc and translation. 2022-02-10 13:18:20 +08:00
李铭昕
00ca69a4a1
Upgrade the minimum php version to 8.0 for reactive-x. (#4502) 2022-02-07 15:48:35 +08:00
Deeka Wong
603d3be056
Use ?? instead of ?: for $callback when using Stringable::when(). (#4460)
* simplify whenEmpty & whenNotEmpty methods

* Use `??` instead of `?:` for `$callback` when using `Stringable::when()`.

Co-authored-by: 李铭昕 <715557344@qq.com>
2022-02-05 19:26:37 +08:00
李铭昕
30266882b8 Added Hyperf\Coordinator\Timer which can be stopped safely. 2022-02-01 16:32:56 +08:00
李铭昕
e115cc2810 Added Hyperf\Coordinator\Timer. 2022-02-01 16:32:56 +08:00
张子彬
8b1bc26283
Changed the default value to null for Hyperf\DbConnection\Db::__connection(). (#4495)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-02-01 12:34:22 +08:00
李铭昕
f59cdf3223 Merge branch 'master' into 3.0-merge
# Conflicts:
#	composer.json
#	src/testing/co-phpunit
2022-01-30 16:51:23 +08:00