From 90cb8d97bdf237171a99910ef70efb9d2612dca3 Mon Sep 17 00:00:00 2001 From: magdev Date: Tue, 27 Jan 2026 11:59:48 +0100 Subject: [PATCH] Update CLAUDE.md with v0.5.6 and v0.5.7 session history Co-Authored-By: Claude Opus 4.5 --- CLAUDE.md | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 167afc0..f18a10e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1437,3 +1437,61 @@ Critical bug fix for response signing. The key derivation algorithm was incompat - Length: 32 bytes (256 bits) - Info: license_key (context-specific info) - **Breaking change for existing signatures** - customer secrets will change after upgrade + +### 2026-01-27 - Version 0.5.6 - License Settings Tab Visibility Fix + +**Overview:** + +Fixed License Settings tab visibility for non-licensed product types and updated README with v0.5.x features. + +**Bug Fix:** + +- License Settings tab now only shows for Licensed Product and Licensed Variable Product types +- Previously the tab was visible on all product types due to CSS `!important` override forcing `display: block` + +**Modified files:** + +- `assets/css/admin.css` - Changed from `display: block !important` to `display: none` for `.show_if_licensed` and `.show_if_licensed-variable` +- `src/Product/LicensedProductType.php` - Added consolidated `toggleLicensedProductOptions()` JavaScript function +- `README.md` - Updated with complete feature documentation for v0.5.x features + +**Technical notes:** + +- CSS now hides License Settings tab by default +- JavaScript `toggleLicensedProductOptions()` function shows/hides tab based on product type selector +- Function is called both on page load and on product type change +- README updated with: Variable Licensed Products, Multi-Domain Licensing, Per-License Secrets, Download Statistics, Configurable Rate Limiting + +**Release v0.5.6:** + +- Created release package: `releases/wc-licensed-product-0.5.6.zip` (1.1 MB) +- SHA256: `4d35a319fe4cb4e7055bae17fc030487ca05e5e9ac905f76d0ac62002bde4336` +- Tagged as `v0.5.6` and pushed to `main` branch + +### 2026-01-27 - Version 0.5.7 - Settings UI Cleanup + +**Overview:** + +Removed redundant "Default" prefix from setting labels on the Default Settings page for cleaner UI. + +**Changed:** + +- "Max Activations" (was "Default Max Activations") +- "License Validity (Days)" (was "Default License Validity (Days)") +- "Bind to Major Version" (was "Default Bind to Major Version") + +**Modified files:** + +- `src/Admin/SettingsController.php` - Removed "Default" prefix from three setting labels + +**Technical notes:** + +- Labels are cleaner since the page section itself is already named "Default Settings" +- No functional changes, purely UI improvement +- Updated all translations (388 strings) + +**Release v0.5.7:** + +- Created release package: `releases/wc-licensed-product-0.5.7.zip` (856 KB) +- SHA256: `ceb4d57598f576f4f172153ff80df8c180ecd4dca873cf109327fc5ac718930f` +- Tagged as `v0.5.7` and pushed to `main` branch