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
- Add "generic" option to the "optional" configuration for handling nullable types by @DylanRJohnston in #252
- Documentation tweaks relating to releases by @benjaminjkraft in #271
- Add some better tests for use_struct_references by @benjaminjkraft in #273
- Add an option to handle enums with ugly casing by @benjaminjkraft in #270
- Add some more tests for config validation, and fix some gaps by @benjaminjkraft in #274
- Add consideration for pointer false directive when optional: pointer configuration option is used by @spencermurray in #280
- Update gqlparser and gqlgen dependencies by @StevenACoffman in #282
- Update gqlparser to omit comments by @StevenACoffman in #284
- bugfix: local variable 'data' colliding with argument name by @zholti in #291
- Pin lint workflow's Go version by @benjaminjkraft in #311
- Upgrade golangci-lint and which go we run it with by @benjaminjkraft in #314
- fix implementation type generation for fragment on a union by @zzh8829 in #310
- Support more valid graphql file extensions by @zzh8829 in #309
- Add tests on Go 1.22, and upgrade x/tools to make them work by @benjaminjkraft in #315
- Update gqlgen to latest by @StevenACoffman in #317
- move genqlient Go module to 1.20 by @StevenACoffman in #318
- Improve package-sniffing and bind correctly to types in the same package by @benjaminjkraft in #316
- Reorganize and improve documentation by @benjaminjkraft in #322
- Fix non-deterministic generated code involving interfaces and fragments. by @csilvers in #323
- Release v0.7.0 by @benjaminjkraft in #324
New Contributors
- @DylanRJohnston made their first contribution in #252
- @spencermurray made their first contribution in #280
- @zholti made their first contribution in #291
- @zzh8829 made their first contribution in #310
Full Changelog: v0.6.0...v0.7.0