RepoJournal
Go

@golang

Go and the standard library - backend infrastructure at scale

Keep up with Go in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: Go Infrastructure Full archive →

The Wire · Showcase

GO AUTH CREDENTIALS FIXED, JSON V2 DROPS CYCLE GUARANTEE

By RepoJournal · Filed · About Go

A URL query parsing bug in cmd/go's credential matching gets fixed [ref:1], while the JSON encoder removes its cycle detection guarantee in v2 [ref:3].

The most critical change lands in cmd/go, where loadCredential now properly parses URLs before matching auth credentials [1]. Previously, requests to example.com/api?version=1 were skipped entirely because the query string was stripped during path hierarchy walks. The compiler also cleans up legacy workarounds by using Go 1.21's built-in min and max functions instead of custom helpers [2], dropping support for older bootstrap toolchains. On the JSON front, encoding/json/v2 removes its guarantee that cyclic inputs cause an error, giving the team flexibility to potentially optimize cycle detection later without breaking v2 contracts [3]. The build system gets leaner too, with cmd/go/internal/work dropping the now-redundant check cache action [4], which was only needed to signal cover and cgo whether to run. The tooling team documents that the present package assumes presentation authors are trusted and lacks security hardening [6], preventing surprises for users deploying it in untrusted environments. Across vulndb, five new vulnerability reports land alongside a test timeout reduction from 20 minutes to 10 minutes [5], and NetBSD users get a critical fix disabling AVX+ registers on amd64 due to signal handler corruption [7].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] cmd/go: match GOAUTH credentials for URLs with queries golang/go
  2. [2] cmd/compile/internal/liveness: use built-in min and max functions golang/go
  3. [3] encoding/json/v2: remove cycle detection guarantee golang/go
  4. [4] cmd/go/internal/work: remove check cache action golang/go
  5. [5] all: cut test timeout from 20m -> 10m golang/vulndb
  6. [6] present, cmd/present, cmd/present2md: document lack of security hardening golang/tools
  7. [7] cpu: disable AVX+ on netbsd/amd64 golang/sys

Quick answers

What shipped in Go on August 12, 2026?
A URL query parsing bug in cmd/go's credential matching gets fixed [ref:1], while the JSON encoder removes its cycle detection guarantee in v2 [ref:3]. In total, 39 commits landed.
Who contributed to Go on August 12, 2026?
11 developers shipped this update, including cuishuang, Ilya Torbin, Michael Pratt, Michael Matloob, Guoqi Chen, Damien Neil, Gopher Robot, and Neal Patel, and 3 more.
What were the notable Go updates?
cmd/go: match GOAUTH credentials for URLs with queries, cmd/compile/internal/liveness: use built-in min and max functions, and encoding/json/v2: remove cycle detection guarantee.

More from @golang

Daily updates, in your inbox

Follow Go

Keep up with Go in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?