Skip to content

Releases: cycle/orm

2.1.0

03 Mar 21:28
5e81a5a
Compare
Choose a tag to compare

What's Changed

  • Remove final from the Select class by @msmakouz (#327)
  • Fix keys comparing in the BelongsTo relation by @msmakouz (#326)
  • Add Psalm @template annotations to RepositoryInterface by @roxblnfk

Full Changelog: v2.0.2...v2.1.0

2.0.2

27 Jan 16:59
ac0a18f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.1...v2.0.2

2.0.1

20 Jan 12:51
efea11e
Compare
Choose a tag to compare

What's Changed

  • Fix protected relation fields hydration on eager loading by @roxblnfk in #314

Full Changelog: v2.0.0...v2.0.1

1.8.1

17 Jan 14:02
4f90d7c
Compare
Choose a tag to compare

What's Changed

  • Add the STI discriminator autoadding in the Schema by @gam6itko (#278)
  • Extract origin in the HasMany::queue() when it's instance of Collection 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

22 Dec 16:00
252a033
Compare
Choose a tag to compare
  • 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

v1.8.0

28 Nov 12:53
b8b1d90
Compare
Choose a tag to compare
  • Added ORM::with. Other ORM::with* methods marked as deprecated (#257)
  • Better compatibility between ConstrainInterface and ScopeInterface (#271)

v1.7.1

04 Nov 16:19
5cecb85
Compare
Choose a tag to compare
  • Fixed Node::getChanges() when a key in $current argument is undefined (#238)

v1.7.0

02 Nov 09:00
Compare
Choose a tag to compare
  • Update the Node data comparison mechanism (#235)
  • Fix Entity data comparison with objects in fields (#234)
  • Add ability for relations to independently determine related value changing (#227)

v1.6.1

13 Oct 07:54
d787809
Compare
Choose a tag to compare
  • Prevent repeating entity hydration in the 'has many' relation

v1.6.0

08 Sep 13:23
c90fcf3
Compare
Choose a tag to compare
  • Added Scope classes and deprecations for Constrain classes (#209)