From 3fe173686baf52122e67d29fc78b3114f4b1dc81 Mon Sep 17 00:00:00 2001 From: magdev Date: Mon, 26 Jan 2026 15:10:23 +0100 Subject: [PATCH] Bump version to 0.5.1 Co-Authored-By: Claude Opus 4.5 --- CHANGELOG.md | 12 ++++++++++++ wc-licensed-product.php | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aad3a94..7307c5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.5.1] - 2026-01-26 + +### Fixed + +- Product versions now sort correctly by version DESC when added via AJAX in admin +- License actions in admin overview are now always visible instead of only on hover + +### Changed + +- Added `compareVersions()` JavaScript function for proper semantic version comparison +- Updated CSS with `!important` to override WordPress default hover-only behavior for row actions + ## [0.5.0] - 2026-01-25 ### Added diff --git a/wc-licensed-product.php b/wc-licensed-product.php index 1578f46..85a2a64 100644 --- a/wc-licensed-product.php +++ b/wc-licensed-product.php @@ -3,7 +3,7 @@ * Plugin Name: WooCommerce Licensed Product * Plugin URI: https://src.bundespruefstelle.ch/magdev/wc-licensed-product * Description: WooCommerce plugin to sell software products using license keys with domain-based validation. - * Version: 0.5.0 + * Version: 0.5.1 * Author: Marco Graetsch * Author URI: https://src.bundespruefstelle.ch/magdev * License: GPL-2.0-or-later @@ -28,7 +28,7 @@ if (!defined('ABSPATH')) { } // Plugin constants -define('WC_LICENSED_PRODUCT_VERSION', '0.5.0'); +define('WC_LICENSED_PRODUCT_VERSION', '0.5.1'); define('WC_LICENSED_PRODUCT_PLUGIN_FILE', __FILE__); define('WC_LICENSED_PRODUCT_PLUGIN_DIR', plugin_dir_path(__FILE__)); define('WC_LICENSED_PRODUCT_PLUGIN_URL', plugin_dir_url(__FILE__));