Archive · Week 36 · Sep 1 – 7, 2025from 4 items
This week the Go team accepted two proposals that add new functionality to the standard library and two patch releases that address bugs and security issues. The focus is on improving HTTP/2 frame handling, ACME error reporting, and tightening the stability of the go command and networking packages.
Nice to knowtooling
go1.24.7 released
- What changed
- Fixes to the go command, and the net and os/exec packages.
- Production impact
- The source does not say.
- Try it
- Run
go versionto confirm you are on 1.24.7 and rungo test ./...to verify the command works. - Source
- go.dev/doc/devel/release#go1.24.7
Explain it and run it
Understand it, then run it
Run it now
// This program demonstrates that the os/exec package works as expected
// after the 1.24.7 release. It runs the "echo" command and prints its output.
package main
import (
"fmt"
"os/exec"
)
func main() {
// Create a command that prints "Hello, world!".
cmd := exec.Command("echo", "Hello, world!")
// Run the command and capture its combined output.
out, err := cmd.CombinedOutput()
if err != nil {
fmt.Println("Command failed:", err)
return
}
// Print the output to standard output.
fmt.Print(string(out))
}
What it printed when we ran it on Go 1.27.1
Hello, world!
Run sends this program (for Solidity, the contract and its tests) to our own sandbox, where it is compiled and run once, with no network, and what it printed or the test report comes back here. Nothing is kept. Runs are counted per visitor for the day so everyone gets a turn; the details are on the legal page.
Nice to knowtooling
go1.25.1 released
- What changed
- Security fixes to the net/http package, and bug fixes to the go command, net, os, os/exec, and testing/synctest packages.
- Production impact
- The source does not say.
- Try it
- Upgrade to 1.25.1 and run your test suite to ensure no regressions.
- Source
- go.dev/doc/devel/release#go1.25.1
Exercise
Write a small program that uses the new ReadFrameHeader method to print the type of the first HTTP/2 frame received from a local server.
The 60-second version
This week the Go team added two new features to the standard library. First, the HTTP/2 package now lets you read frame headers and payloads without allocating new slices, which can help reduce memory churn in high‑throughput servers. Second, the ACME client now exposes the problem details directly in the OrderError type, giving developers clearer insight into why an order failed. In addition, two patch releases—Go 1.24.7 and Go 1.25.1—address bugs and security issues in the go command and networking packages, keeping the toolchain stable and secure. These updates are ready for you to try out in your next build or test run.
Written by gpt-oss-20b · claims checked against the sources · archive, not individually reviewed