Skip to content

Release v0.0.5

Choose a tag to compare

@github-actions github-actions released this 27 Jan 08:04

fix: Remove YAML middleware configuration for universal compatibility

  • Removed YAML middleware configuration (middlewares/yamlMiddleware)
  • YAML options not reliably available across all DoctrineBundle versions
  • Some versions (like 2.17.1) don't support these options
  • Changed to use only reflection-based middleware via QueryTrackingConnectionSubscriber
  • Works consistently across all DoctrineBundle versions (2.x and 3.x)
  • Updated DiagnoseCommand to reflect new approach
  • Updated documentation (CHANGELOG, UPGRADING, COMPATIBILITY)
  • Explicitly registered QueryTrackingConnectionSubscriber in services.yaml

Changelog

Fixed

  • DoctrineBundle middleware configuration - Removed YAML middleware configuration completely
    • YAML middleware options (middlewares and yamlMiddleware) are not reliably available across all DoctrineBundle versions
    • Some versions (like 2.17.1) do not support these options, causing "Unrecognized option" errors
    • Changed to use only reflection-based middleware application via QueryTrackingConnectionSubscriber
    • This approach works consistently across all DoctrineBundle versions (2.x and 3.x)
    • No YAML configuration required, avoiding compatibility issues
    • Updated documentation to reflect this change

Commits

  • fix: Remove YAML middleware configuration for universal compatibility (a7696f1)
  • Merge branch 'main' of github.com:nowo-tech/PerformanceBundle into main (d2b5c3a)
  • Apply PHP CS Fixer fixes [skip ci] (6dd8029)