• v0.5.0 9a94b4a7a5

    Release 0.5.0
    All checks were successful
    Create Release Package / test (push) Successful in 1m13s
    Create Release Package / build-release (push) Successful in 1m17s
    Stable

    magdev released this 2026-02-26 07:42:13 +00:00 | 1 commits to main since this release

    Added

    • Comprehensive PHPUnit test suite with 189 tests and 329 assertions:
      • CustomMetricBuilderTest (35 tests) - validation, CRUD, import/export
      • AuthenticationTest (13 tests) - Bearer token, query param, header extraction
      • StorageFactoryTest (25 tests) - adapter config, env vars, connection testing
      • RuntimeCollectorTest (22 tests) - endpoint normalization, histograms, singleton
      • DashboardProviderTest (27 tests) - registration validation, path traversal security
      • InstallerTest (11 tests) - activation, deactivation, uninstall cleanup
      • CollectorTest (10 tests) - registry, metric registration, render output
      • MetricsEndpointTest (5 tests) - rewrite rules, request routing
    • Test bootstrap with WordPress function stubs and GlobalFunctionState helper
    • CI/CD test job in Gitea release workflow that gates release builds
    • php-mock/php-mock-phpunit dependency for mocking WordPress functions in namespaced code

    Changed

    • Release pipeline now requires passing tests before building release packages
    Downloads