You've already forked wc-licensed-product
Bump version to 0.5.0
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
28
CHANGELOG.md
28
CHANGELOG.md
@@ -7,6 +7,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [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
|
## [0.4.0] - 2026-01-24
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* Plugin Name: WooCommerce Licensed Product
|
* Plugin Name: WooCommerce Licensed Product
|
||||||
* Plugin URI: https://src.bundespruefstelle.ch/magdev/wc-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.
|
* 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: Marco Graetsch
|
||||||
* Author URI: https://src.bundespruefstelle.ch/magdev
|
* Author URI: https://src.bundespruefstelle.ch/magdev
|
||||||
* License: GPL-2.0-or-later
|
* License: GPL-2.0-or-later
|
||||||
@@ -28,7 +28,7 @@ if (!defined('ABSPATH')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Plugin constants
|
// 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_FILE', __FILE__);
|
||||||
define('WC_LICENSED_PRODUCT_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
define('WC_LICENSED_PRODUCT_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
||||||
define('WC_LICENSED_PRODUCT_PLUGIN_URL', plugin_dir_url(__FILE__));
|
define('WC_LICENSED_PRODUCT_PLUGIN_URL', plugin_dir_url(__FILE__));
|
||||||
|
|||||||
Reference in New Issue
Block a user