PackageTrack
Sign in Get early access

github.com/Khan/genqlient

v0.8.1 Khan/genqlient

What this package is like to depend on

Last release 15 days ago

08 Aug 2026

Release timing varies

gaps range from 1 weeks to 6 months

Nearly every release is documented

notes for 9 of 9 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

213 releases · first in 2021

15 releases in the last 12 months

see the full history below

Release timeline

213 releases · Mar 2021 to Aug 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 213
  1. v0.8.2-0.20260808220311-f53a04c8e9d2 08 Aug 2026 pre-release

    Nothing published for this version

  2. v0.8.2-0.20260808215155-c33b06058f30 08 Aug 2026 pre-release

    Nothing published for this version

  3. v0.8.2-0.20260527022710-6bbde3684dd6 27 May 2026 pre-release

    Nothing published for this version

  4. v0.8.2-0.20260523185242-8583f53565d5 23 May 2026 pre-release

    Nothing published for this version

  5. v0.8.2-0.20251119073406-eea54beb2165 19 Nov 2025 pre-release

    Nothing published for this version

  6. v0.8.2-0.20251119064104-5b0aabc933fa 19 Nov 2025 pre-release

    Nothing published for this version

  7. v0.8.2-0.20251028055421-48003b9627c3 28 Oct 2025 pre-release

    Nothing published for this version

  8. v0.8.2-0.20251028054717-8ddeeee0a15a 28 Oct 2025 pre-release

    Nothing published for this version

  9. v0.8.2-0.20250910230456-7c070dd710ca 10 Sep 2025 pre-release

    Nothing published for this version

  10. v0.8.2-0.20250814234345-01cfbc3903fc 14 Aug 2025 pre-release

    Nothing published for this version

  11. v0.8.2-0.20250802170739-c1dac594897b 02 Aug 2025 pre-release

    Nothing published for this version

  12. v0.8.2-0.20250802165604-ef288a3eecca 02 Aug 2025 pre-release

    Nothing published for this version

  13. v0.8.2-0.20250628204701-35bfe030599a 28 Jun 2025 pre-release

    Nothing published for this version

  14. v0.8.2-0.20250627175650-d973af1dbedb 27 Jun 2025 pre-release

    Nothing published for this version

  15. v0.8.2-0.20250617064312-a4b774ddf33f 17 Jun 2025 pre-release

    Nothing published for this version

  16. v0.8.1 18 May 2025
    Release notes

    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
    Open source →
    Release notes

    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
    • avoid error when a subscription message is received without a subscription ID
    • avoid closing subscription channels more than once, which could cause a panic in some cases
    Open source →
  17. v0.8.1-0.20250414044149-e2e0ef0ffa06 14 Apr 2025 pre-release

    Nothing published for this version

  18. v0.8.1-0.20250413182005-bc17161536c0 13 Apr 2025 pre-release

    Nothing published for this version

  19. v0.8.1-0.20250408024208-86db6f08b9de 08 Apr 2025 pre-release

    Nothing published for this version

  20. v0.8.1-0.20250328050431-3a0d213034f7 28 Mar 2025 pre-release

    Nothing published for this version

  21. v0.8.0 03 Feb 2025
    Release notes

    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
    Open source →
    Release notes

    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
    Open source →
  22. v0.7.1-0.20241202052121-d3e516b53f5f 02 Dec 2024 pre-release

    Nothing published for this version

  23. v0.7.1-0.20241201010106-5913cd65dac5 01 Dec 2024 pre-release

    Nothing published for this version

  24. v0.7.1-0.20240930155758-e030ff17cbdf 30 Sep 2024 pre-release

    Nothing published for this version

  25. v0.7.1-0.20240819060157-4466fc10e4f3 19 Aug 2024 pre-release

    Nothing published for this version

  26. v0.7.1-0.20240817050740-7a9d84f70b86 17 Aug 2024 pre-release

    Nothing published for this version

  27. v0.7.1-0.20240817050723-7eb3fca25770 17 Aug 2024 pre-release

    Nothing published for this version

  28. v0.7.1-0.20240817000003-87e2448efff0 17 Aug 2024 pre-release

    Nothing published for this version

  29. v0.7.1-0.20240813025229-07f367726050 13 Aug 2024 pre-release

    Nothing published for this version

  30. v0.7.1-0.20240703170843-2f265d2ed7d3 03 Jul 2024 pre-release

    Nothing published for this version

  31. v0.7.1-0.20240613010624-35fbf5b7e262 13 Jun 2024 pre-release

    Nothing published for this version

  32. v0.7.1-0.20240607162436-1a44ec78e370 07 Jun 2024 pre-release

    Nothing published for this version

  33. v0.7.1-0.20240405163908-3da9a0f905b3 05 Apr 2024 pre-release

    Nothing published for this version

  34. v0.7.1-0.20240313235648-8dc71037926c 13 Mar 2024 pre-release

    Nothing published for this version

  35. v0.7.0 05 Mar 2024
    Release notes

    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

    New Contributors

    Full Changelog: v0.6.0...v0.7.0

    Open source →
    Release notes

    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.
    • The new optional: pointer_omitempty allows using a pointer that is also annotated with omitempty. See the documentation for details.
    • For schemas with enum values that differ only in casing, it's now possible to disable smart-casing in genqlient.yaml; see the documentation for casing for details.
    • genqlient now supports .graphqls and .gql file extensions for schemas and queries.
    • More accurately guess the package name for generated code (and warn if the config option -- now almost never needed -- looks wrong).

    Bug fixes:

    • Negative pointer directives, i.e., # @genqlient(pointer: false) are now respected even in the when optional: pointer is set in the configuration file.
    • Made name collisions between query/mutation arguments and local function variables less likely.
    • Fix generation issue related to golang type implementation of complex graphql union fragments.
    • Bind correctly to types in the same package as the generated code.
    • Fix non-deterministic generated code when querying graphql interfaces via named fragments.
    Open source →
  36. v0.6.1-0.20240305065909-83d2f2502157 05 Mar 2024 pre-release

    Nothing published for this version

  37. v0.6.1-0.20240226193248-9f8e2b262fc9 26 Feb 2024 pre-release

    Nothing published for this version

  38. v0.6.1-0.20240220050211-ae275ac62108 20 Feb 2024 pre-release

    Nothing published for this version

  39. v0.6.1-0.20240219164113-5bdd7fd3ea9a 19 Feb 2024 pre-release

    Nothing published for this version

  40. v0.6.1-0.20240218204804-662ca8f1ee34 18 Feb 2024 pre-release

    Nothing published for this version

  41. v0.6.1-0.20240218163914-4afbe4b0494a 18 Feb 2024 pre-release

    Nothing published for this version

  42. v0.6.1-0.20240218015813-9ddd26f81383 18 Feb 2024 pre-release

    Nothing published for this version

  43. v0.6.1-0.20240216224014-7740a6a0cf04 16 Feb 2024 pre-release

    Nothing published for this version

  44. v0.6.1-0.20240215181148-20a8c5ec38b5 15 Feb 2024 pre-release

    Nothing published for this version

  45. v0.6.1-0.20240215033104-9e6c7d23a345 15 Feb 2024 pre-release

    Nothing published for this version

  46. v0.6.1-0.20230801203035-28aafc79a9f9 01 Aug 2023 pre-release

    Nothing published for this version

  47. v0.6.1-0.20230717163326-0aa03e92e214 17 Jul 2023 pre-release

    Nothing published for this version

  48. v0.6.1-0.20230716123437-05817543f5ab 16 Jul 2023 pre-release

    Nothing published for this version

  49. v0.6.1-0.20230710035903-34447eb82abe 10 Jul 2023 pre-release

    Nothing published for this version

  50. v0.6.1-0.20230508005208-65d934a70594 08 May 2023 pre-release

    Nothing published for this version

  51. v0.6.1-0.20230507191513-ff790e1c0631 07 May 2023 pre-release

    Nothing published for this version

  52. v0.6.1-0.20230506211200-9b2f16c0884c 06 May 2023 pre-release

    Nothing published for this version

  53. v0.6.1-0.20230506174003-c61d7acaa59c 06 May 2023 pre-release

    Nothing published for this version

  54. v0.6.0 06 May 2023
    Release notes

    Version 0.6.0 includes some small features and bugfixes. Note that genqlient now requires Go 1.18 or higher, and is tested through Go 1.20.

    What's Changed

    New Contributors

    Full Changelog: v0.5.0...v0.6.0

    Open source →
    Release notes

    Version 0.6.0 includes some small features and bugfixes. Note that genqlient now requires Go 1.18 or higher, and is tested through Go 1.20.

    New features:

    • You can now bind all types from a package in genqlient.yaml using the new package_bindings option.
    • The graphql operation (query or mutation) as sent over the wire is now exposed via a constant in the generated genqlient .go file.

    Bug fixes:

    • Fixed non-deterministic generated code when querying graphql interfaces.
    • Fixed generated code when last component of package name is not a valid identifier (e.g. "path/to/my-package").
    • Fixed incorrect documentation of for directive.
    • Fixed bug where omitempty JSON tags were not being correctly applied to __premarshal structs.
    Open source →
  55. v0.5.1-0.20230505160520-15f507b8de0c 05 May 2023 pre-release

    Nothing published for this version

  56. v0.5.1-0.20230408234834-677fa94d301c 08 Apr 2023 pre-release

    Nothing published for this version

  57. v0.5.1-0.20230225174417-ff44aa07c1fd 25 Feb 2023 pre-release

    Nothing published for this version

  58. v0.5.1-0.20230214171055-a42359b4358b 14 Feb 2023 pre-release

    Nothing published for this version

  59. v0.5.1-0.20221222163608-596c33f0b091 22 Dec 2022 pre-release

    Nothing published for this version

  60. v0.5.1-0.20221222071920-b1adeca6da3c 22 Dec 2022 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive