Skip to content

Commit 5bbb328

Browse files
committed
release: v0.2.2
Bug-fix release. The 'ado ci watch' command was completely non-functional in v0.2.1 (every invocation failed via one of two bugs). Both bugs are fixed in 6881711; this commit just bumps the version, CHANGELOG, README, and GitHub Pages. mix.exs * version: 0.2.1 -> 0.2.2 CHANGELOG.md * Add [0.2.2] section explaining the two ci watch bugs and their regression tests * Update link footers README.md / github-page/index.html * Updated by 'just bump 0.2.2' Verified locally: * ./ado version -> 'ado 0.2.2' * ./ado --version -> 'ado 0.2.2' * mix ci: 8/8 steps green * 313 tests pass (was 311; +2 for the ci watch regressions)
1 parent 6881711 commit 5bbb328

4 files changed

Lines changed: 33 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,33 @@ 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.2.2] - 2026-06-16
9+
10+
### Fixed
11+
12+
- **`ado ci watch` was completely non-functional in v0.2.1** due
13+
to two bugs that prevented any invocation from working:
14+
* **URLs missing the project segment.** Both
15+
`AdoCli.CLI.CI.build_path/3` and the Watcher helpers
16+
(`fetch_build/3`, `fetch_timeline/3`, the `stream_log`
17+
path construction) dropped the project from the URL,
18+
producing `/_apis/build/builds/{id}` instead of
19+
`/{project}/_apis/build/builds/{id}`. Azure DevOps
20+
rejected every request with `VS800075: The project with
21+
id 'No project was specified.'`
22+
* **KeyError on `--latest`.** `resolve_build_id/3` used
23+
dot-access (`parsed.arguments.build_id`) which raised
24+
`KeyError` when the optional `build_id` argument was
25+
absent (i.e. when using `--latest`). CliMate omits absent
26+
optional arguments from the map entirely. Fix: use
27+
`Map.get/2` with the same key.
28+
29+
Both bugs are covered by 2 new regression tests in
30+
`test/ado_cli/cli/ci_test.exs` that pin the project-scoped
31+
URL and the no-crash behavior on `--latest`. Each test
32+
FAILS if either bug is reintroduced (verified by temporarily
33+
breaking the helpers and re-running).
34+
835
## [0.2.1] - 2026-06-15
936

1037
Re-publish of v0.2.0 with the npm packaging bugs fixed. The Elixir
@@ -306,7 +333,8 @@ the embedded skills can be installed into any LLM agent's skill directory.
306333
are filtered by the `mix ci.dialyzer` task.
307334
- ExUnit test count: 234 (across 30+ test files). All pass.
308335

309-
[Unreleased]: https://github.com/gilbertwong96/ado_cli/compare/v0.2.1...HEAD
336+
[Unreleased]: https://github.com/gilbertwong96/ado_cli/compare/v0.2.2...HEAD
337+
[0.2.2]: https://github.com/gilbertwong96/ado_cli/compare/v0.2.1...v0.2.2
310338
[0.2.1]: https://github.com/gilbertwong96/ado_cli/compare/v0.2.0...v0.2.1
311339
[0.2.0]: https://github.com/gilbertwong96/ado_cli/compare/v0.1.0...v0.2.0
312340
[0.1.0]: https://github.com/gilbertwong96/ado_cli/releases/tag/v0.1.0

README.md

Lines changed: 1 addition & 1 deletion
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.2.1-macos-aarch64
69+
curl -L -o ado https://github.com/gilbertwong96/ado_cli/releases/latest/download/ado-0.2.2-macos-aarch64
7070
chmod +x ado && sudo mv ado /usr/local/bin/
7171
```
7272

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.2.1-macos-aarch64
231+
<pre><code>curl -L -o ado https://github.com/gilbertwong96/ado_cli/releases/latest/download/ado-0.2.2-macos-aarch64
232232
chmod +x ado &amp;&amp; sudo mv ado /usr/local/bin/</code></pre>
233-
<p class="hint">Replace <code>ado-0.2.1-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.2.2-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>

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.2.1",
7+
version: "0.2.2",
88
elixir: "~> 1.20",
99
start_permanent: Mix.env() == :prod,
1010
deps: deps(),

0 commit comments

Comments
 (0)