Skip to content

GitHub CLI 2.5.0

Choose a tag to compare

@github-actions github-actions released this 01 Feb 11:52
· 5700 commits to trunk since this release
6a4f374

New Features

  • Add codespace ssh --config to generate OpenSSH host configuration for your codespaces by @znull in #4915
  • Add release delete-asset to delete an asset from a release by @m4ver1k in #4416
  • Add repo deploy-key commands 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 #3997
  • auth git-credential: add ability to authenticate git operations for gist repositories by @mislav in #3064
  • gist edit: add ability to edit gist description by @SteadBytes in #4738
  • gist edit: enable editing file contents via standard input by @tdakkota in #4656
  • pr status: show number of approvals by @despreston in #4240
  • repo fork: add ability to define the name of the fork repository on GitHub by @g14a in #4886
  • run list: add branch and actor filters by @bak1an in #4100
  • run view: include job ID parameter in the suggested command invocation by @yasudanaoya in #5105
  • api: do not apply jq filters or render templates for HTTP error responses by @samcoe in #5088
  • pr create: fetch pull request template contents via the API by @samcoe in #5097
  • codespace 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 Path environment variable to take effect.

  • Ensure Windows .exe binaries 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: respect GH_REPO when 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 configured git_protocol when 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_HOST to 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

New Contributors

Full Changelog: v2.4.0...v2.5.0