packagist damienharper/auditor-bundle 7.1.0

3 hours ago

auditor-bundle 7.1.0

auditor-bundle 7.1 aligns with auditor 4.1: it pulls in
auditor-doctrine-provider
as a direct dependency, documents the upcoming DoctrineProvider deprecation, and ships
a bug fix for zero-result translation handling.


✨ What's new

auditor-doctrine-provider is now a direct dependency

auditor-bundle now explicitly requires
damienharper/auditor-doctrine-provider,
the new standalone package that hosts DoctrineProvider and all related Doctrine classes
— extracted from damienharper/auditor in 4.1.

No action required. The bundle wires everything transparently. All existing
dh_auditor.yaml configurations continue to work without modification.

Users relying on DoctrineProvider directly (without the bundle) should install it explicitly:

composer require damienharper/auditor-doctrine-provider

🐛 Bug fixes

Zero-result translation crash in the audit viewer (#605)

Filtering entities in the audit viewer to produce zero results triggered a 500 error when
using a locale with complex plural rules (e.g. Russian). The plural translation string for
%formatted_count% did not cover the 0 case, causing Symfony's translator to throw.
The translation now handles zero correctly across all supported locales.


🔨 Deprecations

As of damienharper/auditor 4.1, all classes under DH\Auditor\Provider\Doctrine\ are
deprecated and will be removed in auditor 5.0. auditor-bundle users are unaffected —
the bundle handles the transition automatically.

For users of DoctrineProvider outside the bundle, see
docs/upgrade/v8.md for the migration path.


What's Changed

Features

  • Require auditor-doctrine-provider and document DoctrineProvider deprecation by @DamienHarper in #606

Bug fixes

  • Fix translations when zero entities are found in the audit viewer by @dmitryuk in #605

Dependencies


References

Full Changelog: 7.0.1...7.1.0

Don't miss a new auditor-bundle release

NewReleases is sending notifications on new releases.