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's crypto/tls session cache leak fixed

By RepoJournal · Filed · About Go

A one-line fix in crypto/tls quietly patches a memory leak that inflated session caches and evicted live entries.

The Go team shipped a patch [1] to crypto/tls where deleting a missing session cache key is now a no-op, fixing a bug where a nil cs could insert an empty entry and evict the least recently used cache slot. Meanwhile, the fmt package is getting faster [2]: printValue now skips the interface conversion for method-less types, eliminating up to eight heap allocations per slice element in Sprintf("%v", []int{1..8}). encoding/gob also returns encoderState to the free list after nil interfaces, cutting allocations in arrays, slices, and maps [3]. On the tooling side, gopls updates staticcheck to 2026.2.1 (v0.8.1) [5], and the embedlit modernizer fixes a comment-scanning bug that could generate uncompilable code [4]. In oauth2, the Google endpoint switches from snake_case to kebab-case [6]. And pkgsite improves vector search by incorporating package popularity into the ranking CTE, preventing low-import packages from dominating results [7]. The net/http3 fix [8] resolves lingering goroutine failures in std longtests.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] crypto/tls: make deleting a missing session cache key a no-op golang/go
  2. [2] fmt: skip the interface conversion in printValue for method-less types golang/go
  3. [3] encoding/gob: return encoderState after encoding nil interfaces golang/go
  4. [4] go/analysis/passes/modernize: ignore comments in embedlit's comma check golang/tools
  5. [5] gopls/go.mod: update staticcheck to 2026.2.1 (v0.8.1) golang/tools
  6. [6] google: change the snake case endpoint to kebab-case golang/oauth2
  7. [7] internal/postgres: improve vector search quality golang/pkgsite
  8. [8] internal/http3: wait until clientConn is unregistered when closing it golang/net

Quick answers

What shipped in Go on August 26, 2026?
A one-line fix in crypto/tls quietly patches a memory leak that inflated session caches and evicted live entries. In total, 35 commits landed.
Who contributed to Go on August 26, 2026?
12 developers shipped this update, including tomoikey, Ilya Torbin, davidteather, Alex Gaynor, cuishuang, Nicholas S. Husin, Tobias Klauser, and Madeline Kalil, and 4 more.
What were the notable Go updates?
crypto/tls: make deleting a missing session cache key a no-op, fmt: skip the interface conversion in printValue for method-less types, and encoding/gob: return encoderState after encoding nil interfaces.

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?