Skip to content

Releases: gilbertwong96/ado_cli

AdoCli v0.4.12

27 Jun 11:50
5aa41be

Choose a tag to compare

AdoCli v0.4.12

Pre-built binaries for all supported platforms.

Platform Architecture Binary
Linux x86_64 ado-*-linux-x86_64
Linux aarch64 ado-*-linux-aarch64
macOS Apple Silicon ado-*-macos-aarch64
macOS Intel ado-*-macos-x86_64
Windows x86_64 ado-*-windows-x86_64.exe

See README.md for
installation instructions.

AdoCli v0.4.11

26 Jun 03:43
a742501

Choose a tag to compare

AdoCli v0.4.11

Pre-built binaries for all supported platforms.

Platform Architecture Binary
Linux x86_64 ado-*-linux-x86_64
Linux aarch64 ado-*-linux-aarch64
macOS Apple Silicon ado-*-macos-aarch64
macOS Intel ado-*-macos-x86_64
Windows x86_64 ado-*-windows-x86_64.exe

Fixed

  • ado prs diff ... --unified | head -n 220 failed in Burrito binaries
    with "Failed to write log message to stdout, trying stderr".
    Root
    cause was a Burrito wrapper bug: CLI args were joined with spaces into
    the ADO_ARGS env var, which broke args containing spaces (e.g. project
    names like "Employee Management"). The Burrito fork has been fixed
    upstream — args now flow via native argv (after -extra) and reach the
    BEAM through :init.get_plain_arguments/0. ado_cli updated to match.
    Verified: quoted args parse correctly and piping to head works in both
    escript and Burrito binaries.

See README.md for
installation instructions.

AdoCli v0.4.10

24 Jun 05:36
44eb0da

Choose a tag to compare

AdoCli v0.4.10

Pre-built binaries for all supported platforms.

Platform Architecture Binary
Linux x86_64 ado-*-linux-x86_64
Linux aarch64 ado-*-linux-aarch64
macOS Apple Silicon ado-*-macos-aarch64
macOS Intel ado-*-macos-x86_64
Windows x86_64 ado-*-windows-x86_64.exe

Added

  • --end-line for multi-line codeblock comments. ado prs comments add
    now supports --line START --end-line END to comment on a range of lines
    instead of a single line.

Fixed

  • Inline comments showed "file no longer exists" warning. The filePath
    in threadContext was missing a leading /, causing Azure DevOps to not
    set changeTrackingId. The ensure_leading_slash/1 helper now normalizes
    user input automatically — both src/foo.ex and /src/foo.ex work.

See README.md for
installation instructions.

AdoCli v0.4.9

24 Jun 04:09
dd65ce7

Choose a tag to compare

AdoCli v0.4.9

Pre-built binaries for all supported platforms.

Platform Architecture Binary
Linux x86_64 ado-*-linux-x86_64
Linux aarch64 ado-*-linux-aarch64
macOS Apple Silicon ado-*-macos-aarch64
macOS Intel ado-*-macos-x86_64
Windows x86_64 ado-*-windows-x86_64.exe

See README.md for
installation instructions.

AdoCli v0.4.8

24 Jun 02:21
23e3f4f

Choose a tag to compare

AdoCli v0.4.8

Pre-built binaries for all supported platforms.

Platform Architecture Binary
Linux x86_64 ado-*-linux-x86_64
Linux aarch64 ado-*-linux-aarch64
macOS Apple Silicon ado-*-macos-aarch64
macOS Intel ado-*-macos-x86_64
Windows x86_64 ado-*-windows-x86_64.exe

Fixed

  • prs diff failed for new/deleted files against real Azure DevOps API.
    The change_type/1 function matched only integer changeType values (1, 2, 4),
    but the real API returns strings ("add", "edit", "delete"). The
    404-tolerance logic never activated. Now handles both string and integer formats
    across the iterations/{i}/changes and /diffs/commits endpoints.

  • Hunk headers were wrong for new and deleted files. @@ -1,1 instead of
    @@ -0,0 for new files, with a spurious empty deletion line. Empty content
    now maps to [] for correct headers.

  • just bump did not update github-page/index.html when the version was
    already stale.
    The sed pattern matched only the immediately-previous version.
    Now uses a semver-generic regex to catch any stale references.

See README.md for
installation instructions.

AdoCli v0.4.7

24 Jun 02:07
7b76487

Choose a tag to compare

AdoCli v0.4.7

Pre-built binaries for all supported platforms.

Platform Architecture Binary
Linux x86_64 ado-*-linux-x86_64
Linux aarch64 ado-*-linux-aarch64
macOS Apple Silicon ado-*-macos-aarch64
macOS Intel ado-*-macos-x86_64
Windows x86_64 ado-*-windows-x86_64.exe

Fixed

  • prs diff --file returned 404 for new files (2 fixes). Two related bugs:

    1. For files added in a PR (changeType add), the Azure DevOps /items API
      returns 404 when fetching content at the base commit. The diff pipeline
      now tolerates these 404s and uses empty content. Same for deleted files.
    2. The --file path argument (e.g. src/foo.ex) was sent directly to the
      API without a leading /, causing 404s even for existing files. The
      canonical API path from the change list is now used.
  • prs diff --unified dropped new and deleted files. The unified diff
    mode silently skipped files where the old or new content fetch failed.
    Now correctly includes new and deleted files in the output.

  • just bump did not update skill version frontmatter. The
    priv/skills/*/SKILL.md YAML headers were excluded from the bump script,
    requiring manual updates. They are now bumped in lockstep with mix.exs.

Changed

  • ado login --method device no longer requires --org. The org
    is auto-detected from the token, matching the browser flow behavior.
    ado login with no flags works for both browser and device code flows.

  • Login help text and skills updated to guide users toward the
    simplest workflow: ado login (no flags).

See README.md for
installation instructions.

AdoCli v0.4.6

23 Jun 10:24
73e04cc

Choose a tag to compare

AdoCli v0.4.6

Pre-built binaries for all supported platforms.

Platform Architecture Binary
Linux x86_64 ado-*-linux-x86_64
Linux aarch64 ado-*-linux-aarch64
macOS Apple Silicon ado-*-macos-aarch64
macOS Intel ado-*-macos-x86_64
Windows x86_64 ado-*-windows-x86_64.exe

Fixed

  • prs diff --file returned 404 for new files. For files added in a
    PR (changeType add), the Azure DevOps /items API returns 404 when
    fetching the file at the base commit (the file did not exist yet). The
    diff pipeline now tolerates 404 on the old-content side for new files
    and on the new-content side for deleted files, using empty content.
  • prs diff --unified dropped new and deleted files. The unified diff
    mode (collect_diffs) silently skipped files where either the old or new
    content fetch failed. It now correctly includes new and deleted files.

See README.md for
installation instructions.

AdoCli v0.4.5

22 Jun 07:17
8f545c4

Choose a tag to compare

AdoCli v0.4.5

Pre-built binaries for all supported platforms.

Platform Architecture Binary
Linux x86_64 ado-*-linux-x86_64
Linux aarch64 ado-*-linux-aarch64
macOS Apple Silicon ado-*-macos-aarch64
macOS Intel ado-*-macos-x86_64
Windows x86_64 ado-*-windows-x86_64.exe

Fixed

  • Work items list returned empty Type/Title columns. WIQL queries
    return bare {id, url} refs without field data. Added fetch_work_items_batch
    to batch-fetch full work item details by IDs for rich table output.
  • Work items list WIQL clause ordering was broken. The internal query
    builder produced ORDER BY ... WHERE ... FROM WorkItems SELECT ... instead
    of the correct SELECT ... FROM WorkItems WHERE ... ORDER BY ... order.
    Rewrote the pipeline to build clauses in the proper order.
  • Work items create and update returned "content-type not supported".
    The Azure DevOps work items API requires application/json-patch+json,
    but Client.post/patch always sent application/json. Extended both
    functions to accept an optional content type parameter.
  • Work items update --tags appended instead of replacing. The JSON-Patch
    op: "add" on System.Tags appends tags in Azure DevOps. Changed
    update_work_item to use op: "replace" to match the documented
    "replaces all" behavior.
  • Client.do_request_with_auth exceeded Credo's max arity of 8. Merged
    org and auth_headers into a single tuple parameter.

AdoCli v0.4.4

17 Jun 05:19
6626a57

Choose a tag to compare

What's New in v0.4.4

This release fixes the multi-word --content parsing issue and overhauls
documentation across the CLI and skills for LLM agent consumption.

Fixed

  • ado prs comments add --content accepts unquoted multi-word text.
    Elixir 1.18+ OptionParser in strict mode consumes only one token after
    a flag, so --content Code review approved parsed as content="Code"
    and ["review", "approved"] as extra positional args, which CliMate
    rejected with unexpected extra argument review. Added a pre-parse
    pass in AdoCli.CLI.run/1 that detects flags in @multivalue_opts
    (--content, --message, --body, --description, --reason,
    --summary, --text) and joins all subsequent non-flag tokens into
    a single value using the --flag=value syntax. 12 new unit tests
    cover single-word, multi-word, --status-after, =, -, @file
    and combination cases.

Documentation

  • Enriched --help text across all 27 command modules. Every option
    doc: string now includes valid values for enums, default behavior
    hints, output format descriptions, and argument format hints (GUID
    vs numeric ID vs name). Example: state: "wellFormed, creating, deleting, new, all" instead of Filter by project state.
  • Rewrote all 3 skills for LLM agent consumption. Each skill now
    has a decision tree, structured command reference, common pitfalls
    table with specific error messages and version-specific fixes, and
    cross-references. Bumped to v0.4.3 to match the CLI version. New
    sections include binary download matrix (5 platforms in ado-ci), PAT
    scope table, troubleshooting matrix (ado-auth), and JSON output
    examples (ado-cli).
  • Updated help text to document the new multi-word flag behavior.
    prs comments add --help and prs comments update --help now show:
    "Multi-word values do NOT need quoting — all subsequent args are
    joined until the next flag. Use @ to read from a file or -
    to read from stdin."

Tests

  • 12 new tests in test/ado_cli/cli_test.exs for the multi-word flag
    join behavior. 337 tests pass, credo clean, dialyzer clean.

Binaries

Platform Architecture Binary
Linux x86_64 ado-0.4.4-linux-x86_64
Linux aarch64 ado-0.4.4-linux-aarch64
macOS Apple Silicon ado-0.4.4-macos-aarch64
macOS Intel ado-0.4.4-macos-x86_64
Windows x86_64 ado-0.4.4-windows-x86_64.exe

Installation

# macOS arm64 (Apple Silicon)
curl -L -o ado https://github.com/gilbertwong96/ado_cli/releases/latest/download/ado-0.4.4-macos-aarch64
chmod +x ado && sudo mv ado /usr/local/bin/

# Linux x86_64
curl -L -o ado https://github.com/gilbertwong96/ado_cli/releases/latest/download/ado-0.4.4-linux-x86_64
chmod +x ado && sudo mv ado /usr/local/bin/

# Or via npm
npm install -g @gilbertwong1996/ado

See README.md and the
project homepage for
full installation instructions and usage examples.

What's Changed

  • 6a63f35 docs: enrich --help and skills for LLM consumption
  • 3e47310 fix(cli): support unquoted multi-word --content values

Full Changelog: https://github.com/gilbertwong96/ado_cli/blob/main/CHANGELOG.md

AdoCli v0.4.3

17 Jun 03:53
21433f0

Choose a tag to compare

AdoCli v0.4.3

Pre-built binaries for all supported platforms.

Platform Architecture Binary
Linux x86_64 ado-*-linux-x86_64
Linux aarch64 ado-*-linux-aarch64
macOS Apple Silicon ado-*-macos-aarch64
macOS Intel ado-*-macos-x86_64
Windows x86_64 ado-*-windows-x86_64.exe

See README.md for
installation instructions.