宣言就是Siam
67fec55758
Fixed bug that RedisSentinel
can't support empty password. ( #5199 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-11-16 10:16:48 +08:00
Deeka Wong
1e75b0fad0
Added option config
for command server:watch
. ( #5186 )
2022-11-09 18:33:14 +08:00
Deeka Wong
3f779abf69
Added $dictionary
for Str::slug
, your can rewrite some tags easily. ( #5160 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-10-29 09:45:19 +08:00
Lucas Vinicius
bee4f7b270
Added Pipeline::thenReturn()
method to run pipes and return the result ( #5163 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-10-28 10:40:46 +08:00
Wen
9ed8f8aa45
Fixed bug that the exit code of command does not work when the exception code isn't int. ( #5132 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-10-11 19:30:18 +08:00
她和她的猫
677c9da9bc
Add error checking for PostgreSQLStatement::execute
method. ( #5121 )
2022-10-11 10:37:54 +08:00
李铭昕
2f6810ac3b
Fixed bug that the tag continue
cannot work when using view-engine
. ( #5100 )
2022-09-22 11:17:07 +08:00
Deeka Wong
8770b96c12
Move MessageBag
and MessageProvider
to contract
from utils
( #5092 )
2022-09-20 10:38:43 +08:00
Deeka Wong
1aeffaba46
Move Jsonable
and Xmlable
to contract
from utils
. ( #5091 )
2022-09-18 10:26:01 +08:00
Mr.唐
cd0e32a148
Catch exception for function defer
by default. ( #5079 )
...
* Use `(string) $throwable` instead of `sprintf` for `Hyperf\ExceptionHandler\Formatter\FormatterInterface::format()`.
Co-authored-by: tangwei <tangwei8@lenovo.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-09-07 10:40:54 +08:00
李铭昕
95cfba42cf
Optimized code about creating exception from another exception. ( #5078 )
2022-09-06 15:34:23 +08:00
Deeka Wong
781b0677dc
Support Swow for hyperf/signal ( #5070 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-09-05 14:31:26 +08:00
李铭昕
e57bab8f1a
Added config symfony.event.enable
to control whether to use SymfonyEventDispatcher
. ( #5061 )
2022-08-27 14:42:23 +08:00
luxin
2663c28a0d
Support parsing IPv6 host. ( #5052 )
...
Co-authored-by: houzhouyang <810921248@qq.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-08-24 10:53:05 +08:00
tiefeng
7bd7681da5
Added Hyperf\Database\Model\Concerns\HasAttributes::getRawOriginal()
. ( #5046 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-08-22 19:58:23 +08:00
Kids Return
d3f7d1e35f
[3.0]Fixed grpc server StatsCode and serializeMessage ( #5036 )
...
Co-authored-by: pandaLIU <563883861@qq.com>
2022-08-19 22:36:06 +08:00
她和她的猫
28e82535c3
Support for SSL encrypted connection to Redis. ( #5007 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-08-17 17:05:07 +08:00
她和她的猫
f0566ee962
Support disable hyperf/amqp
via configuration file. ( #4992 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-08-17 15:51:10 +08:00
李铭昕
86e1548386
Removed useless method call()
from callable function
. ( #5029 )
2022-08-17 15:17:48 +08:00
Ahmad Mustapha
7c0ec6f7e9
Check validity of file descriptor before sending message to it. ( #5017 )
2022-08-15 22:19:47 +08:00
Deeka Wong
7c2793bf7e
Removed array type of Trace Annotation
, because don't support array. ( #5008 )
2022-08-15 21:00:34 +08:00
kingIZZZY
733e4e5185
Fixed bug that connection->select()
cannot work for database-pgsql
. ( #5016 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-08-15 19:50:37 +08:00
李铭昕
cb142acca0
Update CHANGELOG-3.0.md
2022-08-10 00:10:02 +08:00
李铭昕
0575f13a91
Support Swow for nsq. ( #4990 )
2022-08-06 15:09:08 +08:00
李铭昕
303d0ea364
Support Swow for hyperf/crontab
. ( #4989 )
2022-08-06 11:46:53 +08:00
她和她的猫
0b04e4b0ce
Support Swow for hyperf/pool
. ( #4988 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-08-06 11:30:54 +08:00
李铭昕
2f6dee5b6f
Support Swow for hyperf/retry
. ( #4984 )
2022-08-05 07:19:22 +08:00
Deeka Wong
226d5dc21d
Confirm before proceeding with the action when using ConfirmableTrait
, such as migrate
command.
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-08-04 23:18:06 +08:00
张城铭
ca95ce03c6
Depend on interface instead of instantiation ( #4978 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-08-03 19:26:13 +08:00
李铭昕
a6aa10796c
Don't support database commands by default, please require hyperf/devtool
or set them in autoload/commands
. ( #4979 )
2022-08-03 19:00:16 +08:00
张城铭
a0ab07f5e8
Removed proxy mode from Hyperf\Di\ClassLoader
and Optimized Composer::getLoader()
. ( #4961 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-07-29 12:52:11 +08:00
李铭昕
7216ef29b0
Don't write pid when the settings.pid_file
is null. ( #4952 )
2022-07-21 20:01:42 +08:00
李铭昕
a1279885ef
Removed useless call()
from Coroutine::create()
. ( #4949 )
2022-07-21 14:46:58 +08:00
Tall Libra
bd03e7ab41
Throw NoNodesAvailableException
when cannot select any node from load balancer. ( #4934 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-07-19 22:14:36 +08:00
张城铭
2c34969896
Fixed memory leak caused by an exception which occurred in Parallel
. ( #4940 )
...
Co-authored-by: assert <zhangchengming@kkguan.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-07-19 21:55:50 +08:00
李铭昕
2e7256cb01
Renamed getFormatedKey()
to getFormattedKey()
. ( #4930 )
2022-07-15 17:10:49 +08:00
李铭昕
99d32f7cce
Support TcpServer for Swow. ( #4924 )
2022-07-13 20:46:57 +08:00
Wisp X
2389fdf38e
Fixed bug that the routing path is wrong when the routing prefix is end of '/'.
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-07-13 09:27:36 +08:00
李铭昕
134cfaa383
Fixed SocketFactory::bindAfterRefreshed
. ( #4921 )
2022-07-12 13:48:16 +08:00
李铭昕
2fe743dd8a
Fixed bug that rpc connections can't refresh themselves after nodes changed. ( #4919 )
2022-07-12 13:18:35 +08:00
李铭昕
1f709b7c83
Added afterRefreshed()
to register a hook which to be run after refresh nodes. ( #4918 )
2022-07-12 12:46:09 +08:00
李铭昕
52bcee01b5
Support Swow for load-balancer
. ( #4917 )
2022-07-12 11:51:41 +08:00
李铭昕
9e131caaea
Fixed bug that websocket connection will be closed after 10s when using Swow
. ( #4912 )
...
* Fixed bug that ws connection will be closed after 10s.
* Update CHANGELOG-3.0.md
2022-07-09 13:19:52 +08:00
Wisp X
3f10e2ab33
Fixed bug that method ComponentTagCompiler::escapeSingleQuotesOutsideOfPhpBlocks()
cannot work. ( #4910 )
2022-07-08 11:55:04 +08:00
她和她的猫
8b67301dfb
Added ConsumerMessageInterface::getNums()
to change the number of amqp consumer by dynamically. ( #4909 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-07-08 11:40:48 +08:00
Deeka Wong
13ab808087
Added Db::beforeExecuting()
to register a hook which to be run just before a database query is executed. ( #4908 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-07-08 11:16:41 +08:00
她和她的猫
5ed82f8c0f
Removed the redundant parameters of method HasEvents::fireModelEvent()
. ( #4905 )
...
* Fixed typo in `file.php`
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-07-07 09:16:20 +08:00
李铭昕
c5aef1f78c
Upgrade league/flysystem
to ^1.0|^2.0|^3.0
. ( #4903 )
2022-07-06 14:32:28 +08:00
Deeka Wong
6dd600803c
Fixed bug that RedisAdapter::mixSubscribe
cannot work cased by redis prefix. ( #4895 )
2022-07-04 12:23:29 +08:00
Farmer
73a8058ab8
Fixed bug that RedisAdapter::mixSubscribe
cannot work cased by redis prefix. ( #4892 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-07-02 09:59:40 +08:00
张城铭
b394845103
Removed useless Hyperf\Di\ClassLoader::$proxies
, because merge it into Composer\Autoload\ClassLoader::$classMap
. ( #4888 )
...
Co-authored-by: assert <zhangchengming@kkguan.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-06-30 18:34:16 +08:00
张城铭
9c3da93e03
Fixed bug that ProxyTrait::__getParamsMap
can not work when using trait alias. ( #4885 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-06-30 09:58:36 +08:00
李铭昕
723d4fd4cc
Support ignoreAnnotations
for Annotation Reader
. ( #4880 )
2022-06-26 07:58:47 +08:00
Deeka Wong
ae39272443
Use the original style when regenerating models. ( #4875 )
2022-06-24 15:54:39 +08:00
李铭昕
7a05c92d21
Use wait
instead of parallel
for coroutine style tcp server. ( #4874 )
2022-06-23 17:40:15 +08:00
李铭昕
08443db222
Added Swow
support for hyperf/websocket-server
. ( #4873 )
2022-06-23 17:19:07 +08:00
Deeka Wong
91f40be1a6
The $scene allowed to be NULL
. ( #4869 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-06-23 11:06:05 +08:00
Deeka Wong
1c94256348
No need to check Redis::isConnected()
.
...
Because it could be connected defer or reconnected after disconnected.
2022-06-22 17:18:50 +08:00
Deeka Wong
ef269c74f6
Added Annotation Scene
which use scene in FormRequest easily. ( #4866 )
...
Co-authored-by: awengan <goto8848@qq.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-06-22 17:09:45 +08:00
李铭昕
bb3f034c7d
Fixed bug that the socket-io
server always restart when using coroutine style server. ( #4854 )
2022-06-20 09:53:54 +08:00
李铭昕
c8d4d666aa
Added NullDisableEventDispatcher
to disable event dispatcher by default. ( #4852 )
...
Co-authored-by: huangdijia <huangdijia@gmail.com>
2022-06-16 22:54:21 +08:00
李铭昕
624f0d158f
Fixed bug that prometheus server will not be closed automatically when using command which enable event dispatcher. ( #4851 )
2022-06-16 21:05:28 +08:00
Deeka Wong
b135ac887c
Changed $value.timeout
to $options.timeout
for annotation CircuitBreaker
. ( #4848 )
2022-06-16 14:36:55 +08:00
Deeka Wong
002c8b03de
Fixed the lost description when using property $description
and $signature
for hyperf/command
. ( #4835 )
2022-06-14 09:35:03 +08:00
李铭昕
b183430e61
Upgraded monolog/monolog
to ^2.7|^3.1
. ( #4825 )
2022-06-10 16:21:17 +08:00
李铭昕
517396566e
Replaced Swoole\Coroutine\Channel
by Hyperf\Engine\Channel
. ( #4808 )
2022-06-04 15:51:29 +08:00
李铭昕
a2352024b3
Support Swow
for WaitGroup
. ( #4804 )
2022-06-03 22:41:50 +08:00
李铭昕
a98c2d8919
Support Swow
for hyperf/amqp
. ( #4756 )
2022-05-17 10:17:04 +08:00
李铭昕
aeab9ba40a
Support Swow
for Hyperf\Utils\Coroutine\Locker
. ( #4757 )
2022-05-17 08:26:40 +08:00
Deeka Wong
4dcd47d42d
Adjust the order of injections for controllers to avoid inject null preferentially. ( #4715 )
2022-04-30 11:56:44 +08:00
Kids Return
2271f4323f
Support coroutine style server for socketio-server
. ( #4700 )
2022-04-30 11:47:25 +08:00
凌の雨尘
5c0fed9ea8
Optimized code of Str::contains
Str::startsWith
and Str::endsWith
based on PHP8
. ( #4547 )
...
Co-authored-by: aeisen <linyucheng@kkguan.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-04-17 21:00:09 +08:00
她和她的猫
62687ba059
When the route annotation path is null, path defaults to the method name. ( #4658 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-04-17 18:56:43 +08:00
李铭昕
f80e6a6d4e
Added SafeCaller
to avoid server shutdown which caused by exceptions. ( #4688 )
2022-04-15 18:00:56 +08:00
李铭昕
ca2a03df6e
Stop processes which controlled by ProcessManager
when server shutdown. ( #4680 )
2022-04-13 21:28:07 +08:00
李铭昕
cd85b15d7c
Close all another servers when one of them closed. ( #4679 )
2022-04-13 20:34:09 +08:00
李铭昕
17ad62cd22
Support event dispatcher for command by default. ( #4678 )
2022-04-13 18:33:32 +08:00
李铭昕
b814749bd3
Update document about how to upgrade to 3.0
. ( #4671 )
2022-04-12 18:41:01 +08:00
李铭昕
07c4182e7e
Removed doctrine/annotations
, please use PHP8 Attributes
. ( #4667 )
2022-04-12 18:14:22 +08:00
Deeka Wong
6f946b8ad8
Optimized class Hyperf\Utils\Str
whose methods padBoth
padLeft
and padRight
support multibyte
. ( #4668 )
2022-04-12 14:43:18 +08:00
Deeka Wong
27a8f74683
Make Hyperf\Utils\Stringable
implements Stringable
. ( #4663 )
...
* Make `Hyperf\Utils\Stringable` implements `Stringable`.
* Update phpstan.neon
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-04-07 10:26:59 +08:00
沈唁
8e146554ac
Removed AliyunOssHook
for hyperf/filesystem ( #4623 )
2022-03-23 17:04:34 +08:00
李铭昕
a8de513425
Changed return type to void
for Hyperf\Event\Contract\ListenerInterface::process()
. ( #4611 )
2022-03-18 09:55:36 +08:00
Deeka Wong
e9b7586710
Removed Hyperf\Utils\Context
, please use Hyperf\Context\Context
instead. ( #4596 )
2022-03-11 14:02:57 +08:00
李铭昕
e7548bfdf7
Fixed bug that PhpParser::getExprFromValue()
does not support assoc array. ( #4549 )
2022-02-21 20:23:48 +08:00
Deeka Wong
fac58eaff9
Support callback conditions for Conditionable::when()
and Conditionable::unless()
. ( #4523 )
...
* Add Conditionable support for callback conditions
* Format code
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-02-15 15:31:58 +08:00
李铭昕
00ca69a4a1
Upgrade the minimum php version to 8.0
for reactive-x
. ( #4502 )
2022-02-07 15:48:35 +08:00
Deeka Wong
603d3be056
Use ??
instead of ?:
for $callback
when using Stringable::when()
. ( #4460 )
...
* simplify whenEmpty & whenNotEmpty methods
* Use `??` instead of `?:` for `$callback` when using `Stringable::when()`.
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-02-05 19:26:37 +08:00
李铭昕
30266882b8
Added Hyperf\Coordinator\Timer
which can be stopped safely.
2022-02-01 16:32:56 +08:00
张子彬
8b1bc26283
Changed the default value to null
for Hyperf\DbConnection\Db::__connection()
. ( #4495 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-02-01 12:34:22 +08:00
沈唁
5c8c3b0290
Add Hyperf\Utils\IPReader
to get local IP ( #4277 )
2022-01-27 13:46:54 +08:00
Tall
854bfba503
Removed log warning from cache component when the key is greater than 64 characters. ( #4487 )
2022-01-26 10:54:31 +08:00
Daffy Weng
c5283b6007
修复Model::insertOrIgnore返回Builder对象的bug , 应该返回影响行数 ( #4434 )
2022-01-09 10:17:07 +08:00
李铭昕
ef47a76a60
Upgrade the minimum php version to 8.0
for scout
. ( #4400 )
2021-12-27 17:14:07 +08:00
李铭昕
e15964fd57
Fixed bug that command gen:model
does not adapt 3.0 ( #4398 )
2021-12-27 12:18:56 +08:00
李铭昕
dbd2f2a8f6
Optimized DataFormatterInterface
which uses object instead of array as inputs. ( #4367 )
...
* Optimized code for `DataFormatterInterface`.
* Update CHANGELOG-3.0.md
2021-12-16 15:22:52 +08:00
李铭昕
02bbc9a8bc
Upgrade the minimum php version to 8.0
for load-balancer
and redis
. ( #4359 )
2021-12-15 13:55:43 +08:00
李铭昕
4b966949f2
Upgrade the minimum php version to 8.0
for model-listener and pool. ( #4357 )
2021-12-15 12:27:22 +08:00
pandaLIU
3a1a7ea4e4
Upgrade the minimum php version to 8.0
for kafka. ( #4345 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-12-13 19:39:48 +08:00
李铭昕
de352ea1df
Fixed type error hint for JsonSerializable::jsonSerialize()
. ( #4340 )
2021-12-11 09:47:27 +08:00
李铭昕
748fc22275
Upgraded psr/simple-cache
to ^1.0|^2.0|^3.0
( #4323 )
2021-12-07 12:26:20 +08:00
李铭昕
880b577510
Upgrade the minimum php version for memory and model-cache.
2021-12-07 11:22:25 +08:00
李铭昕
43f8907276
Support $suffix
for trait StaticInstance
. ( #4304 )
2021-12-01 14:12:08 +08:00
李铭昕
911ab1210e
Hyperf\Utils\Contracts\Arrayable
will be deprecated, please use Hyperf\Contract\Arrayable
instead.
2021-11-23 20:00:06 +08:00
李铭昕
6edb9337da
Upgrade the minimum php version to 8.0 for guzzle. ( #4276 )
2021-11-22 11:24:46 +08:00
李铭昕
804c237b87
Changed the default priority of listener to 0
from 1
. ( #4269 )
2021-11-18 11:07:53 +08:00
李铭昕
501de0c9c2
Update mix/redis-subscribe
to mix/redis-subscriber
. ( #4232 )
...
* update mix/redis-subscribe to mix/redis-subscriber
* Upgrade the minimum php version to 8.0 for socketio-server.
Co-authored-by: XuTongle <xutongle@msn.com>
2021-11-08 15:49:45 +08:00
李铭昕
dfded07b75
Split hyperf/coordinator
from hyperf/utils
. ( #4225 )
2021-11-05 16:06:17 +08:00
李铭昕
ae555051ce
Upgrade the minimum php version to 8.0 for db. ( #4220 )
2021-11-05 10:42:57 +08:00
李铭昕
2d800e17c4
Rename $circularDependences
to $checkCircularDependencies
for Dag
. ( #4214 )
...
* Rename `$circularDependences` to `$checkCircularDependencies`.
* Update CHANGELOG-3.0.md
2021-11-04 11:50:02 +08:00
GanymedeNil
c2b4c0d7e9
Optimized code for nacos. ( #4147 )
...
You can use `http://xxx.com/yyy/ ` instead of `http://xxx.com:8848/ ` to connect `nacos`.
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-11-02 20:37:59 +08:00
李铭昕
855e886ec6
Upgrade the minimum php version to 8.0 for async-queue. ( #4199 )
2021-11-02 16:57:36 +08:00
李铭昕
74a21bbab3
Optimized code about amqp and upgrade all requirements from v2.2 to v3.0 ( #4196 )
2021-11-02 15:06:17 +08:00