GitHub CLI 2.1.0
New features
-
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--headfilters by @SiarheiFedartsou in #4316 #4279 -
browse: add--commitflag 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 #4291pr checks/run: revised "pending" and "skipped" symbols by @bchadwic in #4090pr checkout: also setpushRemotefor new branches by @RasmusWL in #4363extension list: speed up checking for updates by @samcoe in #4396extension install: document installing using a full URL by @wrslatz in #4271extension create: use/usr/bin/env bashinstead of/bin/bashin generated shebang by @kidonng in #4203browse: add support for line ranges browse by @despreston in #4253browse: fix markdown files with line ranges by @andrewhsu in #4310repo garden: use thex/termpackage instead of shelling out to stty by @mislav in #4214repo sync: allow user input forgit fetchby @samcoe in #4328repo 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
@mein 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+httpsto the list of supported git remote URL protocols by @danburzo in #4347 - Fix detecting the current
ghexecutable 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
- @cuonglm made their first contribution in #4189
- @Jernik made their first contribution in #4239
- @wrslatz made their first contribution in #4271
- @andrewhsu made their first contribution in #4299
- @SiarheiFedartsou made their first contribution in #4316
- @danburzo made their first contribution in #4347
- @rethab made their first contribution in #4291
- @RasmusWL made their first contribution in #4363
- @geramirez made their first contribution in #4439
- @lcnzg made their first contribution in #4412
- @m4ver1k made their first contribution in #4460
- @neil465 made their first contribution in #4473
- @dependabot made their first contribution in #4475
- @shanduur made their first contribution in #4453
- @pxrth9 made their first contribution in #4410
- @adonovan made their first contribution in #4504
- @alefranz made their first contribution in #4507
- @marwan-at-work made their first contribution in #4497