Commit Graph

62 Commits

Author SHA1 Message Date
李铭昕
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
Deeka Wong
47a30da53a
Adds define() method to ModelFactory (#5897)
* Adds `define()` method to `ModelFactory`

* Update CHANGELOG-3.1.md
2023-07-03 12:40:26 +08:00
Deeka Wong
030405b092
Adds ModelFactory support for hyperf/testing (#5894) 2023-07-01 20:25:51 +08:00
Deeka Wong
6c4cb30f5d
Improve Command (#5879) 2023-06-26 17:11:21 +08:00
李铭昕
191042b4a1
Support stream for nacos naming service. (#5586) 2023-06-24 14:49:49 +08:00
李铭昕
076ca73f62
Avoid to execute the refresh callback more than once when calling refresh() multi times. (#5872) 2023-06-24 09:47:30 +08:00
李铭昕
728a3ca131
Use StrCache instead of Str in special cases. (#5866) 2023-06-20 12:11:58 +08:00
Liu
56dce81c26
Removed string cache from Hyperf\Stringable\Str
Co-authored-by: Deeka Wong <huangdijia@gmail.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-06-20 11:16:52 +08:00
Deeka Wong
8d2a243c51
Adds hyperf/closure-command component (#5855) 2023-06-19 14:56:46 +08:00
yansongda
f82bc145b5
Removed the deprecated code for metric. (#5847) 2023-06-18 20:57:40 +08:00
她和她的猫
2958364104
Support for insert update and select using enums. (#5849)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-06-18 19:40:39 +08:00
李铭昕
dc38e5a209
upgrade documents about websocket-server. (#5846) 2023-06-17 21:12:15 +08:00
李铭昕
664297c766
Support Swow for reactive-x. (#5843) 2023-06-17 07:56:21 +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