From bcabf8feb20d6e767ab07d6b570a181a23641c6e Mon Sep 17 00:00:00 2001 From: magdev Date: Sun, 25 Jan 2026 18:32:24 +0100 Subject: [PATCH] Bump version to 0.5.0 Co-Authored-By: Claude Opus 4.5 --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ wc-licensed-product.php | 4 ++-- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e061121..aad3a94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.5.0] - 2026-01-25 + +### Added + +- Multi-domain licensing support: Customers can now purchase multiple licenses for different domains in a single order +- Each cart item quantity requires a unique domain at checkout +- New "Enable Multi-Domain Licensing" setting in WooCommerce > Settings > Licensed Products +- Multi-domain checkout UI for WooCommerce Blocks checkout +- DOM injection fallback for checkout domain fields when React component fails to render +- Grouped license display in customer account page by product/order +- "Older versions" collapsible section in customer download area +- Updated email templates to show licenses grouped by product + +### Changed + +- Customer account licenses page now shows licenses grouped by product package +- Order meta now stores `_licensed_product_domains` array for multi-domain orders +- Updated translations with 19 new strings for multi-domain functionality (de_CH) +- Refactored checkout blocks JavaScript to use ExperimentalOrderMeta slot pattern + +### Technical Details + +- `CheckoutBlocksIntegration` now uses `registerPlugin` with `woocommerce-checkout` scope +- `StoreApiExtension` handles both single-domain and multi-domain data formats +- `CheckoutController` validates unique domains per product in multi-domain mode +- `AccountController` groups licenses by product for package-style display +- Backward compatible: existing single-domain orders continue to work + ## [0.4.0] - 2026-01-24 ### Added diff --git a/wc-licensed-product.php b/wc-licensed-product.php index ac45a3c..1578f46 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.4.0 + * Version: 0.5.0 * 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.4.0'); +define('WC_LICENSED_PRODUCT_VERSION', '0.5.0'); 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__));