GitHub CLI 2.0.0
New features
Support for command extensions
GitHub CLI extensions are additional gh commands that you can install from other repositories. For example:
$ gh extension install owner/gh-my-extension
# invoke the new command
$ gh my-extensionFor more information, see gh help extension. To see currently published extensions, browse repositories with the gh-extension topic. Note that extensions may have runtime dependencies other than gh.
Other additions
-
Display label colors in
issue listoutput #4106 -
Add
tablerow/tablerendertemplate functions for rendering data as tables #3519 -
Add
GH_FORCE_TTYto enable terminal-style output even when redirected #4146 -
Add
repo synccommand to sync a branch with its upstream state #3813 -
Add
pr checkout --branchflag to control the branch name #4005 -
Add
release create --discussion-categoryflag #4003 -
Add
config set browseroption andGH_BROWSERenvironment variable #3992 -
Add
repo list --topicfilter #4136 -
Add PowerShell instructions to
completionhelp #4114
Fixes
-
Improve accessibility of interactive select menus #4172
-
Improve detection of truecolor terminal capabilities #4106
-
Avoid wrapping issues in powershell.exe #4106
-
Detect missing git and abort early during
auth loginflow #4109 -
Fix HTTP 502 error printing from GraphQL responses #4154
Removals
-
Require Go 1.16+ #4175 - drops support for OS X El Capitan
-
Remove backwards compatibility with
homedirlibrary for config files #4145
Thanks
As always, we couldn't have done this without our amazing contributors 🎉