gitlink-cli/doc/changes
luwanzhou 2f4b7674d6 fix(output): deterministic --format table ordering and show error status code
--format table 的渲染依赖 Go map 随机遍历顺序:printMapTable 的行顺序、
以及 collectKeys 补全非优先列后 printSliceTable 的列顺序,每次运行都可能不同,
导致同一命令两次输出不一致,难以对比/diff/脚本断言。

- collectKeys:优先列之后的剩余列改为 sort.Strings 排序,顺序稳定可预期。
- printMapTable:按 collectKeys 顺序输出,行序确定且与列表表列序一致。
- 错误输出:有错误码时显示 Error [<code>]: <message>,便于区分 404/422/500。

仅稳定 table 呈现顺序并丰富错误提示,不影响 json/yaml 输出与成功数据内容。
新增单测覆盖排序、25 次渲染确定性、错误码展示。
2026-06-15 12:59:23 +08:00
..
api-batch-runner.md feat: 新增 Raw API 批处理执行器 2026-06-06 11:55:20 +08:00
auth-config-dir-fallback.md fix: 统一认证凭据 fallback 配置目录 2026-06-06 18:42:50 +08:00
dataset-shortcuts.md feat(dataset): add full dataset CRUD (view/create/update/delete-attachment) 2026-06-14 14:01:57 +08:00
doctor-command.md feat: 新增 CLI 自诊断命令 2026-06-06 18:11:45 +08:00
ignore-shortcut.md feat(shortcut): add shortcuts/ignore 2026-06-09 08:50:39 +08:00
issue-id-alias.md feat(issue): support metadata fields and id alias 2026-06-02 12:42:34 +08:00
issue-metadata-fields.md feat(issue): support metadata fields and id alias 2026-06-02 12:42:34 +08:00
label-shortcut.md feat(label): add issue label shortcuts 2026-05-30 06:38:39 -07:00
list-filter-fixes.md fix: 修正 Issue 和 PR 列表筛选 2026-06-05 11:43:30 +08:00
member-shortcut.md feat(member): add repository member shortcuts (#46) 2026-05-27 00:24:15 +08:00
milestone-shortcut.md feat: add milestone, compare, pr reopen shortcuts and api enhancements (#45) 2026-05-27 00:44:39 +08:00
output-table-determinism.md fix(output): deterministic --format table ordering and show error status code 2026-06-15 12:59:23 +08:00
pipeline-openapi-shortcuts.md feat(pipeline): add OpenAPI shortcuts 2026-05-27 22:20:18 +08:00
profile-shortcuts.md feat(profile): 新增用户画像统计快捷命令 2026-06-13 23:07:27 +08:00
release-update-shortcuts.md feat(release): add edit and update shortcuts 2026-06-08 08:30:21 +08:00
repo-insight-shortcuts.md feat(repo): add insight and interaction shortcuts 2026-06-04 07:17:13 +08:00
repo-settings-shortcuts.md feat(repo): add settings and topic shortcuts 2026-06-04 07:19:08 +08:00
repo-tree-shortcut.md chore: 打磨仓库文件树命令交付质量 2026-06-08 12:13:28 +08:00
webhook-shortcut.md docs: finalize webhook shortcut docs 2026-05-19 15:54:31 +08:00