kanbo-cli 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,16 @@ All notable changes to kanbo are documented here. The format follows [Keep a Cha
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.6.0] — 2026-11-06
8
+
9
+ kanbo 0.6 measures how work flows on a board. No board migration: 0.5.0's index is all the metrics need.
10
+
11
+ ### Added
12
+
13
+ - `kanbo stats`: how work flows on the board over a range — cycle and lead time as p50 and p85, cards finished per ISO week, work in progress against each column's limit, aging cards, time in column, returns (moves back into an earlier unstarted or started column, by anyone, split by people, agents and outside writers), first-pass approval, attempts, and one line per agent and per person; `--from`, `--to`, `--sprint <id>`, and `--json` with the cumulative flow by day. Canceled cards are counted apart.
14
+ - For applications that use kanbo as a library: `computeBoardMetrics(history, input, now)` and the `BoardMetrics` types, `createBoardOps(store).boardMetrics(input)` and `.readBoardMetricsHistory(workspaceIds)` (a host with workspaces on several boards puts their rows together and computes once), `boardMetricsRuns` (the counted runs, and the canceled cards' apart), `boardMetricsAgentKey`, `nearestRank`, `isoWeekOf`, `utcDayLabel`, `IsoWeek`. `BoardErrorCode` gains `board_metrics_range_invalid` (`400`).
15
+ - `BoardStore` gains `runs.listByWorkspaces(workspaceIds)` and `comments.listByWorkspaces(workspaceIds, authorKinds)`; an application that implements `BoardStore` itself must add both.
16
+
7
17
  ## [0.5.0] — 2026-11-06
8
18
 
9
19
  **Run `kanbo migrate` after upgrading** (on a board file `kanbo doctor --fix` does it too; on a shared Postgres board run `kanbo roles apply` after it, as after every migration). 0.5.0 adds two columns to `issue_statuses` and an index to `issue_field_changes`. Until the board is migrated, a read or a write is refused (exit 3, "Run kanbo migrate"). An app that keeps the board in its own database adds the same migration and pins this exact version.
@@ -210,6 +220,7 @@ First public release.
210
220
  - `kanbo serve`: the `/issues` HTTP API and a board page, loopback by default, bearer token, CORS allow-list, 1 MB body limit.
211
221
  - Library entry points `kanbo`, `kanbo/sqlite`, `kanbo/sqlite/schema`, `kanbo/postgres` and `kanbo/mcp` (ESM and CJS with types).
212
222
 
223
+ [0.6.0]: https://github.com/Krowli/kanbo/releases/tag/v0.6.0
213
224
  [0.5.0]: https://github.com/Krowli/kanbo/releases/tag/v0.5.0
214
225
  [0.4.0]: https://github.com/Krowli/kanbo/releases/tag/v0.4.0
215
226
  [0.3.0]: https://github.com/Krowli/kanbo/releases/tag/v0.3.0