From 8c24dac85c4e30be5340810c57fa54955f3dc0f0 Mon Sep 17 00:00:00 2001 From: magdev Date: Sun, 1 Feb 2026 15:35:35 +0100 Subject: [PATCH] Fix composer dependency version constraint (v0.0.2) - Use ^0.2.2 instead of dev-main for wc-licensed-product-client - Set minimum-stability to stable for CI/CD compatibility Co-Authored-By: Claude Opus 4.5 --- CHANGELOG.md | 7 +++++++ composer.json | 4 ++-- wp-prometheus.php | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e0d7dda..f24d4e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.0.2] - 2026-02-01 + +### Fixed + +- Fixed composer.json dependency version constraint for wc-licensed-product-client (^0.2.2 instead of dev-main) +- Changed minimum-stability back to stable + ## [0.0.1] - 2026-02-01 ### Added diff --git a/composer.json b/composer.json index b4a3820..c1adf01 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ ], "require": { "php": ">=8.3", - "magdev/wc-licensed-product-client": "dev-main", + "magdev/wc-licensed-product-client": "^0.2.2", "promphp/prometheus_client_php": "^2.10" }, "require-dev": { @@ -56,6 +56,6 @@ "phpcbf": "phpcbf", "test": "phpunit" }, - "minimum-stability": "dev", + "minimum-stability": "stable", "prefer-stable": true } diff --git a/wp-prometheus.php b/wp-prometheus.php index 6d37ad1..a5b7d89 100644 --- a/wp-prometheus.php +++ b/wp-prometheus.php @@ -3,7 +3,7 @@ * Plugin Name: WP Prometheus * Plugin URI: https://src.bundespruefstelle.ch/magdev/wp-prometheus * Description: Prometheus metrics endpoint for WordPress with extensible hooks for custom metrics. - * Version: 0.0.1 + * Version: 0.0.2 * Requires at least: 6.4 * Requires PHP: 8.3 * Author: Marco Graetsch @@ -26,7 +26,7 @@ if ( ! defined( 'ABSPATH' ) ) { * * @var string */ -define( 'WP_PROMETHEUS_VERSION', '0.0.1' ); +define( 'WP_PROMETHEUS_VERSION', '0.0.2' ); /** * Plugin file path.