Deeka Wong
e7295a56bf
Do not replace Handler when native-curl is supported ( #5494 )
2023-03-07 14:39:19 +08:00
peng
e19f584fea
Optimized code for service registration which support nacos 1.x and 2.x. ( #5493 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-03-07 14:29:51 +08:00
Deeka Wong
bcd7d1b9bb
Renamed CreatingListener
to InitUidOnCreatingListener
( #5492 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-03-07 11:01:35 +08:00
Deeka Wong
3bd7101a9c
Added charAt
method to both Str
and Stringable
( #5491 )
2023-03-07 09:26:14 +08:00
Deeka Wong
40978c4ade
Allow override of the Builder paginate()
total ( #5490 )
2023-03-07 09:20:40 +08:00
李铭昕
0db2351130
Release v3.0.9 ( #5479 )
2023-03-05 12:13:54 +08:00
Deeka Wong
ed06e3069b
Adds isMatch
method to Str and Stringable helpers ( #5478 )
2023-03-05 11:39:42 +08:00
Deeka Wong
dac2959d4e
Support ulid
and uuid
for Model ( #5472 )
2023-03-05 11:19:24 +08:00
alwaysLinger
0f787c8508
Support Google\Rpc\Status
for GRPC
. ( #5467 )
...
Added class Hyperf\GrpcServer\Exception\GrpcStatusException
Added method Hyperf\Grpc\Parser::statusToDetailsBin
Added method Hyperf\GrpcServer\CoreMiddleware::handleStatusResponse
Added method Hyperf\GrpcServer\Exception\Handler::transferToStatusResponse
2023-03-05 09:59:34 +08:00
Deeka Wong
e129191478
Adds ArrayAccess to Stringable ( #5476 )
2023-03-03 20:02:28 +08:00
李铭昕
6a16f19f82
Ensure that the connection must be reset the next time after broken. ( #5469 )
2023-02-27 10:45:50 +08:00
李铭昕
da70307213
Release v3.0.8 ( #5466 )
2023-02-26 08:25:49 +08:00
李成军
e81849f3af
Fixed bug that swagger server cannot work when using async style server. ( #5464 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-02-25 11:12:09 +08:00
alwaysLinger
0e57e145ac
Added method Hyperf\Grpc\Parser::statusFromResponse
. ( #5454 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-02-24 10:35:07 +08:00
Deeka Wong
1119cb1697
Adds some methods of uuid
and ulid
for Str
and Stringable
( #5459 )
2023-02-24 09:54:13 +08:00
Lucas Vinicius
9b61fb7ec4
Added missing methods put()
and patch()
to testing HTTP client ( #5453 )
2023-02-23 07:09:01 +08:00
Cotch
c1c0901121
Added appends($attributes) method to collections ( #5451 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-02-23 06:53:11 +08:00
李铭昕
7b9cb7b40a
Support generate swagger schemas by models.
2023-02-22 17:42:19 +08:00
Deeka Wong
f27ae5c444
Improve Arr::shuffle
( #5439 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-02-22 11:14:12 +08:00
cocoliu
e78f538b47
Fixed bug nacso persistent service heartbeat at function isRegistered() ( #5438 )
2023-02-22 08:04:52 +08:00
Deeka Wong
d15946fc8d
Remove unnecessary if
statement in Str::length
( #5437 )
2023-02-22 07:09:52 +08:00
b1cat
870e8bec48
Support UDP Server for Swow. ( #5434 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-02-21 14:42:40 +08:00
Robert
bbece609a3
Fixed bug that the persistent service no need to send heartbeat. ( #5433 )
2023-02-21 13:05:52 +08:00
李铭昕
c03e95fe18
Release v3.0.7 ( #5431 )
2023-02-18 06:40:54 +08:00
她和她的猫
d9b0fbf34e
Fixed bug that migrator cannot work when using PHP8.2
. ( #5424 )
2023-02-18 06:14:38 +08:00
devin
e9f22d9a37
Fixed bug that metric middleware cannot work well when encountered an exception. ( #5428 )
2023-02-18 06:09:06 +08:00
Yi
bff8c053a1
Added access_key
and access_secret
which used to connect aliyun nacos. ( #5429 )
2023-02-18 06:07:42 +08:00
宣言就是Siam
3bbbfbd2eb
Fix database about boolean types for where in the json type ( #5421 )
2023-02-17 17:32:20 +08:00
李铭昕
3959e5a080
Enable swagger by default when installed swagger component. ( #5422 )
2023-02-16 18:35:28 +08:00
她和她的猫
aeaf500517
Fixed bug that database-pgsql does not support migration. ( #5417 )
2023-02-16 13:58:21 +08:00
Deeka Wong
f980943bf1
Adds ConfigChanged
event for config-center
( #5418 )
2023-02-16 12:55:02 +08:00
李铭昕
55b3c4677c
Optimized code for rpn. ( #5419 )
2023-02-16 12:34:22 +08:00
Deeka Wong
01249285c3
Added clone
method to Hyperf\Database\Model\Builder
( #5414 )
2023-02-15 15:51:47 +08:00
李铭昕
c194dd7df4
Optimized the code of WebSocketHandeShakeException
which should inheritance BadRequestHttpException
. ( #5411 )
2023-02-15 09:42:47 +08:00
Deeka Wong
5a3f8dbd5f
Adds methods for Query\Builder
and Paginator
( #5409 )
2023-02-15 09:24:40 +08:00
Deeka Wong
c1352eacf1
Adds mixin
method to Model\Builder
( #5406 )
2023-02-14 18:41:55 +08:00
李铭昕
feb7c7f384
Support HTTP methods Delete
and Options
for swagger. ( #5407 )
2023-02-14 16:49:33 +08:00
沈唁
77e9050ef5
Fix get local ip error when IPv6 exists. ( #5405 )
2023-02-14 13:32:29 +08:00
李铭昕
b83ccca3d4
Support multiport server for swagger. ( #5404 )
2023-02-13 23:25:29 +08:00
pandaLIU
4f31153671
Support swoole server settings for swow server. ( #5403 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-02-13 21:37:08 +08:00
李铭昕
3262796de5
Added swagger.scan.paths
to rewrite scan paths
for swagger. ( #5402 )
2023-02-13 20:57:25 +08:00
李铭昕
07f5139d82
Release v3.0.6 ( #5398 )
2023-02-12 08:54:45 +08:00
李铭昕
d652a0d366
Support all swagger annotations. ( #5397 )
2023-02-12 08:20:50 +08:00
daninedd
e4aa9d21fd
Fixed bug that mix-subscriber cannot work caused by the empty auth.
2023-02-11 13:19:35 +08:00
Onix Systems PHP
0fa5341354
Fixed bug that non-existing method exec
called by SwoolePostgresqlClient
. ( #5386 )
2023-02-11 13:16:17 +08:00
她和她的猫
ad68f682a2
Fixed bug that hyperf/config-apollo
cannot work.
2023-02-11 13:09:45 +08:00
李铭昕
34c083ad0c
Support validation for swagger. ( #5395 )
2023-02-11 13:05:18 +08:00
李铭昕
e1b7001483
Auto register route for swagger component.
2023-02-11 10:40:29 +08:00
李铭昕
fdfc920494
Added log records when nacos heartbeat failed. ( #5379 )
2023-02-09 10:52:38 +08:00
Deeka Wong
7885e6ba43
Support coroutine server stats for hyperf/metric
( #5376 )
2023-02-09 09:23:10 +08:00
pandaLIU
cad883ce9a
Support server settings for SwowServer
. ( #5373 )
2023-02-08 22:23:25 +08:00
Robert
276c70cc1f
Fixed bug that the current service XXX is persistent service, can't register ephemeral instance. ( #5361 )
2023-02-08 16:21:41 +08:00
Deeka Wong
1b47584aa8
Added forceDeleting event ( #5366 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-02-08 14:42:10 +08:00
李铭昕
ee32a98dff
Release v3.0.5 ( #5363 )
2023-02-05 19:17:43 +08:00
Deeka Wong
31822a9f14
Adds addRestoreOrCreate
extension to SoftDeletingScope
( #5338 )
2023-02-05 10:57:17 +08:00
Deeka Wong
34fdaa327f
Fix the bug that can't stop when an exception occurs inside $closure
( #5357 )
2023-02-04 14:57:02 +08:00
Deeka Wong
49d53fd4ff
Fix the bug that undefined swoole_cpu_num()
on swow
( #5355 )
2023-02-04 13:33:19 +08:00
Deeka Wong
17f22ea9ba
Adds ResumeExitCoordinatorListener
( #5349 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-02-04 13:03:38 +08:00
宣言就是Siam
613e10e116
Compatible with tcp://host:port
configuration redis sentry address ( #5342 )
...
Co-authored-by: 沈唁 <52o@qq52o.cn>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-02-03 09:56:53 +08:00
李铭昕
07f390d699
Release v3.0.4 ( #5336 )
2023-01-22 22:39:20 +08:00
kingIZZZY
7ab6583361
Fixed bug that PgSQLSwooleConnection::unprepared
cannot work. ( #5332 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-01-20 21:48:44 +08:00
李铭昕
4e39308887
Fixed bug that database cannot work when disconnect failed. ( #5333 )
2023-01-19 14:18:37 +08:00
李铭昕
3281097820
Release v3.0.3 ( #5328 )
2023-01-16 14:12:35 +08:00
她和她的猫
dc3188c74f
Fixed bug that PostgresSQL can't work when create connection timed out. ( #5327 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-01-15 19:18:00 +08:00
Deeka Wong
82b685ce44
Collect the metric of Server::stats
by loop ( #5326 )
2023-01-13 21:07:36 +08:00
Daffy Weng
6d09f1f852
Fixed bug that kafka consumer cannot work when don't set memberId
and so on. ( #5322 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-01-12 22:49:58 +08:00
sunsgne
0f7c6ec81c
Added method Hyperf\Nacos\Provider\ConfigProvider::listener()
. ( #5323 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-01-12 22:31:04 +08:00
李铭昕
6b13fc4001
Fixed bug that database cannot work when disconnect caused by connection reset by mysql. ( #5324 )
...
* Fixed bug that database cannot work when disconnect caused by connection reset by mysql.
* Update CHANGELOG-3.0.md
2023-01-12 18:04:57 +08:00
李铭昕
21d77fff35
Fixed bug that rate-limit cannot work when using php 8.1 ( #5318 )
2023-01-11 17:18:46 +08:00
Deeka Wong
56ef1330db
Improve hyperf/metric
( #5315 )
2023-01-11 13:07:11 +08:00
Deeka Wong
38bd8d66bc
Adds Timer::stats()
( #5314 )
2023-01-11 12:01:35 +08:00
Deeka Wong
0332011f1b
Change the query for instance
for grafana, Compatible with CoroutinueServer
( #5311 )
2023-01-10 17:38:57 +08:00
Deeka Wong
b57143da5d
Fix the UI bug that can not filter worker and pool on Prometheus ( #5310 )
2023-01-10 11:56:05 +08:00
Deeka Wong
44b5d59efc
Fixed the bug that Undefined property $workerId
on CoroutinueServer
( #5309 )
2023-01-10 10:30:39 +08:00
Deeka Wong
74396b8166
Fix the parameter $timeout
of Timer::tick()
in hyperf/metric
( #5307 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-01-09 17:14:40 +08:00
李铭昕
9b7dd2cd46
Log records when release to pool failed. ( #5306 )
2023-01-09 16:49:03 +08:00
李铭昕
28058e1a23
Fixed bug that commit failed when has no active transaction for polardb. ( #5305 )
2023-01-09 16:28:48 +08:00
李铭昕
e976e54d5b
Release v3.0.1 ( #5295 )
2023-01-09 08:06:39 +08:00
Deeka Wong
2d0d67b556
Support Swow for hyperf/metric
( #5292 )
...
* Replace `Swoole\Timer` to `Hyperf\Coordinator\Timer`.
* Support Swow.
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-01-06 15:51:18 +08:00
李铭昕
04daff0af4
Fixed bug that server cannot be closed friendly for swow. ( #5289 )
2023-01-05 11:18:43 +08:00
李铭昕
0138c0ca12
Added log records about the exception message when emit failed. ( #5287 )
2023-01-04 19:57:10 +08:00
李铭昕
c55ad3f3f9
Release v3.0.0 ( #5273 )
2023-01-03 12:46:13 +08:00
黄朝晖
4aa060a0d5
Update
2023-01-03 07:13:43 +08:00
张城铭
33db7494b8
Abstract methods should not be rewritten by proxies ( #5268 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-01-01 13:13:29 +08:00
她和她的猫
f604d258f7
Fixed bug that method Request::parseHost
not working when host is invalid. ( #5142 )
...
Co-authored-by: hexianghui <hexianghui@kkguan.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-12-27 14:08:25 +08:00
李铭昕
67ad6b7250
Added requirement ext-posix
for watcher
. ( #5261 )
2022-12-27 10:58:03 +08:00
pandaLIU
6fdb95d534
Fixed bug that generate rpc-client failed when the interface has parent interfaces. ( #5252 )
...
* Added test cases.
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-12-22 16:16:49 +08:00
pandaLIU
38e2e2f31c
Added defer_release
config for hyperf/db
. ( #5250 )
2022-12-20 17:18:22 +08:00
Deeka Wong
c07162dc5b
Support PHP 8.2 ( #5087 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-12-10 21:24:37 +08:00
Deeka Wong
6e7317b9e1
Throw exception when column id is not existed ( #5239 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-12-10 20:14:47 +08:00
李铭昕
afe17c45b2
Fixed bug that proxy class will be generated failed when using parameters who allow null in constructor.
2022-11-28 18:55:55 +08:00
李铭昕
fe5abff840
Added Hyperf\WebSocketServer\Sender::getResponses()
. ( #5227 )
2022-11-28 16:56:48 +08:00
李铭昕
afab4e0e37
Removed WARNING log when amqp connection restart. ( #5226 )
2022-11-28 11:33:43 +08:00
耐小心
70141405b5
Fixed bug that KeepaliveConnection::isTimeout()
can't work when using swow. ( #5223 )
2022-11-26 19:47:54 +08:00
kingIZZZY
b5bfe53b10
Fixed bug that PGSqlSwooleConnection::affectingStatement()
can't work when the sql
is wrong. ( #5221 )
...
* Return value must be of type int, bool returned
`TypeError: Hyperf\Database\PgSQL\PostgreSqlSwooleExtConnection::affectingStatement(): Return value must be of type int, bool returned`
The hyperf database method has type hint 'int' but Swoole\Coroutine\PostgreSQLStatement::affectedRows() can return bool https://github.com/swoole/swoole-src/blob/master/ext-src/swoole_postgresql_coro.cc#L1242
* Initial fix didn't solve the exception
Seems maybe the $this->run() method might also return bool which mismatches the function return type hint
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-11-25 10:48:22 +08:00
李铭昕
d3b543cabf
Added document about CacheAhead
.
2022-11-22 12:45:19 +08:00
李铭昕
5e27db78c7
Support the transformation of object type to AST nodes. ( #5206 )
2022-11-18 17:11:18 +08:00
lihq1403
7c92e08003
Transform the type of param $server
in Hyperf\WebSocketServer\Server::deferOnOpen()
to mixed
. ( #5204 )
...
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-11-17 16:56:13 +08:00
宣言就是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