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

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 4 months ago

This PR contains the following updates:

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

Release Notes

cli/go-gh (github.com/cli/go-gh) ### [`v2.10.0`](https://redirect.github.com/cli/go-gh/releases/tag/v2.10.0) [Compare Source](https://redirect.github.com/cli/go-gh/compare/v2.9.0...v2.10.0) #### What's Changed - Use api subdomain for REST and GQL clients when host is tenant by [@​williammartin](https://redirect.github.com/williammartin) in [https://github.com/cli/go-gh/pull/172](https://redirect.github.com/cli/go-gh/pull/172) **Full Changelog**: https://github.com/cli/go-gh/compare/v2.9.0...v2.10.0 ### [`v2.9.0`](https://redirect.github.com/cli/go-gh/releases/tag/v2.9.0) [Compare Source](https://redirect.github.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://redirect.github.com/andyfeller) in [https://github.com/cli/go-gh/pull/152](https://redirect.github.com/cli/go-gh/pull/152) - Use `lipgloss.Width` to calculate `DisplayWidth` by [@​maaslalani](https://redirect.github.com/maaslalani) in [https://github.com/cli/go-gh/pull/159](https://redirect.github.com/cli/go-gh/pull/159) #### New Contributors - [@​andyfeller](https://redirect.github.com/andyfeller) made their first contribution in [https://github.com/cli/go-gh/pull/152](https://redirect.github.com/cli/go-gh/pull/152) - [@​maaslalani](https://redirect.github.com/maaslalani) made their first contribution in [https://github.com/cli/go-gh/pull/159](https://redirect.github.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://redirect.github.com/cli/go-gh/releases/tag/v2.8.0) [Compare Source](https://redirect.github.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://redirect.github.com/itchyny) in [https://github.com/cli/go-gh/pull/155](https://redirect.github.com/cli/go-gh/pull/155) - Bump glamour to v0.7.0 and go mod tidy by [@​williammartin](https://redirect.github.com/williammartin) in [https://github.com/cli/go-gh/pull/156](https://redirect.github.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://redirect.github.com/cli/go-gh/releases/tag/v2.7.0) [Compare Source](https://redirect.github.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://redirect.github.com/williammartin) in [https://github.com/cli/go-gh/pull/153](https://redirect.github.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://redirect.github.com/cli/go-gh/releases/tag/v2.6.0) [Compare Source](https://redirect.github.com/cli/go-gh/compare/v2.5.0...v2.6.0) #### What's Changed - Treat tenancy as non enterprise by [@​williammartin](https://redirect.github.com/williammartin) in [https://github.com/cli/go-gh/pull/151](https://redirect.github.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://redirect.github.com/cli/go-gh/releases/tag/v2.5.0) [Compare Source](https://redirect.github.com/cli/go-gh/compare/v2.4.0...v2.5.0) #### What's Changed - Add header support to tableprinter by [@​heaths](https://redirect.github.com/heaths) in [https://github.com/cli/go-gh/pull/139](https://redirect.github.com/cli/go-gh/pull/139) - Remove default configuration and add fallback configuration by [@​samcoe](https://redirect.github.com/samcoe) in [https://github.com/cli/go-gh/pull/142](https://redirect.github.com/cli/go-gh/pull/142) - Add support to config for setting and writing blank values by [@​samcoe](https://redirect.github.com/samcoe) in [https://github.com/cli/go-gh/pull/143](https://redirect.github.com/cli/go-gh/pull/143) - Fix sanitization bug by [@​samcoe](https://redirect.github.com/samcoe) in [https://github.com/cli/go-gh/pull/145](https://redirect.github.com/cli/go-gh/pull/145) - Config should load as unmodified by [@​williammartin](https://redirect.github.com/williammartin) in [https://github.com/cli/go-gh/pull/147](https://redirect.github.com/cli/go-gh/pull/147) #### New Contributors - [@​williammartin](https://redirect.github.com/williammartin) made their first contribution in [https://github.com/cli/go-gh/pull/147](https://redirect.github.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://redirect.github.com/cli/go-gh/releases/tag/v2.4.0) [Compare Source](https://redirect.github.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://redirect.github.com/y-yagi) in [https://github.com/cli/go-gh/pull/134](https://redirect.github.com/cli/go-gh/pull/134) - Update workflows to use actions/checkout@v4 by [@​samcoe](https://redirect.github.com/samcoe) in [https://github.com/cli/go-gh/pull/136](https://redirect.github.com/cli/go-gh/pull/136) - Update dependencies to address security vulnerability by [@​samcoe](https://redirect.github.com/samcoe) in [https://github.com/cli/go-gh/pull/137](https://redirect.github.com/cli/go-gh/pull/137) - Update dependency to address security vulnerability by [@​samcoe](https://redirect.github.com/samcoe) in [https://github.com/cli/go-gh/pull/140](https://redirect.github.com/cli/go-gh/pull/140) #### New Contributors - [@​y-yagi](https://redirect.github.com/y-yagi) made their first contribution in [https://github.com/cli/go-gh/pull/134](https://redirect.github.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://redirect.github.com/cli/go-gh/releases/tag/v2.3.0): go-gh 2.3.0 [Compare Source](https://redirect.github.com/cli/go-gh/compare/v2.2.0...v2.3.0) #### What's Changed - Upgrade to Go 1.21 by [@​samcoe](https://redirect.github.com/samcoe) in [https://github.com/cli/go-gh/pull/129](https://redirect.github.com/cli/go-gh/pull/129) - Implement prompter package by [@​samcoe](https://redirect.github.com/samcoe) in [https://github.com/cli/go-gh/pull/131](https://redirect.github.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://redirect.github.com/cli/go-gh/releases/tag/v2.2.0): go-gh 2.2.0 [Compare Source](https://redirect.github.com/cli/go-gh/compare/v2.1.0...v2.2.0) #### What's Changed - Add `CacheDir` function to `config` package by [@​ffalor](https://redirect.github.com/ffalor) in [https://github.com/cli/go-gh/pull/126](https://redirect.github.com/cli/go-gh/pull/126) - Fix bug in `asciisanitizer` with valid `U+FFFD` character being reported as an error by [@​yin1999](https://redirect.github.com/yin1999) in [https://github.com/cli/go-gh/pull/128](https://redirect.github.com/cli/go-gh/pull/128) #### New Contributors - [@​ffalor](https://redirect.github.com/ffalor) made their first contribution in [https://github.com/cli/go-gh/pull/126](https://redirect.github.com/cli/go-gh/pull/126) - [@​yin1999](https://redirect.github.com/yin1999) made their first contribution in [https://github.com/cli/go-gh/pull/128](https://redirect.github.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://redirect.github.com/cli/go-gh/releases/tag/v2.1.0): go-gh 2.1.0 [Compare Source](https://redirect.github.com/cli/go-gh/compare/v2.0.1...v2.1.0) #### What's Changed - Add missing import statement to code example by [@​bendrucker](https://redirect.github.com/bendrucker) in [https://github.com/cli/go-gh/pull/124](https://redirect.github.com/cli/go-gh/pull/124) - Export Path function from top level gh package by [@​samcoe](https://redirect.github.com/samcoe) in [https://github.com/cli/go-gh/pull/123](https://redirect.github.com/cli/go-gh/pull/123) - Add asciisanitizer package and sanitization to http clients by [@​samcoe](https://redirect.github.com/samcoe) in [https://github.com/cli/go-gh/pull/125](https://redirect.github.com/cli/go-gh/pull/125) #### New Contributors - [@​bendrucker](https://redirect.github.com/bendrucker) made their first contribution in [https://github.com/cli/go-gh/pull/124](https://redirect.github.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://redirect.github.com/cli/go-gh/releases/tag/v2.0.1): go-gh 2.0.1 [Compare Source](https://redirect.github.com/cli/go-gh/compare/v2.0.0...v2.0.1) #### What's Changed - Expose IsColorForced by [@​heaths](https://redirect.github.com/heaths) in [https://github.com/cli/go-gh/pull/117](https://redirect.github.com/cli/go-gh/pull/117) - Pin golangci-lint version by [@​mislav](https://redirect.github.com/mislav) in [https://github.com/cli/go-gh/pull/120](https://redirect.github.com/cli/go-gh/pull/120) - jq: bump up gojq to fix printing empty arrays by [@​itchyny](https://redirect.github.com/itchyny) in [https://github.com/cli/go-gh/pull/119](https://redirect.github.com/cli/go-gh/pull/119) #### New Contributors - [@​itchyny](https://redirect.github.com/itchyny) made their first contribution in [https://github.com/cli/go-gh/pull/119](https://redirect.github.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://redirect.github.com/cli/go-gh/releases/tag/v2.0.0): go-gh 2.0.0 [Compare Source](https://redirect.github.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://redirect.github.com/stemar94) in [https://github.com/cli/go-gh/pull/115](https://redirect.github.com/cli/go-gh/pull/115) - Add `ExecContext` function by [@​mislav](https://redirect.github.com/mislav) in [https://github.com/cli/go-gh/pull/115](https://redirect.github.com/cli/go-gh/pull/115) - Add support for `GH_PATH` environment variable to `Exec` functions by [@​mislav](https://redirect.github.com/mislav) in [https://github.com/cli/go-gh/pull/115](https://redirect.github.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://redirect.github.com/mjpieters) in [https://github.com/cli/go-gh/pull/116](https://redirect.github.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://redirect.github.com/mislav) in [https://github.com/cli/go-gh/pull/111](https://redirect.github.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://redirect.github.com/samcoe) in [https://github.com/cli/go-gh/pull/113](https://redirect.github.com/cli/go-gh/pull/113) #### New Contributors - [@​mjpieters](https://redirect.github.com/mjpieters) made their first contribution in [https://github.com/cli/go-gh/pull/116](https://redirect.github.com/cli/go-gh/pull/116) - [@​stemar94](https://redirect.github.com/stemar94) made their first contribution in [https://github.com/cli/go-gh/pull/115](https://redirect.github.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 was generated by Mend Renovate. View the repository job log.