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
andgh 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
- Add option to store credentials in OS keyring by
@samcoe
@mislav
in cli/cli#7033 cli/cli#7043 cli/cli#7098browse
: add--releases
option by@owenvoke
in cli/cli#6996- Add
gpg-key add --title
to name GPG keys by@rpadaki
in cli/cli#6993- Add command
gh repo unarchive
by@Ruminateer
in cli/cli#7003- Add macOS
arm64
prebuilt binaries by@beret
in cli/cli#4435- Introduce GH_PATH environment variable by
@samcoe
in cli/cli#7025What's Changed
repo fork
: retrygit clone
on git clone failure by@jsoref
in cli/cli#6962repo fork
: add newline after printing error about existing fork by@digitalfu
in cli/cli#7030codespace
: add--repo
filter to more commands by@cmbrose
in cli/cli#6669codespace code
: always open new VS Code window by@cmbrose
in cli/cli#7092pr diff
: sanitize control characters for terminal output by@mislav
in cli/cli#7108browse
: use--commit
flag to browse commit SHAs containing only digits by@yanskun
in cli/cli#7038pr status
: fix when on a detached HEAD by@alex-petrov-vt
in cli/cli#7082auth token
: respect GH_HOST if a hostname is not provided by@samcoe
in cli/cli#7094- Address Projects bugs by
@samcoe
in cli/cli#7007- Properly handle C1 control sequences by
@samcoe
in cli/cli#7079- Cleanup logic to retry on failure by
@samcoe
in cli/cli#7027- Cleanup
config.AuthToken
andconfig.DefaultHost
methods by@samcoe
in cli/cli#7049- Bump golang.org/x/net package by
@samcoe
in cli/cli#7026- Bump github.com/gabriel-vasile/mimetype from 1.4.1 to 1.4.2 by
@dependabot
in cli/cli#7107- Update
working-with-us.md
by@vilmibm
in cli/cli#7077New Contributors
@beret
made their first contribution in cli/cli#4435@digitalfu
made their first contribution in cli/cli#7030
... (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 ingh cs code
(#7092) -
7d4ab65
fix: correctly setErrNotOnAnyBranch
error in git client (#7082) - Additional commits viewable in compare view