Commit Graph

7743 Commits

Author SHA1 Message Date
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
李铭昕
d15cf83e59
Added confirm mode for nsq::publish(). (#5946) 2023-07-14 23:01:55 +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
李铭昕
7c8f924545
Fixed apollo test cases (#5944) 2023-07-14 17:10:35 +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
李铭昕
3889204d62
Fixed bug that resource cannot work when using psr7-plus. (#5941) 2023-07-14 15:25:54 +08:00
Deeka Wong
606da42216
Optimize the code for setting input and output (#5934) 2023-07-14 09:34:12 +08:00
李铭昕
46e3db1544 Merge branch 'master' into 3.1-merge
# Conflicts:
#	src/grpc-client/composer.json
2023-07-13 16:40:08 +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
de77989564
Hide the abnormal output when the worker exited (#5924) 2023-07-11 08:58:15 +08:00
李铭昕
64ee18be50
Fixed bug that nacos grpc client cannot be closed friendly when worker exit. (#5923) 2023-07-10 19:13:41 +08:00
fengyikang88
868dfdca53
Fix the bug that cannot found ApplicationContext (#5922)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
2023-07-10 18:56:04 +08:00
李铭昕
b5bc9aa818
Fixed bug that http2-client cannot be closed when didn't open heartbeat. (#5921) 2023-07-10 16:13:12 +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
李铭昕
5dcad05ef8 Merge branch 'master' into 3.1-merge
# Conflicts:
#	src/nacos/src/GrpcClient.php
2023-07-08 21:24:38 +08:00
李铭昕
d04db7c927
Release v3.0.28 (#5913) 2023-07-08 21:03:37 +08:00
李铭昕
e34ff47bf4
Fixed bug that nacos grpc client cannot reconnect when closed. (#5912) 2023-07-08 20:54:58 +08:00
李铭昕
68e3064da5
Fixed bug that nacos grpc client auth failed. (#5911) 2023-07-08 11:41:56 +08:00
Deeka Wong
ca60fb587b
Optimize NacosClientFactory (#5910) 2023-07-07 18:26:26 +08:00
李铭昕
238d625cd2
Fixed bug that acm client::$servers must be accessed before initialization. (#5909) 2023-07-07 11:00:37 +08:00
szutoutou
b7d1086caf
fix(lazy loader):config path error (#5908) 2023-07-06 08:10:55 +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
MorriosL
c2fee049f1
Updated the definition of command as annotation. (#5900)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-07-04 09:47:50 +08:00
李铭昕
bea995fb37
Fixed comments for Query\Builder::groupBy(). (#5899) 2023-07-03 21:43:06 +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
Rafael Melo
2cba3cfc2f
Support strict mode for Integer and Boolean (#5895)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
2023-07-03 12:37:00 +08:00
Deeka Wong
030405b092
Adds ModelFactory support for hyperf/testing (#5894) 2023-07-01 20:25:51 +08:00
李铭昕
defa69f36c Throw exception (executing sql failed) when used clickhouse for hyperf/db. 2023-06-30 10:43:44 +08:00
李铭昕
7c9bc4994d Merge branch 'master' into 3.1-merge 2023-06-30 10:14:10 +08:00
李铭昕
c679a703d6
Release v3.0.27 (#5891) 2023-06-30 09:33:46 +08:00
李铭昕
92e191480d
Added some exception messages which used to reconnect PDO connection. (#5890) 2023-06-30 09:20:59 +08:00
Alex Pu
077602814b
Added pudongping/hyperf-throttle-requests to awesome-components. (#5870)
* Add pudongping/hyperf-throttle-requests component

* Update awesome-components.md

---------

Co-authored-by: 李铭昕 <715557344@qq.com>
2023-06-28 17:42:51 +08:00
李铭昕
f4aa7fd3d9
Throw exception (executing sql failed) when used clickhouse for hyperf/db. (#5886) 2023-06-28 10:35:27 +08:00
Deeka Wong
56a81d6f01
Improve Testing (#5885)
* Improve Test

* feat: Add container to InteractsWithContainer trait

This commit adds a property `container` of type `ContainerInterface` to the `InteractsWithContainer` trait. It also removes a redundant annotation and an unnecessary `PHPStan` ignore statement. The `instance()` method now sets instances using the container object.

Co-authored-by: 李铭昕 <715557344@qq.com>
2023-06-28 10:18:18 +08:00
Deeka Wong
fb78e641d5
Remove deprecated traits of hyperf/command (#5883) 2023-06-27 10:09:50 +08:00
李铭昕
8d5fa5b43d Merge branch 'master' into 3.1-merge 2023-06-27 09:44:23 +08:00
Deeka Wong
3fe8f2041c
Move ConfirmableTrait/DisableEventDispatcher/NullDisableEventDispatcher to Concerns (#5882) 2023-06-27 07:53:52 +08:00
Ganey
e581051921
Fix links in en install docs (#5881) 2023-06-27 07:15:30 +08:00