Skip to content

Releases: AppsDevTeam/doctrine-components

v3.3.2: Passes EntityManager to recalculateEntities in BaseListener

19 Mar 10:35

Choose a tag to compare

Ensures that the entity manager which triggered the event is used for recomputing entity change sets, rather than relying on an internal property.

v3.3.1: Adds optimistic locking to fetchField

23 Jan 07:14

Choose a tag to compare

Allows the fetchField method to use pessimistic write locking.

This ensures that data being fetched is locked during the process,
preventing concurrent modifications and potential data conflicts.

v3.3: Improves property change detection and adds locking.

13 Jan 15:42

Choose a tag to compare

Enhances the `isPropertyChanged` method to handle both single properties and arrays of properties, allowing for more flexible change detection.

Adds `getLock` and `releaseLock` methods to the EntityManager, enabling advisory locking for specific operations.

v3.2.7: Removes DQL part modification restrictions

29 Dec 06:31

Choose a tag to compare

Temporarily removes the restrictions on modifying 'select',
'distinct', and 'orderBy' DQL parts within filters. This
allows for greater flexibility in query customization,
potentially needed for specific use cases. The restrictions
may be re-evaluated and re-introduced later with a more
refined approach.

v3.2.6

03 Dec 11:36
ad027a3

Choose a tag to compare

Update composer.json

v3.2.5

30 Nov 13:44
9fd392f

Choose a tag to compare

Update composer.json

v3.2.4: Changes identifier visibility to protected

05 Nov 07:16

Choose a tag to compare

Updates the visibility of the identifier property to protected, allowing subclasses to access and utilize it.
This promotes code reusability and avoids direct access from outside the class hierarchy.

v3.2.3: Adds Entity::isNew() method

01 Nov 11:30

Choose a tag to compare

Adds the `isNew()` method to the `Entity` interface.

This method allows to determine whether an entity
has already been persisted or not.

v3.2.2: Removes BaseEntity and moves isNew() to Identifier trait

28 Sep 13:53

Choose a tag to compare

Removes the BaseEntity class as it was redundant.

Moves the isNew() method to the Identifier trait, as it's directly related to the identifier logic and provides a more consistent and encapsulated approach for checking entity freshness.

v3.2.1: Marks BaseEntity as a MappedSuperclass

27 Sep 06:53

Choose a tag to compare

Marks the `BaseEntity` as a Doctrine `MappedSuperclass`.

This change allows other entities to inherit from it
without `BaseEntity` being managed as a standalone entity
in the database.