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

Bump github.com/hasura/go-graphql-client from 0.7.0 to 0.9.1 #42

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2023

Bumps github.com/hasura/go-graphql-client from 0.7.0 to 0.9.1.

Release notes

Sourced from github.com/hasura/go-graphql-client's releases.

v0.9.1

Changelog

  • improve the subscription client, fix goroutine leaks and data race issues (hasura/go-graphql-client#76) @​hgiasac
  • merge the reset subscription logic into the Run method. If you call the Run method when the subscription client is running, the client will restart the current connection.
  • print the extra Extensions information in the Error object

v0.9.0

Highlight

Support graphql-ws protocol

The subscription client now supports 2 protocols:

The protocol can be switchable by the WithProtocol function. By default, the subscription client uses the subscriptions-transport-ws protocol.

client := graphql.NewSubscriptionClient("wss://example.com/graphql").
    WithProtocol(graphql.GraphQLWS)

Changelog

v0.8.1

v0.8.0

Highlight

Introduce ExecRaw method that returns a raw json message.

query := `query{something(where: { foo: { _eq: "bar" }}){id}}`
var res struct {
	Somethings []Something `json:"something"`
}
raw, err := client.ExecRaw(ctx, query, map[string]any{})
if err != nil {
panic(err)
}
</tr></table>

... (truncated)

Commits
  • bb54675 subscription improvement, merge reset subscription logic into Run (#76)
  • 10471cf patch gin v1.7.7 to fix the security issue (#75)
  • 0418b98 Allow using custom HTTP clients (#68)
  • 1265577 support graphql-ws protocol (#67)
  • 0ea43e0 docs: clarify usage of structs as variables (#66)
  • 7943bd6 Fix typo in Events section of the readme file (#63)
  • 4e08b2d refactor: expose jsonutil (#62)
  • 1992b9f fix the dynamic GraphQL type output from the GraphQLType interface instance (...
  • 82d63c2 Adding clarity around public variables in example (#52)
  • 835e565 fix: Fixes panic if no connection (#47)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/hasura/go-graphql-client](https://github.com/hasura/go-graphql-client) from 0.7.0 to 0.9.1.
- [Release notes](https://github.com/hasura/go-graphql-client/releases)
- [Commits](hasura/go-graphql-client@v0.7.0...v0.9.1)

---
updated-dependencies:
- dependency-name: github.com/hasura/go-graphql-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Development

Successfully merging this pull request may close these issues.

0 participants