Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 15, 2024

This PR contains the following updates:

Package Change Age Confidence
github.com/cli/go-gh v1.2.1v2.13.0 age confidence

Release Notes

cli/go-gh (github.com/cli/go-gh)

v2.13.0

Compare Source

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: cli/go-gh@v2.12.2...v2.13.0

v2.12.2

Compare Source

What's Changed

Full Changelog: cli/go-gh@v2.12.1...v2.12.2

v2.12.1

Compare Source

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: cli/go-gh@v2.12.0...v2.12.1

v2.12.0

Compare Source

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: cli/go-gh@v2.11.2...v2.12.0

v2.11.2

Compare Source

What's Changed

New Contributors

Full Changelog: cli/go-gh@v2.11.1...v2.11.2

v2.11.1

Compare Source

Security

  • A security vulnerability has been identified in go-gh that could leak authentication tokens intended for GitHub hosts to non-GitHub hosts when within a codespace.

    For more information, see GHSA-55v3-xh23-96gh

Full Changelog: cli/go-gh@v2.11.0...v2.11.1

v2.11.0

Compare Source

What's Changed

  • Replace duplicated IsEnterprise and IsTenancy functions in api pkg with auth pkg by @​jtmcg in #​173

New Contributors

Full Changelog: cli/go-gh@v2.10.0...v2.11.0

v2.10.0

Compare Source

What's Changed

Full Changelog: cli/go-gh@v2.9.0...v2.10.0

v2.9.0

Compare Source

What's Changed

New Contributors

Full Changelog: cli/go-gh@v2.8.0...v2.9.0

v2.8.0

Compare Source

What's Changed

Full Changelog: cli/go-gh@v2.7.0...v2.8.0

v2.7.0

Compare Source

What's Changed

Full Changelog: cli/go-gh@v2.6.0...v2.7.0

v2.6.0

Compare Source

What's Changed

Full Changelog: cli/go-gh@v2.5.0...v2.6.0

v2.5.0

Compare Source

What's Changed

New Contributors

Full Changelog: cli/go-gh@v2.4.0...v2.5.0

v2.4.0

Compare Source

What's Changed

New Contributors

Full Changelog: cli/go-gh@v2.3.0...v2.4.0

v2.3.0: go-gh 2.3.0

Compare Source

What's Changed

Full Changelog: cli/go-gh@v2.2.0...v2.3.0

v2.2.0: go-gh 2.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: cli/go-gh@v2.1.0...v2.2.0

v2.1.0: go-gh 2.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: cli/go-gh@v2.0.1...v2.1.0

v2.0.1: go-gh 2.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: cli/go-gh@v2.0.0...v2.0.1

v2.0.0: go-gh 2.0.0

Compare Source

What's Changed

This is a fairly large release with a couple new features and a bunch of tech debt cleanup for go-gh.
As part of keeping this library maintainable and inline with best Go practices we have made breaking changes to a couple of the packages thus constituting a bump of the major version to v2.0.0.
Below are the listed changes ordered by package as well as migration guidelines when applicable.

gh package
  • Move CurrentRepository function from top level gh package to repository package.
    • To migrate: gh.CurrentRepository -> repository.Current
  • Move RESTClient function from top level gh package to api package.
    • To migrate: gh.RESTClient -> api.DefaultRESTClient or api.NewRESTClient
  • Move GQLClient function from top level gh package to api package.
    • To migrate: gh.GQlClient -> api.DefaultGraphQLClient or api.NewGraphQLClient
  • Move HTTPClient function from top level gh package to api package.
    • To migrate: gh.HTTPClient -> api.DefaultHTTPClient or api.NewHTTPClient
  • Add ExecInteractive by @​stemar94 in #​115
  • Add ExecContext function by @​mislav in #​115
  • Add support for GH_PATH environment variable to Exec functions by @​mislav in #​115
