Skip to content

v1.4.0

Choose a tag to compare

@github-actions github-actions released this 27 Oct 19:56
· 47 commits to main since this release
v1.4.0
ee11c12

Upgrade notes

  • The config file is now actually read. Previously dynamotd.yaml was silently ignored because of a bug, so if you created one earlier, it will now take effect. If it contains an unknown row type (f.e. a typo), dynamotd prints an error and exits with 1, so no MOTD is shown until you fix it. The config file locations and format are unchanged.
  • RAM figures change slightly, mostly on macOS: used memory is now "total minus available" on all OSes, and the total on macOS is the physical RAM size.
  • The output alignment changed: the label column is now as wide as the longest label, instead of a fixed 23 characters.

New

  • .deb and .rpm packages, installing /usr/bin/dynamotd and the example config as /etc/dynamotd.yaml.
  • Static Linux binaries that work on any distro, regardless of its glibc version. All binaries are also about half the size.
  • -version flag.
  • A row that fails to get its data shows a red "can't get: ..." value instead of crashing the whole MOTD.
  • All rows are generated concurrently, so login waits only for the slowest one (usually the external IP).
  • Checksums of all the files in checksums.txt.
  • MIT license.

Fixed

  • Disk space was shown in red already at 75% usage and never in yellow (the warning and critical thresholds were swapped).
  • % characters in uncolored text were mangled.

Internal

  • Go 1.26 and updated dependencies (gopsutil v4; Viper and go-osstat removed).
  • Releases built with GoReleaser; CI runs the tests on Linux and macOS, plus golangci-lint; Dependabot for dependency updates.

Full Changelog: v1.3.1...v1.4.0