Skip to content

Releases: SuperioOne/nut_webgui

v0.5.4

18 Aug 21:40
v0.5.4
ef78433
Compare
Choose a tag to compare

version ≈ 0.5.4

Added

  • UI now displays power values with an approximately symbol(≈) when the value is not reported by UPSD but derived from load and nominal power variables. (PR #27, @denis-kudelin )

Fixed

  • UPS instant command list sometimes did not match with UPSD. (PR #27, @denis-kudelin )

v0.5.3

28 Jul 15:06
v0.5.3
7e23be5
Compare
Choose a tag to compare

Fixed

  • Compressed assets does not work on some browsers.

v0.5.2

28 Jul 10:40
v0.5.2
3482155
Compare
Choose a tag to compare

Changed

  • Client assets are now pre-compressed with Brotli. (Reverted back on v0.5.3)
  • Switched to a custom gauge web component. This shaves off additional 0.5 MiB of unnecessary Js from the bundle. (Though still can't beat TempleOS).

Fixed

  • Attached clients' info does not update after the first initialization (#23).

v0.5.1

25 Jun 19:25
v0.5.1
70f51dd
Compare
Choose a tag to compare

No important changes if your nut server is already newer than v2.8.0.

Fixed

  • NUT packages prior to 2022 don't support PROTVER. Fallback to the old NETVER, since it's widely available. (#21)

v0.5.0

25 Jun 08:29
v0.5.0
39bae94
Compare
Choose a tag to compare

Same, but different... but still same...

Added

  • Configuration system that supports CLI arguments, environment variables and TOML config file.
  • Configurable default theme option.
  • Docker/Podman secrets compatible environment variables.
  • Fuzzy search on lists.
  • Pages redesigned to display more information, including battery runtime, attached clients, real/apparent power, and temperature.
  • NUT client implementation with connection pool.
  • Server status page.
  • Support for calling Forced-shutdown from both GUI and API.
  • Support for updating UPS variables from both GUI and API.
  • Variable and command descriptions.

Changed

  • (BREAKING) JSON Data API schemas and endpoints are changed. Review the OpenAPI spec before updating if you rely on v0.4.2 API.
  • All static content (index.js, icons, and css files) is now part of the executable instead of being in a separate directory.
  • Rust edition updated from 2021 to 2024.
  • UPS info page now uses tabs for better organization.
  • DaisyUI has been updated to version 5 and TailwindCSS to version 4.

Removed

  • --static-dir configuration flag.

v0.4.2

09 May 03:20
v0.4.2
17939e8
Compare
Choose a tag to compare

Added

  • Configuration option for HTTP server base path.

v0.4.1

13 Apr 19:50
v0.4.1
dd8ba5a
Compare
Choose a tag to compare

Changed

  • The NUT protocol parser has been optimized for slightly better performance.
  • The UI notifications have been simplified.

Fixed

  • Missing cache-control headers caused 308 redirects to not-found pages.
  • The page cannot be routed when the URL contains a trailing forward slash.

v0.4.0

12 Oct 17:42
v0.4.0
38aba37
Compare
Choose a tag to compare

Changed

  • Bump apexcharts version from 3.50.0 to 3.53.0.
  • Bump htmx version from 2.0.1 to 2.0.3.
  • Bump server crate versions to latest.
  • Generalized HTTP error responses based on RFC9457/RFC7807.
  • JSON API returns HTTP 5xx error codes with problem details when daemon connection is lost.
  • Logger redacts upsd_pass config when server starts with LOG_LEVEL=DEBUG
  • Logging style is improved in general. No more {:?} dumps.
  • Remaining battery runtime shown in yMdhms date-time format instead of raw seconds.
  • UPS table elements are sorted by UPS name.
  • Voltage texts are vertically centered on the UI.
  • health probe returns HTTP 500 status code when daemon connection is lost.
  • health probe returns application/json response. Response contains basic info like last sync time, daemon status, and daemon host.

Added

  • Display UPS manufacturer and model information on UPS page.
  • readiness probe for Kubernetes deployments.
  • upsd_client logs upsd protocol messages when LOG_LEVEL is set to TRACE.
  • OpenAPI specification is added to docs.

Fixed

  • A single failing UPS driver distrupts other UPS devices' states.
  • Probe endpoints don't support CORS.
  • Server doesn't delete failing/disconnected UPS devices from both HTML and JSON responses.
  • Texts get overlap in table elements when screen size is too small.
  • UPS info page displays incorrect power unit for the apparent power values (ups.power).
  • On certain light themes, text colors blend with background and becomes unreadable.
  • upsd_client uses wrong error types when list commands fail.

v0.3.2

29 Sep 01:01
v0.3.2
904c1e7
Compare
Choose a tag to compare

Fixed

  • Corrected numeric type handling to prevent Invalid digit found errors on certain UPS devices. (Fixes #1)

v0.3.1

19 Jul 13:17
v0.3.1
ab2a540
Compare
Choose a tag to compare

Fixed

  • Inconsistent UPS table cell sizing. (Chromium)
  • Missing gauge track background color. (Chromium)

CSS moment