Skip to content
7a3d02d
Compare
Choose a tag to compare

What's New

  • label edit: Command to edit existing labels by @heaths in #5519
  • label clone: Command to clone labels between repositories by @heaths in #5452
  • label create: Add --force flag to forcibly create labels by @heaths in #5451
  • codespaces: Support for multi devcontainer by @reybard in #5076

What's Changed

  • label list: Add column for displaying the label color by @heaths in #5462
  • pr merge: Warn if PR is already merged by @mntlty in #5463
  • gist delete: Avoid crash when deleting gist with no owner by @mislav in #5510
  • list commands: Standardize output when no entries found by @rpadaki in #5479
  • repo list: Add ls alias to command by @rpadaki in #5480
  • issue/pr list: Fix searching by --state flag by @samcoe in #5513
  • search prs: Correct displayed header when searching prs command by @samcoe in #5488
  • pr create: Document that --body-file reads from stdin by @lukekarrys in #5461
  • Add tab completion descriptions for aliases and extensions by @rpadaki in #5447
  • Replace deprecated ioutil package with io and os package replacements by @estensen in #5498

New Contributors

Full Changelog: v2.8.0...v2.9.0

7a3d02d
Compare
Choose a tag to compare
Pre-release

What's New

  • label edit: Command to edit existing labels by @heaths in #5519
  • label clone: Command to clone labels between repositories by @heaths in #5452

What's Changed

  • label create: Allow forcibly creating labels by @heaths in #5451
  • label list: Add column for listing the label color by @heaths in #5462
  • pr create: Document that --body-file reads from stdin by @lukekarrys in #5461
  • pr merge: Warn if PR is already merged by @mntlty in #5463
  • codespaces: Support for multi devcontainer by @reybard in #5076
  • gist delete: Avoid crash when deleting gist with no owner by @mislav in #5510
  • list commands: Standardize output when no entries found by @rpadaki in #5479
  • repo list: Add ls alias to command by @rpadaki in #5480
  • issue/pr list: Fix searching by --state flag by @samcoe in #5513
  • search prs: Correct displayed header when searching prs command by @samcoe in #5488
  • Replace ioutil with io and os by @estensen in #5498
  • Add autocomplete descriptions for aliases and extensions by @rpadaki in #5447

New Contributors

Full Changelog: v2.8.0...v2.9.0-pre0

eb08a9b
Compare
Choose a tag to compare

What's New

  • New release edit command by @plu in #5422
  • issue close: add --comment flag to close with comment by @samcoe in #5437
  • issue delete: add --confirm flag by @opelr in #5396
  • pr merge: provide instructions for resolving merge conflicts by @ErKiran in #5330
  • codespace select: add hidden select command for extensions by @legomushroom in #5390
  • codespace create: make location an optional flag by @jshorty in #5410
  • codespace create: handle idle timeout notice by @adnamalin in #5409
  • codespace code: add --web flag to open in Visual Studio Code web mode by @jackcmeyer in #5380
  • gist edit: allow non-interactive file replacement by @samcoe in #5408
  • extension upgrade: add --dry-run flag by @samcoe in #5098
  • Add new alias to all create commands by @chriscn in #5388

What's Changed

  • Add support for installing binary extensions on M1 Macs by @mislav in #5457
  • status: respect GitHub host configuration by @mislav in #5423
  • codespace ssh/cp: check paths safely by @jshorty in #5384
  • codespace edit: remove unsupported idle timeout flag by @adnamalin in #5405
  • extension list: speed up output by avoiding checking for upgrades by @samcoe in #5098
  • extension list: don't error if no extensions are installed by @rpadaki in #5445
  • auth login: fix flow when ~/.config/gh/config.yml is read-only by @ncfavier in #5378
  • Fix table printer crash in narrow terminals by @rpadaki in #5449
  • Improve DNF installation instructions by @gto406 in #5406
  • Change issue close color from red to purple by @samcoe in #5436
  • Replace old search query builder by @samcoe in #5366

New Contributors

Full Changelog: v2.7.0...v2.8.0

a6f6ad7
Compare
Choose a tag to compare

Find your work across repositories

  • Add gh status command by @vilmibm in #5369

    The status command displays issues and pull requests assigned to you from anywhere on GitHub, as well as requests for your review, mentions of your name, and notifications.

  • gh search: Add search issues and search pull requests commands by @samcoe in #5334

Other New Features

Fixes

  • Codespaces: Disallow some operations on codespaces that have a pending operation by @cwndrws in #5319
  • Codespaces: Listen to agent port-forwarding events when forwarding ports by @bchuecos in #5270
  • cs ssh: remove unwanted trailing quote by @sgray in #5327
  • cs ssh: use setup example that should work with any ssh config by @znull in #5345
  • cs cp: parse additional scp args by @cmbrose in #5340
  • cs create: rename repo permissions opt-out parameter by @gdomingu in #5344
  • pr view: respect GH_FORCE_TTY by @callumacrae in #5357
  • extension upgrade --all: do not throw an error if no extensions are installed by @jimmykodes in #5356
  • run download: fix extracting to root path by @mislav in #5225
  • pr create --web: fix escaping URL path components by @GreenRecycleBin in #5374
  • release list: fix "latest" release logic by @graphaelli in #4921
  • Text editor: only add UTF-8 BOM on Windows by @mgabeler-lee-6rs in #5326
  • Bump github.com/AlecAivazis/survey/v2 from 2.3.2 to 2.3.4 by @dependabot in #5337

