Skip to content

Releases: hostnet/entity-tracker-component

Update phpcs-tool to 9.1.0 with Hostnet-Level-1

02 May 17:19
7aa712a
Compare
Choose a tag to compare
  • Updates phpcs-tool to 9.1.0 with Hostnet-Level-1

Support PHP8

08 Jul 13:09
b4c1db9
Compare
Choose a tag to compare
  • Supports PHP8

More consistent behavior for entity change event

31 Oct 10:49
Compare
Choose a tag to compare

This release will provide more consistent behavior when the entity change event is triggered. It will now only fire when flushing and no longer when persisting. This caused some unexpected results in some cases where changes were made after a persist of a new entity.

This release includes the following pull requests:

  • #33 Events for new entities trigger wrong
  • #34 Fix/change merge
  • #35 Recursivly add elements to change set

Fixed issue that association fields are missing from original data

16 Oct 11:16
Compare
Choose a tag to compare

In some rare cases the association fields can be missing from the original data. In order to fix that they are copied from the original entity.

Fixed issue that identifier fields are missing from original data

27 Oct 09:32
Compare
Choose a tag to compare

Fixed issue that identifier fields are missing from original data.

Less visible logging

18 Oct 09:46
Compare
Choose a tag to compare

The EventListener used to send log messages as info. In this version debug is used instead.

only handle relations that have a column in DB for table

22 Aug 07:53
Compare
Choose a tag to compare
Merge pull request #27 from hboomsma/assoc

Do not handle changes to fields not in the corresponding DB table

Fire event for cascaded persisted entities

09 Aug 07:30
Compare
Choose a tag to compare
  • Issue #17 was closed by PR #26 Fire event for cascaded persisted entities.
  • Drop support for PHP versions 5.4 and 5.5, those are EOL
  • Upgrade to phpunit 5
  • Require doctrine.orm >2.4
  • Functional test added

To Keep your current code working you register another event:

$event_manager->addEventListener('prePersist', $entity_changed_listener);

If you are using the bundle you do not have to bother, because it will register the new
event for you.

Allow installation in PHP7

22 Oct 12:19
Compare
Choose a tag to compare
  • adjusted composer.json for PHP7 pre-releases.
  • build for PHP7 in travis

Bugfix Release

24 Sep 10:32
Compare
Choose a tag to compare

Fixes a critical bug with proxies not being detected as changed when they have been initialized already.