Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Releases: cli/cli

GitHub CLI 2.87.2

20 Feb 20:30
6c3e39f

Choose a tag to compare

ℹ️ Note

This release was cut primarily to resolve a publishing issue. We recommend reviewing the v2.87.1 release notes for the complete set of latest features and fixes.

What's Changed

  • chore(deps): bump golang.org/x/crypto from 0.47.0 to 0.48.0 by @dependabot[bot] in #12659

Full Changelog: v2.87.1...v2.87.2

GitHub CLI 2.87.1

20 Feb 18:47
9e82fc2

Choose a tag to compare

⚠️ Incomplete Release

The v2.87.1 release experienced a failure in our workflow and is not fully published to the designated package managers/repositories. This is resolved in v2.87.2, so we recommend using that release instead.

What's Changed

Full Changelog: v2.87.0...v2.87.1

GitHub CLI 2.87.0

18 Feb 17:19
7ea88b1

Choose a tag to compare

gh workflow run immediately returns workflow run URL

One of our most requested features - with the latest changes in GitHub API, gh workflow run will immediately print the created workflow run URL.

Improved gh auth login experience in VM/WSL environments

We have observed rare cases of time drift between the wall and monotonic clocks, mostly in WSL or VM environments, causing failures during polling for the OAuth token. This new release implements measures to account for such situations.

If you continue to experience gh auth login issues in WSL, please comment in #9370

:copilot: Request Copilot Code Review from gh + performance improvements

gh pr edit now supports Copilot Code Review as a reviewer. You can request a review from Copilot using the --add-reviewer @copilot flag or interactively by selecting reviewers in the prompts.

This release also introduces a new search experience for selecting reviewers and assignees in gh pr edit. Instead of loading all collaborators and teams upfront, results are now fetched based on inputs to a new search option. Initial options are suggestions based on those involved with the pull request already.

? Reviewers  [Use arrows to move, space to select, <right> to all, <left> to none, type to filter]
  [ ]  Search (7472 more)
  [x]  BagToad (Kynan Ware)
> [x]  Copilot (AI)

This experience will follow in gh pr create and gh issue for assignees in a later release.

What's Changed

✨ Features

📚 Docs & Chores

:dependabot: Dependencies

  • chore(deps): bump golang.org/x/text from 0.32.0 to 0.33.0 by @dependabot[bot] in #12468
  • chore(deps): bump golang.org/x/term from 0.38.0 to 0.39.0 by @dependabot[bot] in #12616
  • Bump go to 1.25.7 by @BagToad in #12630
  • chore(deps): bump golang.org/x/crypto from 0.46.0 to 0.47.0 by @dependabot[bot] in #12629
  • chore: bump cli/oauth to v1.2.2 by @babakks in #12573
  • update Go to 1.25.6 by @BagToad in #12580
  • chore(deps): bump actions/attest-build-provenance from 3.1.0 to 3.2.0 by @dependabot[bot] in #12558
  • chore(deps): bump github.com/sigstore/rekor from 1.4.3 to 1.5.0 by @dependabot[bot] in #12524
  • chore(deps): bump github.com/theupdateframework/go-tuf/v2 from 2.3.1 to 2.4.1 by @dependabot[bot] in #12555
  • chore(deps): bump github.com/gdamore/tcell/v2 from 2.13.4 to 2.13.7 by @dependabot[bot] in #12469
  • chore(deps): bump github.com/sigstore/sigstore from 1.10.0 to 1.10.4 by @dependabot[bot] in #12525
  • chore(deps): bump github.com/theupdateframework/go-tuf/v2 from 2.3.0 to 2.3.1 by @dependabot[bot] in #12515
  • chore(deps): bump actions/download-artifact from 6 to 7 by @dependabot[bot] in #12314
  • chore(deps): bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in #12315
  • chore(deps): bump goreleaser/goreleaser-action from 6.0.0 to 6.4.0 by @dependabot[bot] in #12354

New Contributors

Full Changelog: v2.86.0...v2.87.0

GitHub CLI 2.86.0

21 Jan 18:07
49f7223

Choose a tag to compare

:copilot: Install and run GitHub Copilot CLI directly from gh

Since we deprecated the GitHub Copilot in the CLI extension in favor of the new agentic GitHub Copilot CLI, we want to give developers using gh a simple way to get started using our most powerful terminal assistant.

  • gh copilot will prompt to install, then run Copilot CLI
  • gh copilot <args> will execute the Copilot CLI, forwarding any arguments and flags

For more information and usage options, run gh copilot --help.

What's Changed

✨ Features

  • gh copilot: add native copilot command to execute/install copilot cli by @devm33 in #12444
  • gh cache delete: allow for delete all caches for a ref by @davidspek in #12101
  • gh pr create: error when head and base refs are identical in pr create by @majiayu000 in #12376

📚 Docs & Chores

New Contributors

Full Changelog: v2.85.0...v2.86.0

GitHub CLI 2.85.0

14 Jan 18:44
559e729

Choose a tag to compare

What's Changed

✨ Features

🐛 Fixes

📚 Docs & Chores

:dependabot: Dependencies

  • chore(deps): bump golang.org/x/sync from 0.18.0 to 0.19.0 by @dependabot[bot] in #12274
  • chore(deps): bump golang.org/x/text from 0.31.0 to 0.32.0 by @dependabot[bot] in #12281
  • chore(deps): bump golang.org/x/term from 0.37.0 to 0.38.0 by @dependabot[bot] in #12282
  • chore(deps): bump github.com/spf13/cobra from 1.10.1 to 1.10.2 by @dependabot[bot] in #12255
  • chore(deps): bump github.com/gdamore/tcell/v2 from 2.13.1 to 2.13.2 by @dependabot[bot] in #12262
  • chore(deps): bump golangci/golangci-lint-action from 9.1.0 to 9.2.0 by @dependabot[bot] in #12252
  • chore(deps): bump github.com/gdamore/tcell/v2 from 2.13.2 to 2.13.4 by @dependabot[bot] in #12302
  • chore(deps): bump golang.org/x/crypto from 0.45.0 to 0.46.0 by @dependabot[bot] in #12300
  • chore(deps): bump actions/attest-build-provenance from 3.0.0 to 3.1.0 by @dependabot[bot] in #12339
  • chore(deps): bump github.com/yuin/goldmark from 1.7.13 to 1.7.16 by @dependabot[bot] in #12452

New Contributors

Full Changelog: v2.83.2...v2.85.0

GitHub CLI 2.83.2

10 Dec 16:56

Choose a tag to compare

What's Changed

🐛 Fixes

  • Isolate user-provided search query from contextual qualifiers by @babakks in #12170

📚 Docs & Chores

