|
| 1 | +# CHANGELOG |
| 2 | + |
| 3 | +## [1.2.0] - 2025-07-12 |
| 4 | + |
| 5 | +### 🎯 Major Features |
| 6 | +- **Modular Display System**: Complete rewrite of display system with user-configurable layouts |
| 7 | +- **Web-Based Configuration**: Real-time configuration of display panels and indicators via web interface |
| 8 | +- **Dynamic Panel Layout**: Support for 8 configurable data panels with custom positioning |
| 9 | +- **Smart Indicator System**: 8 configurable status indicators with position control |
| 10 | + |
| 11 | +### 🔧 Technical Improvements |
| 12 | +- **Modular Architecture**: Refactored from single `.ino` file to modular `.h/.cpp` structure |
| 13 | +- **Memory Management**: Improved EEPROM usage for configuration persistence |
| 14 | +- **Performance Optimization**: Reduced display flicker with smart redraw algorithms |
| 15 | +- **Type Safety**: Enhanced type checking and error handling throughout codebase |
| 16 | + |
| 17 | +### 🖥️ Display Enhancements |
| 18 | +- **Layout Collision Fix**: Resolved TPS/ADV panel collision with RPM bar |
| 19 | +- **Optimized Positioning**: Improved panel spacing and positioning logic |
| 20 | +- **Better Visual Hierarchy**: Clear separation between data panels and indicators |
| 21 | +- **Responsive Design**: Adaptive layout that works within display constraints |
| 22 | + |
| 23 | +### 🌐 Web Interface |
| 24 | +- **Live Configuration**: Real-time display configuration through web browser |
| 25 | +- **Panel Management**: Enable/disable individual data panels |
| 26 | +- **Indicator Control**: Configure which indicators are shown |
| 27 | +- **Configuration Persistence**: Save/load/reset display configurations |
| 28 | +- **User-Friendly Interface**: Intuitive web UI for configuration management |
| 29 | + |
| 30 | +### 📊 Data Management |
| 31 | +- **Enhanced Data Types**: Support for multiple data types (int, float, uint) |
| 32 | +- **Color Coding**: Smart color coding based on data values and thresholds |
| 33 | +- **Decimal Precision**: Configurable decimal places for float values |
| 34 | +- **Data Validation**: Improved data validation and error handling |
| 35 | + |
| 36 | +### 🔄 Code Quality |
| 37 | +- **Function Cleanup**: Removed unused functions (`itemDraw`) and dead code |
| 38 | +- **Better Documentation**: Comprehensive inline documentation and comments |
| 39 | +- **Consistent Naming**: Standardized function and variable naming conventions |
| 40 | +- **Error Handling**: Improved error detection and recovery mechanisms |
| 41 | + |
| 42 | +### 🛠️ Developer Experience |
| 43 | +- **Modular Headers**: Clean separation of concerns across modules |
| 44 | +- **Type Definitions**: Centralized type definitions in `DataTypes.h` |
| 45 | +- **Configuration Management**: Centralized configuration in `Config.h` |
| 46 | +- **Build System**: Optimized PlatformIO build configuration |
| 47 | + |
| 48 | +### 🐛 Bug Fixes |
| 49 | +- Fixed display panel overlap with RPM bar |
| 50 | +- Resolved font rendering issues and overlap problems |
| 51 | +- Fixed memory leaks in sprite operations |
| 52 | +- Corrected EEPROM address conflicts |
| 53 | +- Fixed communication mode indicator flickering |
| 54 | + |
| 55 | +### 🎨 User Interface |
| 56 | +- **Configurable Layouts**: Users can now customize which data is displayed where |
| 57 | +- **Visual Feedback**: Clear indication of active/inactive states |
| 58 | +- **Responsive Controls**: Web interface works on mobile and desktop |
| 59 | +- **Real-time Updates**: Configuration changes reflected immediately |
| 60 | + |
| 61 | +### 🔧 System Architecture |
| 62 | +- **DisplayConfig System**: New configuration management system |
| 63 | +- **DisplayManager**: Centralized display rendering and management |
| 64 | +- **WebServerHandler**: Enhanced web server with configuration endpoints |
| 65 | +- **CANHandler**: Improved CAN communication handling |
| 66 | +- **GlobalVariables**: Centralized variable management |
| 67 | + |
| 68 | +### 📱 Compatibility |
| 69 | +- **ESP32 Optimized**: Optimized for ESP32 DevKit C v4 |
| 70 | +- **ILI9488 Display**: Full support for 480x320 TFT displays |
| 71 | +- **CAN Protocol**: Compatible with Haltech CAN ECU broadcast protocol |
| 72 | +- **Web Standards**: Standards-compliant web interface |
| 73 | + |
| 74 | +### ⚡ Performance |
| 75 | +- **Reduced CPU Usage**: Optimized rendering algorithms |
| 76 | +- **Memory Efficiency**: Better memory management and cleanup |
| 77 | +- **Faster Updates**: Improved update frequency and responsiveness |
| 78 | +- **Battery Friendly**: Optimized power consumption |
| 79 | + |
| 80 | +### 🔐 Stability |
| 81 | +- **Error Recovery**: Better error handling and recovery mechanisms |
| 82 | +- **Memory Safety**: Improved memory management and bounds checking |
| 83 | +- **Configuration Validation**: Robust configuration validation |
| 84 | +- **Failsafe Modes**: Fallback to default configurations when needed |
| 85 | + |
| 86 | +### 📝 Documentation |
| 87 | +- **Comprehensive README**: Updated project documentation |
| 88 | +- **API Documentation**: Function and module documentation |
| 89 | +- **Configuration Guide**: User guide for web-based configuration |
| 90 | +- **Developer Notes**: Technical documentation for contributors |
| 91 | + |
| 92 | +### 🚀 Migration Notes |
| 93 | +- **Backward Compatibility**: Existing configurations will be migrated automatically |
| 94 | +- **New Features**: All new features are optional and don't break existing functionality |
| 95 | +- **Configuration Reset**: Use web interface to reset to default layout if needed |
| 96 | +- **EEPROM Usage**: New configuration uses EEPROM address 10+ (existing settings preserved) |
| 97 | + |
| 98 | +### 🎯 Future Roadmap |
| 99 | +- Drag-and-drop configuration interface |
| 100 | +- Custom data source integration |
| 101 | +- Advanced theming and color schemes |
| 102 | +- Data logging and export capabilities |
| 103 | +- Multi-language support |
| 104 | + |
| 105 | +--- |
| 106 | + |
| 107 | +### 💡 Highlights |
| 108 | +This version represents a major leap forward in functionality and user experience. The modular architecture makes the code more maintainable, while the web-based configuration system gives users unprecedented control over their display layout. |
| 109 | + |
| 110 | +### 🙏 Acknowledgments |
| 111 | +Special thanks to the community for feedback and testing that made this release possible. |
| 112 | + |
| 113 | +### 📞 Support |
| 114 | +- **Website**: [www.mazduino.com](https://www.mazduino.com) |
| 115 | +- **Purchase**: [Buy on Tokopedia](https://tk.tokopedia.com/ZSkFr6LX6/) |
| 116 | +- **Documentation**: See README.md for setup instructions |
0 commit comments