=== Customer Intelligence for WooCommerce Changelog ===

= 1.3.0 (Aug 28, 2026) =

* Improved WooCommerce customer commerce tracking with persisted incremental order facts, consistent paid-order metrics, refund handling, order reassignment, and HPOS-compatible synchronization without repeatedly rescanning full order histories.
* Hardened customer identity resolution for registered and guest customers, including explicit order-profile links, normalized email and phone matching, conflict detection, and safer profile contact updates.
* Added bounded, resumable data migrations with retry and unresolved-item accounting so large customer and order datasets can upgrade without long synchronous processing or silently skipped records.
* Improved customer intelligence consistency so value tier, lifecycle, status, trust, risk, loyalty context, and activity data refresh whenever underlying commerce data changes.
* Added deterministic event idempotency with backward-compatible adoption of legacy events to prevent duplicate WooCommerce, Loyalty, and Blacklist activity during synchronization and upgrades.
* Improved CRM email notification reliability with atomic retry leases, bounded task batching, continuation for large assignee workloads, and timezone-safe due-soon, overdue, escalation, and daily-summary processing.
* Made the Add task form in the WooCommerce order Customer task metabox collapsible, with balanced toggle icon and label alignment and colors that follow each user's WordPress admin color scheme.
* Added an explicit data-retention contract that preserves Customer Intelligence data on uninstall by default while supporting administrator-controlled removal.
* Improved optional Loyalty and Blacklist Manager integration boundaries while keeping integration-specific functionality isolated when related plugins or licenses are unavailable.
* Expanded regression coverage for WooCommerce HPOS and legacy order storage, refunds, identity conflicts, migrations, event deduplication, notification retries, timezone handling, and large task batches.

= 1.2.2 (Jul 30, 2026) =

* Redesigned the WooCommerce order Customer history metabox with a clearer customer identity, lifecycle and value badges, lifetime metrics, trust and risk scores, recent activity, and direct profile/task actions.
* Improved Blacklist Manager, Blacklist Manager Premium, and Loyalty integrations so customer events, risk scores, loyalty history, and task automation synchronize immediately when supported integration signals are recorded.
* Fixed customer event queries to filter by customer and event source before applying limits, reassociated checkout events after order creation, and added historical Loyalty event backfill support.
* Fixed stored risk scores becoming stale after integration events by refreshing affected customer intelligence data and consistently using current risk factors.
* Fixed the Tasks form expanding across the task list after selecting a customer with a long label, and hardened SelectWoo fields, settings controls, order task fields, and shared admin grids against similar responsive overflow.
* Expanded integration coverage for event-source filtering, dynamic-versus-stored risk, checkout event reassociation, Premium payment-abuse hooks, and Loyalty history backfill.
* Hardened email settings translations, Customer history badge rendering, plain-text task digests, and prepared event queries for WordPress.org release validation.

= 1.2.1 (Jul 23, 2026) =

* Added a direct customer email composer to the Identity panel, with WooCommerce email branding, sender settings, configurable template content, secure AJAX delivery, and customer activity logging.
* Redesigned Overview as an action dashboard with data freshness, linked lifetime KPIs, attention queues, priority customers, due-soon tasks, and drill-down customer distributions.
* Corrected customer activity semantics so historical order sync uses meaningful order or loyalty activity dates, then refreshes status, lifecycle, and risk classifications in background batches.

= 1.2.0 (Jul 10, 2026) =

* Added configurable customer scoring thresholds for value tier, lifecycle stage, and customer status so stores can tune High value, Very high value, Top customer, dormant, at-risk, inactive, and loyal classifications.
* Added optional WooCommerce Loyalty integration that syncs registered-customer loyalty level and points into Customer Intelligence profiles when the Loyalty plugin is active and licensed.
* Added Loyalty-aware customer list/profile display with Loyalty level badges, available points, earned points, and badge text colors from the Loyalty plugin customization settings.
* Added Loyalty event ingestion and configurable task automation for level changes, large redemptions, abnormal downgrades/resets, dormant high-points customers, and reconciliation issues.
* Added optional Blacklist Manager integration that records suspect, blocked, cleared, and match signals into customer activity and customer risk scoring when the core plugin is active.
* Added optional Blacklist Manager Premium integration for premium order risk, matched rules, anti-bot, payment abuse, device, and gateway fraud signals when Premium is active and licensed.
* Added Blacklist Manager status badges, activity source labels, risk factors, and Premium security signals on customer profiles.
* Added a unified Maintenance tool to sync legacy Blacklist Manager signals, including Premium risk signals when Premium is available.
* Improved Loyalty integration guards so Loyalty-specific settings, columns, filters, panels, and profile data are hidden when the Loyalty plugin is inactive or its license is not active.
* Improved Blacklist Manager integration guards so core and Premium-specific UI only appears when the corresponding plugin and license state is available.
* Improved Customer profile overview layout so Commerce summary and Identity fill the section cleanly when optional Loyalty data is not available.
* Improved Maintenance operations with AJAX batch progress feedback for long-running sync, recalculation, and backfill tasks.

= 1.1.2 (Jun 29, 2026) =

* Added CRM task email notifications for assignment, reassignment, due soon, overdue digest, escalation, completion, reopened tasks, and daily follow-up summaries.
* Added a CRM email group inside WooCommerce email settings and a Customers > Emails shortcut.
* Improved WooCommerce-style email templates for CRM task notifications and task digests.
* Added overdue task count badges to the Customers > Tasks submenu.

= 1.1.1 (Jun 19, 2026) =

* Improved profile tags and segments with Product tags-style autocomplete, existing-term selection, colored chips, readable contrast, and scroll-preserving add/remove actions.
* Added clickable Customers list rows with keyboard support while preserving form controls, links, buttons, and bulk actions.
* Replaced the WooCommerce registered-customer order filter with Customer profile filtering, better phone search normalization, and "Filter by Customer" wording.
* Refined SelectWoo fields, task form alignment, priority/status spacing, and order customer selector styling.
* Moved email and phone copy actions inline in the Identity metabox using icon buttons.
* Simplified customer wording, including "Customer ID", sentence-case labels, and the Customers menu position before WooCommerce Products.

= 1.1.0 (Jun 15, 2026) =

* Updated the WordPress Dashboard follow-up tasks widget to appear at the top of the Dashboard.
* Refreshed the Tasks admin page with a task-specific header, summary cards, clearer form/list panels, and responsive layout improvements while staying familiar to WordPress admin.

= 1.0.0 =

* Initial release with overview dashboard, customer profiles, customer list filters/export, notes, tasks, tags, segments, WooCommerce order integration, Sync Center, HPOS compatibility, and custom database tables.
