PowerPulse v1.8.2
·
1 commit
to release/v1.8.2
since this release
Release Notes
This release includes code quality improvements, refactoring, and bug fixes.
Added
- Centralized configuration system:
- Added
client/src/config/appConfig.jsto store application-wide configuration values - Eliminated version number duplication across components
- Added
- Custom React hooks for improved code organization:
- Added
useInactivityTimerhook for better session timeout management - Added
useFormValidationhook for form state management and validation
- Added
- Centralized API service:
- Added
client/src/services/api.jswith 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 -dDocker Hub Images: