Skip to content

Bump github.com/hasura/go-graphql-client from 0.13.1 to 0.14.3#548

Merged
rocktavious merged 2 commits intomainfrom
dependabot/go_modules/github.com/hasura/go-graphql-client-0.14.3
May 23, 2025
Merged

Bump github.com/hasura/go-graphql-client from 0.13.1 to 0.14.3#548
rocktavious merged 2 commits intomainfrom
dependabot/go_modules/github.com/hasura/go-graphql-client-0.14.3

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 19, 2025

Bumps github.com/hasura/go-graphql-client from 0.13.1 to 0.14.3.

Release notes

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

v0.14.3

What's Changed

Optimize the WebSocketStats by limiting the max size of the closed connection IDs queue, default to 100. You can adjust the limit by setting SetMaxClosedConnectionMetricCacheSize.

Full Changelog: hasura/go-graphql-client@v0.14.2...v0.14.3

v0.14.2

What's Changed

  • Improve subscription logging by replacing a metadata map with a source string, enabling richer logging details. Metadata now includes session_id and connection_id where applicable.
  • Introduced a WebSocketStats structure to track active and closed WebSocket connections, along with their unique IDs. Added methods to update and retrieve these statistics.

Full Changelog: hasura/go-graphql-client@v0.14.1...v0.14.2

v0.14.1

What's Changed

New Contributors

Full Changelog: hasura/go-graphql-client@v0.14.0...v0.14.1

v0.14.0

Highlights

Subscription enhancements

  • The main runner will be a singleton. Get rid of the recursive loop to avoid goroutine leaks
  • Enhance the error handling. Add 2 new timeout settings, WithConnectionInitialisationTimeout and WithWebsocketConnectionIdleTimeout, to handle errors when the server is unresponsive. Check out the docs for more details.
  • Behavior changes: The state of subscription requests is retained until the Close method is called. Resubscribing to the subscription will initiate duplicate requests.

Support Retry for Query and Mutation

Introduced retry options for the GraphQL client, allowing customization for retries, backoff intervals, and error handling during GraphQL operations.

client := graphql.NewClient("/graphql", http.DefaultClient,
	// number of retries
	graphql.WithRetry(3),
	// base backoff interval. Optional, default 1 second.
	// Prioritize the Retry-After header if it exists in the response.
	graphql.WithRetryBaseDelay(time.Second),
	// exponential rate. Optional, default 2.0
	graphql.WithRetryExponentialRate(2),
	// retry on http statuses. Optional, default: 429, 502, 503, 504
	graphql.WithRetryHTTPStatus([]int{http.StatusServiceUnavailable}),
</tr></table> 

... (truncated)

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels May 19, 2025
@rocktavious
Copy link
Copy Markdown
Collaborator

@dependabot recreate

Bumps [github.com/hasura/go-graphql-client](https://github.com/hasura/go-graphql-client) from 0.13.1 to 0.14.3.
- [Release notes](https://github.com/hasura/go-graphql-client/releases)
- [Commits](hasura/go-graphql-client@v0.13.1...v0.14.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/go_modules/github.com/hasura/go-graphql-client-0.14.3 branch from 22cde8c to 7310df9 Compare May 22, 2025 18:20
@rocktavious rocktavious added dependencies Pull requests that update a dependency file and removed dependencies Pull requests that update a dependency file labels May 22, 2025
@rocktavious rocktavious merged commit 0effe78 into main May 23, 2025
5 checks passed
@rocktavious rocktavious deleted the dependabot/go_modules/github.com/hasura/go-graphql-client-0.14.3 branch May 23, 2025 20:23
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant