Skip to content

PowerPulse v1.8.2

Choose a tag to compare

@blink-zero blink-zero released this 28 Feb 10:32
· 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.js to store application-wide configuration values
    • Eliminated version number duplication across components
  • Custom React hooks for improved code organization:
    • Added useInactivityTimer hook for better session timeout management
    • Added useFormValidation hook for form state management and validation
  • 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
  • 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: