Skip to content

Releases: PixelWeatherProject/pwmp-server

v2.3.0

17 Apr 15:44
4f3a535

Choose a tag to compare

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_OFFLINE environment variable from CI and Dockerfile
  • Excluded .github/ from Docker COPY
  • Increased default request limit from 4 to 20
  • 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 test CLI utility to read the entire OTA update blob
  • Added support for platform armv7-unknown-linux-musleabi
  • Warnings displayed by database erase are no longer colored
  • Added Docker CI to push to Docker Hub
  • Fixed incorrect data type for restrict_nodes in SQLite migration
  • Added details timings to test utility
  • Optimized PostgreSQL connection parameters
  • Optimized SQLite connection parameters

Full Changelog: v2.2.1...v2.3.0

v2.3.0-b4

27 Mar 14:57
e9421dc

Choose a tag to compare

v2.3.0-b4 Pre-release
Pre-release

This is a beta release for v2.3.0.

This release has minor fixes for improving Docker support.

v2.3.0-b3

26 Mar 21:05
d1e191f

Choose a tag to compare

v2.3.0-b3 Pre-release
Pre-release

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_OFFLINE environment variable from CI and Dockerfile
  • Excluded .github/ from Docker COPY
  • Increased default request limit from 4 to 20
  • 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 test CLI utility to read the entire OTA update blob

v2.3.0-b2

26 Mar 14:52
1f17128

Choose a tag to compare

v2.3.0-b2 Pre-release
Pre-release

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

14 Mar 12:27
8165fbb

Choose a tag to compare

v2.3.0-b1 Pre-release
Pre-release

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

08 Mar 08:56
71b26d1

Choose a tag to compare

  • Updated dependencies
  • Updated Rust version to 1.93
  • Fixed small warnings
  • Added error handling for whoami::username()
  • Applied Clippy suggestions

v2.2.0-b1

12 Jul 10:48
06ed371

Choose a tag to compare

v2.2.0-b1 Pre-release
Pre-release
  • 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 unsafe socket parameter setting code with socket2.
  • Replaced arrayref with 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

11 May 13:45
6aff952

Choose a tag to compare

v2.1.10 Pre-release
Pre-release
Fix time zone keeping.

v2.1.9

11 May 11:32
436fd63

Choose a tag to compare

  • Added support for database timezones.
  • Fixed CI from v2.1.8.

v2.1.7

03 May 08:06
6e037f7

Choose a tag to compare

Minor refactoring