Skip to content

Releases: DamienHarper/auditor-bundle

2.0.0

25 Mar 08:17
Compare
Choose a tag to compare

Changelog

  • Complete rewrite of many internal parts to improve testability and lessen complexity.
  • Migration command allowing to change structure of concrete (currently used) audit tables.
  • Tables with non numeric primary keys auditing support (closes #37)
  • Firewall name and user object's Fully Qualified Domain Name are now stored in audit table (cf. #14)
  • Improved unit tests
  • New design of included audit viewer templates (now Bootstrap 4 based)
  • demo app showing off included audit viewer templates

Breaking changes

  • The structure of audit tables has changed so you have to run the migration command right after updating
  • AuditReader and AuditEntry have been moved from DH\DoctrineAuditBundle namespace to DH\DoctrineAuditBundle\Reader namespace.
  • AuditEntry::getUserId() and AuditEntry::getUsername() now return null (instead of "Unknown") when user is undefined

How to upgrade?

Either update your composer.json file manually to include "damienharper/doctrine-audit-bundle": "^2.0"
or run

composer require damienharper/doctrine-audit-bundle ^2.0

Due to internal changes requiring new columns and object_id column type change, run the migration command after updating the bundle to update the structure of your current audit tables.

bin/console audit:schema:update

1.6.0

04 Mar 15:54
Compare
Choose a tag to compare

Changelog

  • Unit tests and code coverage
  • Travis CI integration
  • Add support to Identity through foreign Entities (fixes #40)
  • Better handling of Proxy objects (fixes #44)

Breaking changes

  • table key in diffs (understand join table) is now present only when auditing associate/dissociate operations regarding ManyToMany relationships

1.5.0

06 Feb 15:50
Compare
Choose a tag to compare

Changelog

  • Tracking of impersonator in blame_user column (@webmasterMeyers)
  • Add aliases for @dh_doctrine_audit.configuration and dh_doctrine_audit.reader services (fixes #36)
  • README.md adjustments

1.4.0

28 Jan 11:04
Compare
Choose a tag to compare

Changelog

  • Schema support (fixes #32, thanks to @DrummerKH)
  • Do not consider an entity as audited if its parent is (fixes #34)

1.3.0

21 Jan 09:16
Compare
Choose a tag to compare

Changelog

  • Add a way to enable/disable auditing for an entity at runtime (@eduardoweiland)

1.2.0

13 Dec 10:20
Compare
Choose a tag to compare

Changelog

1.1.0

05 Dec 18:14
Compare
Choose a tag to compare

Changelog

  • Added a way to filter audit entries by type in the bundled controller (thanks @kl3sk)
  • Added an FAQ section to the README (thanks @kl3sk)
  • Removed unneeded dependency to SensioFrameworkExtraBundle (fixes #22)

Breaking changes

  • Entries of type AuditReader::DISSOCIATE now refers to owning side ID in object_id field (fixes #4)
  • Creation date of audit entries are now in UTC timezone

1.0.0

07 Feb 23:33
Compare
Choose a tag to compare

Initial release