Releases: blink-zero/powerpulse
Releases · blink-zero/powerpulse
PowerPulse v1.10.0
Added
- Kiosk Mode for small screens and display panels:
- Created dedicated full-screen view optimized for small displays
- Implemented modern, clean UI with dark theme for better visibility
- Added auto-rotation between multiple UPS systems
- Designed responsive layout that works well on various screen sizes
- Made accessible without authentication for public displays
- Added multi-view mode to display all UPS systems on a single screen
- Implemented ability to select specific UPS systems to show in kiosk mode
- Added toggle button to switch between single and multi-view modes
- Created compact UPS cards for multi-view display
- Added URL parameters to control view mode and UPS selection
- Disabled inactivity timer for kiosk mode to prevent automatic logout
- Created dedicated API endpoint for kiosk mode that doesn't require authentication
PowerPulse v1.9.1
Added
- Documented previously undocumented API endpoints:
- Added User Settings API documentation
- Added Debug API documentation with all available debug endpoints
- Updated API.md table of contents to include new sections
- Provided detailed request/response examples for all endpoints
Fixed
- Fixed battery history time filter issues:
- Changed time filter options from 7 days to 3 days for better data representation
- Improved client-side filtering to ensure only data within the requested time range is displayed
- Added data sampling for multi-day views to get a more representative sample across the full time range
- Increased record limit for multi-day views to provide better data coverage
- Enhanced logging for better troubleshooting of time filter issues
- Fixed selected UPS card not updating in real-time:
- Implemented reducer pattern in Dashboard component for better state management
- Added forceUpdate counter to trigger re-renders when UPS data changes
- Ensured both small UPS cards and detailed UPS view stay in sync
- Used key prop with dynamic values to force component re-rendering
- Improved data synchronization between UPS list and detailed view
Improved
- Simplified battery history implementation:
- Streamlined data fetching and processing in useBatteryHistory hook
- Reduced complexity in batteryHistoryService by using a single reliable endpoint
- Simplified chart configuration in Dashboard component
- Removed excessive logging and error handling
- Improved code readability and maintainability
PowerPulse v1.9.0
Changed
- Consolidated settings tables:
- Merged notification settings into the user_settings table
- Created a view for backward compatibility
- Improved settings management with a unified approach
- Enhanced data consistency and reduced database complexity
- Simplified API endpoints for settings management
- Enhanced notification system:
- Improved settings loading and saving
- Added better error handling and validation
- Enhanced settings synchronization between client and server
- Added detailed logging for troubleshooting
- Improved verification of saved settings
Added
- New migration system for settings consolidation:
- Added SQL migration script for consolidating tables
- Created JavaScript migration utility for data transfer
- Added shell script for easy migration execution
- Implemented backward compatibility layer
- New userSettings API endpoint:
- Added comprehensive validation for all settings
- Improved error handling and reporting
- Enhanced security with proper input validation
- Added detailed logging for troubleshooting
Technical
- Improved code organization:
- Created dedicated userSettingsService for client-side settings management
- Enhanced SettingsContext with better state management
- Added SettingsLoader component for improved UX during settings loading
- Implemented proper settings synchronization between components
PowerPulse v1.8.2
Release Notes
This release includes code quality improvements, refactoring, and bug fixes.
Added
- Centralized configuration system:
- Added
client/src/config/appConfig.js
to store application-wide configuration values - Eliminated version number duplication across components
- Added
- Custom React hooks for improved code organization:
- Added
useInactivityTimer
hook for better session timeout management - Added
useFormValidation
hook for form state management and validation
- Added
- Centralized API service:
- Added
client/src/services/api.js
with organized API endpoints - Added request/response interceptors for common functionality
- Improved error handling for API requests
- Added
- GitHub Actions CI/CD workflow:
- Added automated build and testing pipeline
- Added security vulnerability scanning
Changed
- Updated components to use centralized configuration:
- Modified Footer.jsx to use appConfig for version and copyright information
- Updated SetupPage.jsx to use appConfig for consistent branding
- Improved form validation in AccountSettings:
- Added real-time validation feedback
- Enhanced error messages with visual indicators
- Added loading state during form submission
- Refactored AuthContext to use custom hooks and API service:
- Improved code organization and readability
- Reduced code duplication
- Enhanced error handling
Security
- Improved session timeout implementation:
- More reliable activity detection
- Better cleanup of event listeners
- Cleaner code organization
Additional Improvements
- Update package-lock.json files
- Fix syntax errors in client tests and component files
- Fix syntax errors in server tests and middleware files
- Add comprehensive test suite for client and server
- Update Login.jsx to use centralized appConfig for version and branding
- Update README.md and .env.example
Docker Hub Images
PowerPulse is now available on Docker Hub! You can run it without cloning the repository:
# Create a directory for PowerPulse
mkdir powerpulse
cd powerpulse
# Create a data directory for the server
mkdir -p server/data
# Download the Docker Compose file
wget https://raw.githubusercontent.com/blink-zero/powerpulse/v1.8.2/docker-compose.dockerhub.yml -O docker-compose.yml
# Create an environment file
wget https://raw.githubusercontent.com/blink-zero/powerpulse/v1.8.2/.env.example -O .env
# Edit the .env file with your configuration
nano .env
# Start with Docker Compose
docker-compose up -d
Docker Hub Images: