Releases: DamienHarper/auditor-bundle
Releases · DamienHarper/auditor-bundle
2.2.0
2.1.0
Changelog
- Reworked default templates to display audit entries in a timeline instead of a simple tabular view.
- Fixed some deprecated references
AuditReader::getAudits()
andAuditController::showEntityHistoryAction()
do not return the first 50 history items anymore but the full history. Though, it is still possible to get only a few items by specifying$pageSize
and$page
argumentsREADME.md
adjustments
Breaking changes
- Some default templates have been renamed
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
AuditReader
andAuditEntry
have been moved fromDH\DoctrineAuditBundle
namespace toDH\DoctrineAuditBundle\Reader
namespace.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.0
Due 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
1.6.0
Changelog
- Unit tests and code coverage
- Travis CI integration
- Add support to Identity through foreign Entities (fixes #40)
- Better handling of Proxy objects (fixes #44)
Breaking changes
table
key in diffs (understand join table) is now present only when auditing associate/dissociate operations regarding ManyToMany relationships
1.5.0
Changelog
- Tracking of impersonator in
blame_user
column (@webmasterMeyers) - Add aliases for
@dh_doctrine_audit.configuration
anddh_doctrine_audit.reader
services (fixes #36) README.md
adjustments
1.4.0
Changelog
- Schema support (fixes #32, thanks to @DrummerKH)
- Do not consider an entity as audited if its parent is (fixes #34)
1.3.0
Changelog
- Add a way to enable/disable auditing for an entity at runtime (@eduardoweiland)
1.2.0
Changelog
- Custom user provider support (thanks @eduardoweiland)
- Small
FAQ
update
1.1.0
Changelog
- Added a way to filter audit entries by type in the bundled controller (thanks @kl3sk)
- Added an
FAQ
section to theREADME
(thanks @kl3sk) - Removed unneeded dependency to
SensioFrameworkExtraBundle
(fixes #22)
Breaking changes
- Entries of type
AuditReader::DISSOCIATE
now refers to owning side ID inobject_id
field (fixes #4) - Creation date of audit entries are now in
UTC
timezone
1.0.0
Initial release