Releases: frozer/nightshift
Releases · frozer/nightshift
Nightshift 0.9.5
Release Overview:
This release introduces major improvements and new features, focusing on enhancing functionality, code structure, and logging capabilities across the project. It includes the integration of the liblogger library, refactoring of connection handlers and MQTT processing, and the implementation of a simple TCP client for testing.
Key Features and Enhancements:
1. Library Addition and Logging Enhancements:
- New
libloggerLibrary:- Integrated a comprehensive logging library to standardize log messages and support dynamic log level control.
- Increased
logMessagebuffer size to 1024 bytes, enabling more detailed logging.
- API Enhancements:
- Updated the Logger API to handle message sources and extended
AppConfigto includesiteIdandpinCode.
- Updated the Logger API to handle message sources and extended
2. New Utilities and Features:
- TCP Client Implementation:
- Added a simple TCP client for sending messages to
localhoston port 1111, facilitating local testing.
- Added a simple TCP client for sending messages to
- Environment Handlers:
- Introduced handlers for
DOZOR_SITE_KEYandDOZOR_SITE_IDenvironment variables for better socket configuration.
- Introduced handlers for
- Command Line Options:
- Developed robust command line options processing for more flexible application configuration.
Code Refactoring:
- Simplified Socket Service:
- Migrated message handlers to
main.cfor clearer structure. - Removed unused fields from
SocketConfigandConnectionPayloadstructs and cleaned up MQTT-related code.
- Migrated message handlers to
- Modular Configuration:
- Extracted application configuration logic into a new module,
app-config.c, for better maintainability.
- Extracted application configuration logic into a new module,
Bug Fixes and Stability Improvements:
- Memory Management:
- Fixed issues with memory leaks and stalled threads in the message handling code.
- Build Process:
- Resolved build process errors and updated Automake configurations, ensuring smoother builds.
- Improved Logging:
- Enhanced logging features, adding debug functionality and tracking incoming packet data.
Cleanup and Maintenance:
- Conducted extensive code cleanup, reorganizing project files and focusing on code maintainability and efficiency.
This release sets a strong foundation for future updates by introducing a reliable logging mechanism, simplifying the codebase, and enhancing the overall stability of the application.
NightShift 0.9.4
NightShift 0.9.3
Implemented:
- graceful stop
- WILL message extracted to separate topic
NightShift 0.9.2
Set Section and Zone MQTT message as retained
NightShift 0.9.1
NightShift with basic MQTT support
NightShift 0.8.1
First public release