Commit Graph

84 Commits

Author SHA1 Message Date
张城铭
7f03249ed7
Add callable type support to the fallback property of CircuitBreaker Attribute (#6363)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
2023-12-07 11:25:12 +08:00
xiechenghua
af608b8e4a
Fixed bug that Hyperf\SocketIOServer\Emitter\Future cannot be resolved.
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-12-06 13:31:17 +08:00
宣言就是Siam
cb609975e0
Added response content-type header for swagger server. (#6360)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-12-06 09:35:06 +08:00
guandeng
50b7fa9f37
Fixed bug that the recv channel cannot be found, because GrpcClient::runReceiveCoroutine will unset streamId before recv method. (#6350) 2023-12-05 14:15:56 +08:00
李铭昕
823596fbe0
Fixed bug that nacos config center cannot work when using grpc protocol. (#6352) 2023-12-05 10:11:19 +08:00
Binary Alan
0a4fe46065
🛠️refactor(view-engine) fix header setting in view function (#6347)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-12-04 16:39:23 +08:00
Deeka Wong
de0fdd9078
Added Coroutine::fork() and Coroutine::pid() (#6342) 2023-12-01 14:59:45 +08:00
李铭昕
861ce7aee7
Release v3.1.0 (#6340) 2023-12-01 00:00:30 +08:00
宣言就是Siam
09a4127ee3
Added config processors for swagger. (#6338)
Co-authored-by: Lu Fei <52o@qq52o.cn>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-11-30 17:23:17 +08:00
李铭昕
05530c98bd
Changed the branch-alias of all components to 3.1-dev. (#6320) 2023-11-24 11:10:53 +08:00
宣言就是Siam
d11673381f
Improve storage switcher for rate-limit. (#6301) 2023-11-23 20:55:38 +08:00
李铭昕
4ce77bc1c8
Fixed bug that logger cannot work in LoadBalancerInterface::refresh(). (#6260) 2023-11-03 16:32:47 +08:00
李铭昕
0481f6979c
Support to use model builder as the column in Hyperf\Database\Query\Builder\addSelect. (#6259) 2023-11-03 15:28:43 +08:00
李铭昕
fdd501d96d
Optimized code that you can get request from BadRequestHttpException. (#6247) 2023-11-01 11:22:10 +08:00
Lu Fei
29959f38af
Remove deprecated component swoole-tracker (#6244) 2023-11-01 10:32:14 +08:00
李铭昕
10413ec0de Throw exceptions when the redis option key is invalid. 2023-10-10 10:05:43 +08:00
李铭昕
84350c4eba
Set logger when using safe socket in coroutine style tcp server. 2023-09-30 23:16:50 +08:00
Deeka Wong
1bbed67d5d
Optimize ProcessManager to make the running status more clear (#6172) 2023-09-22 16:30:01 +08:00
李铭昕
08eb8be7f7
Throw invalid argument exception when the crontab task is null. (#6131) 2023-09-05 10:52:48 +08:00
宣言就是Siam
e7a82ce706
Support to use config('a.c') to get the configurations from autoload/a/c.php. (#6128)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-09-04 21:23:06 +08:00
Deeka Wong
f716771642
Adds Hyperf\AsyncQueue\Job::fail() method (#6124) 2023-09-02 23:09:18 +08:00
陈文锋
d1323e9707
Added new rules to the validation (#6106) 2023-08-31 19:56:59 +08:00
李铭昕
d4f14fd945
Added an error count to the database connection to ensure that the connection can be reset when occur too many exceptions. (#6085) 2023-08-25 21:34:08 +08:00
Deeka Wong
5d2d69a80b
Adds hyperf/stdlib component (#6082)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-08-25 11:55:47 +08:00
李铭昕
54ea6fcdcd
Fixed bug that Hyperf\HttpServer\Request::hasFile don't support Swow. (#6056) 2023-08-18 15:28:12 +08:00
张城铭
da32a0ee6c
Removed deprecated Hyperf\Coroutine\Traits\Container. (#6043) 2023-08-17 14:22:08 +08:00
Albert Chen
4ca7b2fa8a
[feat] Support buffer mechanism in standalone process of metric (#6030)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-08-17 10:00:28 +08:00
李铭昕
b6538c14da
Removed some deprecated methods from Hyperf\Di\Annotation\AbstractAnnotation. (#6040) 2023-08-16 20:45:43 +08:00
Albert Chen
056f72a36d
Support semantic crontab rules.
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-08-16 18:08:51 +08:00
李铭昕
aa6fe7d1e6
Fixed bug that RequestContext and ResponseContext cannot get instance from another coroutines. (#6033) 2023-08-16 13:50:12 +08:00
guandeng
4773ff4c8e
When using Base62::decode to decode the incorrect data, it will be thrown InvalidArgumentException instead of TypeError. (#6022)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-08-15 16:48:23 +08:00
她和她的猫
3ab5329ae3
Throw exception when cast class is not existed. (#6010)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-08-09 12:19:05 +08:00
gaichao168
a6e1014f70
Optimized the code for pgsql. 2023-08-09 09:55:43 +08:00
Deeka Wong
8293491fde
Adds events of crontab lifecycle (#5994) 2023-08-02 13:01:51 +08:00
Deeka Wong
08f131c6d8
Support set skip_cache_results in the config of hyperf/cache (#5985)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-07-31 14:37:29 +08:00
Deeka Wong
329a04ad24
Adds skipCacheResults to annotations of hyperf/cache (#5983)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-07-28 23:26:37 +08:00
Deeka Wong
f21eb6dda7
Update CHANGELOG-3.1.md (#5976)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-07-27 10:25:49 +08:00
Deeka Wong
dc331072b7
Simplified the handlers definition of logger (#5973)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-07-26 16:20:38 +08:00
Deeka Wong
9a59c57f37
Collection::except() with null returns all (#5972) 2023-07-26 09:25:51 +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
b3119a2349
Allow set poolName in Annotation (#5960) 2023-07-19 16:52:12 +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
李铭昕
1e6be7c4cf
Optimized Hyperf\Coroutine\Locker. (#5948) 2023-07-15 09:09:38 +08:00
李铭昕
e846045984
Don't sync config frequently when listen more than one namespace for apollo config center. (#5945) 2023-07-14 18:43:45 +08:00
李铭昕
d367f2eb2b
Don't remove the node from load balancer when the status code isn't 200. (#5943) 2023-07-14 16:19:52 +08:00
Deeka Wong
606da42216
Optimize the code for setting input and output (#5934) 2023-07-14 09:34:12 +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
李铭昕
117bbfefa3
Fixed bug that int cannot work when using model enum case. (#5926) 2023-07-11 11:26:40 +08:00
李铭昕
e614f5db13
Allow model attributes to be casted to/from an Enum (#5925) 2023-07-11 08:58:49 +08:00