diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index f6ca18c3..9797b136 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -22,6 +22,16 @@ When releasing a new version: ### Breaking changes: +### New features: + +### Bug fixes: + +## v0.2.0 + +Version 0.2.0 adds several convenience features for using custom scalars, as well as many internal improvements and bug fixes. + +### Breaking changes: + - The [`graphql.Client`](https://pkg.go.dev/github.com/Khan/genqlient/graphql#Client) interface now accepts `variables interface{}` (containing a JSON-marshalable value) rather than `variables map[string]interface{}`. Clients implementing the interface themselves will need to change the signature; clients who simply call `graphql.NewClient` are unaffected. - genqlient's handling of the `omitempty` option has changed to match that of `encoding/json`, from which it had inadvertently differed. In particular, this means struct-typed arguments with `# @genqlient(omitempty: true)` will no longer be omitted if they are the zero value. (Struct-pointers are still omitted if nil, so adding `pointer: true` will typically work fine. It's also now possible to use a custom marshaler to explicitly map zero to null.)