Skip to content

Releases: cycle/orm

v2.13.2

10 Feb 08:39
4be87c3

Choose a tag to compare

What's Changed

  • Fix a bug when related fields were not filled in BelongsToMorphed by @roxblnfk in #550

Full Changelog: v2.13.1...v2.13.2

v2.13.1

30 Jan 11:39
72ee07e

Choose a tag to compare

What was changed

Revert #491: a bug found in a side project

Full Changelog: v2.13.0...v2.13.1

v2.13.0

30 Jan 07:50
fa6a81d

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.12.3...v2.13.0

v2.12.3

26 Dec 06:47
7484b73

Choose a tag to compare

What's Changed

  • Handle empty entity collection in BulkLoader without throwing exception by @roxblnfk in #543

Full Changelog: v2.12.2...v2.12.3

v2.12.2

16 Dec 13:41
v2.12.2
38360e9

Choose a tag to compare

What's Changed

  • Fix columns mapping in BelongsToMorphedLoader by @roxblnfk in #542

Full Changelog: v2.12.1...v2.12.2

v2.12.1

16 Dec 10:19
935dafc

Choose a tag to compare

What's Changed

Full Changelog: v2.12.0...v2.12.1

v2.12.0

12 Dec 15:49
8ac5a6e

Choose a tag to compare

What's Changed

Full Changelog: v2.11.1...v2.12.0

v2.11.1

24 Nov 12:51
5b0992d

Choose a tag to compare

What's Changed

Full Changelog: v2.11.0...v2.11.1

v2.11.0

09 Sep 11:27
d712c79

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.10.1...v2.11.0

2.11.0-RC1

04 May 14:33
78009d9

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