Skip to content

GitHub CLI 2.1.0

Choose a tag to compare

@github-actions github-actions released this 14 Oct 19:14
· 6175 commits to trunk since this release
f6b3357

New features

  • Add repo archive command by @pxrth9 & @meiji163 in #4410

  • Add support for precompiled extensions by @vilmibm in #4308 #4373

    If an extension repository publishes Releases with uploaded binary assets named with a suffix formatted like {OS}-{ARCH} (e.g. linux-amd64), the matching binary will be downloaded and installed as the extension instead of cloning the code from the extension repository.

  • pr list: add --draft, --non-draft, and --head filters by @SiarheiFedartsou in #4316 #4279

  • pr diff: add --patch flag by @m4ver1k in #4460

  • browse: add --commit flag to open the permalink for the latest commit by @bchadwic in #3950

Fixes

  • api: add docs hint on how to use use stdin by @rethab in #4291
  • pr checks/run: revised "pending" and "skipped" symbols by @bchadwic in #4090
  • pr checkout: also set pushRemote for new branches by @RasmusWL in #4363
  • extension list: speed up checking for updates by @samcoe in #4396
  • extension install: document installing using a full URL by @wrslatz in #4271
  • extension create: use /usr/bin/env bash instead of /bin/bash in generated shebang by @kidonng in #4203
  • browse: add support for line ranges browse by @despreston in #4253
  • browse: fix markdown files with line ranges by @andrewhsu in #4310
  • repo garden: use the x/term package instead of shelling out to stty by @mislav in #4214
  • repo sync: allow user input for git fetch by @samcoe in #4328
  • repo create: avoid swallowing error from a prompt by @mislav in #4331
  • Skip authentication requirement for internal completion commands by @cuonglm in #4189
  • Add quotes around @me in documentation to ensure examples work in PowerShell by @Jernik in #4239
  • Suggest to re-authenticate to fix "SAML enforcement" error by @mislav in #4241
  • Print warning when limit exceeds search API maximum by @despreston in #3967
  • Add git+https to the list of supported git remote URL protocols by @danburzo in #4347
  • Fix detecting the current gh executable in PATH by @wilso199 in #4243
  • Bump Survey library to fix the "Unexpected escape sequence" error by @mislav in #4405
  • Warn about missing OAuth scopes when printing HTTP 4xx errors by @mislav in #4513

New Contributors