Releases: DamienHarper/auditor
Releases · DamienHarper/auditor
1.3.0
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
- @robier made their first contribution in #31
- @djpremier made their first contribution in #40
- @Metabor made their first contribution in #41
Refereces
Full Changelog: 1.2.0...1.3.0
1.2.0
What's Changed
Fixes
- Fix creating doctrine schema DamienHarper/auditor-bundle#245 by @Marmelatze in #25 (fixes DamienHarper/auditor-bundle#245 and DamienHarper/auditor-bundle#249)
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 valuesRangeFilter
lets you filter by a range of valuesDateRangeFilter
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
- @Marmelatze made their first contribution in #25
Refereces
Full Changelog: 1.1.0...1.2.0
1.1.0
What's Changed
- Better handling of binary data in changeset by @DamienHarper in #19
- UID support by @DamienHarper in #20
- List support only works with Connection::execute() by @Maksclub in #21
- Table creation events come from auditing entity managers by @DamienHarper in #24 (fixes #23 and DamienHarper/auditor-bundle#243)
New Contributors
Refereces
Full Changelog: 1.0.1...1.1.0
1.0.1
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
Full Changelog: 1.0.0...1.0.1
1.0.0
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
- Better MySQL < 5.7.7 and MariaDB < 10.2.2 support by @DamienHarper in #3
- Track isOwningSide for associations/dissociations by @DamienHarper in #4
- Make Entry immutable by @DamienHarper in #5
- Supports MariaDB with no JSON support by @DamienHarper in #6
- Event refactor by @DamienHarper in #7
- GitHub actions by @DamienHarper in #9
References
Full Changelog: https://github.com/DamienHarper/auditor/commits/1.0.0