GitHub CLI 2.5.0
New Features
- Add
codespace ssh --configto generate OpenSSH host configuration for your codespaces by @znull in #4915 - Add
release delete-assetto delete an asset from a release by @m4ver1k in #4416 - Add
repo deploy-keycommands to manage deploy keys for a repository by @n1lesh in #4302 - Improve the interactive issue/pull request assignee prompt by @carlqt in #4420
auth login/refresh: allow non-interactive flow by @nicknotfun in #3997auth git-credential: add ability to authenticate git operations for gist repositories by @mislav in #3064gist edit: add ability to edit gist description by @SteadBytes in #4738gist edit: enable editing file contents via standard input by @tdakkota in #4656pr status: show number of approvals by @despreston in #4240repo fork: add ability to define the name of the fork repository on GitHub by @g14a in #4886run list: add branch and actor filters by @bak1an in #4100run view: include job ID parameter in the suggested command invocation by @yasudanaoya in #5105api: do not apply jq filters or render templates for HTTP error responses by @samcoe in #5088pr create: fetch pull request template contents via the API by @samcoe in #5097codespace create: provide repo suggestions after typing a few characters and pressing Tab by @cmbrose in #5108
Fixes
-
Respect the chosen installation directory in the MSI installer for Windows. Thanks to @heaths for the massive help in #4276.
Important note: after upgrading from the old MSI to this new MSI installer, you will likely need to restart your terminal app for the changes to
Pathenvironment variable to take effect. -
Ensure Windows
.exebinaries within zip release archives are signed by @mbpreble in #2160 -
release create: bring back interactive option to create a release from an annotated tag by @spenserblack in #5028 -
workflow enable: allow enabling a workflow that was disabled due to inactivity by @hirasawayuki in #5047 -
extension install: update wording for extensions that cannot be installed by @vilmibm in #5066 -
api: respectGH_REPOwhen substituting{owner}/{repo}by @issyl0 in #5063 -
issue list: fix filtering issues by milestone by @mislav in #5040 -
pr create: fix creating pull requests from numerical branch names by @samcoe in #5090 -
repo fork: respect explicitly configuredgit_protocolwhen adding a git remote for a fork by @vilmibm in #5092 -
pr checks: avoid reporting results of stale check runs by @hirasawayuki in #5069 -
secret set: trim trailing newlines when passing secret values via standard input by @samcoe in #5086 -
Preserve hard line breaks in rendered Markdown by @mislav in #5034
-
Handle SAML enforcement challenge from the server by @mislav in #5054
-
Add retry functionality to the Codespaces API client by @marwan-at-work in #5064
-
Add
GH_HOSTto hosts list if set in the environment by @samcoe in #5087 -
Standardize pager output across commands by @mislav in #5141
-
Fix error message when running external commands by @audreee in #5124
Other Changes
- Improve Survey stubber for tests by @mislav in #5032
- Add Alpine Linux install docs by @ajhalili2006 in #4954
- Amend location of GPG key file by @SubOptimal in #4998
- Fix flaky Liveshare session test by @marwan-at-work in #5111
- Add consistent punctuation in command usages by @kevhlee in #5139
- Add install instructions for Void Linux by @TheGejr in #5130
New Contributors
- @znull made their first contribution in #4915
- @carlqt made their first contribution in #4420
- @nicknotfun made their first contribution in #3997
- @spenserblack made their first contribution in #5028
- @hirasawayuki made their first contribution in #5047
- @mbpreble made their first contribution in #2160
- @SteadBytes made their first contribution in #4738
- @issyl0 made their first contribution in #5063
- @tdakkota made their first contribution in #4656
- @ajhalili2006 made their first contribution in #4954
- @SubOptimal made their first contribution in #4998
- @bak1an made their first contribution in #4100
- @yasudanaoya made their first contribution in #5105
- @cmbrose made their first contribution in #5108
- @kevhlee made their first contribution in #5139
- @TheGejr made their first contribution in #5130
- @audreee made their first contribution in #5124
Full Changelog: v2.4.0...v2.5.0