Releases: hatlabs/HALPI2-daemon
Releases · hatlabs/HALPI2-daemon
Version 4.0.7 🦑
This is a long journey of a single highly useful change visible to the end user (the package now works when used on different Debian distributions) and a whole bunch of attempts to make the CI behave.
What’s Changed
- Build again for arm64 (#28) @mairas
- Fix the artifact upload in release-drafter.yml (#27) @mairas
- Debug missing artifact issues (#26) @mairas
- Wait for the merge build to finish before trying to draft the release (#25) @mairas
- Build packages on every PR update to make debugging easier (#24) @mairas
- Try to fix the CI package builds (#23) @mairas
- Add a run function for testing the build workflow locally using act (#22) @mairas
- Use docker compose v2 (#21) @mairas
- Fix the release process (#20) @mairas
- Use UV for Debian packaging (#19) @mairas
👥 List of contributors
Version 4.0.5 🦑
What’s Changed
- No changes; bump the version because the previous released packages had wrong version number.
👥 List of contributors
Version 4.0.4 🦑
Version 4.0.3 🦑
What’s Changed
- Rename power_off_threshold to solo_power_off_threshold for clarity in configuration API
- Improve float number formatting in CLI config display to show 1-2 decimal places
- Remove redundant firmware-version CLI command (functionality available via
halpi get firmware_version) - Disable auto-generation of release notes in GitHub workflow
- Bump version to 4.0.3 and update dependencies
API/Configuration Changes
- Renamed configuration parameter: power_off_threshold → solo_power_off_threshold in both HTTP API and I2C device interface for better clarity
about its specific function - Updated all related getter/setter methods and API endpoints
CLI Improvements
- Enhanced config display formatting: Float values in halpi config output now display with 1-2 decimal places (e.g., 4.0 instead of 4.00, 3.25
stays 3.25) while individual value requests still show exact values - Removed duplicate command: Eliminated redundant firmware-version command (use
halpi get firmware_versioninstead)
⬆️ Dependencies updates
- ⬆️ Bump peter-evans/repository-dispatch from 2 to 3 (#3) @dependabot[bot]
- ⬆️ Bump softprops/action-gh-release from 1 to 2 (#4) @dependabot[bot]
- ⬆️ Bump actions/checkout from 4 to 5 (#11) @dependabot[bot]
👥 List of contributors
@dependabot[bot], @mairas and dependabot[bot]
What's Changed
- ⬆️ Bump actions/checkout from 4 to 5 by @dependabot[bot] in #11
- ⬆️ Bump softprops/action-gh-release from 1 to 2 by @dependabot[bot] in #4
- ⬆️ Bump peter-evans/repository-dispatch from 2 to 3 by @dependabot[bot] in #3
- Release 4.0.3 by @mairas in #12
New Contributors
- @dependabot[bot] made their first contribution in #11
Full Changelog: v4.0.2...v4.0.3
Version 4.0.2 🦑
Version 4.0.1 🦑
What’s Changed
- State enum did not match the states reported by the firmware, causing incorrect states to be reported.
👥 List of contributors
Version 4.0.0 🦑
Release Notes - halpid v4.0.0
🚀 Major Features
CLI Refactoring (#7)
- Complete CLI overhaul with improved command structure and user experience
- New status command replaces the old print command for better clarity
- Enhanced get command for querying individual device values with improved formatting
- New config subcommands: halpi config get and halpi config set for easier configuration management
- Unified shutdown/standby commands - consolidated power management interface
- Help message display when running halpi without arguments
Enhanced Device Configuration
- Auto-restart support - new auto_restart configuration option for automatic device recovery
- Solo depleting timeout configuration - ability to set custom timeout values for battery depletion scenarios
- PCB temperature monitoring - added support for querying T_pcb (PCB temperature)
🛠️ Improvements
I2C Communication
- Optimized I2C writes - now performed in single messages for better efficiency and reliability
- Updated state enums - synchronized with latest firmware state names
- Improved error handling - better firmware flashing error reporting
API and Server Enhancements
- Separate subsystem version reporting - distinct version information for different components
- Enhanced HTTP API - improved endpoints for device control and monitoring
- Standardized terminology - renamed "sleep" to "standby" across all interfaces for consistency
🐛 Bug Fixes
- Fixed voltage reporting - corrected voltage measurement display issues
- Fixed state output formatting - improved readability of device state information
- Linting error fixes - resolved code style and formatting issues
🔧 Infrastructure & Packaging
- Firmware package integration - firmware config file now installed by firmware package
- Debian packaging updates - improved package versioning and changelog
- Documentation overhaul - significantly streamlined README with focus on essential information
📦 What's Changed
- 22 commits with extensive CLI refactoring
- Major version bump from 3.0.3 to 4.0.0 due to breaking CLI changes
- Improved I2C communication reliability
- Enhanced configuration management capabilities
- Better error handling and user feedback
- CLI command structure has been redesigned - scripts using the old CLI may need updates
- print command replaced with status command
- Configuration commands now use subcommand structure (config get/set)
- "Sleep" terminology replaced with "standby" in API endpoints
🔄 Migration Guide
- Replace halpi print with halpi status
- Update configuration scripts to use halpi config get and halpi config set
- Update any references to "sleep" mode to use "standby"
---Full Changelog: https://github.com/hatlabs/halpid/compare/v3.0.3...v4.0.0