Skip to content

Releases: cli/cli

GitHub CLI 2.76.1

23 Jul 18:39
1b94463
Compare
Choose a tag to compare

gh pr create regression fix

This release fixes a regression introduced in v2.76.0 where organization teams were retrieved outside of intentional use cases. This caused problems for GitHub Enterprise Server users using the GitHub Actions automatic token that does not have access to organization teams.

For more information, see #11360

What's Changed

🐛 Fixes

  • Fix: gh pr create, only fetch teams when reviewers contain a team by @BagToad in #11361

📚 Docs & Chores

Full Changelog: v2.76.0...v2.76.1

GitHub CLI 2.76.0

17 Jul 19:10
08303d9
Compare
Choose a tag to compare

:copilot: Copilot Coding Agent Support

GitHub Copilot Pro+ and Copilot Enterprise subscribers can now assign issues to GitHub Copilot during issue creation using:

  • Command-line flag: gh issue create --assignee @copilot
  • Launching web browser: gh issue create --assignee @copilot --web
  • Or interactively selecting Copilot (AI) as assignee in gh issue create metadata

For more details, refer to the full changelog post for Copilot coding agent.

What's Changed

✨ Features

🐛 Fixes

  • FIX: Do not fetch logs for skipped jobs by @babakks in #11312
  • Transform extension and filename qualifiers into path qualifier for web code search by @samcoe in #11211

📚 Docs & Chores

Full Changelog: v2.75.1...v2.76.0

GitHub CLI 2.75.1

14 Jul 21:51
dbff7c5
Compare
Choose a tag to compare

What's Changed

🐛 Fixes

  • Ensure hostnames are visible in CLI website by @andyfeller in #11295
  • Revert "Fix: gh pr create prioritize --title and --body over --fill when --web is present" by @andyfeller in #11300

📚 Docs & Chores

:dependabot: Dependencies

  • Bump Go to 1.24.5 by @github-actions[bot] in #11255
  • chore(deps): bump github.com/sigstore/protobuf-specs from 0.4.3 to 0.5.0 by @dependabot[bot] in #11263
  • chore(deps): bump golang.org/x/term from 0.32.0 to 0.33.0 by @dependabot[bot] in #11266
  • chore(deps): bump golang.org/x/sync from 0.15.0 to 0.16.0 by @dependabot[bot] in #11264
  • chore(deps): bump golang.org/x/text from 0.26.0 to 0.27.0 by @dependabot[bot] in #11265
  • chore(deps): bump golang.org/x/crypto from 0.39.0 to 0.40.0 by @dependabot[bot] in #11275

New Contributors

  • @kurahaupo made their first contribution in #11246
  • @github-actions[bot] made their first contribution in #11255

Full Changelog: v2.75.0...v2.75.1

GitHub CLI 2.75.0

09 Jul 14:28
0e27e84
Compare
Choose a tag to compare

What's Changed

✨ Features

🐛 Fixes

  • Fix: gh pr create prioritize --title and --body over --fill when --web is present by @dankrzeminski32 in #10547
  • fix: get token for active user instead of blank if possible by @anuraaga in #11038
  • Use Actions API to retrieve job run logs as a fallback mechanism by @babakks in #11172
  • Fix query object state mutation during pagination by @babakks in #11244
  • Handle HTTP 404 when deleting remote branch in pr merge by @babakks in #11234

📚 Docs & Chores

:dependabot: Dependencies

New Contributors

Full Changelog: v2.74.2...v2.75.0

GitHub CLI 2.74.2

18 Jun 17:25
d9d0e14
Compare
Choose a tag to compare

What's Changed

🐛 Fixes

📚 Docs & Chores

:dependabot: Dependencies

New Contributors

Full Changelog: v2.74.1...v2.74.2

GitHub CLI 2.74.1

10 Jun 13:40
49eee93
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.74.0...v2.74.1

GitHub CLI 2.74.0

29 May 21:02
b4ab343
Compare
Choose a tag to compare

Security

