Go 1.26 Release Notes
DRAFT RELEASE NOTES — Introduction to Go 1.26
Go 1.26 is not yet released. These are work-in-progress release notes. Go 1.26 is expected to be released in February 2026.
Tools
Go command
cmd/doc
, and go tool doc
have been deleted. go doc
can be used as
a replacement for go tool doc
: it takes the same flags and arguments and
has the same behavior.
Bootstrap
As mentioned in the Go 1.24 release notes, Go 1.26 now requires Go 1.24.6 or later for bootstrap. We expect that Go 1.28 will require a minor release of Go 1.26 or later for bootstrap.
Standard library
Minor changes to the library
go/types
The Var.Kind
method returns an enumeration of type VarKind
that
classifies the variable (package-level, local, receiver, parameter,
result, or struct field). See issue #70250.
Callers of NewVar
or NewParam
are encouraged to call Var.SetKind
to ensure that this attribute is set correctly in all cases.
database/sql/driver
A database driver may implement RowsColumnScanner
to entirely override Scan
behavior.
net
Added context aware dial functions for TCP, UDP, IP and Unix networks.
Ports
Windows
As announced in the Go 1.25 release notes, the broken 32-bit windows/arm port (GOOS=windows
GOARCH=arm
) is removed.