Commit Graph

422 Commits

Author SHA1 Message Date
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
Deeka Wong
393e85f83d
Adds Hyperf\Coordinator\Timer::until() (#5761) 2023-05-26 21:44:16 +08:00
Deeka Wong
1a9b59d362
Adds namespace for functions of hyperf/translation (#5760) 2023-05-24 21:51:45 +08:00
yansongda
2b2e939279
Optimized the code of Hyperf\Metric\Adapter\Prometheus\Redis which allowed to rewrite the prefix about redis keys. (#5702)
Co-authored-by: 她和她的猫 <hxhsoft@foxmail.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
2023-05-18 21:47:20 +08:00
她和她的猫
eec87c2fe7
Add deprecated comments to MySQLConnection. (#5741)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-05-18 20:00:28 +08:00
李铭昕
da23610dd0
Release v3.0.21 (#5738) 2023-05-18 10:28:58 +08:00
Deeka Wong
c3560b2874
Adds Arr::hasAny() (#5731)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-05-16 20:21:01 +08:00
李铭昕
b828950ce1
Fixed bug that pgsql cannot init when using pgsql-swoole. (#5730) 2023-05-16 18:56:43 +08:00
tiefeng
504fb3e242
Support Swoole 4 PgSQL for hyperf/db. (#5725)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-05-16 17:11:25 +08:00
李铭昕
50cc5a4003
Fixed bug that pgsql cannot init when using pgsql-swoole. (#5726) 2023-05-16 16:28:13 +08:00
李铭昕
df4015984e
Support Swoole 5 PgSQL for hyperf/db. (#5723) 2023-05-16 15:39:55 +08:00
她和她的猫
32f9500697
Optimized the code and added some test cases for view-engine. (#5718) 2023-05-15 19:56:52 +08:00
yansongda
f00f72485c
Optimized the code of metric and added some unit cases. (#5719) 2023-05-15 10:53:01 +08:00
yansongda
69afef0ac1
Optimized the code of Hyperf\Metric\Listener\OnPipeMessage to avoid message block. (#5720)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-05-15 09:53:43 +08:00
Deeka Wong
c97f22c796
Adds exception property to Request Lifecycle Events (#5721) 2023-05-15 09:29:36 +08:00
李铭昕
86d26fade3
Release v3.0.20 (#5717) 2023-05-12 11:01:50 +08:00
Deeka Wong
2e642ae005
Support CoroutineServer for SuperGlobals (#5716) 2023-05-12 10:38:11 +08:00
Deeka Wong
6dbb49eae7
Support http request lifecycle events. (#5715)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-05-12 09:37:15 +08:00
Deeka Wong
b454edab3d
Support Server instance as default (#5713) 2023-05-11 10:08:03 +08:00
Deeka Wong
17a17991ca
Adds Arr::mapWithKeys() (#5711) 2023-05-10 09:30:28 +08:00
张城铭
b90054251d
Fixed bug that the error message is wrong when the logger group not found. 2023-05-09 18:27:25 +08:00
Deeka Wong
c66c7cc0e5
Adds Hyperf\Config\config() helper function (#5707)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-05-09 11:02:12 +08:00
李铭昕
2f9fd3180f
Release v3.0.19 (#5700) 2023-05-06 14:46:14 +08:00
她和她的猫
a31545bbbe
Added Model::resolveRelationUsing() method for model. (#5699)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-05-05 22:18:53 +08:00
Deeka Wong
c60b91c6f4
Use Hyperf\Coroutine\Coroutine::sleep() instead of Swoole\Coroutine::sleep() (#5696) 2023-05-05 09:15:00 +08:00
Deeka Wong
c5e77c4763
Add creation and update datetime columns (#5695) 2023-05-05 09:14:12 +08:00
Deeka Wong
4cd911472a
Remove hyperf/utils from hyperf/rpc (#5694) 2023-05-04 14:03:18 +08:00
她和她的猫
72dfceed72
Fixed bug that blade view engine cannot work when using break statement. 2023-04-28 13:50:49 +08:00
李铭昕
6f79e8f736
Support store context when using rpc-multiplex. (#5680)
* Support store context when using `rpc-multiplex`.

* Added test cases.
2023-04-27 17:53:41 +08:00
yansongda
457d94b6d3
Fixed bug that the type of $timeout in #[Task] don't match TaskAspect. (#5679)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-04-27 09:19:09 +08:00
李铭昕
d614069114
Release v3.0.18 (#5676) 2023-04-26 11:48:38 +08:00
Deeka Wong
848a68a6df
Instead of classes and functions of Hyperf\Utils (#5674)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-04-26 11:02:31 +08:00
Deeka Wong
a5617ddb24
Adds some functions to hyperf/support (#5672) 2023-04-25 17:04:00 +08:00
Deeka Wong
1e769fce83
Use Hyperf\Coroutine\Channel\Pool instead of Hyperf\Utils\ChannelPool (#5671) 2023-04-25 15:21:20 +08:00
Deeka Wong
9c4a1a34b6
Split hyperf/code-parser from hyperf/utils (#5670)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-04-25 13:50:06 +08:00
Deeka Wong
03b35e6e56
Split hyperf/support from hyperf/utils (#5668) 2023-04-25 09:31:42 +08:00
Deeka Wong
cf25b8056e
Split Packers to hyperf/codec (#5666) 2023-04-24 17:49:41 +08:00
Deeka Wong
ec4a2828d9
Split hyperf/serializer from hyperf/utils (#5663)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-04-24 15:07:56 +08:00
她和她的猫
7f9f1f89c3
Fixed bug that pgsql-swoole cannot throw exceptions when statement execution failed. (#5662) 2023-04-24 11:09:11 +08:00
Deeka Wong
a26d670761
Split hyperf/codec from hyperf/utils (#5660)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-04-24 10:15:14 +08:00
李铭昕
ca4377c8f7
Release v3.0.17 (#5650) 2023-04-19 13:41:29 +08:00
李铭昕
7eceacf3a6
Fixed bug init table collector cannot work for coroutine style server. (#5649)
* Fixed bug init table collector cannot work for coroutine style server.

* Update CHANGELOG-3.0.md
2023-04-19 10:19:25 +08:00
宣言就是Siam
a23f7cfd14
Removed the requirement hyperf/utils from hyperf/guzzle. (#5648)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-04-18 12:37:27 +08:00
宣言就是Siam
4480e0baca
optimize(kafka): Reduce kafka first start time and handle stop consumer logic (#5636)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
Co-authored-by: xuanyanwow <hzh@addcn.com>
2023-04-17 21:41:30 +08:00
李铭昕
85590963d4
Added PriorityDefinition to sort dependencies. (#5646) 2023-04-17 12:40:13 +08:00
李铭昕
d1477d251c
Fixed Github Actions. (#5644) 2023-04-14 22:53:29 +08:00
李铭昕
c7feaf4f9c
Fixed bug that the empty caches cannot be used for Model::findManyFromCache(). (#5643) 2023-04-14 22:17:45 +08:00
李铭昕
37ef3ea00a
Fixed bug that the model cache cannot created when using find many to get non-exists models. (#5642) 2023-04-14 18:32:41 +08:00
李铭昕
d663d7b6e6
Support deeply nested cache relations for model-cache. (#5641) 2023-04-14 16:13:58 +08:00
Deeka Wong
90feb186c2
Adds Redis::pipeline() and Redis::transaction() support (#5639)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-04-14 10:09:08 +08:00
Deeka Wong
6377ea76f2
Use Hyperf\Stringable\Str instead of Hyperf\Utils\Str (#5634) 2023-04-13 11:56:00 +08:00
李铭昕
9b0ac29bc2
Release v3.0.16 (#5632) 2023-04-12 16:07:44 +08:00
Deeka Wong
c31c25c175
Refactor Hyperf\Utils\Arr that let it extends \Hyperf\Collection\Arr (#5629) 2023-04-12 15:03:37 +08:00
pandaLIU
b24afd637e
Fixed issue where coroutine context was not destroyed in Context::destroy method (#5627)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-04-12 14:10:21 +08:00
Deeka Wong
2c16179940
Split Channel utils from hyperf/utils to hyperf/coroutine (#5624) 2023-04-12 13:34:25 +08:00