packagist damienharper/auditor-bundle 7.2.0

13 hours ago

auditor-bundle 7.2.0

auditor-bundle 7.2 aligns with auditor 4.2 and auditor-doctrine-provider 1.1:
it tags DoctrineProvider with kernel.reset so that Symfony Messenger workers
audit every message correctly — not just the first one.


✨ What's new

Support for long-running processes (Symfony Messenger workers)

DoctrineProvider now implements Symfony\Contracts\Service\ResetInterface (see
auditor 4.2.0 and
auditor-doctrine-provider 1.1.0).

Without the kernel.reset tag on its service definition, Symfony's services_resetter
never calls reset() between Messenger messages, leaving stale PreparedStatement caches
and subscriber transaction state that silently break auditing after the first message in
worker processes.

The bundle now tags DoctrineProvider with kernel.reset automatically — no configuration
change is needed.


What's Changed

Bug fixes

  • fix: tag DoctrineProvider with kernel.reset for long-running processes by @Spomky in #602

CI

  • ci: add workflow_dispatch trigger to sync-docs workflow

References

Full Changelog: 7.1.0...7.2.0

Don't miss a new auditor-bundle release

NewReleases is sending notifications on new releases.