GitHub’s official command line tool
project
: Remove template
field from --format=json
output by @samcoe in https://github.com/cli/cli/pull/8160
template
field when outputing projects to JSON, unfortunately
we forgot to take into account our GHES users. This field does not exist on GHES 3.8 and older.
Including this field in our queries and output broke nearly all the project
commands for users
targeting these older versions of GHES. As we try our hardest to keep gh
compatible with all
non-deprecated GHES versions this was a pretty big mistake. In order to fix it we are reverting
the querying and exporting of the template
field for project
commands. We apologize for the
inconvenience this may cause, and plan to bring back this field once GHES 3.8 gets deprecated.repo create
: Allow --disable-issues
and --template
flags to be used together by @utouto97 in https://github.com/cli/cli/pull/7918
repo create
: Allow --homepage
and --template
flag to be used together by @arunsathiya in https://github.com/cli/cli/pull/8188
repo create
: Allow creating repositories from templates in interactive mode by @JunNishimura in https://github.com/cli/cli/pull/7769
repo fork
: Set default repo when forking repo by @kbailey4444 in https://github.com/cli/cli/pull/7768
codespace
: Migrate all Codespaces operations from Live Share to Dev Tunnels by @dmgardiner25 in https://github.com/cli/cli/pull/8149
codespace create
: Poll permission acceptance endpoint on codespace creation by @dmgardiner25 in https://github.com/cli/cli/pull/8179
pr create
: Remove duplicates targets for push survey by @benebsiny in https://github.com/cli/cli/pull/8184
pr create
: Fix typo in documentation by @darthwalsh in https://github.com/cli/cli/pull/8115
browse
: Do not use relative paths when --repo
flag is used by @benebsiny in https://github.com/cli/cli/pull/8141
dependencies
: Update to fix security vulnerability by @samcoe in https://github.com/cli/cli/pull/8176
dependencies
: bump github.com/gabriel-vasile/mimetype from 1.4.2 to 1.4.3 by @dependabot in https://github.com/cli/cli/pull/8185
Full Changelog: https://github.com/cli/cli/compare/v2.36.0...v2.37.0
codespace
: Hint adding codespace
scope when not logged in by @rajhawaldar in https://github.com/cli/cli/pull/7961
codespace ports
: Forward codespace ports over Dev Tunnels by @dmgardiner25 in https://github.com/cli/cli/pull/8023
cache delete
: Percent-encode keys by @benoit-pierre in https://github.com/cli/cli/pull/8030
gpg-key delete
, run watch
: Return HTTP errors properly by @heaths in https://github.com/cli/cli/pull/8037
pr checks
: Show cancelled checks by @rajhawaldar in https://github.com/cli/cli/pull/7960
cache list
: Add JSON exporting support by @siketyan in https://github.com/cli/cli/pull/7954
auth
: Fix startup panic when logged out by @alrs in https://github.com/cli/cli/pull/8105
secret list
, deploy-key list
: Support standard output format flags by @rajhawaldar in https://github.com/cli/cli/pull/8081
pr create
: Update the docs on flag --fill
by @peterramaldes in https://github.com/cli/cli/pull/8080
run view
: Use attempt input when fetching jobs by @arunsathiya in https://github.com/cli/cli/pull/7831
project item-edit
: New clear flag to remove item field value by @arunsathiya in https://github.com/cli/cli/pull/8024
Full Changelog: https://github.com/cli/cli/compare/v2.35.0...v2.36.0
gh alias delete
now supports the --all
flag by @JunNishimura in https://github.com/cli/cli/pull/7900
gh release delete
now supports the --cleanup-tag
flag by @kemingy in https://github.com/cli/cli/pull/7884
gh release create
now supports the --notes-from-tag
flag by @kbailey4444 in https://github.com/cli/cli/pull/7861
gh repo list --fork
and --source
behavior for orgs @ncalteen in https://github.com/cli/cli/pull/7964
gh cs create
now shows the full permissions URL by @joshmgross in https://github.com/cli/cli/pull/7983
gh auth login
falls back to using insecure storage by @kbailey4444 in https://github.com/cli/cli/pull/7781
Full Changelog: https://github.com/cli/cli/compare/v2.34.0...v2.35.0
api
: Add --verbose
flag by @JunNishimura in https://github.com/cli/cli/pull/7826
config clear-cache
: New command to clear the cli cache by @ffalor in https://github.com/cli/cli/pull/7693
workflow list
: Add --json
, --jq
and --template
flags by @rajhawaldar in https://github.com/cli/cli/pull/7902
project mark-template
: New command to control project template options by @mntlty in https://github.com/cli/cli/pull/7916 https://github.com/cli/cli/pull/7923
docs
: Fix Nix/NixOS install docs by @junaga in https://github.com/cli/cli/pull/7891
repo rename
: Properly rename remote for GHES hosts by @samcoe in https://github.com/cli/cli/pull/7890
pr checks
: Return different exit code for PENDING vs FAILED by @rajhawaldar in https://github.com/cli/cli/pull/7866
repo create
: Execute clone when readme option is enabled by @shion1305 in https://github.com/cli/cli/pull/7837
repo create
: Allow --disable-wiki
flag with --template
flag by @utouto97 in https://github.com/cli/cli/pull/7886
auth status
: Reword token invalid message by @kousikmitra in https://github.com/cli/cli/pull/7906
status
: Show status even if a comment 404s by @rwe in https://github.com/cli/cli/pull/7873
run view
: Fetch all run jobs by @harveysanders in https://github.com/cli/cli/pull/7879
Full Changelog: https://github.com/cli/cli/compare/v2.33.0...v2.34.0
Meowdy terminal aficionados! 😸
Before moving onto the freshest gh
release notes, I have some GitHub CLI team news to share with the community:
Our dear friend and college @vilmibm has moved on from GitHub in following his passions for digital humanities 😿
The core GitHub CLI team could not be happier for Nate as those same passions has brought gh
to this point. 😻 So a tremendous unimaginable thanks to our dear friend as he chases the wind with the hopes he continues as part of the GitHub CLI community 💯
We welcome a new GitHub CLI team member: @andyfeller 😹
Andy has been a long-time CLI extension advocate within GitHub for some time, maintaining extensions for unique user challenges. Please warmly welcome him as he gets up to speed with supporting our community officially! ❤️
release create
: Trim spaces on tag name by @harveysanders in https://github.com/cli/cli/pull/7759
ls
aliases to list
subcommands by @cawfeecake in https://github.com/cli/cli/pull/7818
alias set
by @JunNishimura in https://github.com/cli/cli/pull/7787
workflow
by @jamietanna in https://github.com/cli/cli/pull/7841
Full Changelog: https://github.com/cli/cli/compare/v2.32.1...v2.33.0
pr checks
: Fix regression making it unusable in GHES versions older than 3.9 by @samcoe in https://github.com/cli/cli/pull/7725
pr edit
: Do not make reviewer update request if there are no reviewer changes by @samcoe in https://github.com/cli/cli/pull/7730
repo view
: Sanitize file contents before displaying them by @samcoe in https://github.com/cli/cli/pull/7694
release download
: Use filepath.Clean to sanitize path for archive downloads by @samcoe in https://github.com/cli/cli/pull/7720
auth
: Do not add auth token to redirect requests which do not have the same host as the initial request by @samcoe in https://github.com/cli/cli/pull/7692
Full Changelog: https://github.com/cli/cli/compare/v2.32.0...v2.32.1
hello terminal fans, it's me @vilmibm .
We are pleased to bring you a new release of the GitHub CLI on this Confusion 46, 3189 YOLD.
We've got features. we've got bugfixes. This release has a real zest for life; can you feel it?
First though, a sad note. @mislav has moved on from GitHub. He was instrumental to this project and without him I don't think it would have ever happened. BIG THANKS MUCH LOVE to this wonderful person!
Happily, we have a new core team member who is, truly, a delight. Please welcome @williammartin , whom you'll see a lot more on issues and pull requests moving forward.
Now, let's talk BUSINESS.
Repository Rulesets are in beta on git hub dot com and they are now also in beta on git hub sea ell eye. You can list, view, and check branches against rulesets set at the repository or organization level. Major shoutouts to @vaindil for this big contribution. My favorite command in here is gh rs check <branch>
which will tell you what rules would apply to a hypothetical branch name. To learn more, run gh help ruleset
.
gh cache
is a new top level command in our suite of support for Actions. It lets you list and delete caches saved in Actions. It's neat and I like it. Thanks, @joshkraft ! To learn more, run gh help cache
.
gh pr create
behavior like gh repo fork
by @leavesster in https://github.com/cli/cli/pull/7330
--server-port=0
and printing connection details by @josebalius in https://github.com/cli/cli/pull/7655
fill-first
flag to pr create
command by @kousikmitra in https://github.com/cli/cli/pull/7398
GH_REPO
is set by @alex-petrov-vt in https://github.com/cli/cli/pull/7626
repo sync
by @samcoe in https://github.com/cli/cli/pull/7610
Full Changelog: https://github.com/cli/cli/compare/v2.31.0...v2.32.0
project
commands for interacting with and manipulating projects. Huge shoutout 🥳 for the time and effort put into this work by @mntlty in https://github.com/cli/cli/pull/7375 https://github.com/cli/cli/pull/7578
search code
command by @joshkraft in https://github.com/cli/cli/pull/7376
cs view
command by @dmgardiner25 in https://github.com/cli/cli/pull/7496 https://github.com/cli/cli/pull/7539
api
: output a single JSON array in REST pagination mode by @mislav in https://github.com/cli/cli/pull/7190
api
: support array params in GET queries by @mislav in https://github.com/cli/cli/pull/7513
api
: force method to uppercase by @ffalor in https://github.com/cli/cli/pull/7514
alias
: Allow aliases to recognize extended commands by @srz-zumix in https://github.com/cli/cli/pull/7523
alias import
: Fix --clobber
flag by @samcoe in https://github.com/cli/cli/pull/7569
run rerun
: Improve docs around --job
flag by @williammartin in https://github.com/cli/cli/pull/7527
run view
: Support viewing logs for jobs with composite actions by @williammartin in https://github.com/cli/cli/pull/7526
gist edit
: Add selector option to gist edit
command by @kousikmitra in https://github.com/cli/cli/pull/7537
repo clone
: Set upstream remote to track all branches after initial fetch by @samcoe in https://github.com/cli/cli/pull/7542
extension
: Speed up listing extensions by lazy-loading extension information when needed by @mislav in https://github.com/cli/cli/pull/7493
auth
: Add timeouts to keyring operations by @samcoe in https://github.com/cli/cli/pull/7580
auth status
: write to stdout on success by @rajhawaldar in https://github.com/cli/cli/pull/7540
completion
: Fix bash completions for extensions and aliases by @mislav in https://github.com/cli/cli/pull/7525
issue/pr view
: alphabetically sort labels for gh pr/issue view
by @ffalor in https://github.com/cli/cli/pull/7587
Full Changelog: https://github.com/cli/cli/compare/v2.30.0...v2.31.0
repo set-default --view
can now be called without a repo argument by @Jackenmen in https://github.com/cli/cli/pull/7441
release upload
sanitizes asset filenames prior to uploading by @jtpetty in https://github.com/cli/cli/pull/7477
pr status
uses lighter API in supported environments by @williammartin in https://github.com/cli/cli/pull/7462
pr create
respects GH_REPO env variable by @ffalor in https://github.com/cli/cli/pull/7445
gh repo set-default --view
without repo argument by @Jackenmen in https://github.com/cli/cli/pull/7441
pr create
by @ffalor in https://github.com/cli/cli/pull/7445
gh run
commands by @vilmibm in https://github.com/cli/cli/pull/7302
Full Changelog: https://github.com/cli/cli/compare/v2.29.0...v2.30.0
alias import
command by @kevhlee in https://github.com/cli/cli/pull/7118
codespace
: Add capability to filter by --repo-owner
by @kousikmitra in https://github.com/cli/cli/pull/7347
pr status
: display auto-merge information by @mjpieters in https://github.com/cli/cli/pull/7386
pr view
: display auto-merge information by @mjpieters in https://github.com/cli/cli/pull/7385
pr
: add autoMergeRequest
field to JSON output by @mjpieters in https://github.com/cli/cli/pull/7384
repo create
: fix empty default description for local repository by @vwkd in https://github.com/cli/cli/pull/7383
release download
: show progress bar by @joshkraft in https://github.com/cli/cli/pull/7380
codespace delete
: print confirmation message by @kousikmitra in https://github.com/cli/cli/pull/7353
make install
: fix for macOS by @Xerkus in https://github.com/cli/cli/pull/7369
Full Changelog: https://github.com/cli/cli/compare/v2.28.0...v2.29.0