Skip to content

Bump github.com/Khan/genqlient from 0.6.1-0.20240216224014-7740a6a0cf04 to 0.7.0#53

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/Khan/genqlient-0.7.0
Open

Bump github.com/Khan/genqlient from 0.6.1-0.20240216224014-7740a6a0cf04 to 0.7.0#53
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/Khan/genqlient-0.7.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 11, 2024

Bumps github.com/Khan/genqlient from 0.6.1-0.20240216224014-7740a6a0cf04 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

New Contributors

Full Changelog: Khan/genqlient@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: generic allows 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 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.

v0.6.0

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.

v0.5.0

Version 0.5.0 adds several new configuration options and convenience features. Note that genqlient now requires Go 1.16 or higher, and is tested through Go 1.18.

Breaking changes:

  • The graphql.Client interface now accepts two structs for the request and response, to allow future expansion, rather than several individual arguments. Clients implementing the interface themselves will need to change the signature; clients who simply call graphql.NewClient are unaffected.

New features:

  • genqlient can now run as a portable binary (i.e. without a local checkout of the repository or go run).
  • You can now enable use_extensions in the configuration file, to receive extensions returned by the GraphQL API server. Generated functions will return extensions as map[string]interface{}, if enabled.
  • You can now use graphql.NewClientUsingGet to create a client that uses query parameters to pass the query to the GraphQL API server.
  • In config files, schema, operations, and generated can now be absolute paths.
  • You can now configure how nullable types are mapped to Go types in the configuration file. Specifically, you can set optional: pointer to have all nullable GraphQL arguments, input fields, and output fields map to pointers.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Mar 11, 2024
Bumps [github.com/Khan/genqlient](https://github.com/Khan/genqlient) from 0.6.1-0.20240216224014-7740a6a0cf04 to 0.7.0.
- [Release notes](https://github.com/Khan/genqlient/releases)
- [Changelog](https://github.com/Khan/genqlient/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/Khan/genqlient/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: github.com/Khan/genqlient
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/go_modules/github.com/Khan/genqlient-0.7.0 branch from 7c69cc8 to b099632 Compare March 23, 2024 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants