Repository navigation
Releases: cli/go-gh
Release list
v2.16.2
What's Changed
- chore(deps): Bump the codeql-actions group with 2 updates by @dependabot[bot] in #299
- chore(deps): Bump the codeql-actions group with 2 updates by @dependabot[bot] in #308
- chore(deps): Bump the codeql-actions group with 2 updates by @dependabot[bot] in #309
- Make ssh tests behavioural with a shared fake ssh by @williammartin in #311
- Fix deprecated API lint findings by @williammartin in #312
- fix: refresh repository identity after SSH translation by @benekuehn in #274
New Contributors
- @benekuehn made their first contribution in #274
Full Changelog: v2.16.1...v2.16.2
v2.16.1
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
- @baiyuxi930826 made their first contribution in #263
- @ryux1 made their first contribution in #290
Full Changelog: v2.16.0...v2.16.1
v2.16.0
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
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
What's Changed
🐛 Fixes
- Pin REST API version to
2022-11-28by @williammartin in #213
📚 Docs & Chores
- Add CODEOWNERS by @williammartin in #227
- Add Dependabot configuration by @williammartin in #226
- Modernize and harden GitHub Actions workflows by @williammartin in #228, #225, and #243
- Group CodeQL Dependabot updates by @williammartin in #264
- Reduce Dependabot cooldown to three days by @williammartin in #241
- Add guarded release workflow by @williammartin in #288
Dependencies
- Update Go module and GitHub Actions dependencies
Full Changelog: v2.13.0...v2.14.0
v2.13.0
What's Changed
✨ Features
🐛 Fixes
- Update Go version to 1.25.0 by @BagToad in #201
- fix: handle HTTP status 205 properly by @nobe4 in #163
📚 Docs & Chores
Dependencies
New Contributors
Full Changelog: v2.12.2...v2.13.0
v2.12.2
What's Changed
- Bump golang.org/x/net from 0.36.0 to 0.38.0 by @dependabot[bot] in #190
Full Changelog: v2.12.1...v2.12.2
v2.12.1
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
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:
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:
-
Set
GH_ACCESSIBLE_COLORSenvironment variable to a truthy valueexport GH_ACCESSIBLE_COLORS=1 -
Set
accessible_colorsconfiguration settinggh 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
- Integrate sprig library by @iamazeem in #184
- Introduce experimental accessible colors in markdown rendering by @andyfeller in #186
New Contributors
Full Changelog: v2.11.2...v2.12.0