You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Copy file name to clipboardExpand all lines: docs/CHANGELOG.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,18 +20,27 @@ When releasing a new version:
20
20
21
21
<!-- Add new changes in this section! -->
22
22
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
+
23
33
Note that genqlient now requires Go 1.22.5 or higher, and is tested through Go 1.23.3.
24
34
25
35
### Breaking changes:
26
36
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).
30
39
31
40
### New features:
32
41
33
42
- 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.
35
44
- genqlient now supports double-star globs for schema and query files; see [`genqlient.yaml` docs](genqlient.yaml) for more.
36
45
- genqlient now generates slices containing all enum values for each enum type.
37
46
- genqlient now returns `Is`/`As`-able errors when the HTTP request returns a non-200 status.
0 commit comments