DamienHarper / auditor-bundle

The missing audit log library
MIT License
399 stars 121 forks source link

Deprecation in Symfony 6.4 #381

Closed craigh closed 10 months ago

craigh commented 11 months ago
Q A
auditor-bundle version dev-master
PHP version 8.2.13
Database MySQL 8

Summary

Since symfony/routing 6.4: The "routing.loader.annotation" service is deprecated, use the "routing.loader.attribute" service instead. It is being referenced by the "DH\AuditorBundle\Routing\RoutingAnnotationLoader" service.

Current behavior

How to reproduce

Expected behavior

b1rdex commented 11 months ago

This deprecation makes \DH\AuditorBundle\Routing\RoutingAnnotationLoader unusable @ symfony 7

Cannot autowire service "DH\AuditorBundle\Routing\RoutingAnnotationLoader":
argument "$annotatedRouteController" of method "__construct()"
references class "Symfony\Bundle\FrameworkBundle\Routing\AnnotatedRouteControllerLoader"
but no such service exists.

UPD: I posted workaround for Symfony 7 compatibility in https://github.com/DamienHarper/auditor-bundle/issues/382

DamienHarper commented 10 months ago

I close this issue since this should be fixed in master branch (PR #399). Feel free to reopen if needed.

craigh commented 10 months ago

Thanks @DamienHarper Is a new release coming soon?