Releases: cycle/orm
Releases · cycle/orm
2.3.0
What's Changed
- Update
where()
andorderBy()
behavior in the JTI case. It possible to pass parent field name. By @roxblnfk (#405) Select::wherePK()
is now more strict. Use entity field name instead of table columns.- Fix method naming:
AbstractLoader::loadIerarchy()
deprecated and renamed to::loadHierarchy()
. - Class
\Cycle\ORM\Parser\Typecast
is now not internal by @thenotsoft (#395) - Update test case generator script. Now it possible to set case name like "Issue777" and a template folder that
different from the defaultCaseTemplate
by @gam6itko (#389)
Full Changelog: v2.2.2...v2.3.0
2.2.2
2.2.1
What's Changed
- Fix
EM::persistState()
that inserted the same entity twice by @roxblnfk (#368) - Fix bug on saving of replaced pivoted collection by @BelaRyc (#382)
- Fix
cascade
mode in BelongsTo relation by @roxblnfk and @msmakouz (#347, #374) - Fix storing od embedded entities in a JTI by @butschster (#379)
- Add tests case template by @roxblnfk and @kastahov (#372, #377)
- Add a previous exception in TransactionException on throwing by @Eugentis (#367)
- Add annotation
@readonly
forRepository::$select
by @roxblnfk (#369)
New Contributors
- @Eugentis made their first contribution in #367
- @kastahov made their first contribution in #377
- @BelaRyc made their first contribution in #382
Full Changelog: v2.2.0...v2.2.1
2.2.0
What's Changed
- Add supporting for
loophp/collection
by @drupol (#344) - Add supporting for PHP 8.1 Enum in the default typecast handler
Cycle\ORM\Parser\Typecast
by @roxblnfk (#352) - Improve
template
annotations inCycle\ORM\Select\Repository
andCycle\ORM\Select
classes by @roxblnfk (#351) - Classes
Cycle\ORM\Transaction\UnitOfWork
andCycle\ORM\Transaction\Runner
are now not internal by @roxblnfk (#353)
New Contributors
Full Changelog: v2.1.1...v2.2.0
2.1.1
What's Changed
- Remove
$config
property overriding in theRelationConfig
by @msmakouz (#343) - Fix bug on ManyToMany resolving by @roxblnfk and @albertborsos (#345)
New Contributors
- @albertborsos made their first contribution in #336
Full Changelog: v2.1.0...v2.1.1
2.1.0
2.0.2
2.0.1
1.8.1
What's Changed
- Add the STI discriminator autoadding in the Schema by @gam6itko (#278)
- Extract
origin
in theHasMany::queue()
when it's instance ofCollection
by @roxblnfk (#277) - Fix lazy loading sorting by @msmakouz (#300)
- Up min version of laminas-hydrator by @msmakouz (#310)
New Contributors
Full Changelog: v1.8.0...v1.8.1
2.0.0
- Minimal PHP version is 8.0
- Composited keys
- 'Joined Table Inheritance' and 'Single Table Inheritance'
- Added ProxyMapper (
Cycle\Orm\Mapper\Mapper
) - Supporting for arrays/Doctrine/Laravel or custom collections in HasMany and ManyToMany relations
- Typecasting moved to Mappers
- Added Typecast handlers with Castable/Uncastable interfaces
- Added Entity Manager and Unit Of Work instead of
Cycle\ORM\Transaction
- A lot of Interfaces are changed