Commit Graph

476 Commits

Author SHA1 Message Date
李铭昕
b20273d342
Added test case for Swoole 5.1.0. (#6186) 2023-10-05 03:42:04 -05:00
李铭昕
7179f4a183
Fixed bug that cleanUpExpiredOnce failed when sids is empty when using socketio-server. (#6185) 2023-10-05 02:21:30 -05:00
宣言就是Siam
719e8d2b00
Fixed PriorityMiddleware for testing. (#6183) 2023-09-30 19:21:49 +08:00
张城铭
5281bee874
Update Base62.php (#6177) 2023-09-30 14:00:08 +08:00
李铭昕
898f80196e
Release v3.0.37 (#6170) 2023-09-22 13:15:07 +08:00
Deeka Wong
4fbd82e29a
Optimize KafkaClientFactory of hyperf/tracer (#6167) 2023-09-21 12:06:36 +08:00
Deeka Wong
1bbe4601dd
Fixed bug that the mutex lock of crontab cannot not work well when th… (#6163) 2023-09-20 19:44:00 +08:00
Deeka Wong
ad8126d803
Fixed bug that the mutex lock of crontab cannot not work well when the crontab executed more than one hour (the default expired time). (#6162) 2023-09-20 17:40:44 +08:00
Tina.Lee
ab9b9dccdc
Fixed bug that service governance still registers services even when services.enable.register is false. (#6160)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-09-19 18:05:26 +08:00
宣言就是Siam
2fc2f40908
Record the exception message only by opening the exception switch and closing the ignore switch when using trace. (#6157)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-09-18 20:44:58 +08:00
宣言就是Siam
ade75a00a2
Enhance stringable (#6156)
Co-authored-by: Deeka Wong <huangdijia@gmail.com>
2023-09-18 18:17:32 +08:00
Deeka Wong
3536de6d53
Use PHP native json_validate to validate is json if function is available (#6154) 2023-09-16 16:43:27 +08:00
李铭昕
403fb5a2f9
Release v3.0.36 (#6152) 2023-09-15 14:33:56 +08:00
szutoutou
18f2d15cb3
Optimized FailToConsume event for hyperf/kafka (#6151)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
2023-09-15 14:06:19 +08:00
Hestia Allen
aa5d2bb629
Fixed bug that validateJson was incompatibility with php 8.0 (#6146)
* Fixed bug that `validateJson` cannot work when using php 8.0.
* Fixed unit cases for redis cannot work.

Co-authored-by: 李铭昕 <715557344@qq.com>
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
2023-09-14 15:24:32 +08:00
宣言就是Siam
cfe11e3af3
Added ignore_exceptions for tracer (#6143)
Co-authored-by: Deeka Wong <huangdijia@gmail.com>
2023-09-11 21:43:03 +08:00
Deeka Wong
683e45e556
Adds RequestTraceListener for hyperf/tracer (#6062) 2023-09-05 18:19:28 +08:00
crayxn
746ff790aa
Fixed bug that grpc client cannot able to be reused. (#6117)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-09-02 13:52:38 +08:00
李铭昕
3dfba1867e
Release v3.0.35 (#6119) 2023-09-01 10:02:26 +08:00
Deeka Wong
c7ee471d9a
Adds sendAsync and sendBatchAsync methods for Hyperf\Kafka\Producer (#6112) 2023-08-31 14:36:51 +08:00
她和她的猫
3425f00bd6
Fixed bug that configuration of other processes were not updated when using nacos grpc client (#6110) 2023-08-31 14:12:54 +08:00
Deeka Wong
f7297f0432
Allowed output log when an exception occurs (#6111) 2023-08-31 13:56:23 +08:00
宣言就是Siam
96e2c8b213
Optimized describe:routes command, sort middleware by MiddlewareMan… (#6108)
* Optimized `describe:routes` command, sort middleware by MiddlewareManager

* CHANGELOG
2023-08-31 09:58:20 +08:00
Deeka Wong
a7f4e898a5
Optimize the HttpClientFactory of tracer (#6100) 2023-08-30 14:22:20 +08:00
宣言就是Siam
54a98c678c
Added some validation rules such as ExcludeIf and ProhibitedIf. (#6094) 2023-08-29 21:09:06 +08:00
Deeka Wong
b3db5cd692
Optimize kafka reporter of tracer (#6098) 2023-08-29 13:04:11 +08:00
李铭昕
5f913f5593
Fixed bug that ConstantFrequency cannot work when using redis. (#6099)
* Fixed bug that `ConstantFrequency` cannot work when using `redis`.

* Update CHANGELOG-3.0.md
2023-08-29 09:57:52 +08:00
Deeka Wong
393488414b
Adds getThrowable method to request events and crontab event (#6096)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-08-28 14:15:18 +08:00
Deeka Wong
32645231f9
Fix the bug that cannot stop the command from terminating gracefully (#6090) 2023-08-28 13:51:29 +08:00
crayxn
5d661b5f3a
Fix error that using non-zipkin driver of tracer (#6097)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
2023-08-28 13:16:02 +08:00
李铭昕
83ac692313
Release v3.0.34 (#6087) 2023-08-25 18:46:42 +08:00
宣言就是Siam
958d735b2e
Optimize middleware priority (#6084) 2023-08-25 18:12:34 +08:00
宣言就是Siam
46a7c486be
Add Middleware priority (#6083)
Co-authored-by: xuanyanwow <hzh@addcn.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-08-25 15:31:42 +08:00
Deeka Wong
a83de3ccdb
Adds Composer::hasPackage() method (#6078) 2023-08-24 10:11:28 +08:00
alexzy228
16966c5925
Don't show deprecated notice when using #[Constants]. (#6077)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-08-23 23:57:06 +08:00
Deeka Wong
3b50eef78f
Optimize kafka reporter (#6075) 2023-08-23 14:03:59 +08:00
Deeka Wong
fa4403c1c0
Added php_serialize protocol for rpc-multilex (#6070) 2023-08-22 10:49:04 +08:00
Alex Pu
ab6d4a1872
Fixed bug that Context::override and Context::getOrSet cannot work when using $coroutineId. (#6065) 2023-08-20 23:07:17 +08:00
Deeka Wong
777d15e03c
Added $server property to request events. (#6063) 2023-08-20 20:59:27 +08:00
Deeka Wong
d953902415
Supplement the missing tag configuration items (#6060)
* Supplement the missing tag configuration items

* Update CHANGELOG-3.0.md
2023-08-19 23:00:35 +08:00
Deeka Wong
9f767ea17a
Enhance server config to support key-value mode (#6061) 2023-08-19 22:53:30 +08:00
Deeka Wong
72f4610729
Using the tracer instance from coroutine context (#6046) 2023-08-18 17:52:41 +08:00
李铭昕
38aff2c1fb
Release v3.0.33 (#6054) 2023-08-18 11:54:00 +08:00
李铭昕
4c4b852fbd
Fixed bug that Arr::has with integer keys cannot work as expected. (#6053) 2023-08-18 11:42:33 +08:00
张城铭
82cb64f126
Make Hyperf\Coroutine\Traits\Container as deprecated. (#6044)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-08-17 14:16:35 +08:00
Deeka Wong
dc0d749b0f
Optimized the tracing in coroutine (#6027)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-08-16 09:43:28 +08:00
Deeka Wong
bcdb50817b
Allow using the tracer instance from context, append Trace-Id to Response Header (#6023) 2023-08-15 18:33:38 +08:00
Deeka Wong
371da40c59
Fixed the bug that no_aspect is overridden (#6013) 2023-08-10 23:12:44 +08:00
Chance
3d9361a433
Fixed the issue where validation for invocable controller route requests was not working (#6011)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-08-10 15:43:04 +08:00
李铭昕
fa03df6c92
Release v3.0.32 (#6009) 2023-08-09 10:44:04 +08:00
szutoutou
4fe3bd05dc
Allowed return statusCode via handle method. (#6004)
Co-authored-by: huangdijia <huangdijia@gmail.com>
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-08-09 10:34:55 +08:00
Deeka Wong
3041aa2340
Support aspect to GuzzleHttp\Client::request() (#5996) 2023-08-04 10:40:33 +08:00
李铭昕
9cebccfc23
Release v3.0.31 (#5979) 2023-07-27 22:02:29 +08:00
guandeng
f202ed555e
Added Str::containsIgnoreCase() (#5971)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-07-25 20:44:39 +08:00
guandeng
cbe62b7f65
Fixed bug that Str::startsWith and Str::endsWith will cause the error result when the $needles is [null]. (#5970)
Co-authored-by: 范冠登 <guandeng@addcn.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-07-25 09:40:20 +08:00
李铭昕
d750365bed
Fixed bug that Str::contains with null will case the error result. (#5969)
* Fixed bug that `Str::contains` with `null` will case the wrong result.

* Update
2023-07-24 20:06:56 +08:00
李铭昕
60000f2327
Release v3.0.30 (#5963) 2023-07-21 11:33:23 +08:00
李铭昕
db7dfe5b04
Support modify the context of sub coroutine when using test components. (#5962) 2023-07-21 11:15:25 +08:00
Raj Siva-Rajah
0cb5adacfb
Added Hyperf\Codec\Packer\IgbinarySerializerPacker. (#5957)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-07-18 20:10:42 +08:00
crayxn
171b9548cd
Support access_key and access_secret for nacos service governance. 2023-07-18 19:07:24 +08:00
szutoutou
e4468cbb67
Optimized the model generator to generate correct property comments. (#5954)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-07-17 20:16:22 +08:00
Raj Siva-Rajah
370d000806
Added SameSite support to session cookies. (#5951)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-07-17 18:00:56 +08:00
李铭昕
47e2561342
Fixed bug that lock failed when using more than one pool for amqp. (#5947)
* Fixed bug that lock failed when using more than one pool for amqp.

* Update CHANGELOG-3.0.md
2023-07-15 08:53:13 +08:00
李铭昕
087eb2cb61
Release v3.0.29 (#5938) 2023-07-14 12:03:56 +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
李铭昕
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
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
李铭昕
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
李铭昕
f4aa7fd3d9
Throw exception (executing sql failed) when used clickhouse for hyperf/db. (#5886) 2023-06-28 10:35:27 +08:00
Deeka Wong
3fe8f2041c
Move ConfirmableTrait/DisableEventDispatcher/NullDisableEventDispatcher to Concerns (#5882) 2023-06-27 07:53:52 +08:00
李铭昕
d08d5191d8
Fixed bug that start server failed caused by swagger server name isn't string. (#5880) 2023-06-26 18:57:03 +08:00
李铭昕
346033d421
Release v3.0.27 (#5873) 2023-06-24 15:27:27 +08:00
李铭昕
6f85d4bb91
Fixed bug that CoroutineMemory::clearPrefix() cannot work as expected. (#5861) 2023-06-19 19:35:29 +08:00
宣言就是Siam
65fc771cae
Throw exception when column id is not existed (#5858) 2023-06-19 18:09:21 +08:00
李铭昕
0f302c57e0
Release v3.0.25 (#5853) 2023-06-19 11:25:29 +08:00
Gang Wu
9386106cd5
Fixed bug that the method Builder::value() cannot work when using column like table.column. (#5829)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-06-15 20:31:03 +08:00
pandaLIU
bfc4e185a1
Fixed socket.io check namespace (#5831)
Co-authored-by: Deeka Wong <huangdijia@gmail.com>
Co-authored-by: 沈唁 <52o@qq52o.cn>
2023-06-14 14:36:06 +08:00
李铭昕
d18734976e
Release v3.0.24 (#5827) 2023-06-10 09:05:38 +08:00
宣言就是Siam
a46e91d251
Added function build_sql which be used in QueryException. (#5814)
Co-authored-by: xuanyanwow <hzh@addcn.com>
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-06-08 14:55:09 +08:00
liaochao
09f0731194
Fix the bug that not support compare numeric in different formats (#5808)
* fix(validate): support compare numeric in different type

* chore(style): format code

* fix(validate): support compare numeric in different type

* chore(style): format code

* chore(docs): add changes to changelog
2023-06-08 09:34:45 +08:00
宣言就是Siam
b39728ccd7
Merge server settings with config settings. (#5806) 2023-06-07 13:27:29 +08:00
李铭昕
740167f794
Fixed bug that hyperf/http-server cannot match psr7. (#5803) 2023-06-06 20:33:49 +08:00
Chance
98341dbf46
Fixed bug that __FILE__ and __DIR__ cannot be rewritten successfully in proxy classes. (#5794)
Co-authored-by: Deeka Wong <huangdijia@gmail.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-06-05 15:53:17 +08:00
李铭昕
782968bfa4
Support psr/http-message. (#5789) 2023-06-04 10:14:26 +08:00
李铭昕
aefa885552
Release v3.0.23 (#5783) 2023-06-02 11:07:07 +08:00
yansongda
f781636de6
Fixed bug that prometheus cannot collect histograms. 2023-06-01 22:19:36 +08:00
Deeka Wong
bf80ab2d03
Convert carrier key to string in Zipkin\Propagation\Map (#5780) 2023-06-01 17:23:49 +08:00
她和她的猫
eca3432e64
Support Full-Text Search for database. (#5765) 2023-05-31 10:10:17 +08:00
crayxn
d3ae01aa18
Support nacos naming signature (#5757)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-05-31 09:58:19 +08:00
Deeka Wong
c16c08f765
Improve Hyperf\Command\Annotation\Command (#5768) 2023-05-30 09:25:37 +08:00
李铭昕
ed9ead98f3
Release v3.0.22 (#5763) 2023-05-27 15:16:18 +08:00
李铭昕
4015308e67
Use non-blocking mode for swoole process. (#5762) 2023-05-27 14:08:52 +08:00