Releases: cycle/orm
Releases · cycle/orm
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
v1.8.2
v2.10.1
v2.10.0
v2.10.0-RC1
What's Changed
Full Changelog: v2.9.3...v2.10.0-RC1
v2.9.3
v2.9.2
What's Changed
- Fix typo from 👿 to UNIX naming by @HenkPoley in #505
- Add metadata for Meta Storm plugin by @roxblnfk in #506
New Contributors
- @HenkPoley made their first contribution in #505
Full Changelog: v2.9.1...v2.9.2
v2.9.1
v2.9.0
v2.8.0
What's Changed
- Add method
Repository::forUpdate()
by @msmakouz in #465 - Add JSON typecast by @msmakouz in #464
- Fix phpdoc in Select class; expand return type of
fetchData()
andfetchAll()
methods by @lotyp and @roxblnfk in #478 - Fix phpdoc for
EntityProviderInterface::get()
by @msmakouz in #474
Full Changelog: v2.7.1...v2.8.0