Skip to content

Commit 662ca8f

Browse files
move genqlient Go module to 1.20 (#318)
gqlgen's module supports Go 1.20+, and I suggest that genqlient should also do so. Go 1.20 was released more than 1 year ago (01 Feb 2023), and support ended on 06 Feb 2024. Each major Go release is supported until there are two newer major releases. In the past, we have only prolonged gqlgen/genqlient support for older Go when AppEngine Go was mired in the past. Currently, [Appengine no longer supports Go 1.18](https://cloud.google.com/appengine/docs/standard/go/release-notes), and supports up to Go 1.21. I will wait for possible objections for a few days before merging this PR. I also expect that we would want to cut a new release of genqlient either before or after merging this PR. Signed-off-by: Steve Coffman <[email protected]> --------- Signed-off-by: Steve Coffman <[email protected]>
1 parent 4afbe4b commit 662ca8f

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
go: [ '1.18', '1.19', '1.20', '1.21', '1.22' ]
15+
go: [ '1.20', '1.21', '1.22' ]
1616

1717
steps:
1818
- name: Set up Go

docs/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ When releasing a new version:
2020

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

23-
Note that genqlient is now tested through Go 1.22.
23+
Note that genqlient is now tested from Go 1.20 through Go 1.22.
2424

2525
### Breaking changes:
2626

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.
28+
2729
### New features:
2830

2931
- The new `optional: generic` allows using a generic type to represent optionality. See the [documentation](genqlient.yaml) for details.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/Khan/genqlient
22

3-
go 1.18
3+
go 1.20
44

55
require (
66
github.com/99designs/gqlgen v0.17.44

0 commit comments

Comments
 (0)