:dependabot: Dependencies

  • chore(deps): bump golang.org/x/crypto from 0.43.0 to 0.45.0 by @dependabot[bot] in #12165
  • chore(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #12178
  • chore(deps): bump google.golang.org/protobuf from 1.36.9 to 1.36.10 by @dependabot[bot] in #12037
  • chore(deps): bump golangci/golangci-lint-action from 9.0.0 to 9.1.0 by @dependabot[bot] in #12189
  • chore(deps): bump github.com/theupdateframework/go-tuf/v2 from 2.2.0 to 2.3.0 by @dependabot[bot] in #12100
  • chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.10 to 1.4.11 by @dependabot[bot] in #12051
  • chore(deps): bump google.golang.org/grpc from 1.75.0 to 1.76.0 by @dependabot[bot] in #11972
  • chore(deps): bump github.com/charmbracelet/huh from 0.7.0 to 0.8.0 by @dependabot[bot] in #11971
  • Bump Go to 1.25.4 by @github-actions[bot] in #12104
  • chore(deps): bump github.com/gdamore/tcell/v2 from 2.9.0 to 2.13.1 by @dependabot[bot] in #12246
  • chore(deps): bump github.com/hashicorp/go-version from 1.7.0 to 1.8.0 by @dependabot[bot] in #12247
  • chore(deps): bump github.com/google/go-containerregistry from 0.20.6 to 0.20.7 by @dependabot[bot] in #12245
  • Bump Go to 1.25.5 by @github-actions[bot] in #12250
  • Bump dev-tunnels SDK 0.1.13 to 0.1.19 by @sam-byng in #12285

New Contributors

Full Changelog: v2.83.1...v2.83.2

GitHub CLI 2.83.1

13 Nov 17:11
680a8c4

Choose a tag to compare

What's Changed

🐛 Fixes

  • gh pr edit: Ensure empty arrays for reviewers in PR API calls by @BagToad in #12122

📚 Docs & Chores

:dependabot: Dependencies

  • chore(deps): bump golangci/golangci-lint-action from 8.0.0 to 9.0.0 by @dependabot[bot] in #12134

Full Changelog: v2.83.0...v2.83.1

GitHub CLI 2.83.0

04 Nov 18:16
152d328

Choose a tag to compare

What's Changed

✨ Features

🐛 Fixes

  • fix(gist): add support for editing & viewing large files by @luxass in #11761
  • Fix gh attestation verify to work when Public Good Instance of Sigstore is unavailable by @Copilot in #11989

📚 Docs & Chores

:dependabot: Dependencies

  • Bump Go to 1.25.3 by @github-actions[bot] in #11926
  • chore(deps): bump github.com/cli/go-gh/v2 from 2.12.2 to 2.13.0 by @dependabot[bot] in #12095
  • Update Go toolchain version to 1.24.9 by @BagToad in #12054
  • chore(deps): bump golang.org/x/text from 0.29.0 to 0.30.0 by @dependabot[bot] in #11973
  • chore(deps): bump golang.org/x/crypto from 0.42.0 to 0.43.0 by @dependabot[bot] in #11974
  • chore(deps): bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #12031
  • chore(deps): bump actions/download-artifact from 5 to 6 by @dependabot[bot] in #12032
  • chore(deps): bump github.com/rivo/tview from 0.0.0-20250625164341-a4a78f1e05cb to 0.42.0 by @dependabot[bot] in #12000
  • chore(deps): bump goreleaser/goreleaser-action from 6.3.0 to 6.4.0 by @dependabot[bot] in #11509
  • chore(deps): bump mislav/bump-homebrew-formula-action from 3.4 to 3.6 by @dependabot[bot] in #11750

New Contributors

Full Changelog: v2.82.1...v2.83.0

GitHub CLI 2.82.1

22 Oct 01:34
40512a8

Choose a tag to compare

Fix gh pr edit not detecting classic projects feature deprecation

gh pr edit was not correctly detecting the classic projects API deprecation. This release fixes that detection and avoids an incorrect fetch to the deprecated APIs.

This only impacted gh pr edit commands used to add or remove projects.

What's Changed

🐛 Fixes

  • fix gh pr edit: do not fetch V1 projects on unsupported GitHub hosts by @BagToad in #11987

:dependabot: Dependencies

  • chore(deps): bump github/codeql-action from 3 to 4 by @dependabot[bot] in #11881
  • chore(deps): Bump github.com/sigstore/sigstore-go from 1.1.0 to 1.1.3 by @dependabot[bot] in #11830
  • chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.9 to 1.4.10 by @dependabot[bot] in #11659
  • chore(deps): bump actions/attest-build-provenance from 2.4.0 to 3.0.0 by @dependabot[bot] in #11612

Full Changelog: v2.82.0...v2.82.1

GitHub CLI 2.82.0

15 Oct 20:04
d253589

Choose a tag to compare

✨ Features

  • gh pr edit: Only fetch org teams for reviewers when required by @BagToad in #11835

🐛 Fixes

  • fix(cache delete): report correct deleted count for key and key+ref deletions by @luxass in #11838
  • gh agent-task create: Fix --follow not killing the progress indicator by @BagToad in #11879
  • gh agent-task create: Fix targetting upstream instead of default repo by @BagToad in #11896
  • Fix auth login and auth refresh to use UNIX socket by @babakks in #11922

Full Changelog: v2.81.0...v2.82.0

Morty Proxy This is a proxified and sanitized view of the page, visit original site.