Edit file File name : changelog.txt Content :4.80v 1. Notable changes since 4.79v - Message content protection: added language-specific warning message support for ghosting/masking rules. - UI (back office): redesigned message protection warning editor with multilingual tabs and per-language message fields. - Runtime masking: warning text can now be translated by chat locale (full locale and short locale fallback). - Data/model layer: added `languages` persistence support in `lh_abstract_msg_protection` model/POS mapping. - Frontend cleanup: simplified multilingual tab content rendering in Svelte component used by admin forms. 2. Summary - This release extends message protection rules with localized warning messages and wires the full stack (DB, model, UI, and runtime locale resolution). execute doc/update_db/update_347.sql for update 4.78v 1. Notable changes since 4.77v - Bot: support for bot short name. - Message masking: mask last message from visitor. - Webhooks/Conditions: support additional comparison variables and accept all params for condition checks. - Events: included more information for main chat attributes change event. - Debugging: added debug message handling inside chat messages. - Guardrails: added whitelist support for phone guardrails. - Misc: small typo fixes. 2. Summary - Improvements across bot, webhooks, and message masking to increase reliability and observability. - Several small bug fixes and developer-facing debug improvements. execute doc/update_db/update_345.sql for update 4.77v 1. Features - Add Auto-Submitted header to mail actions (automatic mail handling improvements). - Chat messages preview modal with backend support for message previews. - Chat widget updates: improved integration with third-party iframes, scroll-to-last-message on show, and refactor of widget internals. - Migration and build updates: Svelte 5 migration, Node 22 (bot/node) updates, and package upgrades. 2. Fixes - Do not mark our own responses as undelivered (prevents false undelivered status). - Ignore auto-submitted e-mails as new to avoid duplicate imports. - Fixes for issues reported (e.g. #2359, #2357) and improved error logging (#2347). - Various UI/UX fixes: React parsing issue, height flickering, trigger body object support, and trimmed/encoded URLs. - Mail handling: do not set custom from-email unless explicitly provided; set custom recipient handling improvements. 3. Performance & Reliability - Avoid loading/fetching message bodies when not required (reduce unnecessary DB/IO work). - Use static version cache for assets and additional cache improvements. - Check and respect rfc822 body presence before processing. 4. Compatibility & UX - Support for older browsers and related compatibility fallbacks. - UX improvements for canned messages dropdown and related interactions. 5. Chore/Dependencies - Dependency and package updates across frontend and backend (React/Node/bot tooling and other packages). - Miscellaneous maintenance: hashed payload handling, migration tweaks, and merge/cleanup commits. execute doc/update_db/update_344.sql for update 4.76v 1. Mail Conversation System Enhancements - Added pending import functionality for mail import retries with automatic retry mechanism - New `lhc_mailconv_pending_import` table for tracking failed mail imports - Manual import interface for retrying failed email imports - Improved IMAP retry logic for handling temporary failures 2. Message Masking and Security - Added message ghosting for sensitive information protection when guardrails are enabled - Operators without permission to see full messages will not see just-sent messages - Enhanced regex rules with optional name field and optional replacement variable - Additional masking options for PII protection - Improved guardrails validation for sensitive information 3. Widget Theme Configuration - Added `wtop` option for widget position from top spacing control - Enhanced widget positioning options for better layout flexibility 4. Tab Navigation and UX - Improved tab state persistence for chats and mails - Direct API implementation for remembering tab states - Enhanced tab navigation across multiple interfaces 5. Pre-chat Form Conditions - Added conditions support for maintenance mode in pre-chat forms - Enhanced validator logic for conditional maintenance mode display 6. Developer Documentation - Comprehensive copilot instructions reorganization - Added detailed integration points documentation - New data flows, testing strategies, and security model documentation - Domain-specific guides for API, auth, bot, caching, config, data-layer, departments, events, extensions, routing, UI, and users 7. Bug Fixes and Improvements - Improved error handling for robustness and better user experience - Enhanced cache management and clearing functionality - Various sync and performance improvements execute doc/update_db/update_343.sql for update 4.75v 1. Tab Navigation and UX Improvements - Added data-remember attribute to tab navigation elements across multiple templates for better state persistence - Implemented Safari browser support for tab navigation - Enhanced replaceable variables UI with remembered tabs functionality 2. Bot System Enhancements - Added 'Keep chat locked' option in bot action text to maintain chat lock from visitor messages - Refactored condition handling in bot workflow to support JSON parsing for dynamic conditions - Enhanced attribute filtering in bot action text with improved non-empty value processing - Updated CURL building UI for better usability 3. Mail Conversation System - Added signature fetching functionality with AJAX endpoint for improved email handling - Added button to append fetched signature to email templates - Enhanced input field layout for better usability and accessibility 4. Bot Conditions Form - Added datalist options for filter fields in conditions form with predefined options - Options include Chat ID, Status, Department ID, User ID, Email, Phone, Nickname, and Country Code 5. System and Configuration - Added ability to clear cache from command line - Implemented opcache cache clearing functionality - Added fallback if default config file is not found - Inform operator when external operator is writing messages 6. Performance Optimizations - Various performance optimizations in core components - Improved command title handling as argument - Enhanced proper checking mechanisms 7. Bug Fixes and Improvements - Removed unnecessary variable declarations - Various sync improvements execute doc/update_db/update_342.sql for updateSave