Releases: LiveHelperChat/livehelperchat
4.78v Bot short name
-
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.
-
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
Full Changelog: 4.77v...4.78v
4.77v Various improvements
-
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.
-
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.
-
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.
-
Compatibility & UX
- Support for older browsers and related compatibility fallbacks.
- UX improvements for canned messages dropdown and related interactions.
-
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
What's Changed
Full Changelog: 4.76v...4.77v
4.76v Tabs history
What's Changed
-
Mail Conversation System Enhancements
- Added pending import functionality for mail import retries with automatic retry mechanism
- New
lhc_mailconv_pending_importtable for tracking failed mail imports - Manual import interface for retrying failed email imports
- Improved IMAP retry logic for handling temporary failures
-
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
-
Widget Theme Configuration
- Added
wtopoption for widget position from top spacing control - Enhanced widget positioning options for better layout flexibility
- Added
-
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
-
Pre-chat Form Conditions
- Added conditions support for maintenance mode in pre-chat forms
- Enhanced validator logic for conditional maintenance mode display
-
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
-
Bug Fixes and Improvements
- Improved error handling for robustness and better user experience
- Enhanced cache management and clearing functionality
- Various sync and performance improvements
Full Changelog: 4.75v...4.76v
4.75v Message content protection/guardrails
-
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
-
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
-
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
-
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
-
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
-
Performance Optimizations
- Various performance optimizations in core components
- Improved command title handling as argument
- Enhanced proper checking mechanisms
-
Bug Fixes and Improvements
- Removed unnecessary variable declarations
- Various sync improvements
execute doc/update_db/update_342.sql for update
What's Changed
Full Changelog: 4.74v...4.75v
4.74 Performance improvements
-
Bot System and Actions Enhancements
- Added option to keep chat locked from visitor via bot actions
- Enhanced variable replacement logic in bot actions with custom arguments handling
- Implemented option to remove chat_variables variable through bot commands
- Improved command action to update only required fields for better performance
- Enhanced text actions with advanced variable replacement capabilities
- Fixed masking message in REST API that sometimes broke JSON body structure
- Added logging for first response in streaming mode for REST API actions
- Added use cases modal and validation for bots with comprehensive documentation
- Improved bot name display in REST API use cases
- Added modal for REST API use cases with dynamic content
-
Widget and Interface Improvements
- Added override back button option for widget offline mode
- Updated widget logic and survey redirect handling for offline scenarios
- Improved image sizing in widget interface
- Removed default colors from widget theme configuration
- Fixed scroll behavior on mobile devices in popup mode
- Enhanced offline chat handling with better redirect logic
-
Mail Conversation System
- Enhanced audit logging capabilities for mail conversations
- Added merge conversation audit logging
- Improved send email audit tracking
- Added option to set reply-to email only to mailbox
- Fixed UI elements in mail conversation templates
-
Proactive Invitations and Auto Responder
- Fixed auto responder display logic to ensure proper handling of empty values
- Enhanced auto responder display with improved formatting
- Added proactive invitation and auto responder templates to chat interface
- Improved webhook link formatting in bot forms
- Activity period now applies to all types of invitations
- Added explanatory text that limit numbers are inclusive
-
User Interface and UX Improvements
- Added explanatory notices for inclusive limit numbers in department forms
- Enhanced chat information display with better template organization
- Improved spacing and layout in various templates
- Updated default translations with new strings
-
System and Configuration
- Updated environment variable handling in settings
- Improved system variable checking in core components
- Fixed null handling in cronjob/test mode
- Updated .gitignore configuration
- Added GitHub workflow for triggering Laravel tests
- Removed editor-specific settings from repository
-
Statistics and Reporting
- Included user with id 0 in default user filter for statistics
- Enhanced user filtering for edge cases
-
Bug Fixes and Improvements
- Fixed missing column reference in user department management
- Fixed transfer to human action to update only relevant attributes
- Various UI fixes and spacing adjustments
- Improved template consistency across modules
This time there is no database update. Make sure you replace all necessary files and run
php composer.phar dump-autoload -o -a
or
php composer.phar install
Full Changelog: 4.73v...4.74v
4.73v Bug fixes for only_priority attribute
- Only priority field was missed for grouping operation and disabled user flow.
execute doc/update_db/update_340.sql for update
What's Changed
Full Changelog: 4.72v...4.73v
4.72 Maintenance release
-
Operator Assignment and Priority Management
- Added 'only_priority' feature for operator assignment allowing operators to receive only chats with specific priority levels
- Enhanced chat priority search functionality in the back office
- Improved UX for priority display with better visual indicators
- Added priority filtering to chat search panel
- Refactored department group saving process with transactions for improved error handling and data integrity
-
Proactive Invitations System Enhancements
- Implemented per-session invitation support for all invitation types
- Enhanced dynamic invitation logic with better state management
- Improved invitation expiration handling with proper cleanup of invitation_id
- Added automatic invitation reset for returning visitors
- Enhanced invitation seen count tracking for better analytics
- Updated UX for invitation management with better visual feedback
- Implemented operator message reset when invitation is assigned
- Added filtering for online operators by their status
-
Bot System and Conditions
- Added support for mathematical parsing in bot conditions for complex logic evaluation
- Implemented {rnumber} variable support for random number generation
- Enhanced NodeTriggerActionConditions with execution notices and theme fetching
- Added debugging capabilities for specific trigger output
- Improved bot message translation handling to assume visitor language
- Added CSS class support for bot holder elements
- Enhanced match event handling in bot workflows
- Added presence checking for variables before processing
-
Canned Messages and Variables
- Implemented replaceable variable option to canned messages with change logging
- Added default replaceable variable method for consistent variable handling
- Enhanced variable replacement process with better error handling
- Added support for context-aware variable replacement
-
Mail Conversation System Improvements
- Enhanced mail conversation handling and storage management
- Added option to include mail body in forward e-mail while skipping in reply
- Implemented copy e-mail function for easier message handling
- Added option to copy raw message body for debugging
- Implemented sender address length limitation for better database handling
- Enhanced search functionality with improved filters
- Added JSON view for better debugging of mail conversations
- Implemented option to split messages into separate API calls for mixed content handling
- Added support for debugging specific messages
- Improved IMAP connection testing with shorter timeouts
- Enhanced header value handling and exclusion of debug messages from system logs
- PDF Checking for suspicious content
-
Survey and Widget Enhancements
- Implemented survey styling through widget themes for better customization
- Enabled CSS cache for survey to improve loading performance
- Updated widget version to 263 with enhanced cookie handling
- Added support for subject filter override in surveys
- Implemented subject title override capability
-
Chat System Improvements
- Added bulk fetching for pending messages in chat sync for better performance
- Implemented whisper message support for private operator notes
- Added context menu support for previous messages
- Enhanced UI with various fixes and spacing adjustments
- Improved online dashboard tab persistence as default view
- Added reset functionality for online visitors filter on widget filters reset action
- PDF Checking for suspicious content
-
User Interface and Experience
- Implemented editor options for better content management
- Enhanced form height for improved usability
- Added minimize text printing functionality
- Improved spacing and layout adjustments throughout the interface
- Enhanced auto responder debugging with better object visibility
-
REST API and Protocol Management
- Added REST API protocol choosing option for flexible integration
- Enhanced header value handling and skip functionality
- Improved error messaging with more precise error descriptions
-
System Configuration and Permissions
- Added missing permissions for various operations
- Enhanced permission checking throughout the system
- Implemented database version limit validation (minimum 60)
- Updated database version tracking
-
Bug Fixes and Improvements
- Fixed issue #2321 related to system functionality
- Addressed discussion #2320 with appropriate fixes
- Improved invitation logic with multiple fixes
- Enhanced variable presence checking before processing
- Fixed translation issues for empty messages
- Corrected method echo behavior in debug output
- Various UX fixes and improvements throughout the application
execute doc/update_db/update_340.sql for update
What's Changed
Full Changelog: 4.71v...4.72v
4.71v Improvements
-
Department Management and User Administration
- Enhanced department group statistics modal for better oversight of group performance
- Implemented read-only status toggle for department assignments with visual feedback
- Added confirmation modal for assigned department edits to prevent accidental changes
- Improved user department management with transaction handling for data integrity
- Added utility to cleanup orphan departments and maintain database consistency
- Enhanced department assignment UI with better UX and simultaneous request prevention
- Added filtering for users by assigned departments for improved navigation
- Implemented department limitation handling and cache version updates on changes
- Added red/green color indicators for operator online status visibility
-
Bot System and Webhook Improvements
- Enhanced bot conditions handling with condition identifiers for better query filtering
- Updated trigger link display to show bot name alongside trigger name for clarity
- Disabled cache for bot actions and conditions to ensure real-time updates
- Added 'single_event' support to webhook functionality for better event handling
- Implemented webhook search panel with filtering capabilities for easier management
- Added event field to webhook search panel and configuration options
- Enhanced bot trigger validation with improved button assignment verification
- Added support for conditional text generation in bot responses
- Implemented 'sub_source' parameter to sendBotResponse for better tracking
- Added option to check chat status after REST API calls
-
File Management and Image Processing
- Added HEIC image conversion support in verifyaccess.php for modern image formats
- Implemented file download restrictions and settings to mail conversation module
- Enhanced image verification process with re-verification features
- Added modal display for attached image files with better user experience
- Implemented resize support for form files to optimize storage and performance
- Added option to download files inline with modal interface
- Enhanced file extension detection and validation for security
- Added fallback options when browser cannot render images
- Implemented option to ignore specific image files during verification
- Added resize functionality for large mail message screenshots
-
Chat System and Message Handling
- Added system message indicating when chat was accepted by operator
- Enhanced image handling and conditions in the chat system
- Implemented separate events for messages added via incoming webhooks
- Added loading spinner overlay to main widget for better user feedback
- Enhanced form submission experience with spinner on submit button
- Added option to inherit start chat form settings for consistency
- Improved message handling with better error display and validation
- Enhanced chat search capabilities with message ID search functionality
- Added support for raw file embed syntax in chat messages
- Implemented conditional text generation for dynamic responses
-
Security and Performance Improvements
- Implemented strict locking mechanisms for critical operations
- Added transaction handling for operator transfers and chat attribute updates
- Enhanced permission checking in export functions for better security
- Implemented proper transaction handling for icon operations
- Added cache clearing mechanisms for improved performance
- Enhanced error handling for failed file downloads and operations
- Implemented audit log truncation option from back office
- Added better logging for auto assignment operations and error tracking
- Enhanced REST API with option to skip empty body requests
-
User Interface and Experience Enhancements
- Enhanced department assignment functionality with improved UI feedback
- Added 'user-select-none' class to labels for better user experience
- Implemented lazy load option for widget theme optimization
- Added argument titles to command execution for better clarity
- Enhanced form styling with improved input field appearance
- Added link to documentation for better user guidance
- Updated React app version with enhanced network failure handling
- Improved checkbox re-enabling logic after request completion
- Added nowrap styling for department group lists for better display
-
System Maintenance and Bug Fixes
- Fixed issue #2298, #2304, #2305, #2306 addressing various system bugs
- Updated dependencies and php-imap reference for security and compatibility
- Enhanced error handling for non-existing users in reports
- Fixed replacement process and edge case scenarios
- Improved file type validation and extension setting for known formats
- Fixed undefined display issues in pending wait time calculations
- Enhanced aggregation queries by removing duplicates for better performance
- Updated default translations for better internationalization support
execute doc/update_db/update_339.sql for update
Full Changelog: 4.70v...4.71v
4.70v Small improvements
-
REST API and Bot Enhancements
- Added retry options for REST API calls with configurable retry attempts and delays
- Enhanced bot trigger validation to ensure buttons are correctly assigned to triggers
- Improved trigger argument importing to support all available trigger arguments
- Enhanced bot condition support with new "Not in list" condition type for more flexible logic flows
- Better error handling and continuation logic when customers don't set matching triggers
-
File Management and Search Improvements
- Enhanced file search functionality with new chat ID and user ID filters
- Added display of attached files in chat modification view for better file visibility
- Improved file search panel UI with better styling and user experience
- Enhanced JavaScript for dynamic form submission on input changes
- Implemented indefinite file download capability for better file access management
-
Forms and Offline Chat Integration
- Major offline form tight integration (#2286) with React Component migration
- Enhanced offline form to use React Components instead of legacy offline form system
- Added conditions for offline form prefilling fields from previous chat sessions
- Improved form error rendering for number field types
- Better handling of input_data passing to offline templates
- Enhanced forms integration with edge case scenario updates
-
Chat and Message Handling Improvements
- Added support for image requests with visitor messages
- Improved file attachment flow to prevent message overlapping during file uploads
- Enhanced scroll positioning for file preview functionality
- Better handling of visitor message display and file attachment rendering
- Improved message object passing for enhanced chat functionality
-
Security and Permissions
-
UI and User Experience Enhancements
- Enhanced file list module to support new search parameters
- Improved styling of input fields for better user experience
- Better JavaScript handling for dynamic form interactions
- Enhanced chat modification interface with file display capabilities
-
System and Internal Improvements
- Increased length of internal type fields for better data handling
- Updated database structure with new field length requirements
- Enhanced schedule checks with new ActionConditions class
- Better chat blocking tests and validation logic
-
Technical Infrastructure
- Updated widget React components for better offline form handling
- Enhanced translation system and updated translation files
execute doc/update_db/update_337.sql for update
What's Changed
Full Changelog: 4.69v...4.70v
4.69v File preview
-
File and Image Preview System Enhancement
- Implemented comprehensive file and image preview functionality before sending to operator
- Added temporary file handling with new
tmpfield inlh_chat_filetable - Enhanced widget React components to support file preview with better user experience
- File attachments are now rendered at the top of messages for better visibility
- Improved file upload workflow with progress indicators and preview capabilities
- This enhancement prepares the foundation for future OpenAI Responses API for images implementation
-
Widget and Chat Interface Improvements
- Enhanced attachment rendering system with dedicated top-level templates
- Improved AI-generated content checks and validation
- Better file uploader component with enhanced preview functionality
- Optimized widget React components for better performance and user experience
- Enhanced chat file handling with improved meta message rendering
-
Department and Chat Management Enhancements
- Added support for using department alias when provided in chat widget and status checks
- Improved department handling logic for better chat routing
- Enhanced chat widget functionality with streamlined department selection
-
Export and Data Handling Improvements
- Fixed JSON export formatting with proper UTF-8 charset headers for Unicode support and pretty printing (#2283)
- Enhanced bot export functionality with correct content-type headers
- Improved REST API export with proper encoding
- Better theme export handling with Unicode support
-
File Configuration and Management
- Added new file configuration options for better file handling control
- Enhanced file upload settings with improved validation and processing
- Better integration between file upload API and widget components
- Improved file metadata handling and storage
-
Technical Infrastructure Improvements
- Updated database structure with new temporary file handling capabilities
- Enhanced widget REST API endpoints for better file and chat management
- Improved translation support and internationalization
-
User Experience Enhancements
- Streamlined file attachment workflow with instant preview
- Better visual feedback for file operations
- Enhanced message rendering with improved attachment display
- Optimized loading and rendering performance for file-heavy conversations
execute doc/update_db/update_337.sql for update
What's Changed
Full Changelog: 4.68v...4.69v