Commit Graph

49 Commits

Author SHA1 Message Date
李铭昕
b183430e61
Upgraded monolog/monolog to ^2.7|^3.1. (#4825) 2022-06-10 16:21:17 +08:00
李铭昕
517396566e
Replaced Swoole\Coroutine\Channel by Hyperf\Engine\Channel. (#4808) 2022-06-04 15:51:29 +08:00
李铭昕
a2352024b3
Support Swow for WaitGroup. (#4804) 2022-06-03 22:41:50 +08:00
李铭昕
a98c2d8919
Support Swow for hyperf/amqp. (#4756) 2022-05-17 10:17:04 +08:00
李铭昕
aeab9ba40a
Support Swow for Hyperf\Utils\Coroutine\Locker. (#4757) 2022-05-17 08:26:40 +08:00
Deeka Wong
4dcd47d42d
Adjust the order of injections for controllers to avoid inject null preferentially. (#4715) 2022-04-30 11:56:44 +08:00
Kids Return
2271f4323f
Support coroutine style server for socketio-server. (#4700) 2022-04-30 11:47:25 +08:00
凌の雨尘
5c0fed9ea8
Optimized code of Str::contains Str::startsWith and Str::endsWith based on PHP8. (#4547)
Co-authored-by: aeisen <linyucheng@kkguan.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-04-17 21:00:09 +08:00
她和她的猫
62687ba059
When the route annotation path is null, path defaults to the method name. (#4658)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-04-17 18:56:43 +08:00
李铭昕
f80e6a6d4e
Added SafeCaller to avoid server shutdown which caused by exceptions. (#4688) 2022-04-15 18:00:56 +08:00
李铭昕
ca2a03df6e
Stop processes which controlled by ProcessManager when server shutdown. (#4680) 2022-04-13 21:28:07 +08:00
李铭昕
cd85b15d7c
Close all another servers when one of them closed. (#4679) 2022-04-13 20:34:09 +08:00
李铭昕
17ad62cd22
Support event dispatcher for command by default. (#4678) 2022-04-13 18:33:32 +08:00
李铭昕
b814749bd3
Update document about how to upgrade to 3.0. (#4671) 2022-04-12 18:41:01 +08:00
李铭昕
07c4182e7e
Removed doctrine/annotations, please use PHP8 Attributes. (#4667) 2022-04-12 18:14:22 +08:00
Deeka Wong
6f946b8ad8
Optimized class Hyperf\Utils\Str whose methods padBoth padLeft and padRight support multibyte. (#4668) 2022-04-12 14:43:18 +08:00
Deeka Wong
27a8f74683
Make Hyperf\Utils\Stringable implements Stringable. (#4663)
* Make `Hyperf\Utils\Stringable` implements `Stringable`.

* Update phpstan.neon

Co-authored-by: 李铭昕 <715557344@qq.com>
2022-04-07 10:26:59 +08:00
沈唁
8e146554ac
Removed AliyunOssHook for hyperf/filesystem (#4623) 2022-03-23 17:04:34 +08:00
李铭昕
a8de513425
Changed return type to void for Hyperf\Event\Contract\ListenerInterface::process(). (#4611) 2022-03-18 09:55:36 +08:00
Deeka Wong
e9b7586710
Removed Hyperf\Utils\Context, please use Hyperf\Context\Context instead. (#4596) 2022-03-11 14:02:57 +08:00
李铭昕
e7548bfdf7
Fixed bug that PhpParser::getExprFromValue() does not support assoc array. (#4549) 2022-02-21 20:23:48 +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
李铭昕
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
张子彬
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
沈唁
5c8c3b0290
Add Hyperf\Utils\IPReader to get local IP (#4277) 2022-01-27 13:46:54 +08:00
Tall
854bfba503
Removed log warning from cache component when the key is greater than 64 characters. (#4487) 2022-01-26 10:54:31 +08:00
Daffy Weng
c5283b6007
修复Model::insertOrIgnore返回Builder对象的bug , 应该返回影响行数 (#4434) 2022-01-09 10:17:07 +08:00
李铭昕
ef47a76a60
Upgrade the minimum php version to 8.0 for scout. (#4400) 2021-12-27 17:14:07 +08:00
李铭昕
e15964fd57
Fixed bug that command gen:model does not adapt 3.0 (#4398) 2021-12-27 12:18:56 +08:00
李铭昕
dbd2f2a8f6
Optimized DataFormatterInterface which uses object instead of array as inputs. (#4367)
* Optimized code for `DataFormatterInterface`.

* Update CHANGELOG-3.0.md
2021-12-16 15:22:52 +08:00
李铭昕
02bbc9a8bc
Upgrade the minimum php version to 8.0 for load-balancer and redis. (#4359) 2021-12-15 13:55:43 +08:00
李铭昕
4b966949f2
Upgrade the minimum php version to 8.0 for model-listener and pool. (#4357) 2021-12-15 12:27:22 +08:00
pandaLIU
3a1a7ea4e4
Upgrade the minimum php version to 8.0 for kafka. (#4345)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-12-13 19:39:48 +08:00
李铭昕
de352ea1df
Fixed type error hint for JsonSerializable::jsonSerialize(). (#4340) 2021-12-11 09:47:27 +08:00
李铭昕
748fc22275
Upgraded psr/simple-cache to ^1.0|^2.0|^3.0 (#4323) 2021-12-07 12:26:20 +08:00
李铭昕
880b577510
Upgrade the minimum php version for memory and model-cache. 2021-12-07 11:22:25 +08:00
李铭昕
43f8907276
Support $suffix for trait StaticInstance. (#4304) 2021-12-01 14:12:08 +08:00
李铭昕
911ab1210e Hyperf\Utils\Contracts\Arrayable will be deprecated, please use Hyperf\Contract\Arrayable instead. 2021-11-23 20:00:06 +08:00
李铭昕
6edb9337da
Upgrade the minimum php version to 8.0 for guzzle. (#4276) 2021-11-22 11:24:46 +08:00
李铭昕
804c237b87
Changed the default priority of listener to 0 from 1. (#4269) 2021-11-18 11:07:53 +08:00
李铭昕
501de0c9c2
Update mix/redis-subscribe to mix/redis-subscriber. (#4232)
* update mix/redis-subscribe to mix/redis-subscriber

* Upgrade the minimum php version to 8.0 for socketio-server.

Co-authored-by: XuTongle <xutongle@msn.com>
2021-11-08 15:49:45 +08:00
李铭昕
dfded07b75
Split hyperf/coordinator from hyperf/utils. (#4225) 2021-11-05 16:06:17 +08:00
李铭昕
ae555051ce
Upgrade the minimum php version to 8.0 for db. (#4220) 2021-11-05 10:42:57 +08:00
李铭昕
2d800e17c4
Rename $circularDependences to $checkCircularDependencies for Dag. (#4214)
* Rename `$circularDependences` to `$checkCircularDependencies`.

* Update CHANGELOG-3.0.md
2021-11-04 11:50:02 +08:00
GanymedeNil
c2b4c0d7e9
Optimized code for nacos. (#4147)
You can use `http://xxx.com/yyy/` instead of `http://xxx.com:8848/` to connect `nacos`.

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-11-02 20:37:59 +08:00
李铭昕
855e886ec6
Upgrade the minimum php version to 8.0 for async-queue. (#4199) 2021-11-02 16:57:36 +08:00
李铭昕
74a21bbab3
Optimized code about amqp and upgrade all requirements from v2.2 to v3.0 (#4196) 2021-11-02 15:06:17 +08:00