Skip to content

v0.1.1

Choose a tag to compare

@mikedclarke mikedclarke released this 07 Sep 01:37
· 31 commits to main since this release

Added

  • setting set records a setting.updated audit event (entity setting, the
    key as entity_key, with --actor).
  • Error-code reference tables in docs/API.md (every code with its HTTP status
    and CLI exit code) and docs/CLI.md (the four codes the CLI raises itself).

Changed

  • issue append, issue comment and comment edit accept --text and
    --body interchangeably. Passing both at once is a usage error.
  • issue relate --remove is idempotent: the server answers 200 with
    "removed": true|false rather than 404, and the CLI exits 0 either way and
    says which happened. A mistyped key or relation type is still an error.

Fixed

  • trackd comment <ISSUE-KEY> now points at trackd issue comment instead of
    the opaque "unknown comment subcommand".
  • The admin and server commands (setting, token, export, import,
    backup, restore, serve) report an unknown flag as a usage error
    (exit 2, code: "usage") with a JSON error object, instead of exit 1 /
    internal.
  • A missing API token is caught locally and reported as exit 4 (unauthorized)
    with an actionable message, instead of after a wasted request.
  • label add --color rejects a value that is not a #rgb or #rrggbb hex
    color (422) instead of storing it and drawing nothing.
  • Issue titles and project and milestone names are trimmed and must be 1 to 500
    characters, on create and on update (422 otherwise).
  • errcheck findings across the store and server.