GitHub CLI x64 Version 2.74.1
Whats Changed$$$Document support for @copilot in gh [pr|issue] edit --add-assignee and --remove-assignee by @timrogers in #11056$$$Fix pr edit when URL is provided by @williammartin in #11057$$$Fix const in PR finder tests by @babakks in #11091
GitHub CLI x64 Version 2.74.0
Whats changed$$$? Features$$$Add preview prompter command by @BagToad in #10745$$$[gh run watch] Support --compact flag by @iamazeem in #10629$$$Fix brew update notifications by @BagToad in #11024$$$?? Fixes$$$Revert [gh config] Escape pipe symbol in Long desc for website manual by @BagToad in #11004$$$Fix formatting in allowed values for gh config --help by @BagToad in #11003$$$fix: gh gist edit panic when no file in a gist by @phanen in #10627$$$Add retry logic when fetching TUF content in gh attestation commands by @malancas in #10943$$$?? Docs & Chores$$$Update README.md by @irhdab in #11022$$$Add tests for RenderJobs and RenderJobsCompact by @babakks in #11013$$$Add example usage of --head option to pr list docs by @babakks in #10979$$$Mention pr create will print the created PRs URL by @babakks in #10980$$$Add Digest to ReleaseAsset struct by @bdehamer in #11030$$$:dependabot: Dependencies$$$Bump go-gh to v2.12.1 by @BagToad in #11043$$$chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.8 to 1.4.9 by @dependabot in #10825$$$Update sigstore-go dependency to v1.0.0 by @malancas in #11028$$$chore(deps): bump github.com/sigstore/protobuf-specs from 0.4.1 to 0.4.2 by @dependabot in #10999$$$chore(deps): bump github.com/yuin/goldmark from 1.7.8 to 1.7.12 by @dependabot in #11032
GitHub CLI x64 Version 2.73.0
Copilot Coding Agent Support$$$You can now assign issues to GitHub Copilot directly from gh; just as you would assign them to a teammate. Use gh issue edit <number> --add-assignee @copilot to assign the GitHub Copilot coding agent; and Copilot will work in the background to understand the issue; propose a solution; and open a pull request when its ready for your review. If you run gh issue edit interactively; Copilot (AI) will be displayed as a potential assignee. This feature is available for GitHub Copilot Pro+ and Copilot Enterprise subscribers. For more details; refer to the full changelog post for Copilot coding agent.$$$$$$Whats Changed$$$? Features$$$Copilot is assignable to issues and pull requests with issue edit and pr edit$$$gh issue edit: actors are assignable to issues$$$gh pr edit: Assign actors to pull requests$$$issue edit; pr edit: handle display names in interactive assignee editing$$$issue edit; pr edit: Support special non-interactive (flags) assignee name @copilot$$$[gh issue/pr comment] Add support for last comment delete for issues and PRs$$$[gh issue view] Expose closedByPullRequestsReferences JSON field$$$Accessible prompter always displays selection defaults in a format readable by a screen reader$$$?? Fixes$$$Fix StatusJSONResponse usage$$$Fix panic on gh pr view 0$$$Fix flakey test for accessible prompter$$$Fix accessible prompter flaky tests$$$Handle missing archive URLs on release download$$$Fix bug when removing all PR reviewers$$$?? Docs & Chores$$$Feature detect v1 projects on pr view$$$Feature detect v1 projects on non-interactive pr create$$$Feature detect v1 projects on web mode pr create$$$Feature detect v1 projects on interactive pr create$$$Feature detect v1 projects on pr edit$$$Move predicate type filtering in gh attestation verify$$$Improve assertion for disabled echo mode
GitHub CLI x64 Version 2.72.0
Whats Changed$$$? Features$$$Introduce gh accessibility help topic highlighting GitHub CLI accessibility experiences$$$[gh pr view] Support closingIssuesReferences JSON field$$$?? Fixes$$$Fix expected error output of TestRepo/repo-set-default$$$Ensure accessible password and auth token prompters disable echo mode$$$Fix: Accessible multiselect prompt respects default selections$$$
GitHub CLI x64 Version 2.71.2
GitHub CLI 2.71.2 Latest$$$Whats Changed$$$Fix pr create when push.default tracking and no merge ref by @williammartin in #10863
GitHub CLI x64 Version 2.70.0
GitHub CLI 2.70.0$$$Accessibility$$$This release contains dark shipped changes that are part of a larger GitHub CLI accessibility preview still under development. More information about these will be announced later this month including various channels to work with GitHub and GitHub CLI maintainers on shaping these experiences.$$$$$$Ensure table headers are thematically contrasting$$$#8292 is a long time issue where table headers were difficult to see in terminals with light background. Ahead of the aforementioned preview; v2.70.0 has shipped changes that improve the out-of-the-box experience based on terminal background detection.$$$$$$Whats Changed$$$? Features$$$Update go-gh and document available sprig funcs by @BagToad in #10680$$$Introducing experimental support for rendering markdown with customizable; accessible colors by @andyfeller @jtmcg in #10680$$$Ensure table datetime columns have thematic; customizable muted text by @andyfeller in #10709$$$Ensure table headers are thematically contrasting by @andyfeller in #10649$$$Introduce configuration setting for displaying issue and pull request labels in rich truecolor by @andyfeller in #10720$$$Ensure muted text is thematic and customizable by @andyfeller in #10737$$$[gh repo create] Show host name in repo creation prompts by @iamazeem in #10516$$$Introduce accessible prompter for screen readers (preview) by @BagToad in #10710$$$?? Fixes$$$run list: do not fail on organization/enterprise ruleset imposed workflows by @BagToad in #10660$$$Implement safeguard for gh alias delete test; prevent wiping out GitHub CLI configuration by @andyfeller in #10683$$$Pin third party actions to commit sha by @BagToad in #10731$$$Fallback to job run logs when step logs are missing by @babakks in #10740$$$[gh ext] Fix GitKind extension directory path by @iamazeem in #10609$$$Fix job log resolution to skip legacy logs in favour of normal/new ones by @babakks in #10769$$$?? Docs & Chores$$$./script/sign cleanup by @iamazeem in #10599$$$Fix typos in CONTRIBUTING.md by @rylwin in #10657$$$Improve gh at verify --help; document json output by @phillmv in #10685$$$Acceptance test issue/pr create/edit with project by @williammartin in #10707$$$Escape dots in regexp pattern in README.md by @babakks in #10742$$$Simplify cosign verification example by not using a regex. by @kommendorkapten in #10759$$$Document UNKNOWN STEP in run view by @williammartin in #10770$$$:dependabot: Dependencies$$$Update github.com/sigstore/sigstore-go to 0.7.1 and fix breaking function change by @malancas in #10749
GitHub CLI x64 Version 2.69.0
GitHub CLI 2.69.0 Latest$$$Whats Changed$$$Features$$$Commands that accept filepath arguments will do glob expansion for * characters; by @iamazeem in #10413$$$Bug Fixes$$$gh issue/pr comment --edit-last no longer creates a comment in non-interactive mode if there werent one. A new flag --create-if-none provides this behaviour; by @andyfeller in #10625$$$gh repo sync provides a more informative error for missing workflow permissions when the token is provided by a GitHub app; by @wata727 in #10574$$$gh api no longer tries to encode URLs incorrectly; by @williammartin in #10630$$$Other$$$Add cli-discuss-automation environment to triage.md by @jtmcg in #10552$$$chore: remove redundant word in comment by @kevincatty in #10586$$$Bump golang.org/x/net from 0.34.0 to 0.36.0 by @dependabot in #10593
GitHub CLI x64 Version 2.67.0
GitHub CLI 2.67.0 Latest$$$Security$$$A bug in gh attestation verify may return an incorrect zero exit status when no matching attestations are found for the specified --predicate-type <value> or the default https://slsa.dev/provenance/v1 if not specified. This issue only arises if an artifact has an attestation with a predicate type different from the one provided in the command. As a result; users relying solely on these exit codes may mistakenly believe the attestation has been verified; despite the absence of an attestation with the specified predicate type and the tool printing a verification failure.$$$$$$Users are advised to update gh to version v2.67.0 as soon as possible.$$$$$$For more information; see GHSA-fgw4-v983-mgp8$$$$$$gh pr checkout now supports interactively selecting a pull request$$$Similar to commands like gh workflow run which prompts for a workflow to run; now gh pr checkout will prompt for a pull request to checkout. The list is currently limited to the most recent 10 pull requests in the repository.$$$$$$ 393797385-499b5dfb-3103-42b8-876a-3a2d4d7173c8.mov $$$Big thank you to @nilvng for implementing this ??$$$$$$Contributing guidelines updated$$$Weve updated our CONTRIBUTING.md guidelines to give more clarity around old help wanted issues.$$$$$$TLDR:$$$$$$Please directly mention @cli/code-reviewers when an issue you want to work on does not have clear Acceptance Criteria$$$Please only open pull requests for issues with both the help wanted label and clear Acceptance Criteria$$$Please avoid expanding pull request scope to include changes that are not described in the connected issues Acceptance Criteria$$$Note: Acceptance Criteria is posted as an issue comment by a core maintainer.$$$$$$See #10381 and #10395 for more information.$$$$$$? Have feedback on anything? Wed love to hear from you in a discussion post ??$$$$$$Whats Changed$$$? Features$$$feat: let user select pr to checkout by @nilvng in #9868$$$feat: Add support for deleting autolink references by @hoffm in #10362$$$[gh extensions install] Improve help text and error message by @iamazeem in #10333$$$Error when gh repo rename is used with a new repo name that contains an owner by @timrogers in #10364$$$Attestation bundle fetch improvements by @malancas in #10233$$$[gh project item-list] Add iterationId field in ProjectV2ItemFieldIterationValue by @iamazeem in #10329$$$?? Fixes$$$[gh api] Fix mutual exclusion messages of --slurp flag by @iamazeem in #10332$$$Exit with error if no matching predicate type exists by @kommendorkapten in #10421$$$Do not try to parse bodies for HEAD requests by @jsoref in #10388$$$[gh project item-edit] Fix number type by @iamazeem in #10374$$$[gh workflow run] Improve error handling for --ref flag by @iamazeem in #10328$$$[gh config] Escape pipe symbol in Long desc for website manual by @iamazeem in #10371$$$?? Docs & Chores$$$Fix logic error in contributing docs by @BagToad in #10395$$$Docs: Clarify guidelines for help wanted issues and pull requests by @BagToad in #10381$$$[gh pr status] Mention gh pr checks in the Long section by @iamazeem in #10389$$$[docs/releasing.md] Add basic info for homebrew update flow by @iamazeem in #10344$$$[gh issue/pr list] Improve help text by @iamazeem in #10335$$$Remove v1 project add to board automation from prauto workflow by @hoffm in #10331$$$Note: the following pair of PRs was reverted and never made into a release$$$[gh repo edit] Allow setting commit message defaults by @iamazeem in #10363$$$Revert [gh repo edit] Allow setting commit message defaults by @BagToad in #10372$$$:dependabot: Dependencies$$$Bump google.golang.org/protobuf from 1.36.4 to 1.36.5 by @dependabot in #10379$$$Full Changelog: v2.66.1...v2.67.0
GitHub CLI x64 Version 2.66.1
GitHub CLI 2.66.1$$$Hotfix: gh pr view fails with provided URL$$$This addresses a regression in gh pr view was reported in #10352. This regression was due to a change in v2.66.0 that no longer allowed gh pr subcommands to execute properly outside of a git repo.$$$$$$Whats Changed$$$Hotfix: gh pr view fails with provided URL by @jtmcg in #10354$$$Full Changelog: v2.66.0...v2.66.1
GitHub CLI x64 Version 2.65.0
Whats Changed$$$Document the base repo resolution functions by @williammartin in #10110$$$Update releasing.md by @andyfeller in #10116$$$Document how to set gh-merge-base by @heaths in #10112$$$Upgrade golang.org/x/net to v0.33.0 by @jtmcg in #10135$$$add pending status for workflow runs by @dziamidchyk in #10143$$$Remove release discussion posts and clean up related block in deployment yml by @shauryatiwari1 in #10145$$$docs(repo): make explicit which branch is used when creating a repo by @nobe4 in #10163$$$feat: Add support for listing autolink references by @hoffm in #10124$$$Add mention of classic token in gh auth login docs by @jtmcg in #10164$$$Feat: Allow setting security_and_analysis settings in gh repo edit by @ChandranshuRao14 in #10139$$$Upgrade generated workflows by @jsoref in #10181$$$Myriad fixes to provide clarity on determining tracking ref in PR create by @williammartin in #10187$$$Handle missing upstream configs for gh pr create by @cmbrose in #10177$$$fix(repo fork): add non-TTY output when fork is newly created by @aryanbhosale in #10158$$$Bump cli/go-gh for indirect security vulnerability by @andyfeller in #10190
GitHub CLI x64 Version 2.64.0
Whats Changed$$$docs: improve docs for browse command as of #5352 by @ankddev in #10025$$$Open PR against gh-merge-base by @heaths in #9712$$$Add integration tests for gh attestation verify when the bundle-from-oci flag is specified by @malancas in #10020$$$gh repo rename help text clarifies new repo name should not include owner by @BagToad in #10044$$$fix: list branches in square brackets in gh run and gh codespace by @uday-rana in #10043$$$Bump actions/attest-build-provenance from 1.4.4 to 2.1.0 by @dependabot in #10056$$$Bump golang.org/x/crypto from 0.29.0 to 0.31.0 by @dependabot in #10070$$$Improve documentation and error messaging for local extension installations without executables by @BagToad in #9933$$$docs: better document auth scopes by @ankddev in #10026$$$Sigstore verifier logic updates by @malancas in #9999$$$gh pr merge --delete-branch exits with error when merge requested via merge queue by @BagToad in #10074$$$sundry gh at inspect improvements by @phillmv in #9954$$$Support pr view for intra-org forks by @williammartin in #10078$$$Print policy information before verifying attestations by @malancas in #9891$$$Improve error handling in apt setup script by @jobegrabber in #10055$$$Use Windows compatible file name for downloaded attestations when running gh attestation download by @malancas in #10051$$$Bump github.com/cpuguy83/go-md2man/v2 from 2.0.5 to 2.0.6 by @dependabot in #10094$$$Perform all gh attestation verify policy options configuration in the newEnforcementCriteria() function by @malancas in #10012
GitHub CLI x64 Version 2.63.2
Whats Changed$$$Use consistent slice ordering in run download tests by @williammartin in #10006$$$Fix bug when fetching bundles from OCI registry by @malancas in #10019$$$Use safepaths for run download by @williammartin in #10009$$$Error for mutually exclusive json and watch flags by @andyfeller in #10016
GitHub CLI x64 Version 2.63.1
GitHub CLI 2.63.1 Latest$$$@github-actions github-actions released this yesterday$$$ v2.63.1$$$ 1136764 $$$Whats Changed$$$Fix formatting in git/client_test.go comments for linter by @BagToad in #9969$$$Bump github.com/gabriel-vasile/mimetype from 1.4.6 to 1.4.7 by @dependabot in #9942$$$Clarify which commands correspond to which DNF version under Linux install instructions by @BagToad in #9976$$$When renaming an existing remote as part of remote creation in gh repo fork; log the change by @timrogers in #9983$$$Fix PR checkout panic when base repo is not in remotes by @williammartin in #9992$$$Security$$$A security vulnerability has been identified in GitHub CLI that could create or overwrite files in unintended directories when users download a malicious GitHub Actions workflow artifact through gh run download.$$$$$$For more information; see GHSA-2m9h-r57g-45pj$$$$$$Full Changelog: v2.63.0...v2.63.1
GitHub CLI x64 Version 2.63.0
Whats Changed$$$Support bare repo creation by @williammartin in #9905$$$Refactor the getAttestations functions by @malancas in #9892$$$Added a section on manual verification of the relases. by @kommendorkapten in #9936$$$Adding option to return baseRefOid in pr view by @daliusd in #9938$$$Update verification results printing by @malancas in #9937$$$Fix some multiline command documentation to use heredoc strings by @BagToad in #9948$$$Print friendly error when release create fails due to missing workflow OAuth scope by @BagToad in #9791$$$Full Changelog: v2.62.0...v2.63.0$$$$$$Security$$$A security vulnerability has been identified in the GitHub CLI that could leak authentication tokens when cloning repositories containing git submodules hosted outside of GitHub.com and ghe.com.$$$$$$For more information; see https://github.com/cli/cli/security/advisories/GHSA-jwcm-9g39-pmcw
GitHub CLI x64 Version 2.62.0
Whats Changed$$$Update monotonic verification logic and testing by @malancas in #9856$$$Check extension for latest version when executed by @andyfeller in #9866$$$Shorten extension release checking from 3s to 1s by @andyfeller in #9914$$$Mention GitHub CLI team on discussion issues by @andyfeller in #9920$$$Full Changelog: v2.61.0...v2.62.0$$$$$$Security$$$A security vulnerability has been identified in GitHub CLI that could allow remote code execution (RCE) when users connect to a malicious Codespace SSH server and use the gh codespace ssh or gh codespace logs commands.$$$$$$For more information; see GHSA-p2h2-3vg9-4p87
GitHub CLI x64 Version 2.61.0
GitHub CLI 2.61.0$$$$$$Whats Changed$$$Add acceptance test for project command by @jtmcg in #9816$$$Add comprehensive testscript for gh ruleset by @andyfeller in #9815$$$Add comprehensive testscript for gh ext commandset by @andyfeller in #9810$$$Require visibility confirmation in gh repo edit by @andyfeller in #9845$$$Clean up skipped online tests for gh attestation verify by @malancas in #9838$$$gh attestation verify should only verify provenance attestations by default by @malancas in #9825$$$Set dnf5 commands as default by @its-miroma in #9844$$$Fix verbiage for deleting workflow runs by @akx in #9876$$$Bump github.com/creack/pty from 1.1.23 to 1.1.24 by @dependabot in #9862$$$gh attestation verify policy enforcement refactor by @malancas in #9848$$$Simplify Sigstore verification result handling in gh attestation verify by @malancas in #9877$$$Print empty array for gh cache list when --json is provided by @williammartin in #9883$$$Bump actions/attest-build-provenance from 1.4.3 to 1.4.4 by @dependabot in #9884$$$Create the automatic key when specified with -i by @cmbrose in #9881$$$fix: gh pr create -w ignore template flag by @nilvng in #9863
GitHub CLI x64 Version 2.60.1
GitHub CLI 2.60.1 Latest$$$@github-actions github-actions released this 3 days ago$$$ v2.60.1$$$ a381ca5 $$$This is a small patch release to fix installing gh via go install which was broken with v2.60.0.$$$$$$Whats Changed$$$Update testscript to use hard fork by @williammartin in #9821$$$Full Changelog: v2.60.0...v2.60.1
GitHub CLI x64 Version 2.60.0
GitHub CLI 2.60.0 Latest$$$@github-actions github-actions released this 15 hours ago$$$ v2.60.0$$$ 44ee177 $$$Whats Changed$$$Add ArchivedAt field by @tsukasaI in #9790$$$Include startedAt; completedAt in run steps data by @andyfeller in #9774$$$Adjust environment help for host and tokens by @williammartin in #9809$$$Add handling of empty titles for Issues and PRs by @jtmcg in #9701$$$LiveSigstoreVerifier.Verify should error if no attestations are present by @phillmv in #9742$$$gh at verify retries fetching attestations if it receives a 5xx by @phillmv in #9797$$$Prevent local extension installations with invalid names and conflicts with core commands and other extensions by @BagToad in #9794$$$Rewrite a sentence in CONTRIBUTING.md by @muzimuzhi in #9772$$$Use new GitHub preview terms in working-with-us.md by @BagToad in #9800$$$Use new GitHub previews terminology in attestation commands help docs by @BagToad in #9799$$$Clarify in README that gh is supported on GitHub Enterprise Cloud by @BagToad in #9805$$$build(deps): bump github.com/gabriel-vasile/mimetype from 1.4.5 to 1.4.6 by @dependabot in #9752
GitHub CLI x64 Version 2.59.0
Whats Changed$$$Allow community submitted design work by @BagToad in #9683$$$Improve SECURITY.md with expectations for privately reported vulnerabilities by @BagToad in #9687$$$Emit a log message when extension installation falls back to a darwin-amd64 binary on an Apple Silicon macOS device by @timrogers in #9650$$$Print the login URL even when opening a browser by @ulfjack in #7091$$$configurable maxwidth for markdown WithWrap() by @smemsh in #9626$$$Handle errors when parsing hostname in auth flow by @BagToad in #9729$$$Add repo license list/view and repo gitignore list/view by @BagToad in #9721$$$Introduce testscript acceptance tests generally; and for the PR command specifically by @williammartin in #9745$$$Support GH_ACCEPTANCE_SCRIPT env var to target a single script by @williammartin in #9756$$$Ensure Acceptance defer failures are debuggable by @williammartin in #9754$$$Add acceptance task to makefile by @williammartin in #9748$$$Add Acceptance tests for issue command by @williammartin in #9757$$$Update IsEnterprise and IsTenancy for orthogonality using go-gh by @jtmcg in #9755$$$Supporting filtering on gist list by @heaths in #9728$$$New Contributors
GitHub CLI x64 Version 2.58.0
Whats Changed$$$Better messaging for attestation verify custom issuer mismatch error by @bdehamer in #9616$$$Enhance gh repo create docs; fix random cmd link by @andyfeller in #9630$$$Add HasActiveToken method to AuthConfig to refactor auth check for attestation trusted-root command by @BagToad in #9635$$$Improve the suggested command for creating an issue when an extension doesnt have a binary for your platform by @timrogers in #9608$$$Disable auth check for attestation trusted-root command by @bdehamer in #9610$$$build(deps): bump github.com/henvic/httpretty from 0.1.3 to 0.1.4 by @dependabot in #9645$$$Fix tenant-awareness for trusted-root command by @bdehamer in #9638$$$Replace GitHub Enterprise Server option with other in gh auth login prompting by @jtmcg in #9642$$$build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.4 to 2.0.5 by @dependabot in #9634$$$Add dnf5 instructions to docs/install_linux.md by @its-miroma in #9660$$$build(deps): bump github.com/theupdateframework/go-tuf/v2 from 2.0.0 to 2.0.1 by @dependabot in #9688
GitHub CLI x64 Version 2.57.0
Whats Changed$$$Move non-integration tests to different test file by @codysoyland in #9577$$$Added tenancy aware attestation commands by @kommendorkapten in #9542$$$Added --active flag to the gh auth status command by @velumuruganr in #9520$$$build(deps): bump github.com/sigstore/sigstore-go from 0.6.1 to 0.6.2 by @dependabot in #9601$$$gh attestation verify test for custom OIDC issuers by @bdehamer in #9595$$$Suggest installing Rosetta when extension installation fails due to missing darwin-arm64 binary; but a darwin-amd64 binary is available by @timrogers in #9599$$$Update gh attestation verify bundle parsing and validation errors by @malancas in #9564$$$Suppress attestation verify output when no TTY present by @bdehamer in #9612$$$Use api subdomains for tenant hosts by @williammartin in #9618
GitHub CLI x64 Version 2.56.0
GitHub CLI 2.56.0 Latest$$$@github-actions github-actions released this 15 hours ago$$$ v2.56.0$$$ a3f9d85 $$$Important note about renewed GPG key$$$The Debian and RedHat releases have been signed with a new GPG key. If you are experiencing issues updating your .deb or .rpm packages; please read cli/cli#9569.$$$$$$Whats Changed$$$Always print URL scheme to stdout by @heaths in #9471$$$Quote repo names consistently in gh repo sync stdout by @muzimuzhi in #9491$$$Fetch bundle from OCI registry for verify by @ejahnGithub in #9421$$$Remove Internal from gh repo create prompt when owner is not an org by @jtmcg in #9465$$$Drop surplus trailing space char in flag names in web by @muzimuzhi in #9495$$$fix the trimming of log filenames for gh run view by @benebsiny in #9482$$$offline verification using the bundle of attestations without any additional handling of the file by @aryanbhosale in #9523$$$build(deps): bump actions/attest-build-provenance from 1.4.1 to 1.4.2 by @dependabot in #9518$$$Fix doc typo for repo sync by @muzimuzhi in #9509$$$Correct the help message for -F by @Goooler in #9525$$$chore: fix some function names by @crystalstall in #9555$$$verify 2nd artifact without swapping order by @aryanbhosale in #9532$$$gh attestation verify handles empty JSONL files by @malancas in #9541$$$Enhance Linux installation docs to redirect users to GPG renewal issue; better troubleshooting support by @andyfeller in #9573$$$Upgrade sigstore-go to v0.6.1 by @codysoyland in #9566$$$Check for nil values to prevent nil dereference panic by @codysoyland in #9578$$$build(deps): bump actions/attest-build-provenance from 1.4.2 to 1.4.3 by @dependabot in #9575
GitHub CLI x64 Version 2.55.0
Whats Changed$$$Update gh variable get to use repo host by @andyfeller in #9411$$$build(deps): bump actions/attest-build-provenance from 1.3.3 to 1.4.0 by @dependabot in #9400$$$Unify use of tab indent in non-test source files by @muzimuzhi in #9407$$$Add Acceptance Criteria requirement to triage.md for accepted issues by @jtmcg in #9435$$$Improve Unix compliance gh repo set-default by @thecaffeinedev in #9431$$$Document that gh run download downloads the latest artifact by default by @sato11 in #9412$$$build(deps): bump github.com/google/go-containerregistry from 0.20.1 to 0.20.2 by @dependabot in #9432$$$Replace --project.* flags name with title in docs by @jtmcg in #9443$$$Wrap flags with backticks; continued by @muzimuzhi in #9444$$$Improve gh release create --notes-from-tag behavior with multiline tag annotation by @babakks in #9385$$$Add pr create --editor by @benebsiny in #9433$$$build(deps): bump actions/attest-build-provenance from 1.4.0 to 1.4.1 by @dependabot in #9451$$$Require Sigstore Bundle v0.2+ when verifying with gh attestation by @codysoyland in #9442$$$build(deps): bump github.com/creack/pty from 1.1.21 to 1.1.23 by @dependabot in #9459$$$Update Go and other extension workflow templates to reflect recent enhancements to cli/gh-extension-precompile by @BagToad in #9462$$$Add note for external contributors to working-with-us.md by @BagToad in #9468$$$Update attestation TUF root by @codysoyland in #9467$$$Improve documentation for pr checks and exit codes by @thecaffeinedev in #9452$$$cmd/pr/checks: Describe bucket and state JSON fields by @arunsathiya in #9439$$$Add Flox as an installation option by @bryanhonof in #9396$$$fix behavior for gh issue develop -b does-not-exist-on-remote by @benebsiny in #9477$$$Update --project <number> flags in gh search to owner/number by @jtmcg in #9453
GitHub CLI x64 Version 2.54.0
Whats Changed$$$Remove redundant whitespace by @jessehouwing in #9334$$$Remove attestation test that requires being online by @steiza in #9340$$$Update documentation for gh api PATCH by @cmbuckley in #9352$$$Clarify usage of template flags for PR and issue creation by @williammartin in #9354$$$Expose json databaseId field for release commands by @williammartin in #9356$$$Expose fullDatabaseId for PR json export by @williammartin in #9355$$$Handle --bare clone targets by @hyperrealist in #9271$$$Slightly clarify when CLI exits with code 4 by @williammartin in #9358$$$Update sigstore-go in gh CLI to v0.5.1 by @steiza in #9366$$$Exit with 1 on authentication issues by @Stausssi in #9240$$$build(deps): bump github.com/gabriel-vasile/mimetype from 1.4.4 to 1.4.5 by @dependabot in #9372$$$build(deps): bump github.com/google/go-containerregistry from 0.20.0 to 0.20.1 by @dependabot in #9373$$$Add --remove-milestone option to issue edit and pr edit by @babakks in #9344$$$handle attest case insensitivity by @ejahnGithub in #9392
GitHub CLI x64 Version 2.53.0
Whats Changed$$$Add --json option to variable get command by @babakks in #9128$$$Add GH_DEBUG to issue template by @TWiStErRob in #9167$$$Fetch variable selected repo relationship when required by @williammartin in #9256$$$build(deps): bump github.com/hashicorp/go-retryablehttp from 0.7.5 to 0.7.7 by @dependabot in #9250$$$Alternate gh attestation trusted-root subcommand by @steiza in #9206$$$fix: indentation in gh release create --help by @cchristous in #9296$$$build(deps): bump actions/attest-build-provenance from 1.3.2 to 1.3.3 by @dependabot in #9305$$$docs: Update documentation for gh repo create to clarify owner by @jessehouwing in #9309$$$Fix panic when calling gh pr view --json stateReason by @williammartin in #9307$$$Add issue create --editor by @notomo in #7193$$$Add pr update-branch command by @babakks in #8953$$$New Contributors$$$@TWiStErRob made their first contribution in #9167$$$@cchristous made their first contribution in #9296$$$@jessehouwing made their first contribution in #9309$$$@notomo made their first contribution in #7193$$$Full Changelog: v2.52.0...v2.53.0
GitHub CLI x64 Version 2.52.0
GitHub CLI 2.52.0 Latest$$$$$$Whats Changed$$$feat: add -a flag to gh run list by @joshuajtward in #9162$$$Attestation Verification - Buffer Fix by @Forrin in #9198$$$build(deps): bump actions/attest-build-provenance from 1.2.0 to 1.3.2 by @dependabot in #9222$$$build(deps): bump github.com/gorilla/websocket from 1.5.2 to 1.5.3 by @dependabot in #9211$$$build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 by @dependabot in #9218$$$build(deps): bump github.com/google/go-containerregistry from 0.19.1 to 0.19.2 by @dependabot in #9217$$$Remove gh at verify public beta note by @phillmv in #9243
GitHub CLI x64 Version 2.51.0
v2.51.0$$$$$$Whats Changed$$$Ensure signed RPMs have attestations by @andyfeller in #9143$$$Add signer-repo and signer-workflow flags to gh attestation verify by @malancas in #9137$$$Docs: Specify rpm repository to avoid conflicts with community repositories by @hbenali in #9151$$$Replace --json-result flag with --format=json in the attestation cmd by @phillmv in #9172$$$Bump go-keyring to fix keepassxc prompt confirmation by @AlanD20 in #9179$$$build(deps): bump actions/attest-build-provenance from 1.1.2 to 1.2.0 by @dependabot in #9169$$$build(deps): bump goreleaser/goreleaser-action from 5 to 6 by @dependabot in #9175$$$build(deps): bump github.com/gorilla/websocket from 1.5.1 to 1.5.2 by @dependabot in #9192$$$build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by @dependabot in #9197$$$watch - handle annotation errors gracefully by @wingleung in #9113$$$
GitHub CLI x64 Version 2.50.0
v2.50.0$$$$$$Whats Changed$$$Refactor git credential flow code by @williammartin in #9089$$$feat: add json output for gh pr checks by @nobe4 in #9079$$$Rework first auth tests with new gitcredential abstractions by @williammartin in #9095$$$list the various alias permutations for the command and subcommands; via --help and gh reference by @gabemontero in #8824$$$Removed tty message when checking for extension upgrades by @leevic31 in #9088$$$Fix doc bug for gh run watch by @jasonodonnell in #9052$$$feat: add support for stateReason in gh pr view by @nobe4 in #9080$$$fix: rename the Attempts field to Attempt; expose in gh run view and gh run ls by @cawfeecake in #8905$$$Update regex in changedFilesNames to handle quoted paths by @anda3 in #9115$$$Add a gh variable get FOO command by @arnested in #9106$$$Add macOS pkg installer to deployment (#7554) by @paulober in #7555$$$Add integration tests for gh attestation verify shared workflow use case by @malancas in #9107$$$Add build provenance for gh CLI releases by @malancas in #9087$$$build(deps): bump github.com/gabriel-vasile/mimetype from 1.4.3 to 1.4.4 by @dependabot in #9124$$$Build completions during release on macos by @williammartin in #9136$$$Clarify Mac OS Installer packages are unsigned by @andyfeller in #9140
GitHub CLI x64 Version 2.49.2
Whats Changed$$$Improve run list doc with available --json fields by @babakks in #8934$$$Fix typos by @szepeviktor in #9068$$$Move config interfaces into gh package by @williammartin in #9060$$$Creating doc to capture Codespace usage guidance by @andyfeller in #9066$$$Fix repo fork regression by @williammartin in #9063$$$Add --latest=false to gh release create docs by @kuzdogan in #8987$$$build(deps): bump github.com/sigstore/protobuf-specs from 0.3.1 to 0.3.2 by @dependabot in #9075
GitHub CLI x64 Version 2.49.1
GitHub CLI 2.49.1 Latest$$$Whats Changed$$$Do not mutate headers when initialising tableprinter by @williammartin in #9033$$$Document relationship between host and active account by @williammartin in #9032$$$build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by @dependabot in #9034$$$Run attestation command set integration tests separately by @malancas in #9035$$$Added support for jobs with long filenames by @shayn-orca in #8684$$$Fix unused params across project by @williammartin in #9059$$$Fix attestation verify source repository check bug by @malancas in #9053
GitHub CLI x64 Version 2.49.0
GitHub CLI 2.49.0 Latest$$$@github-actions github-actions released this 3 days ago$$$ v2.49.0$$$ f2d6a8e $$$Support for GitHub Artifact Attestations$$$v2.49.0 release introduces the attestation command set for downloading and verifying attestations about artifacts built in GitHub Actions! This is part of the larger Artifact Attestations initiative. An artifact attestation is a piece of cryptographically signed metadata that is generated as part of your artifact build process. These attestations bind artifacts to the details of the workflow run that produced them; and allow you to guarantee the integrity and provenance of any artifact built in GitHub Actions.$$$$$$# Verify a local artifact$$$gh attestation verify artifact.bin -o <your org>$$$$$$# Verify a local artifact against a local artifact attestation$$$gh attestation verify artifact.bin -b ./artifact-v0.0.1-bundle.json -o <your org>$$$$$$# Verify an OCI image$$$gh attestation verify oci://ghcr.io/foo/bar:latest -o <your org>$$$$$$# Download artifact attestations$$$gh attestation download artifact.bin -o <your org>$$$To get started; check out gh help attestation. You can also use the gh at <command> alias for short.$$$$$$Whats Changed$$$Improve gh run rerun docs by @sochotnicky in #8969$$$build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 by @dependabot in #8981$$$Update sigstore-go dependency to v0.3.0 by @malancas in #8977$$$gh attestation tuf-root-verify offline test fix by @malancas in #8975$$$Update gh attestation verify output by @malancas in #8991$$$build(deps): bump google.golang.org/grpc from 1.62.1 to 1.62.2 by @dependabot in #8989$$$Remove Hidden flag from gh attestation command by @malancas in #8998$$$Add colon for gh secret set by @NeroBlackstone in #9004$$$Improve errors when loading bundle locally fails by @williammartin in #8996$$$Support offline mode for gh attestation verify by @steiza in #8997$$$Add projectsV2 to JSON fields of gh repo commands by @babakks in #9007$$$Support long URLs in gh repo clone by @babakks in #9008$$$Fix issue with closing pager stream by @babakks in #9020$$$proof of concept for flag-level disable auth check by @andyfeller in #9000$$$Be more general with attestation host checks by @williammartin in #9019$$$Add beta designation on attestation command set by @andyfeller in #9022$$$Tweaked gh attestation help strings to generate nicer cli manual site. by @phillmv in #9025$$$Update cli/go-gh to v2.9.0 by @andyfeller in #9023$$$Document repo clone protocol behaviour by @williammartin in #9030
GitHub CLI x64 Version 2.48.0
GitHub CLI 2.48.0 Latest$$$@github-actions github-actions released this last week$$$ v2.48.0$$$ fd4f2c9 $$$The Big Stuff$$$Added support for --slurping JSON responses in gh api by @heaths in #8620$$$Added --skip-ssh-key option to gh auth login command by @babakks in #8935$$$Added numSelectedRepos to JSON output of gh secret list by @babakks in #8899$$$Added support for multiple items in gh api nested array by @Ebonsignori in #8762$$$Fixed panic when running gh repo rename by @babakks in #8906$$$Fixed panic when parsing IPv6 remote URLs by @babakks in #8893$$$Fixed gh pr lock/unlock not working when URL is passed by @t4kamura in #8837$$$Fixed viewing run logs with filenames that the regex didnt handle @zdrve in #8882$$$The Rest$$$Tidy go.mod by @matthewhughes934 in #8958$$$Fix cache contention in Go CI jobs by @matthewhughes934 in #8957$$$Fix go directive in go.mod by @matthewhughes934 in #8956$$$Update install_linux.md by @richterdavid in #8950$$$build(deps): bump google.golang.org/grpc from 1.61.1 to 1.61.2 by @dependabot in #8925$$$Add codeowners entry for the GitHub TUF root included in the attestation command set by @malancas in #8919$$$Create stronger run log cache abstraction by @williammartin in #8931$$$Remove naked returns from git ParseURL by @williammartin in #8929$$$Fix api cache test by @williammartin in #8932$$$Ensure run log cache creates cache dir if it doesnt exist by @williammartin in #8944$$$Close zip file in run view tests by @williammartin in #8945$$$Fix attestation cmd offline unit test failure by @malancas in #8933$$$Add support to attestation command for more predicate types. by @steiza in #8949$$$New Contributors$$$@babakks made their first contribution in #8906$$$@t4kamura made their first contribution in #8837$$$@zdrve made their first contribution in #8882$$$@Ebonsignori made their first contribution in #8762$$$@matthewhughes934 made their first contribution in #8958$$$@richterdavid made their first contribution in #8950
GitHub CLI x64 Version 2.46.0
GitHub CLI 2.46.0 Latest$$$Whats Changed$$$Draft issue IDs are included in project item-list output by @yasunori0418 in #8754$$$New --dry-run option for pr create by @v1v in #8376$$$Bump go-keyring to fix race condition by @williammartin in #8833$$$PR numbers are prefixed with owner/repo for context by @nobe4 in #8778$$$Extra word removed in codespaces code comments by @cuinix in #8795$$$Clarified description of the -u; --user option for gh auth token by @gregsmi in #8797$$$Fixed formatting for the description of release upload by @malor in #8834$$$Clarified the usage of auth status to list all authenticated accounts by @jsoref in #8838$$$Document auth switch behavior for two or more accounts by @williammartin in #8839$$$Document run watch and view not supporting fine grained PATs by @williammartin in #8843$$$build(deps): bump google.golang.org/protobuf from 1.30.0 to 1.33.0 by @dependabot in #8811$$$build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.3 to 2.0.4 by @dependabot in #8844$$$New Contributors$$$@cuinix made their first contribution in #8795$$$@gregsmi made their first contribution in #8797$$$@nobe4 made their first contribution in #8778$$$@malor made their first contribution in #8834$$$@yasunori0418 made their first contribution in #8754
GitHub CLI x64 Version 2.43.1
GitHub CLI 2.43.1 Latest$$$Whats Changed$$$Fix label create regression in v2.43.0 by @williammartin in #8653
GitHub CLI x64 Version 2.42.1
Whats Changed$$$chore: Unify calling gh in examples by @ihmpavel in #8560$$$Move create codespace permission opt out behind else to fix token permissions by @dmgardiner25 in #8569$$$Align devcontainer Go version with go.mod by @greggroth in #8570$$$Add Webi as an option for installation by @wesleycoder in #8555
GitHub CLI x64 Version 2.40.1
Whats Changed$$$Removed repository requirement language from by @mateusmarquezini in #8432$$$Bumped actions/setup-go from 4 to 5 by @dependabot in #8428$$$Fixed run exported jobs error for completedAt by @andyfeller in #8447$$$Updated multi-account migration error msg by @samcoe in #8448$$$Removed redundant error on migration failure by @williammartin in #8449$$$Other Things$$$Create HSM testing workflow by @andyfeller in #8421$$$Fix release script to invoke HSM goreleaser config by @andyfeller in #8450$$$Fix flaky tests coupled to relative dates by @williammartin in #8454$$$Full Changelog: v2.40.0...v2.40.1
GitHub CLI x64 Version 2.38.0
Highlights$$$extension install no longer errors unhelpfully if the extension is already installed by @Delta456 in #8211$$$All tables now have headers by @heaths in #8157$$$project commands have a clearer error message when no owner can be resolved by @ffalor in #8235$$$workflow run now presents a select for choice workflow input types by @adarshjhaa100 in #8180$$$codespace create no longer polls for additional codespace permissions unnecessarily by @dmgardiner25 in #8267$$$go install now works with the removal of our crypto fork by @samcoe in #8204$$$Everything Else$$$Additional testing for config by @williammartin in #8213$$$Bumped cpuguy83/go-md2man from 2.0.1 to 2.0.3 by @mikelolasagasti in #8209$$$Bumped mattn/go-isatty from 0.0.19 to 0.0.20 by @dependabot in #8205$$$Bumped google.golang.org/grpc from 1.53.0 to 1.56.3 by @dependabot in #8251$$$Bumped creack/pty from 1.1.18 to 1.1.20 by @dependabot in #8265$$$Provide default config to bumped go-gh by @samcoe in #8244
GitHub CLI x64 Version 2.34.0
Whats Changed$$$docs: Fix Nix/NixOS install docs by @junaga in #7891$$$repo rename: Properly rename remote for GHES hosts by @samcoe in #7890$$$pr checks: Return different exit code for PENDING vs FAILED by @rajhawaldar in #7866$$$repo create: Execute clone when readme option is enabled by @shion1305 in #7837$$$repo create: Allow --disable-wiki flag with --template flag by @utouto97 in #7886$$$auth status: Reword token invalid message by @kousikmitra in #7906$$$status: Show status even if a comment 404s by @rwe in #7873$$$run view: Fetch all run jobs by @harveysanders in #7879$$$Use go-gh prompter package by @samcoe in #7896$$$Add formula-path to homebrew-bump step by @williammartin in #7930$$$build(deps): bump actions/checkout from 3 to 4 by @dependabot in #7937
GitHub CLI x64 Version 2.33.0
Whats Changed$$$Delete local branch more often when merging PR by @armandgrillet in #7709$$$Do not allow issue and pr templates to be symlinks by @samcoe in #7756$$$release create: Trim spaces on tag name by @harveysanders in #7759$$$Use filepath.Base to sanitize path for archive downloads by @samcoe in #7805$$$Codespaces: Use the host name from the logged in server for commands by @jkeech in #7795$$$Update CONTRIBUTING.md by @andyfeller in #7812$$$Allow --org parameter in lieu of a repo context for rulesets; add current_user_can_bypass to rs view by @vaindil in #7747$$$add missing ls aliases to list subcommands by @cawfeecake in #7818$$$port repo edit prompts by @vilmibm in #7816$$$add clobber flag to alias set by @JunNishimura in #7787$$$Remove GHE handling for workflow by @jamietanna in #7841$$$Upgrade to Go 1.21 by @samcoe in #7843$$$switch to prompter in workflow commands by @vilmibm in #7847$$$update more prompts by @vilmibm in #7850$$$switch to prompter in pr shared code by @vilmibm in #7859$$$THE FINAL PROMPTDOWN by @vilmibm in #7860$$$codespace: Handle HTTP request retry interruption by @azrsh in #7846
GitHub CLI x64 Version 2.32.1
Whats Changed$$$pr checks: Fix regression making it unusable in GHES versions older than 3.9 by @samcoe in #7725$$$pr edit: Do not make reviewer update request if there are no reviewer changes by @samcoe in #7730$$$repo view: Sanitize file contents before displaying them by @samcoe in #7694$$$release download: Use filepath.Clean to sanitize path for archive downloads by @samcoe in #7720$$$auth: Do not add auth token to redirect requests which do not have the same host as the initial request by @samcoe in #7692$$$Use asciisanitization package from go-gh by @samcoe in #7745
GitHub CLI x64 Version 2.31.0
$$$GitHub CLI 2.31.0 Latest$$$@github-actions github-actions released this 21 Jun 00:12$$$v2.31.0$$$bf7db84$$$Whats New$$$$$$ New suite of project commands for interacting with and manipulating projects. Huge shoutout ?? for the time and effort put into this work by @mntlty in #7375 #7578$$$ New search code command by @joshkraft in #7376$$$ New cs view command by @dmgardiner25 in #7496 #7539$$$$$$Whats Changed$$$$$$ api: output a single JSON array in REST pagination mode by @mislav in #7190$$$ api: support array params in GET queries by @mislav in #7513$$$ api: force method to uppercase by @ffalor in #7514$$$ alias: Allow aliases to recognize extended commands by @srz-zumix in #7523$$$ alias import: Fix --clobber flag by @samcoe in #7569$$$ run rerun: Improve docs around --job flag by @williammartin in #7527$$$ run view: Support viewing logs for jobs with composite actions by @williammartin in #7526$$$ gist edit: Add selector option to gist edit command by @kousikmitra in #7537$$$ repo clone: Set upstream remote to track all branches after initial fetch by @samcoe in #7542$$$ extension: Speed up listing extensions by lazy-loading extension information when needed by @mislav in #7493$$$ auth: Add timeouts to keyring operations by @samcoe in #7580$$$ auth status: write to stdout on success by @rajhawaldar in #7540$$$ completion: Fix bash completions for extensions and aliases by @mislav in #7525$$$ issue/pr view: alphabetically sort labels for gh pr/issue view by @ffalor in #7587$$$ Fix error handling for extension and shell alias commands by @samcoe in #7567$$$ Fix pkg imported more than once by @testwill in #7591$$$ Refactor a nested if statement by @yanskun in #7596$$$ Fix a typo by @lerocknrolla in #7557$$$ Fix flaky test by @samcoe in #7515$$$ Credential rotations; renames and decouplings from Mislav by @williammartin in #7544$$$ build(deps): bump github.com/cli/go-gh/v2 from 2.0.0 to 2.0.1 by @dependabot in #7546$$$ build(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.6 to 2.3.7 by @dependabot in #7576$$$
GitHub CLI x64 Version 2.29.0
Whats New$$$Add alias import command by @kevhlee in #7118$$$codespace: Add capability to filter by --repo-owner by @kousikmitra in #7347$$$pr status: display auto-merge information by @mjpieters in #7386$$$pr view: display auto-merge information by @mjpieters in #7385$$$pr: add autoMergeRequest field to JSON output by @mjpieters in #7384$$$Whats Changed$$$repo create: fix empty default description for local repository by @vwkd in #7383$$$release download: show progress bar by @joshkraft in #7380$$$codespace delete: print confirmation message by @kousikmitra in #7353$$$Fix shellcheck errors in generate.sh by @cmbrose in #7392$$$New deployment workflow for releases by @mislav in #7324$$$make install: fix for macOS by @Xerkus in #7369
GitHub CLI x64 Version 2.27.0
v2.27.0$$$This is primarily an out of band bugfix release for codespaces users; but does include a new command gh run delete.$$$$$$New Features$$$add command gh run delete by @phillippbertram in #7254$$$add R as shorthand of --repo for search subcommands by @kkocha in #7274$$$Bugfixes$$$Fix codespaces invoker immediately closing by @cmbrose in #7284$$$New Contributors$$$@phillippbertram made their first contribution in #7254$$$Full Changelog: v2.26.1...v2.27.0-pre0
GitHub CLI x64 Version 2.26.1
Whats Changed$$$extend secure storage default to auth refresh by @vilmibm in #7278$$$Full Changelog: v2.26.0...v2.26.1
GitHub CLI x64 Version 2.26.0
GitHub CLI 2.26.0$$$gh 2.26.0$$$Important: credentials now stored securely by default$$$When running gh auth login; your credentials will now be stored in your operating systems credential storage instead of directly on disk. In other words; --secure-storage is now default behavior. Weve added a new flag; --insecure-storage; to opt into the old insecure behavior in case you need to debug an issue with credential storage.$$$$$$As before; to take advantage of credential storage; please re-run gh auth login.$$$$$$For more context; you can read the v2.24.0 release notes$$$$$$Ref: secure storage by default by @vilmibm in #7276$$$$$$Other new features$$$Allow filtering workflow runs by status by @alex-petrov-vt in #7249$$$Gist rename by @wingkwong in #7212$$$Add a --fail-fast option to pr checks --watch by @benjlevesque in #7203$$$Add --template for issue and PR by @guerinoni in #7185$$$gh run view --attempt by @wingkwong in #7232$$$utocomplete branch flags by @bchadwic in #6031
GitHub CLI x64 Version 2.24.3
Whats Changed$$$config get: support getting oauth_token from keyring by @mislav in #7124$$$Full Changelog: v2.24.2...v2.24.3
GitHub CLI x64 Version 2.24.2
Whats Changed$$$config get: support getting oauth_token from keyring by @mislav in #7124$$$Full Changelog: v2.24.2...v2.24.3
GitHub CLI x64 Version 2.24.1
Whats Changed$$$Fix progress indicator bug with generic RunWithProgress function by @jungaretti in #6848$$$auth login: Fix retrieving current login name when pasting auth token @samcoe in #7114
GitHub CLI x64 Version 2.24.0
Whats Changed$$$repo fork: retry git clone on git clone failure by @jsoref in #6962$$$repo fork: add newline after printing error about existing fork by @digitalfu in #7030$$$codespace: add --repo filter to more commands by @cmbrose in #6669$$$codespace code: always open new VS Code window by @cmbrose in #7092$$$pr diff: sanitize control characters for terminal output by @mislav in #7108$$$browse: use --commit flag to browse commit SHAs containing only digits by @yanskun in #7038$$$pr status: fix when on a detached HEAD by @alex-petrov-vt in #7082$$$auth token: respect GH_HOST if a hostname is not provided by @samcoe in #7094$$$Address Projects bugs by @samcoe in #7007$$$Properly handle C1 control sequences by @samcoe in #7079$$$Cleanup logic to retry on failure by @samcoe in #7027$$$Cleanup config.AuthToken and config.DefaultHost methods by @samcoe in #7049$$$Bump golang.org/x/net package by @samcoe in #7026$$$Bump github.com/gabriel-vasile/mimetype from 1.4.1 to 1.4.2 by @dependabot in #7107$$$Update working-with-us.md by @vilmibm in #7077
GitHub CLI x64 Version 2.21.2
Whats Changed$$$docs: update codespace installation instructions by @levenleven in #6781$$$Bump github.com/mattn/go-isatty from 0.0.16 to 0.0.17 by @dependabot in #6794$$$Bump github.com/gdamore/tcell/v2 from 2.5.3 to 2.5.4 by @dependabot in #6798$$$Handle erase operation in auth git-credential command by @samcoe in #6805$$$select base repo correctly when only one remote by @vilmibm in #6803$$$$$$New Contributors$$$@levenleven made their first contribution in #6781
GitHub CLI x64 Version 2.21.1
Fix fetching issue/PR comments
GitHub CLI x64 Version 2.21.0
Selecting a default repository$$$When running a gh command for the first time in a local git repository that has multiple git remotes; gh used to interactively ask Which should be the base repository? so that the user may choose the git remote to default to when making queries to GitHub repositories. This had several problems:$$$$$$Some users did not fully understand what they are being asked to choose;$$$The term “base repository” isnt an established GitHub term; except in the context of Pull Requests;$$$Once chosen; the only way to undo or change the choice made was to manually edit .git/config in the local repository.$$$The new behavior is as follows:$$$$$$gh commands in a repository with multiple remotes will now error out until a default has been chosen.$$$The new gh repo set-default command can be used to select a default; view the selected value; or undo the selection altogether.
GitHub CLI x64 Version 2.20.2
Fix up Linux packaging regression by @samcoe in #6621
GitHub CLI x64 Version 2.20.0
New gh extension browse command by @vilmibm in #6530$$$$$$List; filter; and install available gh extensions from GitHub.com using an interactive interface:$$$$$$Refer- https://github.com/cli/cli/releases
GitHub CLI x64 Version 2.19.0
Whats New$$$Support explicitly marking a Release as Latest by @mislav in #6538$$$$$$Example:$$$$$$gh release create v1.3.0 --latest --target=main --notes $$$gh release create v1.2.1 --latest=false --target=1.2-stable --notes $$$New gh issue develop command for managing branches linked to an issue by @Bestra in #6254
GitHub CLI x64 Version 2.18.1
Whats Changed$$$Replace spaces with tabs in mixed whitespace string by @rneatherway in #6456$$$pr create: Fix regression in non-interactive mode by @samcoe in #6472
GitHub CLI x64 Version 2.18.0
New Commands and Flags$$$cs rebuild by @jungaretti in #6404$$$ssh-key delete by @nsmag in #6273$$$gpg-key delete by @nsmag in #6360$$$release delete: new --cleanup-tag flag by @lktslionel in #6392$$$isssue/pr comment: new --edit-last flag by @seachicken in #6384$$$pr diff: new --web flag by @ffalor in #6439$$$Whats Changed$$$pr view: display pull request checks by @lpessoa in #6292$$$search prs: show correct pull request merged state by @mntlty in #6411$$$extension install: improve error messaging when extension not found by @mntlty in #6425$$$repo sync: improve error messaging by @samcoe in #6430$$$Correctly surface HTTP error messages for certain API requests #6429$$$Other Changes$$$Add headRefOid to pull request fields by @nsmag in #6399$$$Upgrade devcontainer config by @jungaretti in #6405$$$Implement gRPC client and GetRunningServer method by @dmgardiner25 in #6358$$$Return empty error before starting a pager program by @nsmag in #6419$$$Migrate to tableprinter from go-gh by @mislav in #6346$$$Fix resolving git remotes for the first time by @tdakkota in #6453$$$Fix Codespace Creation Devcontainer bug by @8Gitbrix in #6389$$$New Contributors$$$@lktslionel made their first contribution in #6392$$$@dmgardiner25 made their first contribution in #6358
GitHub CLI x64 Version 2.16.0
Whats New$$$Enable organization-level Codespaces secrets by @8Gitbrix in #6279$$$issue close: add --reason not planned support by @samcoe in #6245$$$pr checks: add --required flag by @ffalor in #5648$$$repo create: add the option to generate a README by @mislav in #6264$$$pr ready : add the --undo option to convert a PR back to draft by @mntlty in #5995$$$run list --json: add fields displayTitle and workflowName by @mislav in #6266$$$Whats Changed$$$Fix the standard output of text editor and pager programs by @mislav in #6262$$$cs ssh/cp: remove the need for uploaded SSH keys by @cmbrose in #6304$$$Output paid message for codespace create to stderr not stdout by @samcoe in #6258$$$run list/view: fix displaying the workflow name for a run by @thesnowrose @guo-chris in #6266$$$auth: use Prompter by @vilmibm in #6253$$$auth: fix typo in prompt by @vilmibm in #6306$$$pr create: allow underlying git push process to prompt on stdin by @mislav in #6314$$$Fix deleting remote branches with # in their name by @mislav in #6260$$$gist clone: fix clone URL for Enterprise hosts that dont have the gist. subdomain by @mislav in #6275$$$Resolve web browser via the go-gh library by @samcoe in #6237$$$Migrate to cli/go-gh/pkg/text package by @samcoe in #6236$$$Do not set default for Survey prompt if empty string passed by @vilmibm in #6251$$$Future-proof search tests by @samcoe in #6299$$$Escape liquid tags in site docs by @mislav in #6301$$$Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 by @dependabot in #6219$$$Bump github.com/AlecAivazis/survey/v2 from 2.3.5 to 2.3.6 by @dependabot in #6243
GitHub CLI x64 Version 2.14.3
1) Use alternate screen buffer for watching runs by @heaths in #5681$$$2) cs copy/ssh: Remove misleading password prompt by @jungaretti in #5969$$$3) run list/view: Correctly determine run started/elapsed timestamps by @mislav in #5945$$$4) api: Avoid HTML-escaping JSON output by @mislav in #5989$$$5) Fix Time-Zone header not properly being set by @samcoe in #5996$$$6) Fix invalid hosts file error when empty hosts file @samcoe in #5996$$$7) Fix parsing base repo out of outdated git remotes by @mislav in #5994$$$$$$$$$Refer below link for more details$$$https://github.com/cli/cli/compare/v2.14.2...v2.14.3