Skip to content

Commit 78a03a6

Browse files
Release v0.8.0 (#370)
Subscriptions, which are the main new addition, now seem stable enough. As usual I cleaned up the changelog a bit, and will then tag this commit as the new version. I have: - [x] Written a clear PR title and description (above) - [x] Signed the [Khan Academy CLA](https://www.khanacademy.org/r/cla) - [x] Added tests covering my changes, if applicable - [x] Included a link to the issue fixed, if applicable - [x] Included documentation, for new features - [x] Added an entry to the changelog
1 parent 8ba2f83 commit 78a03a6

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

docs/CHANGELOG.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,27 @@ When releasing a new version:
2020

2121
<!-- Add new changes in this section! -->
2222

23+
### Breaking changes:
24+
25+
### New features:
26+
27+
### Bug fixes:
28+
29+
## v0.8.0
30+
31+
This release adds support for genqlient subscriptions; see the [documentation](subscriptions.md) for more, and thanks to @matthieu4294967296moineau for the original implementation and @HaraldNordgren for additional testing and improvements.
32+
2333
Note that genqlient now requires Go 1.22.5 or higher, and is tested through Go 1.23.3.
2434

2535
### Breaking changes:
2636

27-
- omitempty validation:
28-
- forbid `omitempty: false` (including implicit behaviour) when using pointer on non-null input field
29-
- The error text for HTTP errors has changed slightly. If you were parsing it, switch to [`As`-ing to `graphql.HTTPError`](client_config.md#handling-errors)_.
37+
- genqlient now forbids `omitempty: false` (including implicit behaviour) when using pointer on non-null input field.
38+
- The error text for HTTP errors has changed slightly. If you were parsing it, switch to [`As`-ing to `graphql.HTTPError`](client_config.md#handling-errors).
3039

3140
### New features:
3241

3342
- genqlient now supports subscriptions; the websocket protocol is by default `graphql-transport-ws` but can be set to another value.
34-
See the [documentation](FAQ.md) for how to `subscribe to an API 'subscription' endpoint`.
43+
See the [documentation](subscriptions.md) for more details on how to use subscriptions.
3544
- genqlient now supports double-star globs for schema and query files; see [`genqlient.yaml` docs](genqlient.yaml) for more.
3645
- genqlient now generates slices containing all enum values for each enum type.
3746
- genqlient now returns `Is`/`As`-able errors when the HTTP request returns a non-200 status.

0 commit comments

Comments
 (0)