Subscribe free
Morning Merge · Thursday, November 5, 20264 min read

Go's encoding/json/v2 is stable in Go 1.27

Also: a root-level apt fix for Debian, scale-to-zero Postgres, and 948 kernel bugs from one run

The main thing

An isometric engineering-blueprint drawing shows a new orange forming die seated in a weathered mechanical press, shaping a rough lump into a clean interlocking fitting.

If your Go service reads or writes JSON, you now have a second standard-library option to plan around. Nothing you shipped yesterday breaks today.

The Go team says the new encoding/json/v2 and encoding/json/jsontext packages are stable and generally available in Go 1.27. An experiment ran last year, and the API changed after feedback. The post makes the case for a new major version over more patches. In its words, the problems "are inherent consequences of the existing API," so fixing them in place would break the Go 1 compatibility promise.

The encoding/json behaviours the post calls out:

The post says the safer defaults should reject invalid UTF-8 and duplicate names. That is the direction v2 takes.

In the discussion, one commenter likes v2 but misses MarshalIndent. They say the replacement code is "super complicated and non-obvious," which makes migration slower. Another notes that the work took six years. Somewhere a // TODO: fix JSON comment from 2020 is finally getting closure.

What to do today: Nothing urgent. When you move to Go 1.27, read the full post. Then try v2 in one service that has good tests, and check any code that depends on the behaviours listed above.

Quick bits

Debian fixed an apt hole that gives root (DSA-6607-1, CVE-2026-109518). A man-in-the-middle can replace a package after verification, through an HTTP redirect and a resumed download. Trixie: upgrade apt to 3.0.4. The advisory names no other releases.

OpenAI says one pipeline run found 948 Linux privilege escalations. An upcoming cyber model found, validated and wrote patches for the bugs at an API cost of $1.2 million. Nothing in the material says the patches are merged. Discussion.

AlloyDB Express is Postgres that scales to zero. It is in preview. A database is up in under two seconds and pauses after 15 idle minutes. Compute costs $0.115 per CU-hour, with 50 free CUs a month. One database per test run, finally.

DreamHost confirms a months-long breach. Since August, attackers used a file manager bug to steal session tokens, emails and files from "well under 10%" of customers. If you host there, read its breach notice.

Copilot now runs inside Xcode's own coding assistant. It is a public preview that needs Xcode 27.3 beta on macOS Tahoe 26.6 or later. All Copilot plans work. Set it up in Settings > Intelligence.

GPT-Image-2.6 arrives in Codex and the API. OpenAI says its two new models, Flare and Sunburst, generate images 50% faster. ChatGPT also gets GIFs and reference images. Your mascot can now wave on loop.

Kimi K3.1 Pro weights are on Hugging Face. It is a 3T-class open-weight multimodal model with a 1M-token context. One commenter estimates you need roughly an 8x B300 node to run it. Third-party hosts already serve it.

OpenAI will acquire Pierre Computer Company to add tools for building and reviewing code to Codex. Commenters are worried about the open-source libraries that came out of its code.storage service. Discussion.

Also happening

Patch roundup

Six years for a JSON package, and your migration PR still has to be done by Friday.

← All issues

Get this in your inbox every morning.

Free. Five minutes. Unsubscribe in one click.

Subscribe free →