發行版本清單可辨認不可變版本
現在你用 gh release list 取得 JSON(方便其他程式讀取的固定格式資料)時,會多看到 isImmutable 欄位。它會標示這個發行版本是否不可變,也就是發出去後不該再被修改。若你用指令自動檢查版本或串接部署流程,就能先辨認哪些版本要當成定稿處理,少把仍可變動的版本和正式封存版混在一起。這像圖書館替每本書標上「可借閱」或「館藏定本」,一眼就知道哪本不能隨意改頁。
發布日期:2025-11-04
現在你用 gh release list 取得 JSON(方便其他程式讀取的固定格式資料)時,會多看到 isImmutable 欄位。它會標示這個發行版本是否不可變,也就是發出去後不該再被修改。若你用指令自動檢查版本或串接部署流程,就能先辨認哪些版本要當成定稿處理,少把仍可變動的版本和正式封存版混在一起。這像圖書館替每本書標上「可借閱」或「館藏定本」,一眼就知道哪本不能隨意改頁。
現在建立代理任務時,可以在 gh agent-task create 加上 --custom-agent 或 -a,指定要交給哪個自訂代理(替你執行特定工作的自動助手)。以前建立任務時不能在這一步選它;現在你可直接把適合的代理派去做對的工作,少一道建立後再調整的手續。這像寄件時就把信投進正確的專用信箱,不必先送到總收發室再轉寄。
現在你執行 gh repo delete --yes 卻沒有指定倉庫時,指令會提醒 --yes 被忽略,而不是讓你以為已略過確認。另新增 gh pr revert,可替一個 pull request(PR,把程式修改送來審查與合併的提案)建立反轉那次修改的操作。前者讓刪除前的判斷更清楚,後者讓已合併的改動有一條回頭路。這像拆房前先確認地址,裝錯零件後也能照說明把它換回來。
現在較大的 Gist(GitHub 上用來分享程式片段或文字檔的小型貼文)檔案,也能用指令查看與編輯。這是修復既有功能,不是新增另一種檔案服務;重點是原本因檔案較大而卡住的讀取與修改流程恢復可用。若你把長設定檔、記錄或程式碼放在 Gist,就不用為了大小另找工具處理。這像原本塞不進影印機的大張圖紙,現在能攤平後正常閱讀與修改。
現在 gh attestation verify 驗證發行版本的 attestation(用來證明檔案來源與建立過程的簽署證明)時,即使 Sigstore 的 Public Good Instance 暫時無法使用,也能正常運作。指令同時改用 release 作為發行版本驗證的固定識別值。這是讓既有驗證流程在外部驗證服務短暫不可用時更可靠,不代表跳過驗證。這像查驗包裹封條時,主要櫃台暫時關閉,仍有正確的查驗方式可接手。
現在 run list、release create、api、gh pr checks、Linux Homebrew 與 gh issue develop 的說明更清楚或修正了錯字,讓你較容易找到 PR 檢查、輸入欄位與輪詢間隔等用法。底層也新增基本 lint(自動檢查程式問題的工具)、調整漏洞掃描與格式檢查,移除過時的 Go 建置標記,並更新 Go、檢查工具與多個相依套件。這些多屬內部維護,未宣稱改變指令功能;它們讓說明與開發防線同步整理。這像把使用手冊校正、保養工具箱並換掉舊零件,日常操作更少踩到小坑。
When you use gh release list to get JSON, a structured format other programs can read, you now get an isImmutable field. It marks whether a release is immutable, meaning it should not be changed after publication. If you automate release checks or deployment workflows, you can distinguish a final archived release from one that may still change. It is like a library label showing which copy is the unalterable reference edition.
When creating an agent task, you can now add --custom-agent or -a to gh agent-task create and choose a custom agent, an automated helper for a particular kind of work. You no longer need to create the task first and adjust its assignee afterward. It is like dropping a letter straight into the right specialist mailbox instead of routing it through a central mailroom.
If you run gh repo delete --yes without naming a repository, the command now warns that --yes is being ignored instead of making you think confirmation was skipped. A new gh pr revert command can also reverse the changes from a pull request, a proposal to review and merge code changes. One makes deletion intent clearer; the other gives merged work a route back. It is like checking the address before demolition and having instructions to undo a wrongly fitted part.
You can now view and edit larger Gist files, the small GitHub posts used to share code snippets or text files, from the CLI. This repairs existing behavior rather than adding a new file service: reads and edits that failed because a file was large now work again. If you keep a long configuration file, log, or code sample in a Gist, you need not switch tools just because of its size. It is like finally being able to lay a large sheet flat in the copier and work on it.
When gh attestation verify checks a release attestation, a signed record that proves a file's origin and build process, it can now keep working if Sigstore's Public Good Instance is temporarily unavailable. The command also uses release as the sentinel value for release-attestation verification. This makes the existing verification path more resilient when an outside service is unavailable; it does not mean skipping verification. It is like having a valid backup inspection desk when the main parcel-seal counter is briefly closed.
Documentation for run list, release create, api, gh pr checks, Linux Homebrew, and gh issue develop is clearer or has typo fixes, making PR checks, input fields, and polling intervals easier to find. Under the hood, basic linters, tools that automatically spot code problems, were added; vulnerability and formatting checks were adjusted; obsolete Go build tags were removed; and Go, checking tools, and several dependencies were updated. These are mostly maintenance changes, not claimed new command behavior. It is like correcting the manual, servicing the toolbox, and replacing worn parts before they cause small daily snags.
Add `isImmutable` to `release list` JSON output by @babakks in https://github.com/cli/cli/pull/12064`gh agent-task create`: support `--custom-agent`/`-a` flag by @BagToad in https://github.com/cli/cli/pull/12068💡 (gh repo delete) Add warning when `--yes` is ignored without a repository, Closes: #12033 by @Shion1305 in https://github.com/cli/cli/pull/12039
feat: implement gh `pr revert` by @lucasmelin in https://github.com/cli/cli/pull/8826
@lucasmelin made their first contribution in https://github.com/cli/cli/pull/8826fix(gist): add support for editing & viewing large files by @luxass in https://github.com/cli/cli/pull/11761Fix gh attestation verify to work when Public Good Instance of Sigstore is unavailable by @Copilot in https://github.com/cli/cli/pull/11989
Use "release" sentinel value for release attestation verification by @Copilot in https://github.com/cli/cli/pull/11991chore: add basic linters by @babakks in https://github.com/cli/cli/pull/12084
CI: Update lint govulncheck to use source mode by @BagToad in https://github.com/cli/cli/pull/12089
chore: add `workflow_dispatch` to govulncheck triggers by @babakks in https://github.com/cli/cli/pull/12085
Exclude `third-party` from Golangci-lint formatting paths by @babakks in https://github.com/cli/cli/pull/12058
Apply `go fix` to remove deprecated `// +build` tags by @babakks in https://github.com/cli/cli/pull/12056
Bump Golangci-lint to `v2.6.0` by @babakks in https://github.com/cli/cli/pull/12049
Mention `pr checks` in `run list` docs by @babakks in https://github.com/cli/cli/pull/12050
Fix typo in comment for `gh issue develop` branch checkout command by @jonzfisher in https://github.com/cli/cli/pull/12042
Improve docstring for release-create by @bdehamer in https://github.com/cli/cli/pull/11945
Improve `api` command docs around `--input` and `--field` by @babakks in https://github.com/cli/cli/pull/12062
Fix `--interval` flags docs in `gh pr checks` by @2003Aditya in https://github.com/cli/cli/pull/12053
Bump Go to 1.25.3 by @github-actions[bot] in https://github.com/cli/cli/pull/11926
chore(deps): bump github.com/cli/go-gh/v2 from 2.12.2 to 2.13.0 by @dependabot[bot] in https://github.com/cli/cli/pull/12095
Update Go toolchain version to 1.24.9 by @BagToad in https://github.com/cli/cli/pull/12054
chore(deps): bump golang.org/x/text from 0.29.0 to 0.30.0 by @dependabot[bot] in https://github.com/cli/cli/pull/11973
chore(deps): bump golang.org/x/crypto from 0.42.0 to 0.43.0 by @dependabot[bot] in https://github.com/cli/cli/pull/11974
chore(deps): bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in https://github.com/cli/cli/pull/12031
chore(deps): bump actions/download-artifact from 5 to 6 by @dependabot[bot] in https://github.com/cli/cli/pull/12032
chore(deps): bump github.com/rivo/tview from 0.0.0-20250625164341-a4a78f1e05cb to 0.42.0 by @dependabot[bot] in https://github.com/cli/cli/pull/12000
chore(deps): bump goreleaser/goreleaser-action from 6.3.0 to 6.4.0 by @dependabot[bot] in https://github.com/cli/cli/pull/11509
chore(deps): bump mislav/bump-homebrew-formula-action from 3.4 to 3.6 by @dependabot[bot] in https://github.com/cli/cli/pull/11750
@jonzfisher made their first contribution in https://github.com/cli/cli/pull/12042
@2003Aditya made their first contribution in https://github.com/cli/cli/pull/12053