Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.232 Home All releases olderv2.1.231 v2.1.233newer
Claude Code v2.1.232

Edits preserve a file's encoding and CRLF line endings

You'll notice
Useful4 Signal2
File Editing

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

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.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.232 →