*** Heartly Intelligent Commerce Changelog ***

2026-06-10 - version 1.1.5
* Fixed - Plugin Check (Error): parse_url() -> wp_parse_url() in sync_settings_with_heartly()
* Fixed - Plugin Check (Error): added /* translators: %s ... */ comment to __() in erase_personal_data()
* Fixed - Plugin Check (Warnings): documented storefront read-only $_GET inspection and GDPR meta_query usage with inline phpcs:ignore annotations

2026-06-10 - version 1.1.4
* Fixed - Fatal error on activation in the WP.org build: get_shop_url() was stripped with the updater code but is required by settings sync; moved outside the stripped block
* Dev - build.sh now lints the stripped build (php -l) and verifies no $this-> call references a removed method

2026-05-30 - version 1.1.3
* Security - REST /heartly/v1/status endpoint uses __return_true permission callback (intentionally public; returns only status + version, no PII or fingerprinting). Removes previous header-presence check that was security theatre.

2026-05-21 - version 1.1.2
* Updated - Plugin headers: Tested up to WordPress 7.0 (was 6.9)

2026-05-21 - version 1.1.1
* Fixed - Plugin URI header points to the live WooCommerce plugin landing page (was returning 404)
* Fixed - readme.txt Terms of Service link points to the canonical /terms page (was returning 404)
* Updated - Contributors list in readme.txt includes all active WordPress.org committers

2026-04-22 - version 1.1.0
* Added - PAngV § 11 compliance: real-time product price-change notifications
* Added - Hybrid hooks: save_post_product + updated_post_meta + woocommerce_update_product_variation with 10s transient dedupe (catches admin-UI edits, CLI/bulk meta updates, and per-variation edits)
* Added - x-heartly-event header on webhook requests for event-type routing
* Backwards compatible: existing order/coupon/checkout/flash-sale/GDPR behavior unchanged

2026-03-25 - version 1.0.27
* Updated - Plugin headers: Tested up to WordPress 6.9.4; WC tested up to 10.6.1 (QIT Validation warnings)

2026-03-24 - version 1.0.26
* Fixed - QIT Security: sanitize `heartly` and `flash_sale_id` query params before conditional checks
* Fixed - QIT Security: REST status route now uses dedicated permission callback (no __return_true)

2026-03-24 - version 1.0.25
* Updated - Plugin headers: Tested up to WordPress 6.9; WC tested up to 10.6 (WooCommerce Quality Insights Toolkit Validation)

2026-03-24 - version 1.0.24
* Fixed - QIT Security: use WooCommerce logger instead of PHP error_log; admin strings use esc_html_e / esc_html__; uninstall script has no debug logging

2026-03-24 - version 1.0.23
* Fixed - Checkout redirect and coupon handling only when request includes Heartly flash_sale_id or heartly=1 (WooCommerce QIT / plain add-to-cart compatible)
* Fixed - Admin API sync and webhook logs only when HEARTLY_DIAGNOSTIC is defined (no noise in QIT PHP error log)

2026-03-24 - version 1.0.22
* Fixed - WooCommerce active check using is_plugin_active (multisite-safe); admin notice callback defined before use
* Fixed - Checkbox setting persists when auto-redirect is turned off
* Changed - REST /wp-json/heartly/v1/status returns only status and version (no environment fingerprinting)
* Changed - Deactivation hook always registered; debug logging only when WP_DEBUG

2026-03-24 - version 1.0.21
* Changed - Plugin package folder and main file renamed to heartly-intelligent-commerce for WooCommerce Marketplace
* Updated - Text domain and WordPress identifiers to heartly-intelligent-commerce

2026-03-24 - version 1.0.20
* Fixed - changelog.txt format for WooCommerce Marketplace validation
* Updated - readme changelog entry to match WooCommerce.com changelog rules

2026-03-24 - version 1.0.19
* Added - Root-level changelog.txt for WooCommerce Marketplace submission
* Updated - Version alignment across plugin header, constants, and readme

2026-03-24 - version 1.0.16
* Updated - Marketplace submission preparation improvements

2025-12-04 - version 1.0.11
* Removed - Manual Register Webhooks button from plugin settings
* Updated - Webhooks now register automatically during OAuth connection
* Updated - Zero-config setup without manual webhook configuration

2025-12-04 - version 1.0.10
* Fixed - Webhook registration flow via manual fallback button
* Added - Register Webhooks button in WooCommerce Heartly settings

2025-12-04 - version 1.0.9
* Added - Automatic webhook registration on plugin activation
* Updated - Order tracking reliability

2025-12-04 - version 1.0.8
* Added - Flash sale ID tracking for order attribution
* Added - Automatic commission tracking for WooCommerce orders

2025-01-25 - version 1.0.7
* Fixed - Automatic checkout redirect with URL-based add-to-cart

2025-01-25 - version 1.0.6
* Added - Manual Sync Now button in settings
* Added - Last sync timestamp display on settings page

2025-01-25 - version 1.0.5
* Fixed - Initial settings sync timing for faster first setup

2025-01-25 - version 1.0.4
* Added - WooCommerce HPOS compatibility declaration
* Added - Cart and Checkout Blocks compatibility declaration

2025-01-25 - version 1.0.3
* Added - Automatic settings sync for checkout and cart URLs
* Fixed - Checkout redirect for language-specific checkout URLs

2025-01-25 - version 1.0.2
* Added - Automatic update checker
* Added - Changelog display in WordPress update screen

2025-01-25 - version 1.0.1
* Fixed - Coupon application timing after add to cart

2025-01-25 - version 1.0.0
* Added - Initial release
