Go 1.18 is not yet released. These are work-in-progress release notes. Go 1.18 is expected to be released in February 2022.
TODO: complete this section
Go 1.18 is the last release that is supported on FreeBSD 11.x, which has already reached end-of-life. Go 1.19 will require FreeBSD 12.2+ or FreeBSD 13.0+. FreeBSD 13.0+ will require a kernel with the COMPAT_FREEBSD12 option set (this is the default).
TODO: complete this section, or delete if not needed
go get no longer builds or installs packages in
module-aware mode. go get is now dedicated to
adjusting dependencies in go.mod. Effectively, the
-d flag is always enabled. To install the latest version
of an executable outside the context of the current module, use
go
install example.com/cmd@latest. Any
version query
may be used instead of latest. This form of go
install was added in Go 1.16, so projects supporting older
versions may need to provide install instructions for both go
install and go get. go
get now reports an error when used outside a module, since there
is no go.mod file to update. In GOPATH mode (with
GO111MODULE=off), go get still builds
and installs packages, as before.
TODO: complete this section, or delete if not needed
gofmt
gofmt now reads and formats input files concurrently, with a
memory limit proportional to GOMAXPROCS. On a machine with
multiple CPUs, gofmt should now be significantly faster.
TODO: complete this section, or delete if not needed
TODO: complete this section, or delete if not needed
TODO: complete this section, or delete if not needed
TODO: complete this section
As always, there are various minor changes and updates to the library, made with the Go 1 promise of compatibility in mind.
TODO: complete this section
The Draw and DrawMask fallback implementations
(used when the arguments are not the most common image types) are now
faster when those arguments implement the optional
draw.RGBA64Image
and image.RGBA64Image
interfaces that were added in Go 1.17.