= Zeno Chatbot AI - Changelog =


== 1.5.1 (June 15, 2026) ==

Bug Fixes:
* Fixed two-way CSS styling conflicts between the chatbot widget and WordPress themes — all widget classes are now fully namespaced with zeno_chatbot-- prefix
* Fixed user message bubble losing padding on the right side

Improvements:
* Removed unavailable Claude Fable 5 model from Anthropic model list
* Existing installations configured with Fable are automatically remapped to Claude Opus 4.8

== 1.5.0 (June 13, 2026) ==

New Features:
* Added Anthropic Claude integration — supports Claude Opus 4.8, Claude Sonnet 4.6, and Claude Haiku 4.5 with extended thinking support

Improvements:
* Lowered minimum PHP requirement from 8.0 to 7.4 — the plugin now runs on every PHP version WordPress supports (7.4–8.3, continuously tested)
* Major dashboard performance overhaul: statistics and charts now use single aggregate queries instead of per-conversation and per-day queries (up to 100x fewer database queries on busy sites)
* Improved data fetching and LLM tool call handling for more reliable AI responses
* Faster chat replies: saved-reply matching loads embedding data only when semantic matching actually runs, and repeated user messages reuse cached embeddings
* Reduced AI token usage: knowledge-base context sent to the AI is now size-capped per request
* Chat widget assets (JS/CSS) are no longer loaded on the frontend when the floating widget is disabled
* Conversation summaries are now generated in the background instead of delaying chat close and admin replies
* Content index rebuilds now process posts in batches, keeping memory usage flat on sites with large content libraries
* Faster failover on embedding API issues (request timeout reduced from 30s to 10s)

Bug Fixes:
* Fixed admin pages incorrectly rendering in a PHP error state (php-error body class) caused by a suppressed connection warning from the asset dev-server probe
* Fixed a fatal error on PHP 7.4 caused by PHP 8.0+ type declarations in the hook dispatcher

== 1.4.0 (April 26, 2026) ==

New Features:
* Added support for OpenAI GPT-5.5, GPT-5.4, GPT-5.4 Mini, GPT-5.4 Nano, GPT-5, GPT-5 Mini, and GPT-5 Nano models
* Added support for Google Gemini 2.5 Pro model
* Improved extensibility for third-party developers

Improvements:
* Updated default AI model to GPT-5 Mini for better cost-performance balance
* Deprecated older models (GPT-4o, GPT-3.5 Turbo, GPT-4 Turbo, GPT-4.1 Nano, ChatGPT-4o) now labeled in settings UI
* Improved PHP 8.4 compatibility
* Improved Pro extension compatibility

Bug Fixes:
* Fixed fatal database error on fresh WordPress installations caused by Action Scheduler tables not being created during activation
* Fixed "unexpected output during activation" warning
* Fixed Action Scheduler initialization timing when activating on a fresh site

== 1.3.2 (February 24, 2026) ==

Bug Fixes:
* Prevented Action Scheduler database table-missing errors during scheduler boot by skipping Action Scheduler queries until its tables exist
* Hardened recurring scheduler self-healing by using Action Scheduler's ensure-recurring hook when supported and best-effort activation seeding for maintenance/cleanup jobs
* Fixed scheduler boot re-entrancy that could recurse into cleanup scheduling and exhaust memory when Action Scheduler was already initialized

== 1.3.0 (February 17, 2026) ==

New Features:
* Internal Content expansion: added dedicated Sitemap, Product Index, and Knowledge Notes data sources in settings
* Sitemap indexing workflow: auto/manual source selection, chunked processing, progress modal, and completion summary
* Product indexing workflow: field-selectable WooCommerce indexing with chunked processing and dedicated product JSON output
* Conversation lifecycle controls: added dedicated Conversation Settings panel with auto-close and auto-summary options
* Conversation summaries: added summary status/actions in conversation details with retry/regenerate support

Improvements:
* Unified Internal Content overview loading into a single API payload
* Migrated indexing workflows to service-driven architecture with contract-locked response adapters
* Added transparent derived-text cache invalidation hooks across indexed knowledge sources
* Added consistency checks for scheduler usage, indexing contracts, and critical security invariants
* Synced in-plugin What's New release timeline and roadmap ordering with the 1.3.0 release line

Bug Fixes:
* Fixed invalid REST handler mapping for conversation status/reply endpoints
* Fixed markdown heading rendering in Knowledge Notes preview
* Fixed class loading regressions by enforcing Composer autoload flow and authoritative dump workflow
* Fixed summary generation transcript grounding to improve summary quality

Security:
* Strengthened chat session integrity with signed session payload verification
* Hardened public markdown rendering with strict sanitization and safe link protocol enforcement
* Reduced public error leakage by returning generic client-facing error responses
* Enforced scoped chat/history rate limiting and improved abuse controls
* Added same-site sitemap traversal enforcement for root and nested sitemap URLs

== 1.2.0 (January 25, 2026) ==

New Features:
* File Resource Upload – Upload images (JPG, PNG, GIF, WebP) and PDFs directly from the WordPress Media Library to provide additional context to your AI chatbot
* Markdown Response Rendering – AI responses now display with rich formatting including headers, lists, code blocks, bold, italic, and links for better readability
* Enhanced Dashboard Analytics – Redesigned dashboard with improved conversation metrics, performance insights, and visual charts
* Timezone-Aware Date Display – All dates in the admin panel now respect your WordPress timezone settings

Improvements:
* Improved loading states across all settings pages for better user feedback
* Unified prompt building logic for more consistent AI responses
* Better resource formatting when sending context to AI providers
* Optimized internal content indexing with improved date handling
* Settings page navigation no longer causes unnecessary re-renders
* Cleaner, more maintainable codebase with reduced technical debt

Bug Fixes:
* Fixed settings page re-rendering issue that caused UI flickering
* Fixed date display inconsistencies in Internal Content tab
* Improved error handling for AI provider responses

Security:
* Added DOMPurify for HTML sanitization in markdown rendering to prevent XSS attacks
* Removed legacy code and unused dependencies for a smaller attack surface

== 1.1.0 (December 25, 2025) ==
* Added Saved Replies feature
* Added Semantic Matching Algorithm for Saved Replies
* Added Advanced Analytics Dashboard for Saved Replies
* Added Language Support
* Fixed Gemini API Empty Response

== 1.0.0 (December 1, 2025) ==
* Initial Launch
