github Dark-Alex-17/managarr v0.8.1

5 hours ago

v0.8.1

This is a patch release that makes the Managarr CLI dramatically friendlier to scripts and LLM agents, and fixes two bugs: a startup panic in sandboxed environments and a --servarr-name selection bug for Readarr instances.

Breaking Changes (CLI scripting)

  • CLI errors are now emitted as structured JSON on stderr instead of plain red text. Any scripts that parse the old plaintext error output will need to be updated to parse the new JSON format (see below). Exit codes are unchanged, and the TUI and log output are unaffected.

Features

  • Uniform JSON error output in the CLI: All errors from CLI commands now come out in the same JSON format to further improve scripting and LLM integration (11524bb). Every CLI error is printed to stderr as:
    {
      "error": {
        "message": "Request failed. Received 404 response code with body: ...",
        "status": 404,
        "body": {
          "message": "NotFound"
        }
      }
    }
    HTTP errors include the numeric response status and the response body (parsed as JSON when possible); all other errors (configuration, connection, etc.) report "status": null and "body": null, so consumers can always rely on the same shape.

Fixes

  • Managarr no longer panics at startup when the log directory cannot be created or written to (read-only home directories, sandboxed builds, etc.). It now prints a warning to stderr and continues with file logging disabled (#67, 0f230a1)
  • The --servarr-name global switch now correctly selects the named Readarr instance when running managarr readarr CLI commands against a config with multiple Readarr instances (11524bb)

AI Use Disclosure

The above release notes were created by Claude Fable and reviewed and revised by myself, @Dark-Alex-17.

AI assistance was used in writing some of the code in this release, and all AI-generated code was designed, thoroughly reviewed, and tested by myself before being committed.

All bugs that emerge as part of this release and any new code added are fully my responsibility.

Models Used:

  • Claude Fable 5.1

Tools used:

Don't miss a new managarr release

NewReleases is sending notifications on new releases.