Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.274 ·

Draft restoration now preserves pasted-content mode correctly

Restoring a saved draft now correctly preserves pasted content only for prompt-mode drafts

You'll notice Bug Fixes
JSON All of v2.1.274
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
Bug FixesKind: in v2.1.274,
Bug FixesSection of the release
What

When Claude Code restores a previously saved draft of your input (for example after using summarize or undo), it now checks what kind of draft it is:

  • prompt drafts are re-parsed so any pasted-content placeholders are correctly restored
  • other kinds of drafts, such as bash input, keep their raw text and are treated as having no pasted content
  • the function that restores pasted content is only called when there is actually pasted content to restore
Why

Previously, restoring a draft could mishandle pasted content depending on the draft's mode. This fix makes sure pasted text (like a block of code or file contents you pasted in) comes back correctly when you return to a prompt draft, without incorrectly applying pasted-content logic to non-prompt drafts like bash commands.

See this entry in the whole of v2.1.274 →

Feedback