Commit Graph

8236 Commits

Author SHA1 Message Date
Deeka Wong
dddd8f391c
Updated type hint in HigherOrderCollectionProxy constructor (#6847) 2024-06-07 10:46:11 +08:00
Deeka Wong
5c7318d840
chore: Update return type hints in Collection and LazyCollection (#6843) 2024-06-06 20:26:54 +08:00
李铭昕
17a1450ddc
Fixed ci (#6842) 2024-06-06 16:18:51 +08:00
zds
01a5aad411
Added methods WithWhereHas to Model\Concerns\QueriesRelationships (#6837) 2024-06-06 15:09:54 +08:00
李铭昕
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
0735ae7c18
Added unit test for Hyperf\Collection\Arr. (#6835) 2024-06-05 15:45:03 +08:00
zds
d69d633a89
Add tests for Arr::divide (#6831) 2024-06-04 14:06:03 +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
ee547bee24
Added multiplex connections test case for database (#6824) 2024-06-03 09:56:10 +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
李铭昕
292ad31434
Fixed ci for swoole v6.0.0 (#6810) 2024-05-30 17:57:29 +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
Deeka Wong
2e7113a878
Fixed the phpstan error for Str::append() (#6802) 2024-05-27 11:20:24 +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
Deeka Wong
718827e8a6
chore: Update phpstan.neon.dist to level 6 (#6780)
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-05-23 11:43:58 +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
Deeka Wong
00daea28db
Set the value of $this in macro closures (#6772) 2024-05-20 17:55:40 +08:00
Deeka Wong
c01cf5b41c
chore: Update php-cs-fixer configuration to use parallel processing (#6771) 2024-05-20 09:58:00 +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
Lucas Vinicius
2237d36d1d
[Docs] Add a brief explanation that returning true in isValid does not stop the exception handler call loop (#6745) 2024-05-15 15:12:41 +08:00
guandeng
3fc8be3795
Optimized versions for en documents. 2024-05-15 14:42:24 +08:00
zds
6b659f34ae
Added explain() for Hyperf\Database\Query\Builder. (#6746) 2024-05-15 14:32:41 +08:00