Skip to content

Releases: cycle/orm

2.11.0-RC1

04 May 14:33
78009d9
Compare
Choose a tag to compare
2.11.0-RC1 Pre-release
Pre-release

What's Changed

Added a new behavior.

The ORM now will ignore relations and uninitialized Entity properties. In this case, unset($entity->relation) will not change the relation when saving, and it will hydrate it if the relation is loaded in the query.

To restore the old behavior where the ORM tries to fill all uninitialized relations if the entity is created not through the ORM (using new), and also treats unset as unlinking relations, pass an Options object into ORM constructor with the field $ignoreUninitializedRelations = false.

Full Changelog: v2.10.1...2.11.0-RC1

v1.8.2

04 Apr 20:59
7a15050
Compare
Choose a tag to compare

What's Changed

  • minor fix for php8.1 compatibility by @wezztt in #514

New Contributors

Full Changelog: v1.8.1...v1.8.2

v2.10.1

31 Mar 19:42
0b65906
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.10.0...v2.10.1

v2.10.0

17 Mar 13:03
44eaeb0
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.9.3...v2.10.0

v2.10.0-RC1

02 Mar 22:17
44eaeb0
Compare
Choose a tag to compare
v2.10.0-RC1 Pre-release
Pre-release

What's Changed

  • Change behavior of EntityFactory by @roxblnfk in #509
    It doesn't overwrite entity fields now

Full Changelog: v2.9.3...v2.10.0-RC1

v2.9.3

14 Jan 11:30
a366d01
Compare
Choose a tag to compare

What's Changed

  • Removed "of object" from docBlock in "Cycle\ORM\RepositoryInterface" by @sicet7 in #508

New Contributors

Full Changelog: v2.9.2...v2.9.3

v2.9.2

08 Jan 11:54
f2d32fb
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.9.1...v2.9.2

v2.9.1

12 Dec 10:34
d790848
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.9.0...v2.9.1

v2.9.0

21 Aug 15:24
23023be
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.8.0...v2.9.0

v2.8.0

09 May 15:19
v2.8.0
0677d29
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.7.1...v2.8.0