Skip to content

chore(deps): bump github.com/Khan/genqlient from 0.6.0 to 0.8.1 in /sdk/go#1034

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/sdk/go/github.com/Khan/genqlient-0.8.1
Closed

chore(deps): bump github.com/Khan/genqlient from 0.6.0 to 0.8.1 in /sdk/go#1034
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/sdk/go/github.com/Khan/genqlient-0.8.1

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jun 1, 2025

Bumps github.com/Khan/genqlient from 0.6.0 to 0.8.1.

Release notes

Sourced from github.com/Khan/genqlient's releases.

v0.8.1

This release fixes a bug introduced in v0.8.0 breaking path resolution on Windows, along with some other small features and bugs.

New features:

  • Added @genqlient(alias) directive to customize field names without requiring GraphQL aliases (fixes #367)
  • Added auto_camel_case config option to automatically convert snake_case to camelCase in both field names and type names

Bug fixes:

  • fixed path resolution on Windows
  • fixed documentation link in introduction.md
  • upgraded version of alexflint/go-arg from 1.4.2 to 1.5.1
  • fixed a typo in the struct + fragment error message

v0.8.0

This release adds support for genqlient subscriptions; see the documentation for more, and thanks to @​matthieu4294967296moineau for the original implementation and @​HaraldNordgren for additional testing and improvements.

Note that genqlient now requires Go 1.22.5 or higher, and is tested through Go 1.23.3.

Breaking changes:

  • genqlient now forbids omitempty: false (including implicit behaviour) when using pointer on non-null input field.
  • The error text for HTTP errors has changed slightly. If you were parsing it, switch to As-ing to graphql.HTTPError.

New features:

  • genqlient now supports subscriptions; the websocket protocol is by default graphql-transport-ws but can be set to another value.
    See the documentation for more details on how to use subscriptions.
  • genqlient now supports double-star globs for schema and query files; see https://github.com/Khan/genqlient/blob/HEAD/genqlient.yaml docs for more.
  • genqlient now generates slices containing all enum values for each enum type.
  • genqlient now returns Is/As-able errors when the HTTP request returns a non-200 status.

Bug fixes:

  • omitempty validation:
    • allow omitempty on non-nullable input field, if the field has a default
    • allow omitempty: false on an input field, even when it is non-nullable
  • don't do omitempty and pointer input types validation when use_struct_reference is used, as the generated type is often not compatible with validation logic.
  • the allow_broken_features option, which no longer did anything, has been removed

v0.7.0

In addition to several new features and bugfixes, along with this release comes reorganized documentation for genqlient. Note that genqlient now requires Go 1.20 or higher, and is tested through Go 1.22.

What's Changed

... (truncated)

Changelog

Sourced from github.com/Khan/genqlient's changelog.

v0.8.1

This release fixes a bug introduced in v0.8.0 breaking path resolution on Windows, along with some other small features and bugs.

New features:

  • Added @genqlient(alias) directive to customize field names without requiring GraphQL aliases (fixes #367)
  • Added auto_camel_case config option to automatically convert snake_case to camelCase in both field names and type names

Bug fixes:

  • fixed path resolution on Windows
  • fixed documentation link in introduction.md
  • upgraded version of alexflint/go-arg from 1.4.2 to 1.5.1
  • fixed a typo in the struct + fragment error message

v0.8.0

This release adds support for genqlient subscriptions; see the documentation for more, and thanks to @​matthieu4294967296moineau for the original implementation and @​HaraldNordgren for additional testing and improvements.

Note that genqlient now requires Go 1.22.5 or higher, and is tested through Go 1.23.3.

Breaking changes:

  • genqlient now forbids omitempty: false (including implicit behaviour) when using pointer on non-null input field.
  • The error text for HTTP errors has changed slightly. If you were parsing it, switch to As-ing to graphql.HTTPError.

New features:

  • genqlient now supports subscriptions; the websocket protocol is by default graphql-transport-ws but can be set to another value.
    See the documentation for more details on how to use subscriptions.
  • genqlient now supports double-star globs for schema and query files; see https://github.com/Khan/genqlient/blob/main/docs/genqlient.yaml docs for more.
  • genqlient now generates slices containing all enum values for each enum type.
  • genqlient now returns Is/As-able errors when the HTTP request returns a non-200 status.

Bug fixes:

  • omitempty validation:
    • allow omitempty on non-nullable input field, if the field has a default
    • allow omitempty: false on an input field, even when it is non-nullable
  • don't do omitempty and pointer input types validation when use_struct_reference is used, as the generated type is often not compatible with validation logic.
  • the allow_broken_features option, which no longer did anything, has been removed

v0.7.0

In addition to several new features and bugfixes, along with this release comes reorganized documentation for genqlient. Note that genqlient now requires Go 1.20 or higher, and is tested through Go 1.22.

New features:

  • The new optional: generic allows using a generic type to represent optionality. See the documentation for details.

... (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)

Bumps [github.com/Khan/genqlient](https://github.com/Khan/genqlient) from 0.6.0 to 0.8.1.
- [Release notes](https://github.com/Khan/genqlient/releases)
- [Changelog](https://github.com/Khan/genqlient/blob/main/docs/CHANGELOG.md)
- [Commits](Khan/genqlient@v0.6.0...v0.8.1)

---
updated-dependencies:
- dependency-name: github.com/Khan/genqlient
  dependency-version: 0.8.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jun 1, 2025

Labels

The following labels could not be found: kind/dependencies, sdk/go. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions
Copy link

This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale label Jun 26, 2025
@github-actions
Copy link

github-actions bot commented Jul 3, 2025

This PR was closed because it has been stalled for 7 days with no activity.

@github-actions github-actions bot closed this Jul 3, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jul 3, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/go_modules/sdk/go/github.com/Khan/genqlient-0.8.1 branch July 3, 2025 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants