v0.12.0
Features
-
New
gh authcommands for authentication: -
Add support for GitHub Enterprise Server #1517
- To get started, use
gh auth login - To clone a GHE repo:
gh repo clone example.com/owner/repo - Use
GH_HOSTenvironment variable to choose a default hostname for all commands
- To get started, use
-
Implement OAuth Device Authorization flow for github.com #1522
This enables authenticating to github.com when
ghis used on a machine that does not have a graphical web browser. The new flow enables opening a browser on a different machine to complete the authentication process. -
Publish repositories for Debian and RPM packages #1615
-
Add ability to create repositories from a repository template #1590
gh repo create <reponame> --template <owner>/<templaterepo> -
Enable using PAGER for
gh pr diffoutput #1534 -
Add
gh pr checkout --recurse-submodulesflag #1479 -
Add
gh pr close --delete-branchflag #1476 -
Allow omitting one's own username in
gh repo view <reponame>#1567 -
gh issue/pr viewnow include number and URL in machine-readable output #1580 -
Add
:branchplaceholder ingh api#1515 -
Support GraphQL
operationNamefield ingh api#1448
Bugs
-
Fix “TLS handshake timeout” on macOS #514
-
Fix
gh issues list --milestonefilter #1462 -
Fix color output on standard error on Windows #1579
-
Disallow
gh pr <command> --repo <repo>flag for commands that operate on the current branch #1585 -
Be transparent about which part of
gh pr createflow failed #1603 -
Fix detecting display width of common punctuation characters #1616
-
Filter bots out of
gh repo creditsoutput #1623