# Changelog

All notable changes to the Jokko ChatBot WordPress plugin will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.1] - 2026-04-25

### Changed

- Added external service disclosure and legal links to the WordPress.org readme
- Updated the WordPress.org documentation for the review process

## [1.0.0] - 2024-11-10

### Added

- Initial release of the WordPress plugin
- Admin settings page in WordPress dashboard
- Configuration fields for ChatBot ID and Tenant ID
- API URL configuration (default: https://api.jokko.chat)
- Widget position customization (bottom-right, bottom-left, top-right, top-left)
- Primary color customization with color picker
- Enable/disable widget toggle
- Automatic widget script injection in WordPress footer
- French language support (fr_FR)
- English language support (en_US)
- Translation-ready with .po/.mo files
- Settings link on plugins page for quick access
- Help section with instructions for obtaining credentials
- Input validation and sanitization for security
- Responsive admin interface
- Logo and branding in admin settings
- Comprehensive documentation (README.md, INSTALL.md)
- WordPress.org compatible readme.txt

### Security

- Input sanitization for all settings fields
- Output escaping for all displayed values
- User capability checks (manage_options)
- Validation of color hex codes
- URL validation for API endpoints
- Prevention of direct file access

### Technical

- WordPress 5.0+ compatibility
- PHP 7.4+ support
- Singleton pattern for main plugin class
- WordPress coding standards compliance
- Activation/deactivation hooks
- Proper text domain for translations
- Asynchronous widget script loading

## [Unreleased]

### Planned for v1.1.0

- [ ] Gutenberg block for custom widget placement
- [ ] Shortcode `[jokko-chatbot]` support
- [ ] Advanced customization options (welcome message, placeholder text)
- [ ] Trigger settings (scroll percentage, time delay, exit intent)
- [ ] Analytics dashboard in WordPress admin

### Planned for v1.2.0

- [ ] WooCommerce integration
- [ ] Contact Form 7 integration
- [ ] Multiple chatbot support
- [ ] A/B testing capabilities
- [ ] Export/import settings

### Planned for v2.0.0

- [ ] REST API endpoints for developers
- [ ] Webhooks support
- [ ] Custom events tracking
- [ ] Advanced visitor identification
- [ ] Conversation history in WordPress admin

---

**Note**: Dates use the YYYY-MM-DD format as per ISO 8601.
