Bump github.com/Khan/genqlient from 0.6.0 to 0.7.0
Bumps github.com/Khan/genqlient from 0.6.0 to 0.7.0.
Release notes
Sourced from github.com/Khan/genqlient's releases.
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
- Add "generic" option to the "optional" configuration for handling nullable types by
@DylanRJohnstonin Khan/genqlient#252- Documentation tweaks relating to releases by
@benjaminjkraftin Khan/genqlient#271- Add some better tests for use_struct_references by
@benjaminjkraftin Khan/genqlient#273- Add an option to handle enums with ugly casing by
@benjaminjkraftin Khan/genqlient#270- Add some more tests for config validation, and fix some gaps by
@benjaminjkraftin Khan/genqlient#274- Add consideration for pointer false directive when optional: pointer configuration option is used by
@spencermurrayin Khan/genqlient#280- Update gqlparser and gqlgen dependencies by
@StevenACoffmanin Khan/genqlient#282- Update gqlparser to omit comments by
@StevenACoffmanin Khan/genqlient#284- bugfix: local variable 'data' colliding with argument name by
@zholtiin Khan/genqlient#291- Pin lint workflow's Go version by
@benjaminjkraftin Khan/genqlient#311- Upgrade golangci-lint and which go we run it with by
@benjaminjkraftin Khan/genqlient#314- fix implementation type generation for fragment on a union by
@zzh8829in Khan/genqlient#310- Support more valid graphql file extensions by
@zzh8829in Khan/genqlient#309- Add tests on Go 1.22, and upgrade x/tools to make them work by
@benjaminjkraftin Khan/genqlient#315- Update gqlgen to latest by
@StevenACoffmanin Khan/genqlient#317- move genqlient Go module to 1.20 by
@StevenACoffmanin Khan/genqlient#318- Improve package-sniffing and bind correctly to types in the same package by
@benjaminjkraftin Khan/genqlient#316- Reorganize and improve documentation by
@benjaminjkraftin Khan/genqlient#322- Fix non-deterministic generated code involving interfaces and fragments. by
@csilversin Khan/genqlient#323- Release v0.7.0 by
@benjaminjkraftin Khan/genqlient#324New Contributors
@DylanRJohnstonmade their first contribution in Khan/genqlient#252@spencermurraymade their first contribution in Khan/genqlient#280@zholtimade their first contribution in Khan/genqlient#291@zzh8829made their first contribution in Khan/genqlient#310Full Changelog: https://github.com/Khan/genqlient/compare/v0.6.0...v0.7.0
Changelog
Sourced from github.com/Khan/genqlient's changelog.
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: genericallows using a generic type to represent optionality. 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
casingfor 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 whenoptional: pointeris 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.
Commits
83d2f25Release v0.7.0 (#324)9f8e2b2Fix non-deterministic generated code involving interfaces and fragments. (#323)ae275acReorganize and improve documentation (#322)5bdd7fdImprove package-sniffing and bind correctly to types in the same package (#316)662ca8fmove genqlient Go module to 1.20 (#318)4afbe4bUpdate gqlgen to latest (#317)9ddd26fAdd tests on Go 1.22, and upgrade x/tools to make them work (#315)7740a6aSupport more valid graphql file extensions (#309)c14574afix implementation type generation for fragment on a union (#310)20a8c5eUpgrade golangci-lint and which go we run it with (#314)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.