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
It's getting close to a year, we should do a release! As usual I did a
bit of rewording in the changelog, and also changed this and past
changelogs to not treat dropping older Go versions as breaking per our
handy new versioning policy.
Fixes#321.
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 (n/a)
- [x] Included a link to the issue fixed, if applicable
- [x] Included documentation, for new features (n/a)
- [x] Added an entry to the changelog
Copy file name to clipboardExpand all lines: docs/CHANGELOG.md
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,21 +20,25 @@ When releasing a new version:
20
20
21
21
<!-- Add new changes in this section! -->
22
22
23
-
Note that genqlient is now tested from Go 1.20 through Go 1.22.
24
-
25
23
### Breaking changes:
26
24
27
-
- genqlient now requires Go 1.20 or higher. It may still work with earlier versions, but we aren't explicitly keeping dependency modules to Go 1.18 and lower.
25
+
### New features:
26
+
27
+
### Bug fixes:
28
+
29
+
## v0.7.0
30
+
31
+
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.
28
32
29
33
### New features:
30
34
31
35
- The new `optional: generic` allows using a generic type to represent optionality. See the [documentation](genqlient.yaml) for details.
32
36
- For schemas with enum values that differ only in casing, it's now possible to disable smart-casing in genqlient.yaml; see the [documentation](genqlient.yaml) for `casing` for details.
33
-
-Support .graphqls and .gql file extensions
37
+
-genqlient now supports .graphqls and .gql file extensions for schemas and queries.
34
38
- More accurately guess the package name for generated code (and warn if the config option -- now almost never needed -- looks wrong).
35
39
36
40
### Bug fixes:
37
-
-The presence of negative pointer directives, i.e., `# @genqlient(pointer: false)` are now respected even in the when `optional: pointer` is set in the configuration file.
41
+
-Negative pointer directives, i.e., `# @genqlient(pointer: false)` are now respected even in the when `optional: pointer` is set in the configuration file.
38
42
- Made name collisions between query/mutation arguments and local function variables less likely.
39
43
- Fix generation issue related to golang type implementation of complex graphql union fragments.
40
44
- Bind correctly to types in the same package as the generated code.
@@ -44,10 +48,6 @@ Note that genqlient is now tested from Go 1.20 through Go 1.22.
44
48
45
49
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.
46
50
47
-
### Breaking changes:
48
-
49
-
- genqlient now requires Go 1.18 or higher.
50
-
51
51
### New features:
52
52
53
53
- You can now bind all types from a package in `genqlient.yaml` using the new `package_bindings` option.
@@ -66,7 +66,6 @@ Version 0.5.0 adds several new configuration options and convenience features. N
66
66
67
67
### Breaking changes:
68
68
69
-
- genqlient now requires Go 1.16 or higher.
70
69
- The [`graphql.Client`](https://pkg.go.dev/github.com/Khan/genqlient/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.
0 commit comments