Skip to content

Releases: cycle/orm

2.3.0

03 Apr 15:55
v2.3.0
7c142c0
Compare
Choose a tag to compare

What's Changed

  • Update where() and orderBy() 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 default CaseTemplate by @gam6itko (#389)

Full Changelog: v2.2.2...v2.3.0

2.2.2

08 Feb 07:55
v2.2.2
daa46dd
Compare
Choose a tag to compare

What's Changed

-Fix compatibility with PHP 8.2 (AllowDynamicProperties) by @roxblnfk (#394)
-Add tests with using for microseconds in a datetime fields by @BelaRyc and @msmakouz (#383)

Full Changelog: v2.2.1...v2.2.2

2.2.1

01 Dec 20:08
82efcb8
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.0...v2.2.1

2.2.0

05 Jul 13:23
b69635a
Compare
Choose a tag to compare

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 in Cycle\ORM\Select\Repository and Cycle\ORM\Select classes by @roxblnfk (#351)
  • Classes Cycle\ORM\Transaction\UnitOfWork and Cycle\ORM\Transaction\Runner are now not internal by @roxblnfk (#353)

New Contributors

Full Changelog: v2.1.1...v2.2.0

2.1.1

05 Jun 07:53
d7bcf91
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.1.0...v2.1.1

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