v2.6.1
This release provides fixes for:
- a regression in parsing of
DELETE
DQL queries without a DQL alias - a regression in hydration of fields of intermediate classes multi-level single-/multi-table-inheritance
- a call to an undefined
Doctrine\Common\Cache\MemcachedCache::setMemcache()
method in the setup tooling - persistence order for entities with identity through associated entity
- some persistence issues with join columns with special characters in them, which need to be quoted
- incorrect SQL parameter type binding in the basic entity persister
- versioned entity version fields caching within the second level cache
Total issues resolved: 23
- 6043: Identity through foreign Entities - persist thanks to @Gorjunov
- 6531: Cannot persist parent entity if OneToOne shares the same id thanks to @davidbarratt
- 6701: Fix identity through foreign entities thanks to @vhenzl
- 6939: Error for delete query without alias since 2.6.0 thanks to @dmaicher
- 6971: Exception Call to undefined method Doctrine\Common\Cache\MemcachedCache::setMemcache() thanks to @rolando-caldas
- 6988: Inheritance middle-layer doesn't get hydrated thanks to @kbond
- 6997: ManyToManyPersister fails to remove join table entry if there is multiple join columns thanks to @NicolaF
- 7002: Flush new entity with relation when use relation in composite key throws ORMInvalidArgumentException thanks to @samplestudio
- 7003: Cannot persist new entity if primary key contains a foreign key and the referenced object is in state new and its id is not assigned thanks to @NicolaF
- 7012: Fixed updating of entity with quoted identifier join column thanks to @janlanger
- 7021: Fix incorrect variable reference thanks to @lcobucci
- 7031: Tests failing in February (QueryDqlFunctionTest::testDateAdd with "month" dataset) thanks to @Majkl578
- 7032: QueryDqlFunctionTest: Increase delta for testDateAdd() to work in February thanks to @Majkl578
- 7051: Bugfix: Hydrate subclasses of subclasses thanks to @technetium
- 7053: Fixed parser rejecting valid DQL thanks to @carnage
- 7055: Fix date issues once and for all thanks to @lcobucci
- 7059: Querying abstract class in the middle of a hierarchy returns NULL instead of objects thanks to @BenMorel
- 7062: BasicEntityPersister confuses association types with PDO datatypes thanks to @mariusklocke
- 7067: ORM second level cache and version (locking) thanks to @wtorsi
- 7069: Test for Second level cache with Version, DDC #7067 thanks to @wtorsi
- 7077: Fix BC-break on delete without alias DQL thanks to @lcobucci
- 7082: Add failing test for issue #7062 - BasicEntityPersister confuses association types with PDO datatypes thanks to @mariusklocke
- 7093: Fix updating entities with quoted identifier association thanks to @lcobucci