Commit Graph

297 Commits

Author SHA1 Message Date
李铭昕
81873da8fd
Release v3.1.25 (#6838)
Co-authored-by: Weslen Teche <weslen_teche@hotmail.com>
2024-06-06 10:58:02 +08:00
李铭昕
d25a8d92dc
Fixed bug that SetCookie::fromString cannot not work by invalid types. (#6836) 2024-06-05 18:09:59 +08:00
zds
63b9f20ec8
Added createDatabase and dropDatabaseIfExists methods to Hyperf\Database\Schmea. (#6825) 2024-06-03 15:00:15 +08:00
张城铭
e99ff58624
Fixed bug that AOP cannot work on __construct. (#6828) 2024-06-03 14:37:01 +08:00
zds
5d724aa501
Added methods lazyById and lazyByIdDesc for lazy queries (#6822) 2024-06-03 10:13:15 +08:00
zds
fb5c7698c9
Added method Hyperf\Database\Concerns\BuildsQueries::chunkMap(). (#6821) 2024-05-31 18:20:38 +08:00
zds
0a971dda78
Added method Hyperf\Database\Model\Builder::valueOrFail(). (#6820) 2024-05-31 17:48:51 +08:00
zds
cc1429c707
Added methods Hyperf\Database\Model\Builder::load*. (#6816) 2024-05-31 15:41:39 +08:00
zds
573fb2ce46
Added method Hyperf\Database\Model\Builder::qualifyColumns(). (#6815) 2024-05-31 15:17:26 +08:00
rookiexxk
3129c83ae3
Fixed the bug that updateOrInsert sql error when input values is empty (#6818) 2024-05-31 11:34:07 +08:00
zds
15a70f4058
Added method Model::query()->touch() which used to update timestamps. (#6814) 2024-05-30 21:34:17 +08:00
zds
f13bc47a97
Added cursor paginator for hyperf/database. (#6809) 2024-05-30 21:06:13 +08:00
minororange
d9ff69e05c
Fixed bug that cannot read the messages from non-lower keys for Hyperf\Constants\Annotation\Message. (#6813) 2024-05-30 19:07:42 +08:00
guandeng
c6d67194b6
Added list rule for hyperf/validation (#6811) 2024-05-30 16:59:48 +08:00
李铭昕
729a198277
Release v3.1.24 (#6806)
Co-authored-by: guandeng <guandeng@Hotmail.com>
2024-05-30 11:32:06 +08:00
guandeng
7e54bc4106
Added config rate_limit.storage.options.expired_time for rate-limit. (#6795)
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-05-29 15:55:37 +08:00
宣言就是Siam
d5801a766b
Cancel AsCommand and ClosureCommand return values (#6803)
Co-authored-by: hzh <hzh@addcn.com>
2024-05-27 20:37:07 +08:00
zds
2ddf7fd92f
Support numbers and fromBase64 methods for \Hyperf\Stringable\Str (#6799)
* Support numbers and fromBase64 to \Hyperf\Stringable\Str

* Up CHANGELOG
2024-05-27 10:09:45 +08:00
李铭昕
51476aad9e
Fixed return type for Collection::map*. (#6798) 2024-05-24 16:33:42 +08:00
zds
c8b9660d9a
Support IncrementEach and DecrementEach for Hyperf\Database\Query\Builder. (#6792)
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-05-24 14:14:27 +08:00
李铭昕
3362f0b52f
Fixed bug that the return type of Collection::mapInto() is invalid sometimes. (#6796) 2024-05-24 11:45:49 +08:00
gaichao168
1994720e55
Support array for Hyperf\Amqp\Annotation\Consumer::routingKey. (#6788)
Co-authored-by: 10966 <gaichaowang@addcn.com>
2024-05-24 11:20:26 +08:00
jonas-elias
3037ed8158
Added the request body and response body to the tracer (#6793) 2024-05-24 10:50:41 +08:00
李铭昕
9d1e4012bc
Release v3.1.23 (#6787)
Co-authored-by: zds <49744633+zds-s@users.noreply.github.com>
Co-authored-by: Weslen Teche <weslen_teche@hotmail.com>
2024-05-23 14:26:56 +08:00
zds
c79f88a51a
Support whereJsonOverlaps,orWhereJsonOverlaps and whereJsonDoesntOverlap to \Hyperf\Database\Query\Builder (#6782) 2024-05-23 14:09:55 +08:00
Deeka Wong
7439be84dc
Added getOrPut and getOrSet into Hyperf\Collection\Collection. (#6784)
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-05-23 13:47:31 +08:00
zds
12489fd143
Support insertOrIgnoreUsing to \Hyperf\Database\Query\Builder (#6783) 2024-05-23 13:29:02 +08:00
zds
6f3c32a86d
Support Lateral Join to Hyperf\Database\Query\Builder (#6774) 2024-05-23 11:18:13 +08:00
Deeka Wong
156ec0670a
Optimized Collection using EnumeratesValues (#6778)
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-05-22 12:51:13 +08:00
zds
30000dd6c6
Support some methods to \Hyperf\Collection\Arr (#6781)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-05-21 21:59:05 +08:00
Deeka Wong
d26900edd3
chore: Refactor StdoutLogger to improve log message handling (#6777) 2024-05-21 13:43:48 +08:00
zds
4d054861a0
Support whereAll/orWhereAll whereAny/orWhereAny for Hyperf\Database\Query\Builder. (#6767)
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-05-17 21:36:14 +08:00
zds
5ccd598e9c
Added Hyperf\Collection\LazyCollection. (#6757)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-05-17 10:31:51 +08:00
李铭昕
6598a22d87
Added Premature end of data into DetectsLostConnections. (#6763) 2024-05-16 21:20:02 +08:00
李铭昕
959fb8cf0d
Release v3.1.22 (#6759)
Co-authored-by: wfuren <wfuren@qq.com>
Co-authored-by: sy-records <52o@qq52o.cn>
2024-05-16 10:32:01 +08:00
zds
6b659f34ae
Added explain() for Hyperf\Database\Query\Builder. (#6746) 2024-05-15 14:32:41 +08:00
Deeka Wong
f749612f75
Added path and paths methods to Hyperf\Database\Seeders\Seed (#6752) 2024-05-15 14:02:34 +08:00
李铭昕
5869d379bf
Fixed bug that exception normalizer cannot support symfony 7 (#6755) 2024-05-15 13:22:10 +08:00
zds
715c7fadf2
Added some rules for hyperf/validation. (#6749) 2024-05-15 10:56:30 +08:00
宣言就是Siam
e2fb772745
Auto complete options for as command and closure command. (#6734)
Co-authored-by: hzh <hzh@addcn.com>
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
2024-05-13 20:19:06 +08:00
李铭昕
23de8d85c8
Release v3.1.21 (#6742)
Co-authored-by: gaichao168 <1432681790@qq.com>
Co-authored-by: 10966 <gaichaowang@addcn.com>
Co-authored-by: Luffy <52o@qq52o.cn>
2024-05-09 22:22:46 +08:00
Deeka Wong
567275650c
Added unshift method to Hyperf\Collection\Collection. (#6738) 2024-05-09 21:45:34 +08:00
HuangXi0820
ff8b5a0626
Fixed bug that the enum mode cannot work when using hyperf/constants. (#6728) 2024-05-09 21:40:44 +08:00
张城铭
c3c36eae56
Optimized the implementation of When Method. 2024-05-09 20:09:23 +08:00
zds
231b0ddd8c
Support useIndex forceIndex and ignoreIndex for Hyperf\Database\Query\Builder. (#6740)
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-05-09 19:44:48 +08:00
Deeka Wong
1260822b52
Updated InteractsWithModelFactory to handle missing dependencies (#6731) 2024-05-07 13:34:51 +08:00
Deeka Wong
a91b648645
Optimized exchange declaration for consumer messages (#6717) 2024-04-26 13:04:21 +08:00
Deeka Wong
d014c8f540
Optimized exchange declaration for consumer messages (#6716) 2024-04-26 12:49:33 +08:00
李铭昕
ca8987528f
Release v3.1.20 (#6714)
Co-authored-by: Weslen Teche <weslen_teche@hotmail.com>
Co-authored-by: zds <49744633+zds-s@users.noreply.github.com>
2024-04-26 10:26:29 +08:00
Deeka Wong
efc3a8b1cc
Added onClose method for rpc Server (#6709) 2024-04-22 09:46:29 +08:00
zds
355534feca
Optimized the implementation of Pluralizer. (#6700)
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-04-19 10:30:51 +08:00
李铭昕
1f3f0d504a
Release v3.1.19 (#6699)
Co-authored-by: zds <49744633+zds-s@users.noreply.github.com>
2024-04-18 10:23:24 +08:00
Deeka Wong
6d428925c5
Automatic declare exchange when produce message (#6696) 2024-04-18 09:45:26 +08:00
李铭昕
a621df58f8
Upgrade hyperf/engine to v2.11. (#6698) 2024-04-17 21:55:51 +08:00
李铭昕
04eb725039
Fixed bug that withoutBody cannot not work when using Swow. (#6697) 2024-04-17 20:41:31 +08:00
guandeng
1a22e43e0a
Optimized FswatchDriver which don't restart server by empty reading. (#6686) 2024-04-17 11:35:30 +08:00
pandaLIU
37859d30c3
Fixed bug that socket-io cannot parse data with ? but without query. 2024-04-17 11:11:08 +08:00
zds
d23a61d374
Added option type for gen:constant which you can be used to generate files with const or enum. (#6681)
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-04-13 14:53:08 +08:00
Deeka Wong
a8805ee155
Added Hyperf\Coordinator helper functions (#6680) 2024-04-12 16:19:26 +08:00
李铭昕
ea8aeb025a
Release v3.1.18 (#6679)
Co-authored-by: limingxinleo <limingxinleo@users.noreply.github.com>
Co-authored-by: Weslen Teche <weslen_teche@hotmail.com>
Co-authored-by: zds <49744633+zds-s@users.noreply.github.com>
Co-authored-by: szutoutou <szutoutou@qq.com>
2024-04-12 10:50:19 +08:00
宣言就是Siam
2809b6ba5d
Added getConfig for redisPool (#6674) 2024-04-11 18:18:35 +08:00
Binary Alan
c139faa508
Added error handling when using callback in multiplexed RPC.
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-04-11 10:44:55 +08:00
zds
05129254e5
Fixed bug that isset cannot check null in Hyperf\Collection\Collection. (#6664) 2024-04-11 10:19:55 +08:00
李铭昕
759fbad5f8
Release v3.1.17 (#6669) 2024-04-10 17:59:13 +08:00
宣言就是Siam
0114a83d5e
Added logger for websocket. (#6665) 2024-04-10 12:06:16 +08:00
Weipeng Hong
1eae75bcef
Use PHP_BINARY instead of php as default php binary path for hyperf/watcher.
Co-authored-by: sy-records <52o@qq52o.cn>
2024-04-09 10:11:46 +08:00
宣言就是Siam
47ed201ae3
HEAD requests, attempt fallback to GET (#6658) 2024-04-08 15:53:54 +08:00
Deeka Wong
5579ba1512
Added Str trim methods (#6652) 2024-04-03 11:21:14 +08:00
李铭昕
a42618efea
Release v3.1.16 (#6649)
Co-authored-by: gaichao168 <1432681790@qq.com>
Co-authored-by: 10966 <gaichaowang@addcn.com>
Co-authored-by: kingIZZZY <logic.cpp@gmail.com>
Co-authored-by: guandeng <guandeng@Hotmail.com>
2024-04-02 10:40:09 +08:00
宣言就是Siam
80de19e00a
Added debug log. Return result about websocket senderpushdisconnect. (#6648)
* Added debug log. Added return value about ws sender.

* Update CHANGELOG-3.1.md

---------

Co-authored-by: hzh <hzh@addcn.com>
2024-04-02 10:18:59 +08:00
李铭昕
941758a639
Support PHP8 Attribute for hyperf/constants. (#6640) 2024-03-31 19:35:28 +08:00
宣言就是Siam
e7c2861340
Fixed AMQP ConsumerMessage::getQueue return type. (#6635) 2024-03-29 16:59:50 +08:00
李铭昕
cf9e2c3859
Fixed bug that crontab will be skipped sometimes. (#6633) 2024-03-29 11:42:53 +08:00
云知易客
7e3185c438
Support to set headers for websocket-client.
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-03-28 20:55:29 +08:00
李铭昕
eb2f534c93
Release v3.1.15 (#6630)
Co-authored-by: limingxinleo <limingxinleo@users.noreply.github.com>
Co-authored-by: guandeng <guandeng@Hotmail.com>
2024-03-28 15:01:02 +08:00
Deeka Wong
b4db2c0146
WebSocketHandeShakeException is deprecated, please use WebSocketHandShakeException instead. (#6621) 2024-03-25 14:00:50 +08:00
李铭昕
fc488034b9
Format code by the latest cs-fixer. (#6617) 2024-03-23 19:28:51 +08:00
李铭昕
5bb95fa1d1
Added event of release connection for hyperf/pool. (#6613) 2024-03-22 14:01:08 +08:00
李铭昕
58522a282d
Release v3.1.14 (#6610)
Co-authored-by: gaichao168 <1432681790@qq.com>
Co-authored-by: wgc-wsl <143268190@qq.com>
Co-authored-by: Weslen Teche <weslen_teche@hotmail.com>
Co-authored-by: Alex Pu <276558492@qq.com>
2024-03-21 22:26:15 +08:00
guandeng
d193572002
Fixed bug that the configurations will be cleared when the scan configuration does not exist. (#6609) 2024-03-21 22:11:05 +08:00
Deeka Wong
faad0a7040
Optimized CacheAheadAspect which store cache in another coroutine instead of blocking current coroutine.
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-03-20 15:25:20 +08:00
Deeka Wong
b79ef28bff
Added hyperf/carbon component (#6594) 2024-03-16 20:50:08 +08:00
Deeka Wong
d42c59d5c4
Optimized the worker process to no longer output warn information after exiting (#6600) 2024-03-15 17:31:48 +08:00
李铭昕
be01f3018f
Release v3.1.13 (#6596)
* Update quick-start.md (#6585)

* Upgrade docs for command (#6587)

* Added warn comments for async queue message. (#6592)

---------

Co-authored-by: Kelvin Romero <8683337+kelvinromero@users.noreply.github.com>
Co-authored-by: guandeng <guandeng@Hotmail.com>
2024-03-14 18:23:13 +08:00
guandeng
c3ee8bdde6
Fixed bug that the command description will cause parse error when contains --. (#6586) 2024-03-14 18:15:40 +08:00
Deeka Wong
052cce3114
Fixed the error when register multi AsCommand (#6593) 2024-03-14 10:26:59 +08:00
Deeka Wong
0e7435db45
Added --graceful to migrateCommand (#6590) 2024-03-13 17:57:10 +08:00
Deeka Wong
254feb9c3b
Added now() and today() helper functions (#6579) 2024-03-13 16:47:07 +08:00
Deeka Wong
10407cadf2
Support setup command traits before running (#6577) 2024-03-10 17:37:39 +08:00
Deeka Wong
2b10c7aff6
Added Hyperf\Stringable\Str::apa() method (#6576) 2024-03-10 17:19:40 +08:00
李铭昕
1b8a6512fe
Release v3.1.12 (#6575)
Co-authored-by: Death-Satan <49744633+Death-Satan@users.noreply.github.com>
2024-03-07 21:50:37 +08:00
devin
78714b959e
Fixed bug that reading messages failed when the channel have been removed from channel group. (#6569)
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-03-07 21:43:39 +08:00
Deeka Wong
b114e251da
Fixed bug that the CrontabRegisterListener don't check configuration crontab.enable. (#6567) 2024-03-07 21:01:53 +08:00
szutoutou
6de54a685d
Fixed bug that the relation comments cannot be created by gen:model. (#6561)
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-03-07 20:58:08 +08:00
zds
572c9ef307
Fixed bug that the numeric keys will be reset when using $request->all(). (#6566)
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-03-04 13:47:35 +08:00
李铭昕
ef45a0cbfe
Release v3.1.11 (#6564) 2024-03-01 13:52:29 +08:00
宣言就是Siam
246ee504ca
Fixed cron dispatcher sleep accurate. (#6563)
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-03-01 11:43:02 +08:00
szutoutou
e7eb8e42d2
You can set an expression to model parameters, but it is not standardized. (#6556)
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-02-28 11:10:12 +08:00
duncanxia
7776519b85
Fixed bug that invalidOperator cannot work well when using non-string operators. (#6555)
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-02-26 21:46:06 +08:00
Weslen Teche
64eeb58dbf
Added default config of noop driver for hyperf/opentracing. (#6550) 2024-02-24 11:58:18 +08:00