Commit Graph

415 Commits

Author SHA1 Message Date
Deeka Wong
d26900edd3
chore: Refactor StdoutLogger to improve log message handling (#6777) 2024-05-21 13:43:48 +08:00
李铭昕
a621df58f8
Upgrade hyperf/engine to v2.11. (#6698) 2024-04-17 21:55:51 +08:00
Deeka Wong
a8805ee155
Added Hyperf\Coordinator helper functions (#6680) 2024-04-12 16:19:26 +08:00
李铭昕
fc488034b9
Format code by the latest cs-fixer. (#6617) 2024-03-23 19:28:51 +08:00
Deeka Wong
b79ef28bff
Added hyperf/carbon component (#6594) 2024-03-16 20:50:08 +08:00
Deeka Wong
48979a2827
Added google/common-protos 4.x support for develop (#6560) 2024-02-28 11:40:20 +08:00
Albert Chen
eeb2b5bb4a
Added database-sqlite component. 2024-02-20 12:05:45 +08:00
Demin Yin
78c072d0ba
support customized local configuration files for PHPStan and PHPUnit (#6405) 2023-12-20 09:50:39 +08:00
宣言就是Siam
ff4451014a
Support collect swagger validation rules and attribute for mediaType request body. (#6380) 2023-12-14 12:05:10 +08:00
he426100
1d7c3c6950
Upgraded swow/swow to dev-develop (#6345)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-12-01 18:55:55 +08:00
李铭昕
29630e076b
Removed useless component. (#6316) 2023-11-23 16:23:27 +08:00
Lu Fei
29959f38af
Remove deprecated component swoole-tracker (#6244) 2023-11-01 10:32:14 +08:00
Deeka Wong
5d2d69a80b
Adds hyperf/stdlib component (#6082)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-08-25 11:55:47 +08:00
李铭昕
9fd7752de6
Added component hyperf/migration-generator which used to generate migrations from databases. (#5967) 2023-07-23 20:01:33 +08:00
Deeka Wong
dfecb0fe72
Adds Job::setMaxAttempts and dispatch helper function (#5950)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-07-17 19:31:14 +08:00
Deeka Wong
93969e5ac5
Remove closure-command component (#5933)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
2023-07-13 16:04:15 +08:00
Deeka Wong
e051e3b2c3
Adds AsCommand annotation and ClosureCommand support (#5930)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-07-13 15:11:39 +08:00
Deeka Wong
030405b092
Adds ModelFactory support for hyperf/testing (#5894) 2023-07-01 20:25:51 +08:00
Deeka Wong
0b62b50e98
Adds RunTestsInCoroutine trait (#5867) 2023-06-20 13:01:15 +08:00
Deeka Wong
f65beed9b6
Adds closure-command to composer.json (#5862) 2023-06-19 21:07:47 +08:00
Deeka Wong
33c457f1dd
Refactor runTestsInCoroutine and kernel injection (#5848) 2023-06-19 18:08:37 +08:00
Deeka Wong
cf288037ba
Adds hyperf/polyfill-coroutine component (#5841)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-06-16 19:57:19 +08:00
李铭昕
8c9b0a2b91
Moved go, co and defer to hyperf/coroutine. (#5840) 2023-06-16 17:09:43 +08:00
李铭昕
6bdb3863f4
Support swow psr7-plus interface for http-message. (#5828) 2023-06-15 18:15:06 +08:00
Deeka Wong
d5457411dd
Remove co-pest, use pest-plugin-hyperf instead. (#5834) 2023-06-14 14:35:21 +08:00
Deeka Wong
9679f71ea4
Remove useless codes in hyperf/utils (#5810) 2023-06-07 17:00:55 +08:00
Deeka Wong
d3ab30ca4b
[3.1] Support pest (#5805) 2023-06-07 13:05:40 +08:00
Deeka Wong
b18bf79b7e
Bumps phpunit to 10.x (#5802)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-06-07 10:16:25 +08:00
Deeka Wong
985ab58bb1
[3.1]Bumps dependencies (#5796)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-06-06 09:52:53 +08:00
Deeka Wong
31b6b503da
Update php-cs-fixer to version ~3.16.0 (#5755) 2023-05-23 11:47:07 +08:00
Deeka Wong
ce516ea2a3 ⚙️chore(testing) move container related methods to InteractsWithContainer trait
New TestCase

🛠️refactor(testing) remove duplicate ApplicationContext::setContainer call

⚙️chore(testing) add array access to TestResponse

🛠️refactor(testing) simplify TestResponse body implementation

🚀feat(response) add status and content methods to TestResponse class

Adds Utils

Remove utils

Update TestResponse.php

⚙️chore(testing) refreshContainer with ApplicationInterface call

🛠️refactor(testing): fix namespace in TestCase.php

🛠️refactor(testing) update namespace for ApplicationInterface in refreshContainer method

⚙️chore(testing) ignore phpstan warning in InteractsWithContainer trait instance function

🛠️refactor(testing): make container property protected in TestCase class

🛠️refactor(response) refactor TestResponse class methods - Refactored the content method to use the getContent method for consistency. - Created a collect method to get the JSON decoded body of the response as a collection for convenience. - Removed the status method since it's redundant with the getStatusCode method. - Updated the assertContent method to use the getContent method instead of the content method.

🛠️refactor(testing) make assert methods chainable

Adds Utils

WIP

🚀feat(dependencies) add symfony/http-foundation\n- Added version constraints for symfony/http-foundation for compatibility with versions 5.4 and 6.0.

🛠️refactor(tests) update TestCase.php null initialization of container

⚙️chore(config) update phpstan.neon configuration file
2023-05-17 13:55:36 +08:00
Deeka Wong
a5617ddb24
Adds some functions to hyperf/support (#5672) 2023-04-25 17:04:00 +08:00
Deeka Wong
9c4a1a34b6
Split hyperf/code-parser from hyperf/utils (#5670)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-04-25 13:50:06 +08:00
Deeka Wong
03b35e6e56
Split hyperf/support from hyperf/utils (#5668) 2023-04-25 09:31:42 +08:00
Deeka Wong
ec4a2828d9
Split hyperf/serializer from hyperf/utils (#5663)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-04-24 15:07:56 +08:00
Deeka Wong
a26d670761
Split hyperf/codec from hyperf/utils (#5660)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-04-24 10:15:14 +08:00
Deeka Wong
6377ea76f2
Use Hyperf\Stringable\Str instead of Hyperf\Utils\Str (#5634) 2023-04-13 11:56:00 +08:00
Deeka Wong
d9eaddd0a7
Split hyperf/stringable from hyperf/utils (#5625) 2023-04-12 13:39:56 +08:00
Deeka Wong
399c85fcce
Split hyperf/coroutine from hyperf/utils (#5619)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-04-11 09:38:53 +08:00
李铭昕
e1b50351b9
Added server.options.send_channel_capacity to control whether to use safe socket. (#5606) 2023-04-07 14:21:41 +08:00
李铭昕
6e903a2bc4
Support the version 2.x of psr/http-message. (#5602) 2023-04-04 21:03:06 +08:00
Deeka Wong
92f294fdf5
Split hyperf/pipeline from hyperf/utils (#5596) 2023-04-03 09:27:20 +08:00
Deeka Wong
0e750e8545
Split hyperf/conditionable and hyperf/tappable from hyperf/utils (#5580) 2023-03-28 23:02:39 +08:00
Deeka Wong
65fd6f99b8 Adds collection helper function in Hyperf\Collection 2023-03-28 20:16:28 +08:00
Deeka Wong
cb85373d0e Split hyperf/collection from hyperf/utils 2023-03-28 20:16:28 +08:00
Deeka Wong
19ea1e9587
Adds setTimer support for kafka (#5561)
* Adds setTimer support for kafka

* Update CHANGELOG-3.0.md

* Fix

* Update

---------

Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-03-22 18:14:15 +08:00
李铭昕
59b4ba2e64
Optimized code for AMQPConnection to support the latest php-amqplib. (#5539) 2023-03-18 00:48:52 +08:00
李铭昕
9aa7ab4aef Fixed test cases. 2023-03-17 17:03:52 +08:00
李铭昕
67cf76b334 Added hyperf/http2-client. 2023-03-17 17:03:52 +08:00
alwaysLinger
0e57e145ac
Added method Hyperf\Grpc\Parser::statusFromResponse. (#5454)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-02-24 10:35:07 +08:00