Release Notes - v0.9.6
Release Date: 09/13/2024
This release brings significant improvements to the Hyper Light Card, focusing on code quality, performance, and user experience. Major updates include refactored state and color management, enhanced configuration options, and improved testing infrastructure.
✨ Highlights
Refactored State Management
Introduced a new StateManager class for centralized state handling, improving code organization and maintainability. 🏗️
Enhanced Color Management
Created a dedicated ColorManager class to handle color-related operations, making the color management more modular and efficient. 🎨
Improved Configuration Options
Added new configuration options for brightness control and allowed effects, giving users more control over the card's functionality. ⚙️
Comprehensive Test Suite
Implemented a robust unit testing framework, significantly improving code reliability and ease of maintenance. ✅
Features
- Implemented debounce mechanism for brightness updates, improving performance and reducing API calls while maintaining UI responsiveness.
- Added support for new SignalRGB extended attributes format, enhancing attribute rendering with color-coded display for color values.
- Introduced custom card configuration editor (HyperLightCardEditor) for easy customization of card settings.
- Added new configuration options: 'show_brightness_control' to toggle visibility of brightness slider and 'allowed_effects' to limit available effects in dropdown.
Enhancements
- Refactored state management into a separate StateManager class, improving code organization and separation of concerns.
- Created a new ColorManager class to handle color-related operations, making color management more modular and maintainable.
- Implemented custom logging utility with debug, log, warn, and error methods, improving debugging capabilities.
- Updated README with new features, configuration options, and updated screenshots, providing better documentation for users.
Bug Fixes
- Refined type definitions and improved type safety throughout the codebase, enhancing overall reliability.
Documentation
- Updated README with new features, configuration options, and usage instructions for brightness control.
- Added new effect images and removed outdated ones, providing up-to-date visual references for users.
Development
- Upgraded various development dependencies, ensuring the project uses the latest versions of tools and libraries.
- Refactored test structure, moving tests to a separate directory and updating related configurations.
- Implemented comprehensive unit tests for HyperLightCard, improving code reliability and maintainability.
- Updated CI/CD workflow to use the latest versions of upload-artifact and download-artifact actions.
🔧 Upgrade Notes
- This release requires Home Assistant 2024.2.0 or newer.
- Users of the latest SignalRGB Beta version are required for full compatibility.
- If you're using custom configurations, please review the new configuration options for brightness control and allowed effects.
📊 Metrics
- Total Commits: 23
- Files Changed: 85
- Insertions: 3428
- Deletions: 1827