Commit Graph

8260 Commits

Author SHA1 Message Date
李铭昕
9883675f05
Format code (#6882) 2024-06-15 23:21:52 +08:00
zds
a1b70b9314
Added schema unit tests (#6877) 2024-06-15 22:32:59 +08:00
张城铭
77c94ac002
Using Scanner instead of hard code for hyperf/watcher component. (#6874) 2024-06-15 22:16:31 +08:00
宣言就是Siam
568e360b06
Optimized the format of command error logs. (#6829) 2024-06-14 20:49:22 +08:00
@长久同学
7c128957a7
Support type Closure|Expression|ModelBuilder|static|string of $column for QueryBuilder::orderBy(). (#6868)
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-06-14 13:20:46 +08:00
Deeka Wong
c7ff73ad0d
Updated default path to factories in Model Factory construct method (#6870) 2024-06-14 11:36:59 +08:00
zds
b210bf1af3
Added method Hyperf\Database\Concerns\Builder::eachById. (#6876) 2024-06-14 10:34:03 +08:00
zds
7f6e6f95c6
Added methods getViews and hasView into Hyperf\Database\Schema\Schema. (#6864) 2024-06-13 18:56:30 +08:00
zds
fd0c5b3f32
Removed BuildsQueries::chunkById (#6867) 2024-06-13 18:40:47 +08:00
zds
1c75ff17b7
Added method Hyperf\Database\Concerns\BuildsQueries::lazy (#6866) 2024-06-13 18:36:37 +08:00
Deeka Wong
91625d8466
Added before and after methods to Collection (#6869)
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-06-13 14:23:42 +08:00
rookiexxk
7613acee40
Added hyperf/paginator to suggest (#6865)
Co-authored-by: Deeka Wong <huangdijia@gmail.com>
2024-06-13 13:52:39 +08:00
李铭昕
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