Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 10, 2024

Mend Renovate

This PR contains the following updates:

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

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

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 https://github.com/cli/go-gh/pull/115
  • Add ExecContext function by @​mislav in https://github.com/cli/go-gh/pull/115
  • Add support for GH_PATH environment variable to Exec functions by @​mislav in https://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
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 has been generated by Mend Renovate. View repository job log here.

@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 Apr 10, 2024
@renovate renovate bot closed this Apr 10, 2024
@renovate renovate bot deleted the renovate/git.luolix.top-cli-go-gh-2.x branch April 10, 2024 13:13
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.

0 participants