Releases: hyperb1iss/hyper-light-card
Release v0.9.6!
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
Release v0.9.4
hyper-light-card v0.9.4 Release Notes
🚀 This release brings important stability improvements and visual enhancements to the hyper-light-card for Home Assistant.
What's New
🐛 Bug Fixes
- Improved state management in the main component
- Better performance and stability when controlling SignalRGB
- Optimized color extraction triggering
- Enhanced logging for easier troubleshooting
💄 UI Improvements
- Beautified release manager with a cosmic theme
- Added gradient-based ASCII art banner
- Implemented color-coded output for better readability
Metrics
- 3 commits
- 4 files changed
- 283 lines added
- 104 lines removed
This release focuses on refining the core functionality and developer experience. Users should notice improved reliability when interacting with SignalRGB effects through the custom card. Developers will benefit from the enhanced release manager, making future updates more visually appealing and easier to manage.
No breaking changes or special upgrade notes for this release.
Release v0.9.3
hyper-light-card v0.9.3 Release Notes
🚀 This release focuses on performance enhancements and user experience improvements for the hyper-light-card, a custom Home Assistant card for controlling SignalRGB.
What's New
Performance Boost 🔥
- ⚡️ Significantly improved responsiveness when handling large numbers of SignalRGB effects
- ✨ Implemented memoization for effect list rendering, reducing unnecessary re-renders
- 🚀 Enhanced scrolling to current effect for a smoother user experience
Under the Hood 🛠️
- ♻️ Refactored state updates for better overall performance
- 🔧 Added data attributes to effect items for improved DOM manipulation
Metrics
- 📊 2 commits
- 📁 5 files changed
- 📈 340 total lines changed (183 additions, 157 deletions)
Upgrade Notes
This update is fully backwards compatible and requires no additional configuration changes. Users should notice improved performance, especially when working with numerous SignalRGB effects.
Release v0.9.2
hyper-light-card v0.9.2 🎉
This release brings significant improvements to the hyper-light-card, enhancing user experience,
performance, and developer workflows. With 11 commits across 20 files, this update introduces
795 new lines of code while refining and removing 231 lines.
🚀 Highlights
- ✨ Smoother effect selection with auto-scroll and async updates
- ⚡️ Major performance optimizations for color handling and state updates
- ♿ Enhanced accessibility with improved keyboard navigation and ARIA attributes
- 🛠️ Streamlined build process and CI/CD workflow
🔧 Key Improvements
User Experience
- Auto-scroll to current effect in dropdown for easier navigation
- Async effect selection for more responsive interactions
Performance
- Debounced color extraction and optimized state updates
- Improved brightness update efficiency
- Mutation observer for entity icon changes
Accessibility
- Added ARIA attributes and roles
- Enhanced keyboard navigation for dropdown items
- Improved alt text and semantic structure
Development and CI/CD
- Updated build output directory for HACS compatibility
- Consolidated CI and release processes
- Enhanced release management script
📝 Notes
- This release maintains compatibility with Home Assistant 2024.2.0 and newer
- No breaking changes reported
0.9.0
First release of hyper-light-card supporting all lighting features of the SignalRGB API!