packagist damienharper/auditor-bundle 2.0.0

latest releases: dev-dependabot/npm_and_yarn/npm_and_yarn-security-group-28b378bd67, dev-dependabot/npm_and_yarn/npm_and_yarn-security-group-126725b620, dev-dependabot/npm_and_yarn/npm_and_yarn-security-group-c411d4613f...
5 years ago

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 and AuditEntry have been moved from DH\DoctrineAuditBundle namespace to DH\DoctrineAuditBundle\Reader namespace.
  • AuditEntry::getUserId() and AuditEntry::getUsername() now return null (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

Don't miss a new auditor-bundle release

NewReleases is sending notifications on new releases.