Releases: SuperioOne/nut_webgui
Releases · SuperioOne/nut_webgui
v0.5.4
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
Fixed
- Compressed assets does not work on some browsers.
v0.5.2
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
v0.5.0
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
Added
- Configuration option for HTTP server base path.
v0.4.1
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
Changed
- Bump
apexcharts
version from3.50.0
to3.53.0
. - Bump
htmx
version from2.0.1
to2.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 withLOG_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 toTRACE
. - 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.