What's new in the latest version of auditor.
The format is inspired by Keep a Changelog, and this project adheres to Semantic Versioning.
keep argument of the audit:clean command is no longer supported. Use the ISO 8601 duration format (e.g. P12M) instead.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.doctrine/dbal 3.x onFlush event subscriberQuery::addFilter(string $name, $value)
Query::addRangeFilter(string $name, $minValue, $maxValue)
Query::addDateRangeFilter(string $name, $minValue, $maxValue)
are now deprecated in favor of
Query::addFilter(FilterInterface $filter)
There are several kinds of filters:
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 datesMore details in the documentation
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:
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.