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/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. 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