Skip to content

Releases: cli/cli

GitHub CLI 2.32.0

11 Jul 19:46
8c7935e
Compare
Choose a tag to compare

hello terminal fans, it's me @vilmibm .

We are pleased to bring you a new release of the GitHub CLI on this Confusion 46, 3189 YOLD.

We've got features. we've got bugfixes. This release has a real zest for life; can you feel it?

First though, a sad note. @mislav has moved on from GitHub. He was instrumental to this project and without him I don't think it would have ever happened. BIG THANKS MUCH LOVE to this wonderful person!

Happily, we have a new core team member who is, truly, a delight. Please welcome @williammartin , whom you'll see a lot more on issues and pull requests moving forward.

Now, let's talk BUSINESS.

gh ruleset

Repository Rulesets are in beta on git hub dot com and they are now also in beta on git hub sea ell eye. You can list, view, and check branches against rulesets set at the repository or organization level. Major shoutouts to @vaindil for this big contribution. My favorite command in here is gh rs check <branch> which will tell you what rules would apply to a hypothetical branch name. To learn more, run gh help ruleset.

gh cache

gh cache is a new top level command in our suite of support for Actions. It lets you list and delete caches saved in Actions. It's neat and I like it. Thanks, @joshkraft ! To learn more, run gh help cache.

Other new stuff

Bugfixes

Docs & Dev

  • docs: example of setting multiple vars using stdin by @iloveitaly in #7683
  • Remove old code paths and improve code comments for repo sync by @samcoe in #7610
  • Update httpretty to released version by @josebalius in #7654
  • build(deps): bump github.com/henvic/httpretty from 0.1.1 to 0.1.2 by @dependabot in #7657
  • build(deps): bump google.golang.org/grpc from 1.49.0 to 1.53.0 by @dependabot in #7665
  • Use SmartBaseRepoFunc for api command by @whi-tw in #7594
  • Clean up style nits and simplify some logic by @samcoe in #7687
  • add gh cache to Actions explainer by @vilmibm in #7689

New Contributors

Full Changelog: v2.31.0...v2.32.0

GitHub CLI 2.31.0

21 Jun 00:12
bf7db84
Compare
Choose a tag to compare

What's New

What's Changed

New Contributors

Full Changelog: v2.30.0...v2.31.0

GitHub CLI 2.30.0

30 May 15:54
570a720
Compare
Choose a tag to compare

What's New

  • Support for nested aliases by @samcoe in #7457
  • repo set-default --view can now be called without a repo argument by @Jackenmen in #7441

What's Changed

  • Color control and sensible defaults in modern terminals by @rick-kilgore in #7354
  • Fix windows crash by bumping wincred by @mislav in #7459
  • Update browser package to avoid Windows crash by @mislav in #7474
  • release upload sanitizes asset filenames prior to uploading by @jtpetty in #7477
  • pr status uses lighter API in supported environments by @williammartin in #7462
  • All commands start up time improvements by @mislav in #7487
  • More commands use latin matching filter by @benjlevesque in #7492
  • pr create respects GH_REPO env variable by @ffalor in #7445
  • Do not fall back to legacy template if template selector returns nil by @samcoe in #7444

All the Details

New Contributors

Full Changelog: v2.29.0...v2.30.0

GitHub CLI 2.29.0

10 May 10:56
aa2adab
Compare
Choose a tag to compare

What's New

What's Changed

New Contributors

Full Changelog: v2.28.0...v2.29.0

GitHub CLI 2.28.0

25 Apr 13:53
32faa8e
Compare
Choose a tag to compare

What's New

  • macOS binaries are now signed and notarized

    • ⚠️ macOS archives attached to our releases are no longer .tar.gz, but .zip instead. This is because .tar.gz archives cannot be notarized.
    • The checksums.txt file attached to every release now includes the checksum of the Windows MSI installer too.
  • macOS and Windows binaries are now compiled from their respective platforms and have cgo enabled. This might help resolve respecting system proxy settings and avoid related networking issues.

  • issue edit: edit multiple issues at the same time by @heaths in #7259

  • Add gh org list by @joshkraft in #7257

  • ssh-key: add ability to manage signing keys by @kousikmitra in #7270

  • search: enable owner flag to take multiple values by @kousikmitra in #7305

  • codespace: add --web flag for list & create commands by @doaortu in #7288

  • Our Debian & RPM packages now ship with shell completion scripts by @Xerkus in #7293

  • run list: add --event and --created filters by @cawfeecake in #7363 #7352

  • repo: add visibility JSON field by @yeikel in #7337

What's Changed

New Contributors

Full Changelog: v2.27.0...v2.28.0

GitHub CLI 2.27.0

07 Apr 19:45
89caedf
Compare
Choose a tag to compare

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

Bugfixes

  • Fix codespaces invoker immediately closing by @cmbrose in #7284

New Contributors

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

GitHub CLI 2.26.1

04 Apr 23:23
633ca03
Compare
Choose a tag to compare

What's Changed

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

Full Changelog: v2.26.0...v2.26.1

GitHub CLI 2.26.0

04 Apr 19:14
69573b3
Compare
Choose a tag to compare

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 system's credential storage instead of directly on disk. In other words, --secure-storage is now default behavior. We've 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

Bugfixes

  • Make number arg, commit arg, and flags mutually exclusive by @kkocha in #7268
  • Check SSH key existence before uploading by @vaindil in #7246
  • Throw error for non-existing org / repo with non-zero status in repo list by @wingkwong in #7240

Docs and development changes

  • Bump github.com/mattn/go-isatty from 0.0.17 to 0.0.18 by @dependabot in #7217
  • Properly handle closing files that have been writen to by @samcoe in #7199
  • Added apt update command to linux install docs. by @srgk26 in #7186
  • Revise GH_CONFIG_DIR content in help_topic.go by @wingkwong in #7230
  • Refine the Makefile file so that it can do the basic work by @cubxxw in #7228
  • Clearer message with actionable hint for repo sync by @macmacbr in #7110
  • Fix typo in README.md by @SonicGDX in #7244
  • Retry fetching repo from template by @heaths in #7080
  • Repo list: add test for invalid owner error by @mislav in #7241
  • Improve Amazon Linux install instructions by @mislav in #7252
  • Add commit SHA arg to gh browse help by @kkocha in #7267
  • Additional help doc and example for auth setup-git by @kkocha in #7243

New Contributors

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

GitHub CLI 2.25.1

21 Mar 14:24
1fc98f6
Compare
Choose a tag to compare

What's Changed

  • variable: fix listing and deleting per-environment variables by @rsteube in #7207

Full Changelog: v2.25.0...v2.25.1

GitHub CLI 2.25.0

20 Mar 23:20
88cae9f
Compare
Choose a tag to compare

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