Skip to content

awayd v0.3.1

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Nov 12:06
· 1 commit to main since this release

Upgrading from 0.3.0

  • Replace all three programs (awayd.exe, awayd-settings.exe, awayctl.exe) together.
    config.toml, the Discord token and the saved state are kept.
  • Log files to keep now counts the current awayd.log too: with the default 5, awayd keeps
    awayd.log and awayd.log.1 to .4; an awayd.log.5 is deleted at the next rotation.

Fixed

  • Settings: the country picker under Days off offered only Germany. At start the settings
    ask awayd for the country list and for the stored credentials at the same moment; the second
    connection was refused with "All pipe instances are busy". Clients (settings and awayctl)
    now retry a busy pipe for up to 2 s, and the settings ask for the country list again every
    30 s while the picker is shown without it. The same race could make Services show a stored
    Discord token as missing.
  • awayd logs a warning when it cannot download the country list instead of silently answering
    with an empty list.
  • Log rotation kept one file more than Log files to keep says: advanced.log_max_files now
    counts the current awayd.log too (default 5: awayd.log and awayd.log.1 to .4, about
    25 MB). Rotated files beyond the limit, e.g. awayd.log.5 left by 0.3.0, are deleted at the
    next rotation; with 1 the log file starts over.
  • A failed log rotation (e.g. another program holds awayd.log open without delete sharing)
    dropped the log line that triggered it and was retried on every line; awayd now keeps
    writing to the current file and tries again later.