swfz / gh-annotations

list of annotations from the recently executed Workflow
14 stars 2 forks source link

fix(deps): update module github.com/cli/go-gh to v2 #30

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/cli/go-gh require major v1.2.1 -> v2.0.1

Release Notes

cli/go-gh ### [`v2.0.1`](https://togithub.com/cli/go-gh/releases/tag/v2.0.1): go-gh 2.0.1 [Compare Source](https://togithub.com/cli/go-gh/compare/v2.0.0...v2.0.1) #### What's Changed - Expose IsColorForced by [@​heaths](https://togithub.com/heaths) in [https://github.com/cli/go-gh/pull/117](https://togithub.com/cli/go-gh/pull/117) - Pin golangci-lint version by [@​mislav](https://togithub.com/mislav) in [https://github.com/cli/go-gh/pull/120](https://togithub.com/cli/go-gh/pull/120) - jq: bump up gojq to fix printing empty arrays by [@​itchyny](https://togithub.com/itchyny) in [https://github.com/cli/go-gh/pull/119](https://togithub.com/cli/go-gh/pull/119) #### New Contributors - [@​itchyny](https://togithub.com/itchyny) made their first contribution in [https://github.com/cli/go-gh/pull/119](https://togithub.com/cli/go-gh/pull/119) **Full Changelog**: https://github.com/cli/go-gh/compare/v2.0.0...v2.0.1 ### [`v2.0.0`](https://togithub.com/cli/go-gh/releases/tag/v2.0.0): go-gh 2.0.0 [Compare Source](https://togithub.com/cli/go-gh/compare/v1.2.1...v2.0.0) #### 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](https://togithub.com/stemar94) in [https://github.com/cli/go-gh/pull/115](https://togithub.com/cli/go-gh/pull/115) - Add `ExecContext` function by [@​mislav](https://togithub.com/mislav) in [https://github.com/cli/go-gh/pull/115](https://togithub.com/cli/go-gh/pull/115) - Add support for `GH_PATH` environment variable to `Exec` functions by [@​mislav](https://togithub.com/mislav) in [https://github.com/cli/go-gh/pull/115](https://togithub.com/cli/go-gh/pull/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 - Add `EvaluateFormatted` function to pretty print JSON output by [@​mjpieters](https://togithub.com/mjpieters) in [https://github.com/cli/go-gh/pull/116](https://togithub.com/cli/go-gh/pull/116) ##### `repository` package - Change `Repository` interface type to a concrete type. ##### `ssh` package - Handle errors when resolving ssh aliases to hostnames by [@​mislav](https://togithub.com/mislav) in [https://github.com/cli/go-gh/pull/111](https://togithub.com/cli/go-gh/pull/111) ##### `template` package - Change `New` factory function to return `*Template` instead of `Template`. #### Other changes - Properly handle closing of files after writing by [@​samcoe](https://togithub.com/samcoe) in [https://github.com/cli/go-gh/pull/113](https://togithub.com/cli/go-gh/pull/113) #### New Contributors - [@​mjpieters](https://togithub.com/mjpieters) made their first contribution in [https://github.com/cli/go-gh/pull/116](https://togithub.com/cli/go-gh/pull/116) - [@​stemar94](https://togithub.com/stemar94) made their first contribution in [https://github.com/cli/go-gh/pull/115](https://togithub.com/cli/go-gh/pull/115) **Full Changelog**: https://github.com/cli/go-gh/compare/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.