Commit Graph

75 Commits

Author SHA1 Message Date
李铭昕
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
Deeka Wong
f36fe23d6f
Adds the \Stringable interface to classes that have __toString() method (#5920)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-07-10 16:08:17 +08:00
Deeka Wong
e5440c894c
Adds isList method to Arr (#5918)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-07-10 09:56:25 +08:00
Deeka Wong
cfdf089eaf
Upgrade URL pattern for Str::isUrl() (#5917) 2023-07-09 19:52:01 +08:00
Deeka Wong
f8610a086c
Adds Str::isUrl() and use it from the validator (#5914)
* Adds `Str::isUrl()` and use it from the validator

* Update CHANGELOG-3.1.md
2023-07-09 13:30:28 +08:00
Deeka Wong
6d4f647ac9
Adds data_forget() helper (#5915)
* Adds `data_forget()` helper

* Update CHANGELOG-3.1.md
2023-07-09 11:27:32 +08:00
Deeka Wong
37f2405ecc
Adds Connection::getRawQueryLog() method (#5906) 2023-07-05 09:55:50 +08:00
Deeka Wong
4c6b928f2d
Forget with collections (#5905) 2023-07-05 09:54:22 +08:00
李铭昕
e736786d15
Optimized code for identifer established by the rpc client that must contain a string,number or null if included. (#5901) 2023-07-04 09:56:13 +08:00
Deeka Wong
83dc4d9edf
Adds toRawSql() to Query Builders (#5898)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-07-03 18:27:25 +08:00