GitHub CLI v2.98.0

v2.98.0

GitHub CLI 2.98.0

Added 3
  • Add --worktree flag to gh pr checkout to checkout a pull request into a git worktree
  • Add --search-type flag to gh search issues to support semantic and hybrid search
  • Set GH_EXTENSION=1 environment variable when gh invokes an extension
Fixed 3
  • Fix RESTWithNext error type, repairing gh status and attestation retries
  • Trim spaces when parsing X-Oauth-Scopes in gh release create
  • Fix project item-add output for non-TTY
Security 1
  • Fix a vulnerability that bound the local forwarded port to all available network interfaces by default in gh codespace ports forward

From GitHub CLI

Security

A security vulnerability has been identified, and fixed, that binds the local forwarded port to all available network interfaces by default.

Users of gh codespace ports forward are advised to update gh to version v2.98.0 as soon as possible.

For more information see: https://github.com/cli/cli/security/advisories/GHSA-vfhh-p7hm-pxfh

Support worktrees in pr checkout

Users can now checkout a pull request into a git worktree by using the new --worktree PATH flag in gh pr checkout:

gh pr checkout 12 --worktree ../wt-feature
Add semantic search to search issues

The gh search issues command now supports semantic search for issues. Users can select the search type by passing the --search-type flag:

gh search issues --search-type semantic ...

gh search issues --search-type hybrid ...

For more information about semantic search see: "Improved Search for github issues is now generally available".

What's Changed
✨ Features
🐛 Fixes
📚 Docs & Chores
:dependabot: Dependencies
New Contributors

Full Changelog: https://github.com/cli/cli/compare/v2.97.0...v2.98.0

View original

Upgraded? How did it go?

Discussion