# Changelog

All notable changes to Stintlief WebP Converter 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.1.0] - 2026-01-02
### Added
- Bulk conversion tool for existing media library
- AJAX progress tracking for bulk operations
- Additional image format support (TIFF, BMP)
- WebP to original conversion option
- Backup cleanup utilities

## [1.0.0] - 2025-12-26

### Added
- Initial release of Stintlief WebP Converter
- Automatic WebP conversion on image upload
- Smart file size comparison (keeps original if WebP is larger)
- Optional backup system for original files
- One-click restoration from attachment edit screen
- Animated GIF detection and preservation
- Configurable maximum dimensions (width/height)
- Adjustable compression quality (1-100)
- WebP support detection with admin notices
- Full internationalization (i18n) support
- Complete PHPDoc documentation
- WordPress Coding Standards compliance
- Security: Nonce verification and capability checks
- Security: Proper input sanitization and output escaping
- Privacy-friendly: No external data transmission
- Uninstall cleanup while preserving user content

### Security
- Added nonce verification to all admin actions
- Implemented capability checks (upload_files permission)
- Proper sanitization of all user inputs
- Escaping of all outputs using esc_html, esc_attr, esc_url
- Direct file access prevention in all PHP files
- Safe file operations with error suppression where appropriate

### Performance
- Batch processing for bulk operations (future feature)
- Efficient WordPress Image Editor API usage
- Fallback to GD library when needed
- Smart caching of settings

## [Unreleased]

### Planned
- Bulk conversion tool for existing media library
- AJAX progress tracking for bulk operations
- Additional image format support
- WebP to original conversion option
- Backup cleanup utilities
- Advanced settings panel
- Performance statistics dashboard
