NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #33 by repository stars
Latest stable
v1.14.0
Last release 5 years ago
no release in 18 months
Ships on a steady schedule
a new release about every 8 days
Nearly every release is documented
notes for 47 of 47 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
3535 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
The gh repo list command lists GitHub repositories under a user or organization account (#2953).
repo list commandThe gh repo list command lists GitHub repositories under a user or organization account (#2953).
<img width="1066" alt="Screen Shot 2021-03-04 at 18 13 36" src="https://user-images.githubusercontent.com/887/110009278-15e84800-7d1d-11eb-8861-f0abd2087457.png">
api commandThe gh api command is a tool to directly access the GitHub API with in your scripts. This release adds functionality to make it easier to working with the resulting JSON.
The api --jq option takes a query in jq syntax and prints only the result (#3012). This works even if the jq utility isn't present on the system:
$ gh api repos/:owner/:repo --jq '.full_name, .description'
cli/cli
GitHub’s official command line tool
For more complex output formatting, the api --template option renders the output according to the provided Go template (#3011).
template='{{ range .items -}}
{{.full_name | color "blue+h"}} ({{.stargazers_count | color "yellow"}})
{{ end }}'
gh api -X GET search/repositories -f q='cli language:go' -f per_page=10 -t "$template"
<img width="911" alt="Screen Shot 2021-03-04 at 19 00 54" src="https://user-images.githubusercontent.com/887/110009318-200a4680-7d1d-11eb-830a-4b5ff171d7ca.png">
To make experimenting with output formats quicker and to avoid API rate limits, the api --cache option allows caching the response on disk for a specified amount of time (#3010).
Finally, the api --preview option makes it easier to opt into GitHub API previews (#3077):
$ gh api repos/cli/cli/issues/3012/reactions -p squirrel-girl --jq '.[] | "\(.user.login): \(.content)"'
samcoe: heart
gagliardetto: heart
cristiand391: heart
laughedelic: heart
casperdcl: heart
Allow passing issue/pr create body from file or standard input #3018
Add pr edit --base to change the base branch of a PR #3022
Allow pr edit without the pull request argument #3024
Allow gist view without arguments #3008
Add gist edit -a <file> flag to add files to a gist #2997
Fix setting up a local repository on repo create --template #2991
Clarify the repo create interactive prompt #2991
Avoid crash in pr merge when the pull request has no commits #3036
Fix git authentication when the token comes from environment #3009
Have git authentication be resilient to PATH changes #3075
Avoid checking for new releases when authenticating git #3083
When gh is installed via Homebrew, avoid showing the upgrade notice until the homebrew formula is updated #3020
Validate gist arguments #3021
Have gh exit with non-zero status when the user cancels a command #3023
Thank you:
for contributing code that went into this release! And, as always, thank you to everyone who reported or upvoted bugs on our issue tracker and gave feedback in the Discussions section.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.