TrustLens

Changelog

All notable TrustLens releases from the plugin readme. Track new detection workflows, dashboard improvements, operational fixes, and core platform updates in one timeline.

Version 1.1.8

Latest Release Maintenance
Fixed
  • Prevented excessive Action Scheduler task accumulation so order meta saves no longer trigger unnecessary WooCommerce analytics reimports.
Added
  • Daily cleanup of completed Action Scheduler actions older than 7 days to keep the database lean.
Updated
  • Freemius SDK updated.

Version 1.1.7

Release Notes Pro Feature
Added
  • Pro one-click Dispute Evidence Report for professional, print-ready behavioral risk reports in payment processor dispute responses.
  • “Dispute Report” button on the customer profile page and order metabox for instant report generation.
  • Report output now includes trust score, risk signals, order history, return analysis vs store average, linked accounts, and the full event timeline.
  • Extensible action hooks trustlens/customer_profile_actions and trustlens/order_metabox_actions for Pro feature buttons.

Version 1.1.6

Release Notes Orders UI
Added
  • Color-coded trust segment badge column on the WooCommerce orders list for at-a-glance risk review during order processing.
  • Segment filter dropdown on the orders list for Critical, Risk, Caution, Normal, Trusted, and VIP customers.
  • Sortable trust column so merchants can sort orders by segment severity with Critical customers first.
  • Trust badge now links directly to the TrustLens customer profile for one-click access to full behavioral history.
  • Automatic _trustlens_email_hash order meta storage with Action Scheduler backfill for existing orders.
Improved
  • Unscored customers display a “New” badge, while safe segments use muted styling so risky orders stand out faster.

Version 1.1.5

Release Notes Platform Update
Added
  • Shared TrustLens mail sender with recipient validation, structured error capture, and rolling email delivery logs.
  • Keyed HMAC-SHA256 hashing for customer identifiers and linked-account fingerprints.
Changed
  • Refreshed the WordPress.org title, description, FAQs, and search-focused copy around customer risk, abuse detection, disputes, and chargebacks.
  • Split the admin controller into focused pages, settings, notices, and AJAX service classes for cleaner maintenance.
Fixed
  • Welcome summary is now marked sent only after successful delivery and can retry after transient mail failures.
  • Test notification now uses the same delivery path as real emails and surfaces detailed mailer errors when available.
  • Scheduled reports now honor weekly and monthly recipient settings, support comma-separated recipients, run at the configured due time, and include a working manual send path.
  • Stored scheduled reports now track real per-recipient delivery results, retry failed sends, and avoid false-positive sent logs.
  • Privacy export and erasure now include signals, linked-account fingerprints, category stats, and automation logs.
  • Automation actions now write canonical action IDs and analytics/ROI reporting reads the correct action names.
  • Customer blocking now logs customer_blocked events consistently so reports and event-based metrics stay accurate.
  • Customer state changes now use consistent canonical events and webhook wiring for blocked, unblocked, and allowlisted flows.
Improved
  • Notification and report cron hooks are now reconciled during runtime, cleared when disabled, and cleaned up correctly on uninstall.
  • Reset and customer delete flows now clear all related operational data, logs, and derived records consistently.
Removed
  • Removed the TrustLens-specific auto-update notice and one-click auto-update toggle so updates are managed only through standard WordPress controls.
  • Removed remaining active md5() usage from plugin code, replacing it with SHA-256 for internal dedupe keys.

Version 1.1.4

Release Notes Dashboard
Added
  • Polished empty-state UI for Trust Score Trends, Refund Activity, Activity by Hour, and Protection Trend when dashboard data is unavailable.
Fixed
  • Historical Sync completion summary now reports the actual profiled customer count from the TrustLens customer table.
  • Dashboard health attention messaging now aligns with actual risk-customer counts.
Improved
  • Historical Sync backfill now reconstructs historical events with original timestamps and keeps rebuilds idempotent.
Docs
  • Deployment guide now documents only the Freemius ZIP based WordPress.org deploy flow.

Version 1.1.3

Release Notes Historical Sync
Added
  • Historical Sync now backfills coupon behavior metrics including total_coupons_used, first_order_coupons, and coupon_then_refund.
  • Historical Sync now rebuilds category aggregates and linked-account fingerprints from older WooCommerce orders for more accurate scoring inputs.
  • Historical Sync now reconstructs historical timeline events for orders, refunds, and coupon events using original order and refund timestamps.
Improved
  • Sync backfill paths are now re-sync safe and remove previously generated synthetic sync events before rebuilding.

Version 1.1.2

Release Notes Sync Reliability
Fixed
  • Historical Sync now safely handles WooCommerce refund objects and no longer fails with OrderRefund::get_billing_email() errors.
  • Empty dashboard sync flow now always shows the correct progress UI when sync starts.
Improved
  • Sync batch AJAX failures now recover UI state instead of leaving controls hidden.
Added
  • Reliable activation redirect to the TrustLens dashboard after plugin activation.

Version 1.1.1

Release Notes Sync Reliability
Fixed
  • Historical Sync now surfaces precise server error messages instead of generic AJAX failures.
  • Optimized sync startup order counting to avoid loading all order IDs in memory.
  • Corrected sync customer totals to count only newly inserted customers across batches.
  • Ensured WordPress pointer assets are enqueued on TrustLens admin pages to prevent Freemius pointer JS errors.
