Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

stream-json output passes through frames already being written

Claude Code's stream-json output no longer re-splits a frame it is already writing, lowering the risk of garbled output

Under the hood Internal Changes
JSON All of v2.1.331
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Internal ChangesKind: in v2.1.331,
Internal ChangesSection of the release
What

stream-json is an output mode where Claude Code writes one JSON message per line. A guard checks that output and diverts anything that is not JSON. When the guard is handed the exact frame that is already being written and has nothing else waiting, it now passes it straight through. Before, every write was held back and split into lines.

Why

Not splitting a frame that is already in progress lowers the chance of broken stream-json output for programs that read it.

Read from
Names in the bundlestream-json

See this entry in the whole of v2.1.331 →

Feedback