Releases: rekalogika/collections
Releases · rekalogika/collections
v0.9.1
What's Changed
- fix: static analysis problem with assignment of empty
ArrayCollection
to typed properties by @priyadi in #120 - feat(orm): make
getQueryBuilder()
public, addupdateQueryBuilder()
by @priyadi in #121 - fix: cs by @priyadi in #122
- release: v0.9.1 by @priyadi in #123
Full Changelog: v0.9.0...v0.9.1
v0.9.0
What's Changed
- feat: add
ArrayCollection
that doesmatching()
calls against the private properties, not indirectly through the getters. by @priyadi in #105 - refactor: move count strategy resolver to
CountStrategyUtil
by @priyadi in #106 - chore: cs fix by @priyadi in #107
- refactor: use standard constructor for repositories, scrap the configuration by @priyadi in #108
- refactor: consolidate util classes by @priyadi in #109
- feat: default indexBy by @priyadi in #110
- feat: repositories now automatically detect indexBy by @priyadi in #111
- refactor:
CriteriaPageable
,CriteriaRecollection
,MinimalCriteriaRecollection
now respect default order by by @priyadi in #112 - refactor: consistent argument ordering by @priyadi in #113
- feat: repository now accept
ManagerRegistry
instead ofEntityManagerInterface
by @priyadi in #114 - feat: default items per page by @priyadi in #115
- feat: different default count strategies for full & minimal classes by @priyadi in #116
- chore: cleanup typehints by @priyadi in #117
- refactor: change
KeyTransformer
to instance object, not static class by @priyadi in #118 - release: v0.9.0 by @priyadi in #119
Full Changelog: v0.8.0...v0.9.0
v0.8.0
What's Changed
- feat:
$key
parameter type widening, to accommodate object primary keys, like UUIDs. by @priyadi in #93 - chore: rename
FindFetchTrait
toFetchTrait
by @priyadi in #94 - chore: add
Override
attribute where applicable by @priyadi in #95 - chore: cleanup unused code by @priyadi in #96
- refactor: rename
QueryCollection
toQueryRecollection
by @priyadi in #97 - feat: default count limits by @priyadi in #98
- refactor: remove
Countable
from minimal classes by @priyadi in #99 - refactor: rename
RestrictedCountStrategy
toDisabledCountStrategy
by @priyadi in #100 - feat:
$offset
parameter type widening forArrayAccess
methods by @priyadi in #101 - fix(
DefaultKeyTransformer
): only convertStringable
to string for now. by @priyadi in #102 - refactor(
Repository
): rename DX methods by @priyadi in #103 - release: v0.8.0 by @priyadi in #104
Full Changelog: v0.7.0...v0.8.0
v0.7.0
What's Changed
- refactor: remove
RefreshableCount
interface by @priyadi in #87 - refactor:
MinimalReadableRecollection
now extendsCountable
by @priyadi in #88 - refactor: cleanup count traits by @priyadi in #89
- refactor: refactor counting, change default strategy to
ConditionalDelegatedCountStrategy
by @priyadi in #90 - refactor: add
PageableRecollection
by @priyadi in #91 - release: v0.7.0 by @priyadi in #92
Full Changelog: v0.6.2...v0.7.0
v0.6.2
v0.6.1
v0.6.0
v0.5.2
v0.5.1
v0.4.1
What's Changed
- refactor: reorganize exceptions by @priyadi in #28
- feat: add
getOrFail()
by @priyadi in #29 - feat: add
QueryPageable
by @priyadi in #30 - feat: repository interfaces by @priyadi in #31
- refactor: rename
createFrom()
towith()
by @priyadi in #32 - refactor: rename the term 'safe' to 'large' by @priyadi in #33
- refactor(
RecollectionDecorator
): renamewithCriteria
toapplyCriteria
by @priyadi in #34 - refactor: rename the term 'large' to 'basic' by @priyadi in #35
- cleanup: Basic classes do not require soft and hard limits, orderBy should be non-empty-array by @priyadi in #38
- feat: initial version of basic repository by @priyadi in #39
- refactor: consolidate repeated orderBy logic to
OrderByUtil
by @priyadi in #40 - refactor: use
configure()
method for subclasses to configure the repository by @priyadi in #41 - test: rearrange test directories by @priyadi in #42
- feat: add 404 status code to
NotFoundException
by @priyadi in #43 - test: add skeleton tests using Symfony framework by @priyadi in #44
- fix(
BasicRepository
):remove()
should beremoveElement()
by @priyadi in #45 - feat(
BasicRepository
): addremove()
method by @priyadi in #46 - test: add basic repository test by @priyadi in #47
- refactor(
AbstractBasicRepository
): change configuration method by @priyadi in #48 - test: add phpunit and PSR support in static analyses by @priyadi in #49
- deps: update to rekapager 0.12 by @priyadi in #50
- deps: add debug bundle by @priyadi in #51
- cleanup: basicrepository by @priyadi in #52
- feat: abstractrepository by @priyadi in #53
- refactor: move
refreshCount
to its own interface by @priyadi in #54 - refactor: rename
getReference
toreference
by @priyadi in #56 - chore: csfix by @priyadi in #57
- refactor: rename the term 'basic' to 'minimal' by @priyadi in #55
- refactor: refactor traits by @priyadi in #58
- test: refactor tests by @priyadi in #59
- test: add tests by @priyadi in #60
- fix: make sure all objects support indexBy by @priyadi in #61
- Main by @priyadi in #63
- Feat/instance-caching by @priyadi in #64
- fix: should be static instead of self for instantiation in decorators by @priyadi in #65
- feat: instance caching for criteria recollections by @priyadi in #66
- test: criteria recollection by @priyadi in #67
- test: assorted by @priyadi in #68
- refactor: rename basic repository to minimal repository by @priyadi in #69
- fix: repository slice now use QueryBuilder setMaxResults and setFirstResult by @priyadi in #70
- test: reorganize by @priyadi in #71
- release: v0.4.1 by @priyadi in #72
Full Changelog: v0.3.0...v0.4.1