Releases: cycle/orm
Releases · cycle/orm
v2.13.2
v2.13.1
v2.13.0
What's Changed
- Add
UnitOfWork::hasPendingChanges()method by @roxblnfk in #548 - Add
orderByto HasOne loader by @markinigor in #487 - Optimize relations resolving by @peldax in #491
- Fix
TEntitygenerics by @rincler in #524 - Resolve issue #523 by @hiscaler in #525
New Contributors
- @hiscaler made their first contribution in #525
- @rincler made their first contribution in #524
- @peldax made their first contribution in #491
- @markinigor made their first contribution in #487
Full Changelog: v2.12.3...v2.13.0
v2.12.3
v2.12.2
v2.12.1
v2.12.0
What's Changed
- Add BelongsToMorphed loader by @roxblnfk in #537
Now you can load BelongsToMorphed relations using theSelect::load()method. - Added Relations Bulk Loader by @roxblnfk in #539
Documentation
Full Changelog: v2.11.1...v2.12.0
v2.11.1
v2.11.0
What's Changed
- Add
unsetbehavior by @gam6itko in #517 - Typecast support callable with arguments by @puzzledpolymath in #529
- Add
groupByToDeduplicatefeature by @gam6itko in #528 - Set
ignoreUninitializedRelationsoption tofalseby default by @roxblnfk in #530
New Contributors
- @puzzledpolymath made their first contribution in #529
Full Changelog: v2.10.1...v2.11.0
2.11.0-RC1
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