You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Bug FixesKind: in v2.1.326,
Bug FixesSection of the release
What
A diff is the display of what changed in a file. Diffs can contain note lines that start with a backslash, such as "\ No newline at end of file". Claude Code now shows these as dimmed notes with no line number. Before, they were shown as if they were part of the file.
Code colouring in diffs now follows a theme. Code blocks with a fixed width are passed straight to the terminal with their colours as they are.
Why
Diffs no longer show a note as if it were a line of your file.
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed diffs numbering "No newline at end of file" as a line of code, which shifted the line numbers after it