Skip to content

Releases: doctrine/orm

v2.5.14

17 Dec 03:05
v2.5.14
810a7ba
Compare
Choose a tag to compare

Build Status

This version backports bugfixes related to the generation of queries with joins and configuration of the result set cache profile of a query.

Total issues resolved: 2

Bug

v2.5.13

27 Nov 23:37
v2.5.13
93103f4
Compare
Choose a tag to compare

v2.5.12

23 Oct 18:24
Compare
Choose a tag to compare

Build Status

This release allows Doctrine to work with Symfony 4.

Total issues resolved: 1

v2.5.11

18 Sep 06:53
v2.5.11
249b737
Compare
Choose a tag to compare

Build Status

This release reduces the version constraints on the doctrine/instantiator dependency,
effectively allowing any doctrine/instantiator version to be installed.

Total issues resolved: 1

v2.5.10

18 Aug 19:25
v2.5.10
c78afd5
Compare
Choose a tag to compare

This release fixes an issue related to a long standing issue with how
PHP handles loading of external XML entities (https://bugs.php.net/bug.php?id=62577).

Total issues resolved: 2

v2.5.9

16 Aug 13:31
v2.5.9
4f96fc6
Compare
Choose a tag to compare

This release fixes a couple regression introduced by
v2.5.7 and v2.5.8.

Specifically, AbstractHydrator#hydrateAll() was raising
E_NOTICE errors due to it not being registered with the
EventManager, yet trying to remove itself from the
registered listeners. #6623

In addition to that, having embeddable final classes
would cause errors being raised while trying to generate
proxies. The ORM will no longer attempt to generate proxies
for embeddables. #6625

Total issues resolved: 3

v2.5.8

13 Aug 18:48
v2.5.8
e3aa3f2
Compare
Choose a tag to compare

This release solves a bug introduced while backporting
#6464 and #6475.
Specifically, a dangling undefined variable remained in the
code, causing some SqlWalker functionality to misbehave.
The undefined variable wasn't noticed due to it being placed
in an empty() expression.

Total issues resolved: 1

v2.5.7

11 Aug 21:39
v2.5.7
22546a3
Compare
Choose a tag to compare

This release fixes a number of bugs detected in the current stable
release of the ORM.

This patch introduces compatibility with Doctrine DBAL 2.6.x. #6580

The most critical issue being fixed is a bug
in Doctrine\ORM\PersistentCollection, causing duplicate data
to be persisted when a collection is both marked as initialized
and dirty, and more entries are added to it via
the Doctrine\Common\Collections\Collection#add()
API. #6613 #6614
#6616

The return value of Doctrine\ORM\PersistentCollection#removeElement()
was sometimes an object or null, causing some applications to crash when PHP is run within the context of declare(strict_types=1);` #6550

Memory leak issues with the hydrator process were fixed: the
hydrator object was never being garbage collected due to it
being registered with a Doctrine\Common\EventManager instance
to listen for the Doctrine\ORM\Events::onClear event. #1515

The Doctrine\ORM\Tools\Pagination\CountOutputWalker was producing
invalid SQL for queries containing a GROUP BY clause. #6243

The SQL generated for a DQL query containing a JTI (Joined Table
Inheritance) selection and a WITH clause applied to a JOIN
condition was invalid on PostgreSQL. #6475

The Doctrine\ORM\Tools\Console\MetadataFilter was not detecting
all metadata matching the filter regular expression. #5715

The Doctrine\ORM\Tools\SchemaTool was raising notices due to
invalid lookup for a discriminator column length, which may
not be defined in all mappings. #5798

Total issues resolved: 18

v2.5.6

19 Dec 22:49
v2.5.6
Compare
Choose a tag to compare

Build Status

This release relaxes doctrine/common requirements
in order to allow installation of versions that support PHP 7.1 features in proxy class
generation. Please note that a similar requirement relaxation still needs to be applied to
doctrine/dbal in order to allow installation of
the latest doctrine/common versions. #6156

This version also backports some fixes around the eviction of the second level cache entries
of inverse side associations in one-to-many - many-to-one mappings. #6159

Further fixes were applied in order to have child classes in inheritance mapping share the
same timestamp region when the second level cache is enabled. #6028

Also, Doctrine\ORM\EntityManager#merge() now triggers Doctrine\ORM\Events::prePersist
listeners with the merged entity state whenever an internal Doctrine\ORM\UnitOfWork#persist()
call is implied. #6177.

Total issues resolved: 8

v2.5.5

10 Sep 19:19
v2.5.5
Compare
Choose a tag to compare

Build Status

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 a simple_array or json_array field 5989
  • Correctly expire L2 cache query caches, based on entity region cache timestamp 6001

Total issues resolved: 18