Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.284 ·

Write tool compares file contents with line endings taken into account

The Write tool may now adjust its content during the permission check, and it takes the file's line-ending style into account when comparing two writes

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

Unclear It is not clear what the transformation applied to the content during the permission check actually does.

What

The Write tool lets Claude create a file or replace a file's contents. When Claude Code checks whether a write is allowed, it now runs a transformation on the new content. If that changes the content, the changed version is what goes ahead.

Claude Code also changed how it decides whether two write requests are the same. It used to ignore trailing blank lines and compare the text directly. It now first adjusts the content to match the file's line-ending style. The line-ending style is the invisible character that ends each line, which is different on Windows (CRLF) and on macOS and Linux.

Why

This mostly affects files that use Windows-style line endings. Two writes that differ only in how lines end can now count as the same.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear what the transformation applied to the content during the permission check actually does.

See this entry in the whole of v2.1.284 →

Feedback