Radar · Go · Archive · Week 19 · May 5 – 11, 2025
go1.24.3 release
Breakingecosystem
- What changed
- The release contains security fixes to the os package and bug fixes to the runtime, compiler, linker, go command, crypto/tls, and os packages.
- Production impact
- The source does not say.
- Try it
- Upgrade to go1.24.3 and run
go vet ./...to ensure no new vet warnings appear. - Source
- go.dev/doc/devel/release#go1.24.3
Understand it, then run it
Run it now
// This program demonstrates that the os package works as usual after the 1.24.3 update.
// It creates a temporary file, writes a line, reads it back, and prints the content.
// The code compiles and runs in Go 1.27.1, which already includes the 1.24.3 patch.
package main
import (
"fmt"
"io/ioutil"
"os"
)
func main() {
// Create a temporary file
tmp, err := os.CreateTemp("", "example")
if err != nil {
fmt.Println("create temp:", err)
return
}
defer os.Remove(tmp.Name())
// Write to the file
if _, err := tmp.WriteString("Hello, world!\n"); err != nil {
fmt.Println("write:", err)
return
}
tmp.Close()
// Read the file back
data, err := ioutil.ReadFile(tmp.Name())
if err != nil {
fmt.Println("read:", err)
return
}
fmt.Printf("File content: %s", data)
}
What it printed when we ran it on Go 1.27.1
File content: 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.
Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed