Skip to content

Releases: DamienHarper/auditor

1.3.1

26 Oct 08:32
Compare
Choose a tag to compare

What's Changed

References

Official documentation

Full Changelog: 1.3.0...1.3.1

1.3.0

27 Sep 22:03
c652ff0
Compare
Choose a tag to compare

What's Changed

Fixes

  • Fixes storage mapper callable handling by @DamienHarper in #35
  • Remove flusher callback from logger on rollback by @Metabor in #41
  • PHPStan fixes by @DamienHarper in #47
  • Resets transaction once processed by the onFlush event subscriber. … by @DamienHarper in #48
  • Fix an edge case where annotations where not loaded if audited entities were set in configuration by @DamienHarper in #50

Changes

  • Add support to php 8 attributes by @djpremier in #40
  • Add audit event's database ID on LifecycleEvent payload in DoctrineProvider by @robier in #31
  • Properly handle (unsupported) composite primary keys: throw a dedicated exception when such an entity is audited by @DamienHarper in 5190dee

New Contributors

Refereces

Official documentation

Full Changelog: 1.2.0...1.3.0

1.2.0

04 Mar 22:40
Compare
Choose a tag to compare

What's Changed

Fixes

Changes

  • Multiple entity manager fixes by @DamienHarper in #26
  • Annotations lazy loading by @DamienHarper in #30 (fixes #11)
  • Enhanced query filters by @DamienHarper in #28 (fixes #29)
    • SimpleFilter lets you filter by a specific value or set of values
    • RangeFilter lets you filter by a range of values
    • DateRangeFilter lets you filter by a range of dates

Deprecations

Following methods are now deprecated

Query::addFilter(string $name, $value)
Query::addRangeFilter(string $name, $minValue, $maxValue)
Query::addDateRangeFilter(string $name, $minValue, $maxValue)

in favor of

Query::addFilter(FilterInterface $filter)

More details in the documentation

New Contributors

Refereces

Official documentation

Full Changelog: 1.1.0...1.2.0

1.1.0

10 Feb 21:07
04a6a1e
Compare
Choose a tag to compare

What's Changed

New Contributors

Refereces

Official documentation

Full Changelog: 1.0.1...1.1.0

1.0.1

10 Dec 14:02
56b1492
Compare
Choose a tag to compare

What's Changed

  • Updated CI to ensure proper Symfony versions are installed during tests (3.4, 4.4 and 5.x are tested) by @DamienHarper in #14
  • Fixed a failing test with Symfony 3.4 by @DamienHarper

References

Official documentation

Full Changelog: 1.0.0...1.0.1

1.0.0

06 Dec 16:27
Compare
Choose a tag to compare

Initial release

The purpose of auditor is to provide an easy and standardized way to collect audit logs.

This library is architected around two concepts:

  • Auditing services responsible for collecting audit events
  • Storage services responsible for persisting audit traces

Those two kind of services are offered by Providers and a default one is included with this library: DoctrineProvider

DoctrineProvider offers both auditing services and storage services and
creates audit logs for all Doctrine ORM database related changes.

What's Changed

References

Official documentation

Full Changelog: https://github.com/DamienHarper/auditor/commits/1.0.0