A security vulnerability has been identified in a core gh dependency, go-gh, where an attacker-controlled GitHub Enterprise Server could result in executing arbitrary commands on a user's machine by replacing HTTP URLs provided by GitHub with local file paths for browsing.

This issue is addressed in this gh release by updating go-gh to a fixed version.

For more information, see GHSA-g9f5-x53j-h563

What's changed

✨ Features

🐛 Fixes

  • Revert "[gh config] Escape pipe symbol in Long desc for website manual" by @BagToad in #11004
  • Fix formatting in allowed values for gh config --help by @BagToad in #11003
  • fix: gh gist edit panic when no file in a gist by @phanen in #10627
  • Add retry logic when fetching TUF content in gh attestation commands by @malancas in #10943

📚 Docs & Chores

:dependabot: Dependencies

New Contributors

Full Changelog: v2.73.0...v2.74.0

GitHub CLI 2.73.0

19 May 18:49
e0d7ad7
Compare
Choose a tag to compare

:copilot: Copilot Coding Agent Support

You can now assign issues to GitHub Copilot directly from gh, just as you would assign them to a teammate. Use gh issue edit <number> --add-assignee @copilot to assign the GitHub Copilot coding agent, and Copilot will work in the background to understand the issue, propose a solution, and open a pull request when it's ready for your review. If you run gh issue edit interactively, Copilot (AI) will be displayed as a potential assignee. This feature is available for GitHub Copilot Pro+ and Copilot Enterprise subscribers. For more details, refer to the full changelog post for Copilot coding agent.

What's Changed

✨ Features

  • Copilot is assignable to issues and pull requests with issue edit and pr edit by @BagToad in #10992
    • gh issue edit: actors are assignable to issues by @BagToad in #10960
    • gh pr edit: Assign actors to pull requests by @BagToad in #10984
    • issue edit, pr edit: handle display names in interactive assignee editing by @BagToad in #10990
    • issue edit, pr edit: Support special non-interactive (flags) assignee name @copilot by @BagToad in #10991
  • [gh issue/pr comment] Add support for last comment delete for issues and PRs by @sinansonmez in #10596
  • [gh issue view] Expose closedByPullRequestsReferences JSON field by @iamazeem in #10941
  • Accessible prompter always displays selection defaults in a format readable by a screen reader by @BagToad in #10937

🐛 Fixes

📚 Docs & Chores

:dependabot: Dependencies

  • chore(deps): bump actions/attest-build-provenance from 2.2.2 to 2.3.0 by @dependabot in #10886
  • chore(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.6 to 2.0.7 by @dependabot in #10869

What's Changed

New Contributors

Full Changelog: v2.72.0...v2.73.0

GitHub CLI 2.72.0

30 Apr 19:59
c20a4a2
Compare
Choose a tag to compare

:accessibility: Accessibility public preview

This release marks the public preview of several accessibility improvements to the GitHub CLI that have been under development over the past year in partnership with our friends at Charm including:

  • customizable and contrasting colors
  • non-interactive user input prompting
  • text-based spinners

These new experiences are captured in a new gh a11y help topic command, which goes into greater detail into the motivation behind each of them as well as opt-in configuration settings / environment variables.

We would like you to share your feedback and join us on this journey through one of GitHub Accessibility feedback channels! 🙌

What's Changed

✨ Features

  • Introduce gh accessibility help topic highlighting GitHub CLI accessibility experiences by @andyfeller in #10890
  • [gh pr view] Support closingIssuesReferences JSON field by @iamazeem in #10544

🐛 Fixes

  • Fix expected error output of TestRepo/repo-set-default by @aconsuegra in #10884
  • Ensure accessible password and auth token prompters disable echo mode by @andyfeller in #10885
  • Fix: Accessible multiselect prompt respects default selections by @BagToad in #10901

New Contributors

Full Changelog: v2.71.2...v2.72.0

GitHub CLI 2.71.2

24 Apr 17:00
fb97b3e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.71.1...v2.71.2