*** WEARFITS Shoes Tryon Changelog ***

2026-04-24 - version 0.2.4
* Bumped "Tested up to: 6.9" -> "Tested up to: 6.9.4" and "WC tested up to: 9.4" -> "10.7" so the Woo Marketplace Validation Test accepts the headers. No functional changes.

2026-04-24 - version 0.2.3
* Plugin Name header renamed "WEARFITS Shoe Try-On" -> "WEARFITS Shoes Tryon" so the WordPress.org-derived slug matches the plugin folder, text domain, and meta-key prefix (wearfits-shoes-tryon). Visible admin menu, button labels, and frontend UI copy still read "WEARFITS Try-On"; this change affects only the plugins-list title and the WP.org permalink.
* Release zip now includes the full source tree (src/, package.json, webpack.config.js, bin/) alongside compiled assets, satisfying the WP.org "human-readable code" guideline without requiring a public development repository.
* Added a "Source code" section to the readme listing where source lives and how to rebuild.

2026-04-24 - version 0.2.2
* Plugin directory readme tuned for WordPress.org submission: trimmed the tag list to five, added an External services section documenting every outbound request to api.wearfits.com with links to the WEARFITS Terms of Service and Privacy Policy, and an expanded Privacy section listing the exact option and post-meta keys the plugin stores.

2026-04-23 - version 0.2.1
* Admin product tab updates job status live (Queued → Processing → Completed) without a page reload; polls an internal AJAX endpoint every 3 s.
* Removed the post-completion page reload that could race with classic/TinyMCE editor init and trigger "Can't create duplicate variable: 'LocaleTimestampParser'" errors.
* First Action Scheduler poll after a digitize submission is scheduled 5 s out (was 30 s) so the admin UI reflects progress within one poll cycle.

2026-04-22 - version 0.2.0
* Added settings page for the WEARFITS API key (WooCommerce → WEARFITS Try-On). Key can also be supplied via the WEARFITS_SHOES_TRYON_API_KEY constant in wp-config.php.
* Added "Digitize with WEARFITS" button in the product editor. Submits gallery images to api.wearfits.com/api/v1/shoe-3d, polls job status via Action Scheduler with exponential backoff, writes the returned viewer URL into product meta on completion.
* Failure reasons reported by WEARFITS (e.g. upload errors) surface directly on the product edit screen instead of silently timing out.
* Server-side guards: atomic per-product submission lock (add_option UNIQUE), shoe/footwear category eligibility check (filterable), strict public-URL validation for both submitted images and returned viewer URLs (SSRF / header-injection protection).
* Desktop QR modal: focus trap, Esc to close, improved mobile detection (iPadOS correctly classified as mobile).
* Admin CSS/JS moved to versioned enqueued assets (CSP-friendly).
* Added bin/build-release-zip.sh to produce a ready-to-install plugin zip with compiled assets bundled.

2026-04-22 - version 0.1.0
* Initial MVP release. Manual per-product try-on URL + Virtual Try-On button with desktop QR modal and mobile deep link.
