Skip to content

Releases: cli/go-gh

v2.16.2

Choose a tag to compare

@github-actions github-actions released this 09 Oct 10:27
Immutable release. Only release title and notes can be modified.
aadf367

What's Changed

New Contributors

Full Changelog: v2.16.1...v2.16.2

v2.16.1

Choose a tag to compare

@github-actions github-actions released this 15 Sep 11:51
Immutable release. Only release title and notes can be modified.
37aa5bb

What's Changed

  • fix(api): publish HTTP cache entries without in-place writes by @baiyuxi930826 in #263
  • fix(repository): honor resolved remote by @ryux1 in #290

New Contributors

Full Changelog: v2.16.0...v2.16.1

v2.16.0

Choose a tag to compare

@github-actions github-actions released this 03 Sep 14:12
Immutable release. Only release title and notes can be modified.
c9808f2

What's Changed

  • chore(deps): Bump the codeql-actions group across 1 directory with 2 updates by @dependabot[bot] in #287
  • Trust canonical host alongside API host by @williammartin in #289

Full Changelog: v2.15.0...v2.16.0

v2.15.0

Choose a tag to compare

@github-actions github-actions released this 02 Sep 15:01
Immutable release. Only release title and notes can be modified.
1b0b67c

What's Changed

  • Add per-host API endpoint overrides and a configurable redirect policy by @williammartin in #275

Full Changelog: v2.14.0...v2.15.0

v2.14.0

Choose a tag to compare

@github-actions github-actions released this 02 Sep 14:53
96a581e

What's Changed

🐛 Fixes

📚 Docs & Chores

:dependabot: Dependencies

  • Update Go module and GitHub Actions dependencies

Full Changelog: v2.13.0...v2.14.0

v2.13.0

Choose a tag to compare

@BagToad BagToad released this 04 Nov 17:08
a0a6e89

What's Changed

✨ Features

🐛 Fixes

📚 Docs & Chores

  • docs(pkg/api): explain HandleHTTPError does not close response body by @babakks in #202

:dependabot: Dependencies

New Contributors

Full Changelog: v2.12.2...v2.13.0

v2.12.2

Choose a tag to compare

@andyfeller andyfeller released this 08 Aug 15:43
e1048df

What's Changed

Full Changelog: v2.12.1...v2.12.2

v2.12.1

Choose a tag to compare

@BagToad BagToad released this 29 May 19:48
a08820a

Security

A security vulnerability has been identified in 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.

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

Full Changelog: v2.12.0...v2.12.1

v2.12.0

Choose a tag to compare

@andyfeller andyfeller released this 25 Mar 14:28
61bf393

Introducing experimental support for rendering markdown with customizable, accessible colors

Users with low vision or color blindness rely upon the terminal's ability to change how colors appear, however this requires CLIs to use a limited set of colors:

Screenshot of Mac Terminal preferences, highlighting ANSI color wells

The markdown rendered for GitHub CLI and extensions defaults to 8-bit colors that users cannot easily customize in this way.

Now, users can force rendered markdown to use customizable, accessible colors by doing one of the following:

  1. Set GH_ACCESSIBLE_COLORS environment variable to a truthy value

    export GH_ACCESSIBLE_COLORS=1
  2. Set accessible_colors configuration setting

    gh config set accessible_colors enabled
Experimental.accessible.markdown.colors.mp4

Users with a customcharmbracelet/glamour style will continue to have markdown rendered using it.

For more information, see #186

Introducing new experimental github.com/cli/go-gh/v2/pkg/x package

cli/go-gh provides capabilities used by both the GitHub CLI and CLI extensions. Some of these packages are stable, however some like the new experimental markdown support are not.

The github.com/cli/go-gh/v2/pkg/x package has been created to contain experimental features that are subject to change without notice.

Introducing new string matcher functions for Go templates

The following string matcher functions from Masterminds/sprig have been incorporated for more robust Go template support in GitHub CLI and CLI extensions:

For more information, see cli/cli#6370 and sprig documentation

What's Changed

✨ Features

New Contributors

Full Changelog: v2.11.2...v2.12.0

v2.11.2

Choose a tag to compare

@BagToad BagToad released this 06 Jan 19:20
13104ed

What's Changed

  • Bump golang.org/x/net to resolve Dependabot alerts by @BagToad in #176

New Contributors

Full Changelog: v2.11.1...v2.11.2