Releases: forntoh/LcdMenu
Releases · forntoh/LcdMenu
LcdMenu v4.2.0
New Features
- Replace
RotaryNavConfig
withRotaryInputAdapter
by @forntoh in #206 - Add
SimpleNavConfig
and deprecateprocessMenuCommand
by @forntoh in #189
Bug Fixes
- Remove dependencies [fix for #203] by @forntoh in #215
- Make global util functions inline by @ShishkinDmitriy in #192
Full Changelog: 4.1.0...4.2.0
LcdMenu v4.1.0
New Features ⭐️
- Menu Command Processor Helper for Rotary Encoder by @forntoh in #185
A helper function was added to handle menu navigation using a rotary encoder. This makes it easier for developers to implement rotary-based navigation for their LCD menus, streamlining the interaction process. It allows smoother scrolling through menu items and simplifies input with just a rotary encoder.
Enhancements:
- Examples: Added basic rotary encoder and input rotary examples to demonstrate functionality.
Bug Fixes:
- Code Cleanup: Removed unused print statements to improve code quality.
Full Changelog: 4.0.0...4.1.0
LcdMenu 4.0.0
This release introduces a major refactor of the display management system, aimed at making it more modular and flexible. The key change is the introduction of a display interface abstraction that decouples the display logic from the specific hardware, allowing for easier integration of different display types.
What's Changed
- Display Interface Abstraction:
- A new
DisplayInterface
class has been introduced to define a common interface for all display types. - This interface allows developers to easily swap out display implementations (e.g., LCD, OLED) without modifying the core logic.
- A new
- Implemented
LiquidCrystalI2CAdapter
to supportLiquidCrystal_I2C
displays. - Implemented
LiquidCrystalAdapter
to supportLiquidCrystal
displays. - Improved Modularity and Flexibility:
- By decoupling the display management logic from the specific hardware, the system is now more modular and easier to extend with new display types.
- The menu and cursor handling logic has been adapted to work seamlessly with the new interface, ensuring backward compatibility while providing enhanced flexibility.
- Debug mode is now turned off by default
Bug Fixes and Improvements
- Memory Management: Optimized the handling of dynamic memory allocation to prevent memory leaks and improve stability.
- Code Cleanup: Refactored the codebase for better readability and maintainability. Deprecated functions and variables have been removed or replaced with more efficient alternatives.
- Documentation: Updated and expanded the documentation to reflect the new architecture and features.
Breaking Changes
- API Changes: The introduction of the DisplayInterface class and its implementation may require changes to existing projects. Users must update their code to work with the new interface and adapters.
- Some methods and features directly tied to the LiquidCrystal_I2C library have been refactored or removed. Please review the migration guide for details on how to update your code.
Full Changelog: 3.5.6...4.0.0
LcdMenu 3.5.6
Chore Updates
Full Changelog: 3.5.5...3.5.6
LcdMenu 3.5.5
What's Changed
Full Changelog: 3.5.4...3.5.5
LcdMenu 3.5.4
What's Changed
Full Changelog: 3.5.3...3.5.4
LcdMenu 3.5.3
What's Changed
Full Changelog: 3.5.2...3.5.3
LcdMenu 3.5.2
What's Changed
Full Changelog: 3.5.1...3.5.2
LcdMenu 3.5.1
LcdMenu 3.5.0
What's New
- Added menu event serial logs by @forntoh in #151
- ⭐️ ⭐️ ⭐️ Added Menu Control Helpers by @forntoh in #152
As of today, you no longer need to manage navigation commands on the menu yourself, a few helpers were added to help reduce the amount of code you write, check the docs to see how to use them.
Full Changelog: 3.4.0...3.5.0