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 #62

Closed renovate[bot] closed 4 months ago

renovate[bot] commented 6 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/cli/go-gh v1.2.1 -> v2.9.0 age adoption passing confidence

Release Notes

cli/go-gh (github.com/cli/go-gh) ### [`v2.9.0`](https://togithub.com/cli/go-gh/releases/tag/v2.9.0) [Compare Source](https://togithub.com/cli/go-gh/compare/v2.8.0...v2.9.0) #### What's Changed - Allow reuse of host checks for extension authors by [@​andyfeller](https://togithub.com/andyfeller) in [https://github.com/cli/go-gh/pull/152](https://togithub.com/cli/go-gh/pull/152) - Use `lipgloss.Width` to calculate `DisplayWidth` by [@​maaslalani](https://togithub.com/maaslalani) in [https://github.com/cli/go-gh/pull/159](https://togithub.com/cli/go-gh/pull/159) #### New Contributors - [@​andyfeller](https://togithub.com/andyfeller) made their first contribution in [https://github.com/cli/go-gh/pull/152](https://togithub.com/cli/go-gh/pull/152) - [@​maaslalani](https://togithub.com/maaslalani) made their first contribution in [https://github.com/cli/go-gh/pull/159](https://togithub.com/cli/go-gh/pull/159) **Full Changelog**: https://github.com/cli/go-gh/compare/v2.8.0...v2.9.0 ### [`v2.8.0`](https://togithub.com/cli/go-gh/releases/tag/v2.8.0) [Compare Source](https://togithub.com/cli/go-gh/compare/v2.7.0...v2.8.0) #### What's Changed - jq: bump up gojq, better query parse error, handle halt error gracefully by [@​itchyny](https://togithub.com/itchyny) in [https://github.com/cli/go-gh/pull/155](https://togithub.com/cli/go-gh/pull/155) - Bump glamour to v0.7.0 and go mod tidy by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/go-gh/pull/156](https://togithub.com/cli/go-gh/pull/156) **Full Changelog**: https://github.com/cli/go-gh/compare/v2.7.0...v2.8.0 ### [`v2.7.0`](https://togithub.com/cli/go-gh/releases/tag/v2.7.0) [Compare Source](https://togithub.com/cli/go-gh/compare/v2.6.0...v2.7.0) #### What's Changed - Attempt to use user configured dirs for caching by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/go-gh/pull/153](https://togithub.com/cli/go-gh/pull/153) **Full Changelog**: https://github.com/cli/go-gh/compare/v2.6.0...v2.7.0 ### [`v2.6.0`](https://togithub.com/cli/go-gh/releases/tag/v2.6.0) [Compare Source](https://togithub.com/cli/go-gh/compare/v2.5.0...v2.6.0) #### What's Changed - Treat tenancy as non enterprise by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/go-gh/pull/151](https://togithub.com/cli/go-gh/pull/151) **Full Changelog**: https://github.com/cli/go-gh/compare/v2.5.0...v2.6.0 ### [`v2.5.0`](https://togithub.com/cli/go-gh/releases/tag/v2.5.0) [Compare Source](https://togithub.com/cli/go-gh/compare/v2.4.0...v2.5.0) #### What's Changed - Add header support to tableprinter by [@​heaths](https://togithub.com/heaths) in [https://github.com/cli/go-gh/pull/139](https://togithub.com/cli/go-gh/pull/139) - Remove default configuration and add fallback configuration by [@​samcoe](https://togithub.com/samcoe) in [https://github.com/cli/go-gh/pull/142](https://togithub.com/cli/go-gh/pull/142) - Add support to config for setting and writing blank values by [@​samcoe](https://togithub.com/samcoe) in [https://github.com/cli/go-gh/pull/143](https://togithub.com/cli/go-gh/pull/143) - Fix sanitization bug by [@​samcoe](https://togithub.com/samcoe) in [https://github.com/cli/go-gh/pull/145](https://togithub.com/cli/go-gh/pull/145) - Config should load as unmodified by [@​williammartin](https://togithub.com/williammartin) in [https://github.com/cli/go-gh/pull/147](https://togithub.com/cli/go-gh/pull/147) #### New Contributors - [@​williammartin](https://togithub.com/williammartin) made their first contribution in [https://github.com/cli/go-gh/pull/147](https://togithub.com/cli/go-gh/pull/147) **Full Changelog**: https://github.com/cli/go-gh/compare/v2.4.0...v2.5.0 ### [`v2.4.0`](https://togithub.com/cli/go-gh/releases/tag/v2.4.0) [Compare Source](https://togithub.com/cli/go-gh/compare/v2.3.0...v2.4.0) #### What's Changed - Fix a typo in the doc of `WithTheme` by [@​y-yagi](https://togithub.com/y-yagi) in [https://github.com/cli/go-gh/pull/134](https://togithub.com/cli/go-gh/pull/134) - Update workflows to use actions/checkout@v4 by [@​samcoe](https://togithub.com/samcoe) in [https://github.com/cli/go-gh/pull/136](https://togithub.com/cli/go-gh/pull/136) - Update dependencies to address security vulnerability by [@​samcoe](https://togithub.com/samcoe) in [https://github.com/cli/go-gh/pull/137](https://togithub.com/cli/go-gh/pull/137) - Update dependency to address security vulnerability by [@​samcoe](https://togithub.com/samcoe) in [https://github.com/cli/go-gh/pull/140](https://togithub.com/cli/go-gh/pull/140) #### New Contributors - [@​y-yagi](https://togithub.com/y-yagi) made their first contribution in [https://github.com/cli/go-gh/pull/134](https://togithub.com/cli/go-gh/pull/134) **Full Changelog**: https://github.com/cli/go-gh/compare/v2.3.0...v2.4.0 ### [`v2.3.0`](https://togithub.com/cli/go-gh/releases/tag/v2.3.0): go-gh 2.3.0 [Compare Source](https://togithub.com/cli/go-gh/compare/v2.2.0...v2.3.0) #### What's Changed - Upgrade to Go 1.21 by [@​samcoe](https://togithub.com/samcoe) in [https://github.com/cli/go-gh/pull/129](https://togithub.com/cli/go-gh/pull/129) - Implement prompter package by [@​samcoe](https://togithub.com/samcoe) in [https://github.com/cli/go-gh/pull/131](https://togithub.com/cli/go-gh/pull/131) **Full Changelog**: https://github.com/cli/go-gh/compare/v2.2.0...v2.3.0 ### [`v2.2.0`](https://togithub.com/cli/go-gh/releases/tag/v2.2.0): go-gh 2.2.0 [Compare Source](https://togithub.com/cli/go-gh/compare/v2.1.0...v2.2.0) #### What's Changed - Add `CacheDir` function to `config` package by [@​ffalor](https://togithub.com/ffalor) in [https://github.com/cli/go-gh/pull/126](https://togithub.com/cli/go-gh/pull/126) - Fix bug in `asciisanitizer` with valid `U+FFFD` character being reported as an error by [@​yin1999](https://togithub.com/yin1999) in [https://github.com/cli/go-gh/pull/128](https://togithub.com/cli/go-gh/pull/128) #### New Contributors - [@​ffalor](https://togithub.com/ffalor) made their first contribution in [https://github.com/cli/go-gh/pull/126](https://togithub.com/cli/go-gh/pull/126) - [@​yin1999](https://togithub.com/yin1999) made their first contribution in [https://github.com/cli/go-gh/pull/128](https://togithub.com/cli/go-gh/pull/128) **Full Changelog**: https://github.com/cli/go-gh/compare/v2.1.0...v2.2.0 ### [`v2.1.0`](https://togithub.com/cli/go-gh/releases/tag/v2.1.0): go-gh 2.1.0 [Compare Source](https://togithub.com/cli/go-gh/compare/v2.0.1...v2.1.0) #### What's Changed - Add missing import statement to code example by [@​bendrucker](https://togithub.com/bendrucker) in [https://github.com/cli/go-gh/pull/124](https://togithub.com/cli/go-gh/pull/124) - Export Path function from top level gh package by [@​samcoe](https://togithub.com/samcoe) in [https://github.com/cli/go-gh/pull/123](https://togithub.com/cli/go-gh/pull/123) - Add asciisanitizer package and sanitization to http clients by [@​samcoe](https://togithub.com/samcoe) in [https://github.com/cli/go-gh/pull/125](https://togithub.com/cli/go-gh/pull/125) #### New Contributors - [@​bendrucker](https://togithub.com/bendrucker) made their first contribution in [https://github.com/cli/go-gh/pull/124](https://togithub.com/cli/go-gh/pull/124) **Full Changelog**: https://github.com/cli/go-gh/compare/v2.0.1...v2.1.0 ### [`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.

renovate[bot] commented 5 months ago

ℹ 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):

Details:

Package Change
golang.org/x/sys v0.18.0 -> v0.19.0