v2.5.5
This release includes a big amount of bugfixes.
Specifically, following issues were fixed:
- Embeddable classes are now allowed in inheritance trees 4097
- Removed some object hash collisions caused by entity merging 1465
- Allowed usage of mathematical operators in DQL
HAVING
clauses 5598 - Fixed cloning of proxies with private properties at multiple inheritance levels 5755
- Entity insertions are correctly cleared when a specific entity is to be cleared 5849
- Corrected hydration of fetch-joins that use composite keys 5762
- Metadata exporters now only export the owning side metadata in a one-to-one relation 5858
- Corrected hydration of JTI entities when
NULL
is retrieved for asimple_array
orjson_array
field 5989 - Correctly expire L2 cache query caches, based on entity region cache timestamp 6001
Total issues resolved: 18
- 1465: spl_object_hash conflict on Merge
- 4097: DDC-3303: @ORM\Embedded does not work with extending classes
- 4277: DDC-3467: Embeddable in inheritance must currently be protected
- 5598: HAVING clause with variable and *, / math operators
- 5599: Fix #5598 issue with /, * in DQL not translating query components properly
- 5689: Avoid conflicts due to spl_object_hash
- 5755: Error on entity clone for MappedSuperclass fields
- 5762: fetch join using composite key on join entity fails to hydrate correctly
- 5768: Fixes #5755 - Parent class fields are not cloned
- 5776: add functional test and bug fix for issue #5762
- 5849:
UnitOfWork#clear()
doesn't clearentityInsertions
whenentityName
is passed - 5850: Clear
UnitOfWork#$entityInsertions
for specific entityName - 5858: Exporters should only inspect
joinColumns
for owning side in bi-directional OneToOne - 5867: Allow the usage of embedded objects on parent classes
- 5975: Fix hydration after fetch join on entity with composite primary key
- 5989:
SimpleObjectHydrator
produces wrong values with inheritance table and simple array type - 6001: Make second level cache query cache rely on entity region timestamp
- 6004: Fix hydration in a joined inheritance with simple array or json array