Skip to content

Release v1.0.4

Choose a tag to compare

@github-actions github-actions released this 27 Jan 14:05

Merge branch 'main' of github.com:nowo-tech/PerformanceBundle into main

Changelog

Fixed

  • Environment filter empty when no data - Fixed issue where environment filter dropdown was empty when no data was recorded yet
    • getAvailableEnvironments() now uses allowedEnvironments from configuration as fallback when database is empty
    • Falls back to current environment if allowedEnvironments is empty
    • Final fallback to default environments (['dev', 'test', 'prod']) if all else fails
    • Ensures filter always has options even when no performance data has been recorded
    • Fixes issue where users couldn't select an environment in the dashboard filter

Added

  • Comprehensive test coverage - Added 41 new tests for improved reliability
    • 13 tests for getAvailableEnvironments() method covering cache, database, and fallback scenarios
    • 16 tests for export functionality (CSV and JSON) covering disabled states, access control, empty data, and exceptions
    • 12 tests for buildFiltersFromRequest() method covering all filter types and edge cases
    • Improves code quality and ensures edge cases are properly handled

Commits

  • Merge branch 'main' of github.com:nowo-tech/PerformanceBundle into main (c5b4c2f)
  • chore: Release version 1.0.4 with environment filter fix and enhanced test coverage (c01ce97)
  • Apply PHP CS Fixer fixes [skip ci] (a03b536)