Commit Graph

151 Commits

Author SHA1 Message Date
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
李铭昕
5fc9571053
Support swow psr7-plus interface for all components. (#5839) 2023-06-16 15:56:37 +08:00
李铭昕
6bdb3863f4
Support swow psr7-plus interface for http-message. (#5828) 2023-06-15 18:15:06 +08:00
Deeka Wong
0e745ffeea
Adds alias as mysql for pdo in hyperf/db (#5815)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-06-08 17:56:39 +08:00
Deeka Wong
7bbc0ae02d
Removed support for swoole 4.x (#5813)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-06-08 16:48:41 +08:00
szutoutou
0f0cc7da6f
Fixed bug that the return type of Model::updateOrInsert isn't boolean. (#5771)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-06-08 15:14:17 +08:00
Deeka Wong
86eb53e0dc
Remove deprecated codes (#5812) 2023-06-07 22:31:03 +08:00
Deeka Wong
0a85b1edea
Remove redundant setAccessible methods (#5811) 2023-06-07 20:55:22 +08:00
Deeka Wong
9679f71ea4
Remove useless codes in hyperf/utils (#5810) 2023-06-07 17:00:55 +08:00
Deeka Wong
00e2854a3e
Adds hyperf/helper component (#5809) 2023-06-07 14:33:04 +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