Commit Graph

304 Commits

Author SHA1 Message Date
Deeka Wong
0e750e8545
Split hyperf/conditionable and hyperf/tappable from hyperf/utils (#5580) 2023-03-28 23:02:39 +08:00
Deeka Wong
f1f9508957 Update CHANGELOG-3.0.md 2023-03-28 20:16:28 +08:00
张城铭
f60b720e2b
Fixed bug that unable to serialize Channel in Crontab. (#5578) 2023-03-28 15:47:15 +08:00
he426100
df3c2eaff0
Fixed bug that crontab:run cannot work. (#5579) 2023-03-28 12:51:52 +08:00
Deeka Wong
607c62d683
Update Http Server to use new WritableConnection implementation (#5572)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-03-26 22:31:08 +08:00
李铭昕
03461240d4
Release v3.0.13 (#5570) 2023-03-26 11:34:11 +08:00
Deeka Wong
e3787ee0ac
Simplify RunCommand's dependencies (#5569) 2023-03-25 20:32:54 +08:00
李铭昕
1276cd5308
Optimized the type hint to nullable for schemas which generated by cmd. (#5566) 2023-03-24 09:47:11 +08:00
李铭昕
cbff13f0d8
Added running channel to make sure all crontab tasks handled successfully. (#5563)
Co-authored-by: assert <zhangchengming@kkguan.com>
2023-03-23 21:48:38 +08:00
张城铭
de82a84c1f
Optimized code for crontab parser and coordinator timer. (#5550)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-03-23 12:50:32 +08:00
李铭昕
cc22603a3b
Added method Query\Builder::upsert(). (#5562) 2023-03-22 22:15:47 +08:00
Deeka Wong
19ea1e9587
Adds setTimer support for kafka (#5561)
* Adds setTimer support for kafka

* Update CHANGELOG-3.0.md

* Fix

* Update

---------

Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-03-22 18:14:15 +08:00
李铭昕
a1d880d386
Cancel grpc-server's dependency on hyperf/rpc. (#5554) 2023-03-21 12:10:44 +08:00
李铭昕
b414020eae
Release v3.0.12 (#5547) 2023-03-20 13:54:11 +08:00
李铭昕
217d2eeb21
Support grpc streaming for config-nacos. (#5546) 2023-03-20 13:19:19 +08:00
李铭昕
5854961307 Support nacos grpc which used to listen config changed event. 2023-03-20 11:06:51 +08:00
李铭昕
94bdcf7aa0
Added streaming test for http2 client. (#5545) 2023-03-19 18:21:49 +08:00
ushell
3045cc37b0
Added kafka.default.enable to control the consumer start or not. (#4112) 2023-03-18 17:45:05 +08:00
lixinhan
a3de56b4ae
Support GRPC services which can easily to registry and discovery. (#5511)
Co-authored-by: lixinhan <lixinhan@yuanxinjituan.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-03-18 16:32:36 +08:00
Deeka Wong
85b0fa03b6
Improve FactoryResolver (#5541) 2023-03-18 11:35:32 +08:00
Chance
3243651c41
Support AOP hot update (#5528) 2023-03-18 10:25:25 +08:00
李铭昕
59b4ba2e64
Optimized code for AMQPConnection to support the latest php-amqplib. (#5539) 2023-03-18 00:48:52 +08:00
李铭昕
b4ee18cdc6
Support stream call for http2 client. (#5538) 2023-03-17 22:07:00 +08:00
李铭昕
5eb33d9392 Added code about http2 client. 2023-03-17 17:03:52 +08:00
Deeka Wong
2216226503
Adds client & socket config for kafka (#5535) 2023-03-17 10:30:19 +08:00
Deeka Wong
dfba517982
Adds client & socket config for kafka (#5533) 2023-03-17 09:50:50 +08:00
李铭昕
814be95ae7
Release v3.0.11 (#5527) 2023-03-15 11:45:55 +08:00
李铭昕
edf5d316ee
Added Hyperf\Kafka\AbstractConsumer::isEnable() to control the kafka consumer start or not. (#5526)
* Added `Hyperf\Kafka\AbstractConsumer::isEnable()`.

* Update CHANGELOG-3.0.md
2023-03-15 10:05:49 +08:00
李铭昕
1f7ac50650
Added consume_timeout for kafka. (#5525) 2023-03-15 09:34:38 +08:00
李铭昕
195fb9bb98
Fixed bug that process stopped when kafka rebalance. (#5523)
* Fixed bug that process stopped when kafka rebalance.

* Update CHANGELOG-3.0.md
2023-03-14 16:06:37 +08:00
Deeka Wong
cbf8976c91
Adds Coroutine::stats() and Coroutine::exists() (#5520) 2023-03-14 13:21:33 +08:00
李铭昕
9d87ee78ab
Fixed bug that worker cannot exit caused by kafka producer->loop(). (#5519) 2023-03-14 10:44:12 +08:00
李铭昕
ee947a657a
Added SwooleConnection::getSocket to get swoole response. (#5518) 2023-03-14 09:39:52 +08:00
李铭昕
44639b968a
Use default normalizer for rpc-multiplex and use protocol.normalizer for rpc-server. (#5513) 2023-03-11 22:53:54 +08:00
李帅西
5a146d612f
Support enum for hyperf/constants. (#5499) 2023-03-11 19:52:32 +08:00
lixinhan
870f362354
Allow developers to replace the normalizer of RPC Client themselves. (#5510)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-03-11 17:05:12 +08:00
lixinhan
71c5c7e11e
Auto register normalizer for json-rpc and rpc-multiplex. (#5509)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-03-11 13:08:00 +08:00
lixinhan
d28ed6ae2c
Added Hyperf\Rpc\Protocol::getNormalizer. (#5508)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-03-11 12:24:09 +08:00
李铭昕
e7f66afb60
Release v3.0.11 (#5507) 2023-03-11 10:21:15 +08:00
ChuckJack
bcab72aeda
Fixed bug that ConfigChanged cannot dispatched when using apollo. (#5497)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-03-11 09:34:09 +08:00
李铭昕
25da5355af
Added Hyperf\Utils\Serializer\JsonDeNormalizer. (#5504) 2023-03-10 13:38:21 +08:00
Deeka Wong
e2a3718463
Revert 'Allow override of the Builder paginate() total' (#5500) 2023-03-10 12:55:15 +08:00
Deeka Wong
ff5d8b7525
Fixed bug that undefined SWOOLE_HOOK_NATIVE_CURL when swoole < 4.6. (#5501)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-03-10 12:54:20 +08:00
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