Releases: PixelWeatherProject/pwmp-server
v2.3.0
Summary
This release comes with lots of small improvements and QoL updates. The biggest change is the addition of SQLite support.
Details
- Added support for logging to a file
- Added support for SQLite
- Removed support for forcibly setting timezone for PostgreSQL sessions
- Added support for FreeBSD
- Refactored some database operations
- Updated dependencies
- Added requirement for SQLite database path to be absolute
- Display user-friendly error if logging setup fails
- Upgraded LTO level to
fat - Added logging configuration to SystemD template
- Fixed test command not exiting after a failed handshake
- Fixed incorrect integer type mapping for
sleep_time - Tested with Neon's managed PostgreSQL
- Removed unused query files
- Removed redundant
SQLX_OFFLINEenvironment variable from CI and Dockerfile - Excluded
.github/from DockerCOPY - Increased default request limit from
4to20 - Removed support for custom time frame in rate limiter
- Added CLI for OTA utilities
- Added support for listing firmwares in the database
- Added support for pulling firmware blobs from the database
- Added support for pushing firmware blobs to the database
- Fixed incorrect integer mappings in SQLite backend
- Incomplete OTA update requests are now handled properly when clients request a firmware update report
- Non-successfull responses will properly close the socket instead of attempting to continue reading messages
- Fixed
testCLI utility to read the entire OTA update blob - Added support for platform
armv7-unknown-linux-musleabi - Warnings displayed by
database eraseare no longer colored - Added Docker CI to push to Docker Hub
- Fixed incorrect data type for
restrict_nodesin SQLite migration - Added details timings to
testutility - Optimized PostgreSQL connection parameters
- Optimized SQLite connection parameters
Full Changelog: v2.2.1...v2.3.0
v2.3.0-b4
This is a beta release for v2.3.0.
This release has minor fixes for improving Docker support.
v2.3.0-b3
This is a beta release for v2.3.0.
Summary
This release contains more bugfixes and an added CLI utility for dealing with OTA stuff. It was tested more thoroughly, but there are still things to improve, so it remains a beta release.
Details
- Removed unused query files
- Removed redundant
SQLX_OFFLINEenvironment variable from CI and Dockerfile - Excluded
.github/from DockerCOPY - Increased default request limit from
4to20 - Removed support for custom time frame in rate limiter
- Added CLI for OTA utilities
- Added support for listing firmwares in the database
- Added support for pulling firmware blobs from the database
- Added support for pushing firmware blobs to the database
- Fixed incorrect integer mappings in SQLite backend
- Incomplete OTA update requests are now handled properly when clients request a firmware update report
- Non-successfull responses will properly close the socket instead of attempting to continue reading messages
- Fixed
testCLI utility to read the entire OTA update blob
v2.3.0-b2
This is a beta release for v2.3.0.
Summary
This release contains minor bugfixes as well as some quality of life improvements. The OTA-related queries have not been tested yet, so this remains a beta release.
Details
- Updated dependencies
- Added requirement for SQLite database path to be absolute
- Display user-friendly error if logging setup fails
- Upgraded LTO level to
fat - Added logging configuration to SystemD template
- Fixed test command not exiting after a failed handshake
- Fixed incorrect integer type mapping for
sleep_time - Tested with Neon's managed PostgreSQL
v2.3.0-b1
This is a beta release for v2.3.0.
Summary
This release comes with added support for SQLite alongside PostgreSQL. Database calls no longer use SQLx macros, so compilation times should be shorter, however the queries are no longer checked at compile time, so there's a higher change for bugs. This release has not been fully tested, hence it's a pre-release for now.
Details
- Added support for logging to a file
- Added support for SQLite
- Removed support for forcibly setting timezone for PostgreSQL sessions
- Added support for FreeBSD
- Refactored some database operations
- Updated dependencies
v2.2.1
- Updated dependencies
- Updated Rust version to
1.93 - Fixed small warnings
- Added error handling for
whoami::username() - Applied Clippy suggestions
v2.2.0-b1
- Fixed debug logging not available in release builds.
- Fixed printing temperature values.
- Updated dependencies.
- Added Node ID to some debug messages.
- Several parts rewritten/refactored.
- Changed logging framework to
tracing. - Replaced
unsafesocket parameter setting code withsocket2. - Replaced
arrayrefwith error-checked conversions. - Sending and receiving messages now explicitly uses network endian.
- Added support for OpenRC service manager.
SystemD has not been tested as of this release, and since it has been rewritten it might be broken or buggy.
Full Changelog: v2.1.10...v2.2.0-b1
v2.1.10
Fix time zone keeping.
v2.1.9
- Added support for database timezones.
- Fixed CI from v2.1.8.
v2.1.7
Minor refactoring