Skip to content

Releases: DamienHarper/auditor

2.0.4

07 Aug 14:21
Compare
Choose a tag to compare

What's Changed

References

Official documentation

Full Changelog: 2.0.3...2.0.4

2.0.3

18 May 06:50
600f64f
Compare
Choose a tag to compare

What's Changed

New Contributors

References

Official documentation

Full Changelog: 2.0.2...2.0.3

2.0.2

04 Apr 16:08
Compare
Choose a tag to compare

What's Changed

  • Better transaction processor/hydrator code coverage by @DamienHarper in #93
  • Switch from arrays to DTO classes when passing event information around by @janklan in #94

References

Official documentation

Full Changelog: 2.0.1...2.0.2

2.0.1

08 Mar 08:30
657164b
Compare
Choose a tag to compare

What's Changed

  • Fix incorrect dissociation array destructuring by @janklan in #92

New Contributors

References

Official documentation

Full Changelog: 2.0.0...2.0.1

2.0.0

05 Mar 21:00
Compare
Choose a tag to compare

What's Changed

This release is focused on bringing Symfony 6 and doctrine/dbal 3.x support as well as dropping PHP 7.2 and 7.3 compatibility.

BC changes

  • Providing an integer value for the keep argument of the audit:clean command is no longer supported. Use the ISO 8601 duration format (e.g. P12M) instead.
  • Passing name and value to the Query::addFilter() method is no longer supported. Pass it a FilterInterface object instead.
  • Query::addRangeFilter() method has been removed, you should call Query::addFilter() instead and pass it a RangeFilter object.
  • Query::addDateRangeFilter() method has been removed, you should call Query::addFilter() instead and pass it a DateRangeFilter object.

Changes

Fixes

New Contributors

References

Official documentation

Full Changelog: 1.3.0...2.0.0

1.4.0

10 Feb 08:47
93f7952
Compare
Choose a tag to compare

What's Changed

References

Official documentation

Full Changelog: 1.3.2...1.4.0

1.3.2

04 Feb 13:00
84f2e42
Compare
Choose a tag to compare

What's Changed

References

Official documentation

Full Changelog: 1.3.1...1.3.2

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