Radar · Go · Archive · Week 45 · Nov 3 – 9, 2025
go1.24.10 released
Nice to knowtooling
- What changed
- The release includes fixes to the
encoding/pemandnet/urlpackages. - Production impact
- The source does not say.
- Try it
- Run
go test ./...to verify that URL parsing behaves as expected. - Source
- go.dev/doc/devel/release#go1.24.10
Understand it, then run it
Run it now
// This program demonstrates the fixed behaviour of url.Parse in Go 1.24.10.
// It parses a URL with an uncommon scheme and prints the components.
package main
import (
"fmt"
"net/url"
)
func main() {
// URL with a non‑standard scheme that previously caused a panic.
u, err := url.Parse("custom://example.com/path?query=1")
if err != nil {
fmt.Println("Parse error:", err)
return
}
fmt.Println("Scheme:", u.Scheme)
fmt.Println("Host:", u.Host)
fmt.Println("Path:", u.Path)
fmt.Println("RawQuery:", u.RawQuery)
}
What it printed when we ran it on Go 1.27.1
Scheme: custom Host: example.com Path: /path RawQuery: query=1
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