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 ·

An empty object is now written as {} in sorted JSON output

Claude Code's sorted-key JSON writer was rewritten and now outputs {} for an empty object

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
0Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Internal ChangesKind: in v2.1.331,
Internal ChangesSection of the release
What

JSON is a common text format for data. Claude Code has a JSON writer that puts keys in sorted order. It was rewritten, and it now writes an empty object as {}.

Why

This can change the exact text of requests sent to the model. Text that stays the same from one request to the next helps the prompt cache, the saved copy of earlier input that makes repeated requests faster.

See this entry in the whole of v2.1.331 →

Feedback