Go 1.20 and older are no longer supported
End of support as of 2024-02-06. Replacement: Go 1.26 or later. Source: Go release history and support policy.
Check a version:
evergreen check pkg:generic/golang
The Go release policy supports a major release until two newer major releases exist. Go 1.20 support ended when Go 1.22 was released, and every older release lost support before that.
Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>
| Status | End of support |
| Severity | high |
| Ecosystem | go |
| Component | pkg:generic/golang |
| Affected versions | vers:golang/<1.21.0 |
| Date from the source | 2024-02-06 |
| Replacement | Go 1.26 or later |
| Evidence last seen | 2026-10-17 |
| Reviewed | 2026-10-17 by arminazimi |
| Review due | 2027-04-15 (180 days after the last review) |
| Rule ID | go.runtime.end-of-support-1.20-and-older |
Sources
- Go release history and support policy (accessed 2026-10-17)
Migration
Constraints
- Keep go.mod, go.work, CI matrices, and container images on one supported Go release.
- Check that every dependency’s own go directive is compatible with the target toolchain.
Steps
- Raise the Go version. Raise the reported
goortoolchainline from Go 1.20 or older to a supported release (see the replacement), for example withgo get go@<version> toolchain@<version>. - Align other Go version surfaces. Update CI setup-go versions, Dockerfile
golang:images, and other go.mod or go.work files in the repository so they agree.
Verification
go version: Confirm the active toolchain is the intended release.go build ./... && go test ./...: Build and test every package on the new release.go vet ./...: Catch problems the newer release reports.
Detected by
The go detector. See Detectors and Compatibility.
Related
Other versions of this product
- Go 1.21 is no longer supported
- Go 1.22 is no longer supported
- Go 1.23 is no longer supported
- Go 1.24 is no longer supported
- Go 1.25 is no longer supported
Same ecosystem
- cloud.google.com/go/pubsub is deprecated
- github.com/cncf/udpa/go is deprecated
- github.com/discord/lilliput is deprecated
- github.com/golang/protobuf is deprecated
- github.com/streadway/amqp is deprecated
- go.opentelemetry.io/otel/exporters/zipkin is deprecated
Data
This page is generated from registry/go.json, rule go.runtime.end-of-support-1.20-and-older, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.
Last updated