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

Claude Code v2.1.232 ·

Edits preserve a file's encoding and CRLF line endings

Edits now preserve a file's encoding and Windows CRLF line endings instead of rewriting them.

You'll notice Improvements
JSON All of v2.1.232
You'll noticeTier: how much it should matter to you
4Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
File EditingArea: what it touches
ImprovementsKind: in v2.1.232,
What probably matters to youSection of the release
What

The sed-style edit path now reads the raw bytes of a file, detects its encoding and whether it uses Windows CRLF line endings from the first 4096 bytes, and writes back using both. Previously it assumed a single encoding lookup, which could rewrite line endings.

Details
  • The synchronous byte-read helper was removed from the filesystem layer; callers use the async read instead.
Evidence

readFileBytes

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.232 →

Feedback