Fundamentals 3 min read

Go 1.16.7, 1.15.15 Minor Releases and Go 1.17 RC2 Feature Highlights

The Go team announced minor releases Go 1.16.7 and 1.15.15 with security fixes and the Go 1.17 RC2 preview, which adds slice‑to‑array pointer conversion, new unsafe.Add and unsafe.Slice functions, and expanded platform support for macOS, Windows ARM, and OpenBSD MIPS.

Laravel Tech Community
Laravel Tech Community
Laravel Tech Community
Go 1.16.7, 1.15.15 Minor Releases and Go 1.17 RC2 Feature Highlights

The Go development team has recently released updates for three branches: Go 1.16.7, Go 1.15.15, and Go 1.17 RC2.

Go 1.16.7 and 1.15.15 are minor releases that primarily address security issues in accordance with the new security policy.

Go 1.16.7 includes security fixes for the net/http/httputil package and bug fixes for the compiler, linker, runtime, the go command, and the net/http package.

Go 1.15.15 contains the same fixes as 1.16.7.

Release notes: https://golang.org/doc/devel/release#go1.16.minor .

Go 1.17 is scheduled for final release this month, making RC2 the last release candidate before the official launch.

Go 1.17 introduces three language feature improvements:

Support conversion from a slice to an array pointer.

unsafe.Add : unsafe.Add(ptr, len) adds len to ptr and returns the updated pointer unsafe.Pointer(uintptr(ptr) + uintptr(len)) .

unsafe.Slice : for a *T pointer, unsafe.Slice(ptr, len) returns a []T slice whose underlying array starts at ptr with length and capacity equal to len .

Additionally, Go 1.17 requires macOS 10.13 High Sierra or later on Mac, adds support for 64‑bit ARM on Windows, and adds support for 64‑bit MIPS on OpenBSD.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Golanguage featuresSecurity Fixes
Laravel Tech Community
Written by

Laravel Tech Community

Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.