fix(deps): update module github.com/khan/genqlient to v0.8.0 #358

Merged
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 merged 1 commits from renovate/github.com-khan-genqlient-0.x into main 2025-02-03 05:46:03 +00:00
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 commented 2025-02-03 00:56:31 +00:00 (Migrated from gitlab.com)

This MR contains the following updates:

Package Type Update Change
github.com/Khan/genqlient require minor v0.7.0 -> v0.8.0

Release Notes

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

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 - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

This MR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/Khan/genqlient](https://github.com/Khan/genqlient) | require | minor | `v0.7.0` -> `v0.8.0` | --- ### Release Notes <details> <summary>Khan/genqlient (github.com/Khan/genqlient)</summary> ### [`v0.8.0`](https://github.com/Khan/genqlient/releases/tag/v0.8.0) [Compare Source](https://github.com/Khan/genqlient/compare/v0.7.0...v0.8.0) This release adds support for genqlient subscriptions; see the [documentation](subscriptions.md) for more, and thanks to [@&#8203;matthieu4294967296moineau](https://github.com/matthieu4294967296moineau) for the original implementation and [@&#8203;HaraldNordgren](https://github.com/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`](client_config.md#handling-errors). ##### 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](subscriptions.md) for more details on how to use subscriptions. - genqlient now supports double-star globs for schema and query files; see [`genqlient.yaml` docs](genqlient.yaml) 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 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNTYuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE1Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 commented 2025-02-03 00:56:33 +00:00 (Migrated from gitlab.com)

mentioned in issue #4

mentioned in issue #4
argoyle (Migrated from gitlab.com) merged commit into main 2025-02-03 05:46:03 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unboundsoftware/schemas#358