Repository navigation
auditor 4.4.0
✨ What's new
Symfony 8.2 and PHP 8.6 support
auditor 4.4 is tested with PHP 8.4, 8.5 and 8.6 and Symfony 8.1 and 8.2.
The minimum Symfony version is now 8.1: every Symfony 8.0 release is affected by security
advisories fixed only in 8.1.11, and 8.0 is no longer maintained, so Composer refuses to install it.
Opt out of the runtime AuditEventSubscriber registration
Symfony 8.2 deprecates calling addListener() on the compiled event dispatcher. Auditor can now
skip registering its AuditEventSubscriber at runtime, so that a framework integration declares it
as a regular listener instead (backport of #337):
$auditor = new Auditor($configuration, $eventDispatcher, registerAuditEventSubscriber: false);The listener must then be registered on LifecycleEvent with the
AuditEventSubscriber::PRIORITY priority (-1_000_000). auditor-bundle 7.x does this for you.
The default behaviour is unchanged.
What's Changed
New features
- [4.x] Support Symfony 8.2 and PHP 8.6 by @DamienHarper in #339
CI
- fix(ci): freeze the published major docs on X.0.0 tags by @DamienHarper in #334
- chore: fix the 4.x CI with the latest PHPStan and PHPUnit by @DamienHarper in #335
References
Full Changelog: 4.3.1...4.4.0