Skip to content

Bump github.com/cli/cli/v2 from 2.23.0 to 2.24.0

Bumps github.com/cli/cli/v2 from 2.23.0 to 2.24.0.

Release notes

Sourced from github.com/cli/cli/v2's releases.

GitHub CLI 2.24.0

What's New

Option to store gh access token in system encrypted storage

The gh auth login and gh auth refresh commands gained the new --secure-storage flag. In this mode, the access token that GitHub CLI uses for GitHub API requests will now be stored in the system keyring instead of in the plain text config file. The system keyrings that are supported are:

  • Keychain on macOS
  • GNOME Keyring on Linux (Secret Service dbus interface)
  • Wincred on Windows

If none of the system storage providers are found, or the store operation fails, the token will be written to the config file as before.

Please note:

  • This feature is currently opt-in, but will become the default in the near future.

  • Using this feature could result in Go extensions breaking if they were not updated to the latest [go-gh] version. If extensions you are using no longer work after migrating your token to secure token storage, please report the issue to that extension's repository.

  • Storing tokens in system keyring most likely won't work in “headless” environments.

Other additions

What's Changed

New Contributors

... (truncated)

Commits
  • 66cd902 Merge pull request #7108 from cli/diff-sanitize
  • 32afc5d pr diff: sanitize control characters for terminal output
  • 030a363 Merge pull request #7107 from cli/dependabot/go_modules/github.com/gabriel-va...
  • 2c2ce9b Bump github.com/gabriel-vasile/mimetype from 1.4.1 to 1.4.2
  • b74ba55 Make auth refresh more convenient with secure storage (#7098)
  • 44b0218 Properly handle C1 control sequences (#7079)
  • 05bf29d Introduce GH_PATH environment variable (#7025)
  • 4636931 Use default host for auth token command if a hostname is not provided (#7094)
  • c9992b4 Always open new vscode window in gh cs code (#7092)
  • 7d4ab65 fix: correctly set ErrNotOnAnyBranch error in git client (#7082)
  • Additional commits viewable in compare view

Merge request reports