Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

File attachments can point at a range of lines

A file you attach can now name a starting line and number of lines, and Claude Code reads just that range

You'll notice Improvements
JSON All of v2.1.331
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.331,
ImprovementsSection of the release
What

When a file is attached to your message, the attachment can now carry a range: a starting line (offset) and a number of lines (limit). Claude Code passes that range to the Read tool, the tool Claude uses to open files. Before, only the file path was passed, so the whole file was read.

If the content is cut short, the note now says it is the lines of the range that were cut.

Why

Mentioning part of a file now gets that part read, rather than the start of the file.

See this entry in the whole of v2.1.331 →

Feedback