New Contributors

Full Changelog: v2.6.0...v2.7.0

1c26019
Compare
Choose a tag to compare

Repo Search

@samcoe is working on a new command, gh search! In this release it's shipping with just support for repository searching. Results can then be processed with --jq or fillter columns with --json and filters are expressed with flags like --topic or --license.

Try it out with something like: gh search repos --language=go --good-first-issues=">=10"!

#5172

Rerun failed jobs

gh run rerun has been augmented with two new flags: --failed and --job by @cdb. You can now selectively rerun just failed jobs from a given workflow run! Running gh run rerun --failed will prompt you to select a run to work with.

#5275

Codespaces Updates

Other New Features

Bugfixes

Docs & Development

New Contributors

Full Changelog: v2.5.2...v2.6.0

1c26019
Compare
Choose a tag to compare
Pre-release

What's Changed

New Contributors

Full Changelog: v2.5.2...v2.6.0-pre0

97ea5e7
Compare
Choose a tag to compare

Hi text-based friends,

This is a small release, but a few things are worth calling out:

ls alias now available for all commands

All places where a list subcommand is defined now support an ls alias, so gh pr ls to your heart's content. Thanks @CGA1123 in #5214 .

Better handling of oauth scopes

Thanks to @mario-campos we now properly understand implied auth scopes, fixing some instances where gh insisted you needed additional scopes when you did not. #5256

Other Bugfixes

Other Changes

Development & Docs

New Contributors

Full Changelog: v2.5.1...v2.5.2

95b1e7f
Compare
Choose a tag to compare

New features

Fixes

  • auth login --with-token: fix authenticating git operations by @mislav in #5186
  • release create: respect discussion category when creating a release with assets by @k-jun in #5019
  • gist create: handle Windows-style file paths by @joshmgross in #5173
  • release create: warn about unpushed local git tag by @samcoe in #5104
  • Ignore EPIPE errors when writing to a closed pager by @mislav in #5143
  • Rotate our Windows code-signing certificates by @mislav in #5196

Documentation fixes

New Contributors

Full Changelog: v2.5.0...v2.5.1

6a4f374
Compare
Choose a tag to compare

New Features

  • Add codespace ssh --config to generate OpenSSH host configuration for your codespaces by @znull in #4915
  • Add release delete-asset to delete an asset from a release by @m4ver1k in #4416
  • Add repo deploy-key commands to manage deploy keys for a repository by @n1lesh in #4302
  • Improve the interactive issue/pull request assignee prompt by @carlqt in #4420
  • auth login/refresh: allow non-interactive flow by @nicknotfun in #3997
  • auth git-credential: add ability to authenticate git operations for gist repositories by @mislav in #3064
  • gist edit: add ability to edit gist description by @SteadBytes in #4738
  • gist edit: enable editing file contents via standard input by @tdakkota in #4656
  • pr status: show number of approvals by @despreston in #4240
  • repo fork: add ability to define the name of the fork repository on GitHub by @g14a in #4886
  • run list: add branch and actor filters by @bak1an in #4100
  • run view: include job ID parameter in the suggested command invocation by @yasudanaoya in #5105
  • api: do not apply jq filters or render templates for HTTP error responses by @samcoe in #5088
  • pr create: fetch pull request template contents via the API by @samcoe in #5097
  • codespace create: provide repo suggestions after typing a few characters and pressing Tab by @cmbrose in #5108

Fixes

  • Respect the chosen installation directory in the MSI installer for Windows. Thanks to @heaths for the massive help in #4276.

    Important note: after upgrading from the old MSI to this new MSI installer, you will likely need to restart your terminal app for the changes to Path environment variable to take effect.

  • Ensure Windows .exe binaries within zip release archives are signed by @mbpreble in #2160

  • release create: bring back interactive option to create a release from an annotated tag by @spenserblack in #5028

  • workflow enable: allow enabling a workflow that was disabled due to inactivity by @hirasawayuki in #5047

  • extension install: update wording for extensions that cannot be installed by @vilmibm in #5066

  • api: respect GH_REPO when substituting {owner}/{repo} by @issyl0 in #5063

  • issue list: fix filtering issues by milestone by @mislav in #5040

  • pr create: fix creating pull requests from numerical branch names by @samcoe in #5090

  • repo fork: respect explicitly configured git_protocol when adding a git remote for a fork by @vilmibm in #5092

  • pr checks: avoid reporting results of stale check runs by @hirasawayuki in #5069

  • secret set: trim trailing newlines when passing secret values via standard input by @samcoe in #5086

  • Preserve hard line breaks in rendered Markdown by @mislav in #5034

  • Handle SAML enforcement challenge from the server by @mislav in #5054

  • Add retry functionality to the Codespaces API client by @marwan-at-work in #5064

  • Add GH_HOST to hosts list if set in the environment by @samcoe in #5087

  • Standardize pager output across commands by @mislav in #5141

  • Fix error message when running external commands by @audreee in #5124

Other Changes

New Contributors

Full Changelog: v2.4.0...v2.5.0

Compare
Choose a tag to compare
Pre-release

What's Changed

New Contributors

Full Changelog: v2.4.0...v9.9.9-test