Commit Graph

8348 Commits

Author SHA1 Message Date
李铭昕
c1dcb97458
Release v3.1.26 (#6871)
Co-authored-by: Mr.唐 <tw2066@163.com>
2024-06-13 10:07:29 +08:00
zds
a917d4b1f8
Added methods makeHiddenIf and makeVisibleIf to \Hyperf\Database\Model\Concerns\HidesAttributes (#6858) 2024-06-12 11:22:49 +08:00
zds
cc538123f1
Added methods orDoesntHaveMorph and orHasMorph into Hyperf\Database\Model\Concerns. (#6851) 2024-06-12 10:50:14 +08:00
Deeka Wong
4ced760bdc
Use Hyperf\Collection\Enumerable instead of Hyperf\ViewEngine\Contract\Enumerable (#6860) 2024-06-12 10:22:30 +08:00
zds
661dcebee6
Unify the Implementation of when and unless methods in \Hyperf\Scout\Builder (#6856) 2024-06-12 09:48:01 +08:00
Deeka Wong
d7a5856a75
feat: Add Conditionable trait to BuildsQueries (#6855) 2024-06-11 19:40:41 +08:00
zds
37550281c0
Added methods BuildsQueries::[chunkById|chunkByIdDesc] and added documents about amqp. (#6846)
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-06-11 14:39:12 +08:00
zds
4bd169edfe
Added method Hyperf\Database\Schema::getTables(). 2024-06-07 19:54:00 +08:00
Deeka Wong
7c0e350916
feat: Add optional input for repo name in split workflow (#6850) 2024-06-07 19:51:50 +08:00
rookiexxk
6a261dcc63
Fixed bug that LazyCollection::splitIn() cannot work caused by type hint. (#6848)
Co-authored-by: 10470 <xiexuekun@addcn.com>
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
2024-06-07 18:30:46 +08:00
李铭昕
e75804f882
Release v3.1.25.1 (#6849) 2024-06-07 17:04:33 +08:00
zds
070e83f76e
Added methods whereRelation and orWhereRelation into QueriesRelationships. (#6844) 2024-06-07 13:55:59 +08:00
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