api package
  • Change references of GQL to GraphQL.
    • To migrate: api.GQLError -> api.GraphQLError
    • To migrate: api.GQLErrorItem -> api.GraphQLErrorItem
  • Change ClientOptions to be used with value semantics instead of pointer semantics.
    • This allows ClientOptions to be used with multiple clients without having to worry about them being modified.
  • Added DefaultRESTClient, DefaultHTTPClient, DefaultGraphQLClient convenience factory functions.
  • Change RESTClient interface type to a concrete type.
  • Change GraphQLClient interface type to a concrete type.
  • Change methods on HTTPError and GraphQLError custom error types to take pointers as method receivers.
  • Change GraphQLClient Query and Mutate methods to return GraphQLError instead of shurcooL/graphql.Errors.
browser package
  • Change New factory function to return *Browser instead of Browser.
config package
  • Change methods on InvalidConfigFileError and KeyNotFoundError custom error types to take pointers as method receivers.
jq package
repository package
  • Change Repository interface type to a concrete type.
ssh package
template package
  • Change New factory function to return *Template instead of Template.

Other changes

New Contributors

Full Changelog: cli/go-gh@v1.2.1...v2.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/github.com-cli-go-gh-2.x branch from 93fdafb to 0e28534 Compare November 27, 2024 21:40
@renovate renovate bot force-pushed the renovate/github.com-cli-go-gh-2.x branch from 0e28534 to b398434 Compare January 6, 2025 20:53
@renovate
Copy link
Contributor Author

renovate bot commented Jan 6, 2025

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 5 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.22.5 -> 1.23.0
github.com/mattn/go-runewidth v0.0.15 -> v0.0.16
github.com/muesli/termenv v0.15.2 -> v0.16.0
golang.org/x/net v0.30.0 -> v0.38.0
golang.org/x/sys v0.26.0 -> v0.31.0
golang.org/x/term v0.25.0 -> v0.30.0

@renovate renovate bot force-pushed the renovate/github.com-cli-go-gh-2.x branch from b398434 to 94cbce1 Compare January 18, 2025 00:31
@renovate renovate bot force-pushed the renovate/github.com-cli-go-gh-2.x branch from 94cbce1 to 3c2c2c3 Compare March 25, 2025 19:51
@renovate renovate bot force-pushed the renovate/github.com-cli-go-gh-2.x branch from 3c2c2c3 to a1ba683 Compare May 29, 2025 23:12
@renovate renovate bot force-pushed the renovate/github.com-cli-go-gh-2.x branch from a1ba683 to 32a4c35 Compare August 8, 2025 17:08
@renovate renovate bot changed the title fix(deps): update module github.com/cli/go-gh to v2 fix(deps): update module github.com/cli/go-gh to v2 - autoclosed Aug 14, 2025
@renovate renovate bot closed this Aug 14, 2025
@renovate renovate bot deleted the renovate/github.com-cli-go-gh-2.x branch August 14, 2025 18:03
@renovate renovate bot changed the title fix(deps): update module github.com/cli/go-gh to v2 - autoclosed fix(deps): update module github.com/cli/go-gh to v2 Aug 14, 2025
@renovate renovate bot reopened this Aug 14, 2025
@renovate renovate bot force-pushed the renovate/github.com-cli-go-gh-2.x branch from 4a4d5d1 to 32a4c35 Compare August 14, 2025 22:06
@renovate renovate bot force-pushed the renovate/github.com-cli-go-gh-2.x branch from 32a4c35 to 18fcc2f Compare November 4, 2025 21:31
@renovate renovate bot force-pushed the renovate/github.com-cli-go-gh-2.x branch from 18fcc2f to 08ce7a6 Compare December 18, 2025 11:03
@renovate
Copy link
Contributor Author

renovate bot commented Dec 19, 2025

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.23.0 -> 1.25.0
golang.org/x/net v0.36.0 -> v0.38.0

@renovate renovate bot force-pushed the renovate/github.com-cli-go-gh-2.x branch from 08ce7a6 to 7e5d03d Compare December 19, 2025 10:00
@renovate renovate bot force-pushed the renovate/github.com-cli-go-gh-2.x branch from 7e5d03d to a1e0ff3 Compare December 19, 2025 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant