Commit Graph

7705 Commits

Author SHA1 Message Date
嗯嗯
3a4ad26f35
Added lazychanger/hyperf-helper-dependency into awesome-components.md. (#5734) 2023-05-17 19:27:21 +08:00
李铭昕
d45511800e Optimized code for phpstan.neon 2023-05-17 13:55:36 +08:00
Deeka Wong
440bca87b9 ⚙️chore(testing) update Assert method signature for readability 2023-05-17 13:55:36 +08:00
Deeka Wong
a1f271d803 🛠️refactor(testing) improve code quality in Assert and TestResponse 2023-05-17 13:55:36 +08:00
Deeka Wong
107012f600 ⚙️chore(deprecation) remove deprecated code; 2023-05-17 13:55:36 +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
李铭昕
eba329e1c2
Fixed test cases for phar. (#5732) 2023-05-17 11:02:43 +08:00
Deeka Wong
c3560b2874
Adds Arr::hasAny() (#5731)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-05-16 20:21:01 +08:00
李铭昕
b828950ce1
Fixed bug that pgsql cannot init when using pgsql-swoole. (#5730) 2023-05-16 18:56:43 +08:00
tiefeng
504fb3e242
Support Swoole 4 PgSQL for hyperf/db. (#5725)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-05-16 17:11:25 +08:00
李铭昕
50cc5a4003
Fixed bug that pgsql cannot init when using pgsql-swoole. (#5726) 2023-05-16 16:28:13 +08:00
zingjie
fa03ed388f
Update tcp-server.md (#5724)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-05-16 15:45:26 +08:00
李铭昕
df4015984e
Support Swoole 5 PgSQL for hyperf/db. (#5723) 2023-05-16 15:39:55 +08:00
她和她的猫
32f9500697
Optimized the code and added some test cases for view-engine. (#5718) 2023-05-15 19:56:52 +08:00
张城铭
c31677d989
optimize code: useless after version 2.0 (#5714) 2023-05-15 12:08:45 +08:00
yansongda
f00f72485c
Optimized the code of metric and added some unit cases. (#5719) 2023-05-15 10:53:01 +08:00
yansongda
69afef0ac1
Optimized the code of Hyperf\Metric\Listener\OnPipeMessage to avoid message block. (#5720)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-05-15 09:53:43 +08:00
Deeka Wong
c97f22c796
Adds exception property to Request Lifecycle Events (#5721) 2023-05-15 09:29:36 +08:00
李铭昕
63d5f89db5 Fixed bug for release.yml 2023-05-12 13:04:21 +08:00
李铭昕
2ef9aba4b9 Update release.yml 2023-05-12 12:59:23 +08:00
李铭昕
4ccf4681d2 Created Github Actions of Release Repos 2023-05-12 12:55:04 +08:00
李铭昕
86d26fade3
Release v3.0.20 (#5717) 2023-05-12 11:01:50 +08:00
Deeka Wong
2e642ae005
Support CoroutineServer for SuperGlobals (#5716) 2023-05-12 10:38:11 +08:00
Deeka Wong
6dbb49eae7
Support http request lifecycle events. (#5715)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-05-12 09:37:15 +08:00
Deeka Wong
b454edab3d
Support Server instance as default (#5713) 2023-05-11 10:08:03 +08:00
Deeka Wong
17a17991ca
Adds Arr::mapWithKeys() (#5711) 2023-05-10 09:30:28 +08:00
张城铭
b90054251d
Fixed bug that the error message is wrong when the logger group not found. 2023-05-09 18:27:25 +08:00
Deeka Wong
c66c7cc0e5
Adds Hyperf\Config\config() helper function (#5707)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-05-09 11:02:12 +08:00
她和她的猫
201123d533
Support for adding full-text index using migration. (#5701) 2023-05-08 09:23:36 +08:00
李铭昕
2f9fd3180f
Release v3.0.19 (#5700) 2023-05-06 14:46:14 +08:00
她和她的猫
a31545bbbe
Added Model::resolveRelationUsing() method for model. (#5699)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-05-05 22:18:53 +08:00
Deeka Wong
c60b91c6f4
Use Hyperf\Coroutine\Coroutine::sleep() instead of Swoole\Coroutine::sleep() (#5696) 2023-05-05 09:15:00 +08:00
Deeka Wong
c5e77c4763
Add creation and update datetime columns (#5695) 2023-05-05 09:14:12 +08:00
她和她的猫
418d510b6c
Fixed bug that migration cannot work when change column type (#5690) 2023-05-04 18:21:02 +08:00
Deeka Wong
4cd911472a
Remove hyperf/utils from hyperf/rpc (#5694) 2023-05-04 14:03:18 +08:00
她和她的猫
72dfceed72
Fixed bug that blade view engine cannot work when using break statement. 2023-04-28 13:50:49 +08:00
Deeka Wong
057959349c
Support Swoole v5.0.3 (#5683) 2023-04-28 11:54:56 +08:00
李铭昕
6f79e8f736
Support store context when using rpc-multiplex. (#5680)
* Support store context when using `rpc-multiplex`.

* Added test cases.
2023-04-27 17:53:41 +08:00
yansongda
457d94b6d3
Fixed bug that the type of $timeout in #[Task] don't match TaskAspect. (#5679)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-04-27 09:19:09 +08:00
李铭昕
d614069114
Release v3.0.18 (#5676) 2023-04-26 11:48:38 +08:00
Deeka Wong
848a68a6df
Instead of classes and functions of Hyperf\Utils (#5674)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-04-26 11:02:31 +08:00
Deeka Wong
d9ceb5d631
Move some commonly used classes to hyperf/support (#5673) 2023-04-25 21:23:23 +08:00
Deeka Wong
a5617ddb24
Adds some functions to hyperf/support (#5672) 2023-04-25 17:04:00 +08:00
Deeka Wong
1e769fce83
Use Hyperf\Coroutine\Channel\Pool instead of Hyperf\Utils\ChannelPool (#5671) 2023-04-25 15:21:20 +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
黄朝晖
4697093c8f
English Docs (#5669) 2023-04-25 09:32:59 +08:00
Deeka Wong
03b35e6e56
Split hyperf/support from hyperf/utils (#5668) 2023-04-25 09:31:42 +08:00
币圈黑瞎子
27a7049699
fix typo
日志 #5546 为 Nacos 配置中心增加 GRPC 功能,可以实时监听配置的变化。 Nacos的 s未放入``中
2023-04-24 18:23:53 +08:00
Deeka Wong
cf25b8056e
Split Packers to hyperf/codec (#5666) 2023-04-24 17:49:41 +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