Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.229 ·

Truncating a file to empty is no longer skipped

Truncating a file to empty now actually empties it instead of doing nothing.

You'll notice Bug Fixes
JSON All of v2.1.229
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
File WritesArea: what it touches
Bug FixesKind: in v2.1.229,
Bug FixesSection of the release
What

The append helper previously routed to the storage backend only when there was content to write, so a write in truncating mode with an empty payload did nothing. It now routes on mode as well, and the file is emptied as asked.

Evidence

r === "w" || t.length > 0

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.229 →

Feedback