fix(deps): update module github.com/cli/go-gh to v2 #21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.2.1
->v2.8.0
Release Notes
cli/go-gh (github.com/cli/go-gh)
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
WithTheme
by @y-yagi in https://github.com/cli/go-gh/pull/134New Contributors
Full Changelog: cli/go-gh@v2.3.0...v2.4.0
v2.3.0
: go-gh 2.3.0Compare Source
What's Changed
Full Changelog: cli/go-gh@v2.2.0...v2.3.0
v2.2.0
: go-gh 2.2.0Compare Source
What's Changed
CacheDir
function toconfig
package by @ffalor in https://github.com/cli/go-gh/pull/126asciisanitizer
with validU+FFFD
character being reported as an error by @yin1999 in https://github.com/cli/go-gh/pull/128New Contributors
Full Changelog: cli/go-gh@v2.1.0...v2.2.0
v2.1.0
: go-gh 2.1.0Compare Source
What's Changed
New Contributors
Full Changelog: cli/go-gh@v2.0.1...v2.1.0
v2.0.1
: go-gh 2.0.1Compare Source
What's Changed
New Contributors
Full Changelog: cli/go-gh@v2.0.0...v2.0.1
v2.0.0
: go-gh 2.0.0Compare 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
packageCurrentRepository
function from top levelgh
package torepository
package.gh.CurrentRepository
->repository.Current
RESTClient
function from top levelgh
package toapi
package.gh.RESTClient
->api.DefaultRESTClient
orapi.NewRESTClient
GQLClient
function from top levelgh
package toapi
package.gh.GQlClient
->api.DefaultGraphQLClient
orapi.NewGraphQLClient
HTTPClient
function from top levelgh
package toapi
package.gh.HTTPClient
->api.DefaultHTTPClient
orapi.NewHTTPClient
ExecInteractive
by @stemar94 in https://github.com/cli/go-gh/pull/115ExecContext
function by @mislav in https://github.com/cli/go-gh/pull/115GH_PATH
environment variable toExec
functions by @mislav in https://github.com/cli/go-gh/pull/115api
packageGQL
toGraphQL
.api.GQLError
->api.GraphQLError
api.GQLErrorItem
->api.GraphQLErrorItem
ClientOptions
to be used with value semantics instead of pointer semantics.ClientOptions
to be used with multiple clients without having to worry about them being modified.DefaultRESTClient
,DefaultHTTPClient
,DefaultGraphQLClient
convenience factory functions.RESTClient
interface type to a concrete type.GraphQLClient
interface type to a concrete type.HTTPError
andGraphQLError
custom error types to take pointers as method receivers.GraphQLClient
Query
andMutate
methods to returnGraphQLError
instead ofshurcooL/graphql.Errors
.browser
packageNew
factory function to return*Browser
instead ofBrowser
.config
packageInvalidConfigFileError
andKeyNotFoundError
custom error types to take pointers as method receivers.jq
packageEvaluateFormatted
function to pretty print JSON output by @mjpieters in https://github.com/cli/go-gh/pull/116repository
packageRepository
interface type to a concrete type.ssh
packagetemplate
packageNew
factory function to return*Template
instead ofTemplate
.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.
This PR has been generated by Mend Renovate. View repository job log here.