• v0.7.5 57e1b838cc

    Release 0.7.5
    All checks were successful
    Create Release Package / build-release (push) Successful in 1m9s
    Stable

    magdev released this 2026-02-03 10:29:33 +00:00 | 0 commits to main since this release

    Added

    • Grafana Dashboard: Example dashboard for license metrics monitoring
      • 24 panels organized into 4 sections: License Overview, Downloads & Versions, API Metrics, Errors & Rate Limiting
      • Template variables for data source and instance filtering
      • Includes example Prometheus alerting rules
    • WP Prometheus Dashboard Integration: Dashboard automatically registered with wp-prometheus
      • Appears in Settings > WP Prometheus > Dashboards when metrics are enabled
      • Uses wp_prometheus_register_dashboards hook for seamless integration
    • Documentation for Grafana dashboard installation and PromQL query examples

    New Files

    • docs/grafana-dashboard.json - Complete Grafana dashboard with 24 panels
    • docs/grafana-dashboard.md - Installation and usage documentation

    Changed

    • Updated README with "Monitoring with Prometheus & Grafana" section
    Downloads
  • v0.7.4 73ba7fb929

    Release 0.7.4
    All checks were successful
    Create Release Package / build-release (push) Successful in 1m8s
    Stable

    magdev released this 2026-02-03 09:52:59 +00:00 | 3 commits to main since this release

    Added

    • Prometheus Metrics Integration: Expose license and API metrics for monitoring
      • New "Metrics" settings tab with enable/disable toggle
      • License gauges: total by status, lifetime, expiring, expiring soon
      • Download gauges: total downloads, active versions count
      • API counters: requests by endpoint/result, rate limit exceeded events, validation errors by type
      • Requires WP Prometheus plugin

    New Files

    • src/Metrics/PrometheusController.php - Prometheus metrics collection and registration

    Technical Details

    • Hooks into wp_prometheus_collect_metrics action for metric collection
    • API counters stored persistently in WordPress options (wclp_prometheus_counters)
    • Static methods for incrementing counters from API controllers
    • Metrics only collected when enabled in settings
    Downloads
  • v0.7.3 548b2ae8af

    Release 0.7.3
    All checks were successful
    Create Release Package / build-release (push) Successful in 1m15s
    Stable

    magdev released this 2026-02-01 12:53:53 +00:00 | 4 commits to main since this release

    Fixed

    • Docker Environment Support: API Verification Secret now visible on customer licenses page in Docker environments
      • Added ResponseSigner::getServerSecret() method to check multiple sources for server secret
      • Checks PHP constant, getenv(), $_ENV, and $_SERVER in priority order
      • Maintains full backward compatibility with standard WordPress installations

    Changed

    • Updated Plugin.php to use ResponseSigner::isSigningEnabled() instead of direct constant check

    Technical Details

    • Root cause: Docker WordPress setups using wp-config-docker.php with getenv_docker() don't always define PHP constants
    • The environment variable was accessible but the constant wasn't being created
    • New getServerSecret() method centralizes all server secret retrieval logic
    Downloads
  • v0.7.2 5826c744dc

    Release 0.7.2
    All checks were successful
    Create Release Package / build-release (push) Successful in 1m1s
    Stable

    magdev released this 2026-01-29 21:42:29 +00:00 | 8 commits to main since this release

    Added

    • Gitea CI/CD Pipeline: Automated release workflow triggered on version tags
      • Automatic package creation with proper WordPress subdirectory structure
      • SHA256 checksum generation for package integrity
      • Changelog extraction for release notes
      • Pre-release detection for hyphenated tags (e.g., v0.7.2-rc1)

    Changed

    • Git Submodule Migration: magdev/wc-licensed-product-client is now a git submodule
      • Located at lib/wc-licensed-product-client instead of being fetched via Composer VCS
      • Composer now uses path type repository pointing to local submodule
      • Improves version control clarity and development workflow
      • Symlinked to vendor/ during composer install

    Developer Notes

    • New file: .gitea/workflows/release.yml for CI/CD automation
    • Updated composer.json: Repository type changed from vcs to path
    • Created .gitmodules for submodule tracking
    • Release packages now exclude lib/ directory (vendor has installed copy)
    • Submodule checkout required: git submodule update --init --recursive
    Downloads