GitHub CLI 2.89.0
Highlights in this release
New 4
Search for assignees and apply changes using your signed-in identity
When you create or edit pull requests and issues with gh pr create, gh issue create, or gh issue edit, you can now search for the person to assign. On github.com, these changes are also applied using the identity you are signed in with, so you do not have to recall and type a full account name first. It is like finding a name in your contacts before handing over a letter.
Original changelog
gh pr create, gh issue create, gh issue edit: search-based assignee selection and login-based mutation on github.com by [@BagToad](https://github.com/BagToad) in [#13009](https://github.com/cli/cli/pull/13009)
Try the experimental huh prompt interface behind a feature flag
If you want to try a new interactive prompt screen, set GH_EXPERIMENTAL_PROMPTER, an environment variable supplied before the program starts. This enables an experimental prompter that uses huh only. Because it sits behind an experimental switch, it is an optional test feature rather than a new default for everyone. It is like receiving a trial key before deciding whether to enter a newly renovated room.
Original changelog
Add experimental huh-only prompter gated by GH_EXPERIMENTAL_PROMPTER by [@BagToad](https://github.com/BagToad) in [#12859](https://github.com/cli/cli/pull/12859)
Find the right Copilot endpoint for enterprise cloud accounts and mark agent calls
When you use agent-task in a ghe.com tenancy, GitHub CLI now resolves the appropriate Copilot API URL dynamically instead of relying on one fixed address. Calls made by an agent are recorded in the User-Agent header, the label sent with a request to identify its client, and actor-mode signals are consolidated in ApiActorsSupported. These are connection and identification changes, like a switchboard routing calls by company extension and marking who initiated each request.
Original changelog
fix(agent-task): resolve Copilot API URL dynamically for ghe.com tenancies by [@BagToad](https://github.com/BagToad) in [#12956](https://github.com/cli/cli/pull/12956)
Record agentic invocations in User-Agent header by [@williammartin](https://github.com/williammartin) in [#13023](https://github.com/cli/cli/pull/13023)
Consolidate actor-mode signals into ApiActorsSupported by [@BagToad](https://github.com/BagToad) in [#13025](https://github.com/cli/cli/pull/13025)
Refresh maintenance guidance, tests, and dependencies behind the project
You do not get a new command to learn here, but the GitHub CLI project refreshed its maintenance groundwork. It adds AGENTS.md, aligns triage.md with the current triage process, removes auto-labels from issue templates, and fixes an extra space in a README link. Acceptance tests were fixed for Git identity, headRepository JSON, and an obsolete traversal test; dependencies for gRPC, container registry, keyring, MSBuild, Homebrew, and Azure login were upgraded. Three contributors also made their first contributions in this release. It is like organizing a kitchen's recipes, signs, and ingredients so the kitchen can follow its routine more easily.
Original changelog
Add AGENTS.md by [@williammartin](https://github.com/williammartin) in [#13024](https://github.com/cli/cli/pull/13024)
Fix typo: remove extra space in README.md link by [@realMelTuc](https://github.com/realMelTuc) in [#12725](https://github.com/cli/cli/pull/12725)
Align triage.md with current triage process by [@tidy-dev](https://github.com/tidy-dev) in [#13030](https://github.com/cli/cli/pull/13030)
Remove auto-labels from issue templates by [@tidy-dev](https://github.com/tidy-dev) in [#12972](https://github.com/cli/cli/pull/12972)
Fix acceptance test failures: git identity, headRepository JSON, obsolete traversal test by [@BagToad](https://github.com/BagToad) in [#13037](https://github.com/cli/cli/pull/13037)
chore(deps): bump google.golang.org/grpc from 1.79.2 to 1.79.3 by [@dependabot](https://github.com/dependabot)[bot] in [#12963](https://github.com/cli/cli/pull/12963)
chore(deps): bump github.com/google/go-containerregistry from 0.20.7 to 0.21.3 by [@dependabot](https://github.com/dependabot)[bot] in [#12962](https://github.com/cli/cli/pull/12962)
chore(deps): bump github.com/zalando/go-keyring from 0.2.6 to 0.2.8 by [@dependabot](https://github.com/dependabot)[bot] in [#13031](https://github.com/cli/cli/pull/13031)
chore(deps): bump microsoft/setup-msbuild from 2.0.0 to 3.0.0 by [@dependabot](https://github.com/dependabot)[bot] in [#13005](https://github.com/cli/cli/pull/13005)
chore(deps): bump mislav/bump-homebrew-formula-action from 3.6 to 4.1 by [@dependabot](https://github.com/dependabot)[bot] in [#13004](https://github.com/cli/cli/pull/13004)
chore(deps): bump azure/login from 2.3.0 to 3.0.0 by [@dependabot](https://github.com/dependabot)[bot] in [#12951](https://github.com/cli/cli/pull/12951)
[@joshjohanning](https://github.com/joshjohanning) made their first contribution in [#13021](https://github.com/cli/cli/pull/13021)
[@realMelTuc](https://github.com/realMelTuc) made their first contribution in [#12725](https://github.com/cli/cli/pull/12725)
[@Lslightly](https://github.com/Lslightly) made their first contribution in [#13033](https://github.com/cli/cli/pull/13033)
Fixed 1
Fetch less data for issues and stabilize Codespaces port forwarding
When you create or transfer an issue, issue create and issue transfer no longer fetch unnecessary fields, avoiding an unneeded data request. Codespaces port forwarding, which exposes a service from a cloud development environment, also fixes a data race: two tasks colliding while changing the same data. The documentation now clarifies that gh pr edit --add-reviewer can request a review again. It is like leaving irrelevant attachments out of a parcel and lining people up before they pass through a narrow door.
Original changelog
fix(issue): avoid fetching unnecessary fields in issue create and issue transfer by [@babakks](https://github.com/babakks) in [#12884](https://github.com/cli/cli/pull/12884)
fix: resolve data race in codespaces port forwarder by [@Lslightly](https://github.com/Lslightly) in [#13033](https://github.com/cli/cli/pull/13033)
docs: clarify that gh pr edit --add-reviewer can re-request reviews by [@joshjohanning](https://github.com/joshjohanning) in [#13021](https://github.com/cli/cli/pull/13021)