Skip to content

Release v1.0.6

Choose a tag to compare

@github-actions github-actions released this 27 Jan 15:21

chore: Prepare release v1.0.6

  • Fix: Symfony 7 compatibility (move help from AsCommand to configure)
  • Add: 60+ new tests for improved reliability
  • Update: CHANGELOG, UPGRADING, and RELEASE_NOTES

Changelog

Fixed

  • Symfony 7 compatibility - Fixed compatibility issue with Symfony 7.x commands
    • Moved help parameter from #[AsCommand] attribute to configure() method using setHelp()
    • Fixed "Unknown named parameter $help" error in all commands
    • All commands now use configure() method for help text (compatible with Symfony 6.x and 7.x)
    • Commands affected: check-dependencies, diagnose, create-table, create-records-table, set-route

Added

  • Comprehensive test coverage - Added 60+ new tests for improved reliability
    • 7 tests for getChartData() method covering all metrics (requestTime, queryTime, totalQueries, memoryUsage)
    • 5 tests for accessStatistics() method covering disabled states, exceptions, and date ranges
    • 7 tests for subscriber detection in diagnose page
    • 13 tests for getAvailableEnvironments() method (already in v1.0.4)
    • 16 tests for export functionality (CSV and JSON) (already in v1.0.4)
    • 12 tests for buildFiltersFromRequest() method (already in v1.0.4)
    • Improves code quality and ensures edge cases are properly handled

Commits

  • chore: Prepare release v1.0.6 (9bcb2e3)
  • refactor: Clean up command classes and enhance help documentation (5b55b11)
  • Apply PHP CS Fixer fixes [skip ci] (718577f)