v2.6.4
This release fixes many bugs (including a performance regression) and makes the v2.x series compatible with PHP 7.4.
- Total issues resolved: 11
- Total pull requests resolved: 32
- Total contributors: 30
Improvement
- 7785: Fix "access array offset on value of type null" PHP 7.4 notices thanks to @mlocati
- 7142: Rename this repository to doctrine/orm thanks to @greg0ire
Bug
- 7821: Bug: #7820 paginator ignores dbal type conversions in identifiers thanks to @Ocramius
- 7778: Guard L2C regions against corrupted data thanks to @umpirsky
- 7767: PersistentCollection::matching() does not respect the collections native sorting thanks to @stephanschuler
- 7766: Respect collection orderBy meta when matching() thanks to @stephanschuler
- 7761: Do not modify UOW on PersistentCollection::clear() when owner has DEFFERED_EXPLICIT change tracking policy thanks to @paxal
- 7750: Fix incorrect return of null values in L2C thanks to @AlexSmerw
- 7737: Fix MEMBER_OF comparison when using criteria in query builder thanks to @Smartel1
- 7735: Null in fields value in Cached Entity several times on day on high-load project. thanks to @AlexSmerw
- 7630: Fix #7629 -
scheduledForSynchronization
leaks memory when using@ORM\ChangeTrackingPolicy("DEFERRED_EXPLICIT")
thanks to @yethee - 7528: Prevent
UnitOfWork
lookup for DBAL types specified inDoctrine\ORM\Query#setParameter()
thanks to @Ocramius - 7322: JoinedSubclassPersister pass identifier types on delete thanks to @dennisenderink and @fred-jan
- 7266: Call to a member function resolveAssociationEntries() on boolean {"detail":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to a member function resolveAssociationEntries() on boolean at /www/vendor/doctrine/orm/lib/Doctrine/ORM/Cache/DefaultQueryCache.php:140)"} thanks to @mingmingxianseng
- 4632: DDC-3789: Paginator does not convert entity ids if they are value objects thanks to @doctrinebot
Documentation
- 7818: Add note into docs about not using SimpleAnnotationReader thanks to @SenseException
- 7791: Fix preFlush event documentation stating incorrectly that flush can be called safely thanks to @Steveb-p
- 7753: Add ORM annotations in getting-started docs thanks to @SenseException and @wajdijurry
- 7744: Fixed a typo-error thanks to @noobshow
- 7732: [Documentation] Missing comma fix thanks to @lchrusciel
- 7729: Update DATE_ADD and DATE_SUB docs thanks to @JoppeDC
- 7672: Added cross-links to relevant documentation thanks to @jschaedl
- 7612: Update ordered-associations.rst thanks to @spirlici
- 7610: Change APC to OPcache in improving-performance.rst thanks to @smtchahal
- 7596: Correct method names and broken link in docs thanks to @mbessolov
- 7577: Fix of single link to dbal docs in advanced-configuration.rst thanks to @SenseException
- 7572: Remove codeigniter Framework example thanks to @SenseException
- 7571: Fix typo in inheritance mappings docs thanks to @batwolf
- 7557: Change Stackoverflow tag to doctrine-orm thanks to @malarzm
- 7551: [2.6] Migrate repository name doctrine/doctrine2 -> doctrine/orm thanks to @Majkl578
- 7530: Documentation error typo fix: s/Used-defined/User-Defined thanks to @vladyslavstartsev
- 7519: #7518 Fixed type mismatch between
EntityRepository#__construct()
and its documented constructor arguments thanks to @koftikes - 7518:
EntityRepository::__construct()
expectsDoctrine\ORM\EntityManager
instead of actual requiredEntityManagerInterface
thanks to @koftikes - 7490: Fix broken link thanks to @vladyslavstartsev
- 7483: Fixed a minor syntax issue thanks to @javiereguiluz