2.0.0
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
AuditReaderandAuditEntryhave been moved fromDH\DoctrineAuditBundlenamespace toDH\DoctrineAuditBundle\Readernamespace.AuditEntry::getUserId()andAuditEntry::getUsername()now returnnull(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.0Due 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