Skip to content

Releases: cli/cli

GitHub CLI 2.66.1

31 Jan 23:21
d10fbbf
Compare
Choose a tag to compare

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.

What's Changed

  • Hotfix: gh pr view fails with provided URL by @jtmcg in #10354

Full Changelog: v2.66.0...v2.66.1

GitHub CLI 2.66.0

30 Jan 18:27
42c0cb0
Compare
Choose a tag to compare

gh pr view and gh pr status now respect common triangular workflow configurations

Previously, gh pr view and gh pr status would fail for pull request's (PR) open in triangular workflows. This was due to gh being unable to identify the PR's corresponding remote and branch refs on GitHub.

Now, gh pr view and gh pr status should successfully identify the PR's refs when the following common git configurations are used:

Branch specific configuration, the former, supersedes repo specific configuration, the latter.

Additionally, if the @{push} revision syntax for git resolves for a branch, gh pr view and gh pr status should work regardless of additional config settings.

For more information, see

gh secret list, gh secret set, and gh secret delete now require repository selection when multiple git remotes are present

Previously, gh secret list, gh secret set, and gh secret delete would determine which remote to target for interacting with GitHub Actions secrets. Remotes marked as default using gh repo set-default or through other gh commands had higher priority when figuring out which repository to interact with. This could have unexpected outcomes when using gh secret commands with forked repositories as the upstream repository would generally be selected.

Now, gh secret commands require users to disambiguate which repository should be the target if multiple remotes are present and the -R, --repo flag is not provided.

For more information, see #4688

Extension update notices now notify once every 24 hours per extension and can be disabled

Previously, the GitHub CLI would notify users about newer versions every time an extension was executed. This did not match GitHub CLI notices, which only notified users once every 24 hours and could be disabled through an environment variable.

Now, extension update notices will behave similar to GitHub CLI notices. To disable extension update notices, set the GH_NO_EXTENSION_UPDATE_NOTIFIER environment variable.

For more information, see #9925

What's Changed

✨ Features

🐛 Fixes

  • gh gist delete: prompt for gist id by @danochoa in #10154
  • Better handling for waiting for codespaces to become ready by @cmbrose in #10198
  • Fix: gh gist view and gh gist edit prompts with no TTY by @mateusmarquezini in #10048
  • Remove naked return values from ReadBranchConfig and prSelectorForCurrentBranch by @jtmcg in #10197
  • Add job to deployment workflow to validate the tag name for a given release by @jtmcg in #10121
  • [gh run list] Stop progress indicator on failure from --workflow flag by @iamazeem in #10323
  • Update deployment.yml by @andyfeller in #10340

📚 Docs & Chores

:dependabot: Dependencies

New Contributors

Big thank you to our many new and longtime contributors making this release happen!! ❤️ ✨

Full Changelog: v2.65.0...v2.66.0

GitHub CLI 2.27.0-pre0

07 Apr 19:24
75a23e7
Compare
Choose a tag to compare
Pre-release

What's Changed

New Contributors

Full Changelog: v2.26.1...v2.27.0-pre0

GitHub CLI 2.26.1-pre0

04 Apr 22:53
75a23e7
Compare
Choose a tag to compare
Pre-release

What's Changed

  • extend secure storage default to auth refresh by @vilmibm in #7278

Full Changelog: v2.26.0...v2.26.1-pre0

GitHub CLI 2.26.0-pre0

04 Apr 18:54
75a23e7
Compare
Choose a tag to compare
Pre-release

What's Changed

New Contributors

Full Changelog: v2.25.1...v2.26.0-pre0

GitHub CLI 2.25.0-pre0

20 Mar 22:34
75a23e7
Compare
Choose a tag to compare
Pre-release

What's New

What's Changed

  • browse: Improve documentation and consistency of the --commit flag by @alex-petrov-vt in #7105
  • repo sync: Ensure git fetch is always authenticated by @samcoe in #7139
  • repo delete: Don't delete repos that have transfered ownership by @samcoe in #7106
  • auth: Skip searching keyring when checking for environment tokens by @benjlevesque in #7169
  • auth refresh: Improve documentation of --scopes flag behavior by @alex-petrov-vt in #7132
  • pr status: Hide "current branch" when using --repo flag by @jtpetty in #7180
  • repo archive: Change to use Prompter package by @Ruminateer in #7083
  • search: Fix multiword keyword quoting by @samcoe in #7170
  • Replace deprecated command with environment file by @jongwooo in #7195
  • New prompt testing utility by @vilmibm in #7116
  • Use transform.Transformer interface for ascii sanitization by @samcoe in #7117
  • Only replace control sequences by @samcoe in #7168
  • Tech debt cleanup for variable and secret commands by @samcoe in #7151
  • Bump actions/setup-go from 3 to 4 by @dependabot in #7177

New Contributors

Full Changelog: v2.24.3...v2.25.0-pre0

GitHub CLI 2.23.0-pre1

08 Feb 00:56
75a23e7
Compare
Choose a tag to compare
Pre-release

What's Changed

  • Use int64 repository IDs for Codespaces user secrets by @joshmgross in #6923
  • Change uint8 to uint64 to hold job with more than 255 run attempts by @samcoe in #6935
  • Special case setting dependabot org secrets by @samcoe in #6941
  • Sanitize ANSII control characters returned from the server by @samcoe in #6916
  • Bump github.com/cli/oauth from 1.0.0 to 1.0.1 by @dependabot in #6948
  • gh ext browse followup by @vilmibm in #6584
  • Fix adding/removing projects using flags for edit commands by @samcoe in #6955
  • Bump microsoft/setup-msbuild from 1.1.3 to 1.3.1 by @dependabot in #6973
  • Fix panic by switching to use append in ASCII sanitization by @samcoe in #6956
  • secret set: enable multiline values when reading from .env file by @mislav in #6932
  • GH_DEBUG: fix api logging corrupting response bodies by @mislav in #6976
  • Support Fork with Default Branch Only by @jsoref in #6983
  • Disable gh update checker in our precompiled binaries by @mislav in #6977
  • Default to authenticated user on codespace delete by @luanzeba in #6944
  • Disallow update checker delaying the gh process by @mislav in #6978
  • Teach gh cs create to use current repo as default by @rneatherway in #6596
  • Avoid implicitly fetching when adding a new git remote by @mislav in #6990
  • Add visibility warning by @samcoe in #6980
  • Fix set-default interactive not showing all remotes by @despreston in #6969

Full Changelog: v2.22.1...v2.23.0-pre1

GitHub CLI 2.21.3-pre.0

10 Jan 19:14
75a23e7
Compare
Choose a tag to compare
Pre-release

What's Changed

New Contributors

Full Changelog: v2.21.2...v2.21.3-pre.0

GitHub CLI 2.21.2-pre0

03 Jan 22:37
75a23e7
Compare
Choose a tag to compare
Pre-release

What's 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

Full Changelog: v2.21.1...v2.21.2-pre0

GitHub CLI 2.21.0-pre.5

22 Dec 20:57
75a23e7
Compare
Choose a tag to compare
Pre-release