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 loginandgh auth refreshcommands gained the new--secure-storageflag. 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@mislavin cli/cli#7033 cli/cli#7043 cli/cli#7098browse: add--releasesoption by@owenvokein cli/cli#6996- Add
gpg-key add --titleto name GPG keys by@rpadakiin cli/cli#6993- Add command
gh repo unarchiveby@Ruminateerin cli/cli#7003- Add macOS
arm64prebuilt binaries by@beretin cli/cli#4435- Introduce GH_PATH environment variable by
@samcoein cli/cli#7025What's Changed
repo fork: retrygit cloneon git clone failure by@jsorefin cli/cli#6962repo fork: add newline after printing error about existing fork by@digitalfuin cli/cli#7030codespace: add--repofilter to more commands by@cmbrosein cli/cli#6669codespace code: always open new VS Code window by@cmbrosein cli/cli#7092pr diff: sanitize control characters for terminal output by@mislavin cli/cli#7108browse: use--commitflag to browse commit SHAs containing only digits by@yanskunin cli/cli#7038pr status: fix when on a detached HEAD by@alex-petrov-vtin cli/cli#7082auth token: respect GH_HOST if a hostname is not provided by@samcoein cli/cli#7094- Address Projects bugs by
@samcoein cli/cli#7007- Properly handle C1 control sequences by
@samcoein cli/cli#7079- Cleanup logic to retry on failure by
@samcoein cli/cli#7027- Cleanup
config.AuthTokenandconfig.DefaultHostmethods by@samcoein cli/cli#7049- Bump golang.org/x/net package by
@samcoein cli/cli#7026- Bump github.com/gabriel-vasile/mimetype from 1.4.1 to 1.4.2 by
@dependabotin cli/cli#7107- Update
working-with-us.mdby@vilmibmin cli/cli#7077New Contributors
@beretmade their first contribution in cli/cli#4435@digitalfumade their first contribution in cli/cli#7030
... (truncated)
Commits
-
66cd902Merge pull request #7108 from cli/diff-sanitize -
32afc5dpr diff: sanitize control characters for terminal output -
030a363Merge pull request #7107 from cli/dependabot/go_modules/github.com/gabriel-va... -
2c2ce9bBump github.com/gabriel-vasile/mimetype from 1.4.1 to 1.4.2 -
b74ba55Make auth refresh more convenient with secure storage (#7098) -
44b0218Properly handle C1 control sequences (#7079) -
05bf29dIntroduce GH_PATH environment variable (#7025) -
4636931Use default host for auth token command if a hostname is not provided (#7094) -
c9992b4Always open new vscode window ingh cs code(#7092) -
7d4ab65fix: correctly setErrNotOnAnyBrancherror in git client (#7082) - Additional commits viewable in compare view