Improved
  • Refactored duplicated batch-processing logic into a shared internal helper for consistency.
  • Removed unused sync polling code path and dead AJAX endpoint, and hardened Action Scheduler fallbacks.

Version 1.1.0

Release Notes Payment Controls
Added
  • Dedicated Payment Controls settings tab.
  • Pro Payment Method Risk Controls to hide selected gateways for risky segments at checkout.
  • Pro Velocity Protection for temporary gateway restrictions during high order-attempt spikes.
  • Pro Linked Account Protection using linked-account fingerprints for real-time gateway restriction decisions.
Improved
  • Restriction event logging now includes trigger reasons and linked-account risk context for better auditability.

Version 1.0.6

Release Notes Upsell UX
Added
  • Redesigned Pro upsell experience with polished value panels, comparison rows, and improved CTAs across Automation, Notifications, Webhooks, Reports, and Chargebacks.
Improved
  • Unified upsell rendering via a shared component for more consistent styling and messaging.
  • Dashboard empty state now always shows the Historical Sync action with clearer guidance when no eligible historical orders exist.
Fixed
  • Removed obsolete locked-notification upsell styles and redundant upsell markup paths.

Version 1.0.5

Release Notes UI
Improved
  • UI improvements across the plugin.

Version 1.0.4

Release Notes Admin UX
Added
  • Automation is now a dedicated menu with its own dashboard-style page.
  • Chargebacks Pro settings tab with module enable/disable and configurable auto-block after lost disputes.
  • Test notification timeout handling with a clear message when mail or SMTP is not configured.
Changed
  • Automation moved out of Settings, and the old Automation tab URL now redirects to the new Automation page.
  • Modal styling refreshed with a card look, accent bar, overlay blur, and improved header, body, footer, and close button.
  • Global “Enable Notifications” now applies to all notifications, both Standard and Pro.
  • Pro notifications list refactored to a single source of truth with no duplicate markup.
Fixed
  • API tab no longer shows the stored key hash when a key exists; placeholder and copy instructions are shown instead.
  • API documentation now matches implementation for lookup, update customer, events, recalculate, and stats/segments endpoints.
  • REST API routes for customer events and recalculate used the then-current 32-character email hash format.
  • Historical Sync started from Settings β†’ Data now shows progress updates correctly.
  • Test notification no longer spins indefinitely when server mail is not configured.
Improved
  • Redundancy cleanup on Automation, Data, and Notifications pages, and Chart.js is no longer loaded on the Automation page.

Version 1.0.3

Release Notes Maintenance
Fixed
  • Bug fixes.

Version 1.0.2

Release Notes UI Polish
Improved
  • Dashboard and customer pages UI refinements across spacing, sizing, alignment, and visual polish.
  • Color system upgraded with reusable segment variables and a primary plugin color token.
  • Admin styles split into page-specific files for better maintainability and scoped loading.
  • Test data generation now seeds higher trust scores in the 80-95 range.

Version 1.0.1

Release Notes Packaging
Updated
  • Release packaging and deployment workflow updates with no functional changes.

Version 1.0.0

Initial Release Foundation
Core Engine
  • Trust score calculation engine with weighted signal aggregation on a 0-100 scale.
  • Six-tier customer segmentation: VIP, Trusted, Normal, Caution, Risk, and Critical.
  • Account age loyalty bonus of up to +15 points for long-standing customers.
  • Configurable minimum order threshold before segment classification.
  • Allowlist system with automatic score override to 100.
Detection Modules
  • Return abuse detection with refund rate, refund value, and return frequency analysis.
  • Order pattern analysis for completion rates, cancellation tracking, and order velocity.
  • Coupon abuse detection for first-order discount exploitation and coupon-then-refund patterns.
  • Category-aware scoring with per-category return rate tracking and weighted penalties.
  • Linked accounts detection via address, phone, IP, payment, and device fingerprinting.
Dashboard & Analytics
  • Nine-section command center dashboard with store health score.
  • Six interactive Chart.js charts covering trust trends, segment distribution, refund activity, hourly activity, category return rates, and monthly protection trend.
  • KPI cards for total customers, average trust score, new high-risk, 24-hour events, total orders, and return rate.
  • ROI scorecard with money protected, money at risk, protection rate, and actions taken.
  • Top returners table and a high-risk customer attention list.
Customer Management
  • Searchable customer list with segment, score, and return rate columns.
  • Customer detail page with full behavioral history and signal breakdown.
  • Manual block and unblock with checkout enforcement.
  • Allowlist management for VIP protection.
  • CSV export for the full customer list and JSON export for individual customer profiles.
Integrations
  • WooCommerce order edit screen integration showing customer trust score.
  • REST API with eight endpoints and API key authentication.
  • GDPR data export and erasure via WordPress privacy tools.
  • WooCommerce High-Performance Order Storage compatibility.
  • Action Scheduler for asynchronous score processing.
Notifications
  • Blocked checkout email alert.
  • Welcome summary sent 24 hours after activation.
  • Weekly protection summary report.
Historical Sync
  • Background import of existing WooCommerce orders.
  • Progress tracking with start, stop, and resume controls.
  • Batch processing without site performance impact.