From cc0ed651733c7316f9824c14c392ed7b5652646a Mon Sep 17 00:00:00 2001 From: Steve Coffman Date: Sun, 18 Feb 2024 11:52:32 -0500 Subject: [PATCH 1/2] move go support to 1.20 Signed-off-by: Steve Coffman --- .github/workflows/go.yml | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0ad6d392..f8c928a5 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: [ '1.18', '1.19', '1.20', '1.21', '1.22' ] + go: [ '1.20', '1.21', '1.22' ] steps: - name: Set up Go diff --git a/go.mod b/go.mod index c011393e..5741c420 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/Khan/genqlient -go 1.18 +go 1.20 require ( github.com/99designs/gqlgen v0.17.44 From 285297ef0e1fa525955f8ae5d377ed1b1799c077 Mon Sep 17 00:00:00 2001 From: Steve Coffman Date: Sun, 18 Feb 2024 15:45:41 -0500 Subject: [PATCH 2/2] Add changelog entry Signed-off-by: Steve Coffman --- docs/CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 1405bef1..4ad9c609 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -20,10 +20,12 @@ When releasing a new version: -Note that genqlient is now tested through Go 1.22. +Note that genqlient is now tested from Go 1.20 through Go 1.22. ### Breaking changes: +- 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. + ### New features: - The new `optional: generic` allows using a generic type to represent optionality. See the [documentation](genqlient.yaml) for details.