Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 12, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/Khan/genqlient v0.7.0 -> v0.8.1 age confidence

Release Notes

Khan/genqlient (github.com/Khan/genqlient)

v0.8.1

Compare Source

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

Compare Source

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 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

Configuration

📅 Schedule: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Sep 12, 2025

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
github.com/vektah/gqlparser/v2 v2.5.18 -> v2.5.19

@renovate renovate bot force-pushed the renovate/github.com-khan-genqlient-0.x branch from 52bd2ca to 4072a13 Compare September 12, 2025 23:32
@RobBrazier RobBrazier merged commit 3549907 into main Sep 12, 2025
2 checks passed
@RobBrazier RobBrazier deleted the renovate/github.com-khan-genqlient-0.x branch September 12, 2025 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants