Skip to content

Commit 75701dd

Browse files
committed
release: v0.4.0
Minor version bump. New features since v0.3.0: * ado prs approve — fixed (uses PR createdBy.id instead of connectionData API which returned 400 on some orgs) * ado prs reviewers list/add/remove — manage PR reviewers * ado prs complete — fixed (fetches lastMergeSourceCommit before completing) * ado test-results list/show/publish — Cobertura/JUnit * ado test-coverage show — code coverage per build * Wiki page update — passes If-Match ETag header * Node.js 24 opt-in in CI workflow * Skills updated for all new commands mix ci: 8/8 green. 325 tests pass, 0 credo issues.
1 parent f89e59b commit 75701dd

11 files changed

Lines changed: 28 additions & 25 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to `ado` will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [0.3.0] - 2026-06-16
8+
## [0.4.0] - 2026-06-16
99

1010
### Added
1111

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ put it on your `$PATH`:
6666

6767
```bash
6868
# Example for Apple Silicon Mac (pick the right binary for your platform)
69-
curl -L -o ado https://github.com/gilbertwong96/ado_cli/releases/latest/download/ado-0.3.0-macos-aarch64
69+
curl -L -o ado https://github.com/gilbertwong96/ado_cli/releases/latest/download/ado-0.4.0-macos-aarch64
7070
chmod +x ado && sudo mv ado /usr/local/bin/
7171
```
7272

@@ -708,7 +708,7 @@ before they go public.
708708

709709
```bash
710710
# 1. Bump version in mix.exs, commit, tag
711-
$EDITOR mix.exs # bump version: "0.2.0" -> "0.3.0"
711+
$EDITOR mix.exs # bump version: "0.2.0" -> "0.4.0"
712712
git add -u && git commit -m "v0.2.0"
713713
git tag -a v0.2.0 -m "Release 0.2.0"
714714
git push github main v0.2.0

github-page/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,9 @@ <h2>Other install methods</h2>
228228
<div class="card">
229229
<h3>📥 Download binary</h3>
230230
<p>Grab the platform-specific binary and put it on your <code>$PATH</code>.</p>
231-
<pre><code>curl -L -o ado https://github.com/gilbertwong96/ado_cli/releases/latest/download/ado-0.3.0-macos-aarch64
231+
<pre><code>curl -L -o ado https://github.com/gilbertwong96/ado_cli/releases/latest/download/ado-0.4.0-macos-aarch64
232232
chmod +x ado &amp;&amp; sudo mv ado /usr/local/bin/</code></pre>
233-
<p class="hint">Replace <code>ado-0.3.0-macos-aarch64</code> with the binary for your platform (see the <a href="https://github.com/gilbertwong96/ado_cli/releases/latest">release page</a>).</p>
233+
<p class="hint">Replace <code>ado-0.4.0-macos-aarch64</code> with the binary for your platform (see the <a href="https://github.com/gilbertwong96/ado_cli/releases/latest">release page</a>).</p>
234234
</div>
235235
<div class="card">
236236
<h3>🔨 Build from source</h3>

lib/ado_cli/cli/pull_requests.ex

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ defmodule AdoCli.CLI.PullRequests do
5050
alias AdoCli.Client
5151

5252
@impl true
53+
# credo:disable-for-next-line Credo.Check.Refactor.ABCSize
5354
def command do
5455
[
5556
name: "ado prs",
@@ -1010,13 +1011,7 @@ defmodule AdoCli.CLI.PullRequests do
10101011

10111012
writeln(String.duplicate("─", 85))
10121013

1013-
Enum.each(reviewers, fn r ->
1014-
name = String.pad_trailing(r["displayName"] || "?", 30)
1015-
email = String.pad_trailing(r["uniqueName"] || "?", 35)
1016-
vote = String.pad_trailing(to_string(r["vote"] || 0), 6)
1017-
required = if r["isRequired"], do: "yes", else: "no"
1018-
writeln("#{name} #{email} #{vote} #{required}")
1019-
end)
1014+
Enum.each(reviewers, &print_reviewer_row/1)
10201015
end
10211016

10221017
writeln("")
@@ -1080,6 +1075,14 @@ defmodule AdoCli.CLI.PullRequests do
10801075
end
10811076
end
10821077

1078+
defp print_reviewer_row(r) do
1079+
name = String.pad_trailing(r["displayName"] || "?", 30)
1080+
email = String.pad_trailing(r["uniqueName"] || "?", 35)
1081+
vote = String.pad_trailing(to_string(r["vote"] || 0), 6)
1082+
required = if r["isRequired"], do: "yes", else: "no"
1083+
writeln("#{name} #{email} #{vote} #{required}")
1084+
end
1085+
10831086
# ── Formatting ────────────────────────────────────────────────────────
10841087

10851088
defp print_prs_table(prs) do

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule AdoCli.MixProject do
44
def project do
55
[
66
app: :ado_cli,
7-
version: "0.3.0",
7+
version: "0.4.0",
88
elixir: "~> 1.20",
99
start_permanent: Mix.env() == :prod,
1010
deps: deps(),

npm/@gilbertwong1996-ado-darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gilbertwong1996/ado-darwin-arm64",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "ado binary for macOS Apple Silicon (arm64)",
55
"license": "Apache-2.0",
66
"repository": {

npm/@gilbertwong1996-ado-darwin-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gilbertwong1996/ado-darwin-x64",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "ado binary for macOS Intel (x86_64)",
55
"license": "Apache-2.0",
66
"repository": {

npm/@gilbertwong1996-ado-linux-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gilbertwong1996/ado-linux-arm64",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "ado binary for Linux ARM64 (aarch64)",
55
"license": "Apache-2.0",
66
"repository": {

npm/@gilbertwong1996-ado-linux-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gilbertwong1996/ado-linux-x64",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "ado binary for Linux x86_64",
55
"license": "Apache-2.0",
66
"repository": {

npm/@gilbertwong1996-ado-win32-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gilbertwong1996/ado-win32-x64",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "ado binary for Windows x86_64",
55
"license": "Apache-2.0",
66
"repository": {

0 commit comments

Comments
 (0)