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.8.0 to 0.9.3 #11

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 28, 2023

Bumps github.com/hasura/go-graphql-client from 0.8.0 to 0.9.3.

Release notes

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

v0.9.3

Changelog

v0.9.2

This release adds new callback events for the subscription client that are useful for debugging and testing.

// OnConnectionAlive event is triggered whenever the WebSocket connection 
// receives a connection alive message (differs per protocol)
client.OnConnectionAlive(fn func())
// OnSubscriptionComplete event is triggered when the subscription receives
// a terminated message from the server
client.OnSubscriptionComplete(fn func(sub Subscription))

New settings are also added to control the retry and exit behaviors of the subscription client.

client.WithoutLogTypes(graphql.GQLData, graphql.GQLConnectionKeepAlive).
    // the client should exit when all subscriptions were closed, default true
    WithExitWhenNoSubscription(false).
    // WithRetryStatusCodes allow retrying the subscription connection when receiving one of these codes
    // the input parameter can be a number string or range, e.g 4000-5000 
   WithRetryStatusCodes("4000", "4000-4050")

Changelog

  • add OnConnectionAlive event to the subscription client (#77) @​sermojohn
  • fix: prevent panic on late message after unsubscribed subscription (#79) @​sermojohn
  • improve the subscription life cycle events and add new settings (#82) @​hgiasac

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:

... (truncated)

Commits
  • 1741410 fix: OnError message is not called in subscriptions-transport-ws (#88)
  • 00bd4a0 Enable github action trigger on pull request (#89)
  • a5e61de remove outdated status note
  • a465542 internal/jsonutil: support directives directly after name
  • fa10f16 ident: add GitLab, DevOps, IssueHunt, LFX brands
  • 104cfd9 fix typography errors (#84)
  • a77eb8c fix: make subscription not exists error non-dynamic (#83)
  • 0acd9d9 improve the subscription life cycle event and add new settings (#82)
  • 3bcda95 fix: prevent panic on late message after unsubscribed (#79)
  • aa8b2bc feat: provide callback for connection alive messages (#77)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [github.com/hasura/go-graphql-client](https://github.com/hasura/go-graphql-client) from 0.8.0 to 0.9.3.
- [Release notes](https://github.com/hasura/go-graphql-client/releases)
- [Commits](hasura/go-graphql-client@v0.8.0...v0.9.3)

---
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] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 28, 2023
@codecov
Copy link

codecov bot commented Apr 28, 2023

Codecov Report

Merging #11 (3de6ce4) into main (62dc60d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #11   +/-   ##
=======================================
  Coverage   97.39%   97.39%           
=======================================
  Files           8        8           
  Lines         882      882           
=======================================
  Hits          859      859           
  Misses         17       17           
  Partials        6        6           
Flag Coverage Δ
unittests 97.39% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 14, 2023

Superseded by #17.

@dependabot dependabot bot closed this Aug 14, 2023
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/hasura/go-graphql-client-0.9.3 branch August 14, 2023 23:05
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants