Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.265 ·

New artifact document versioning guidance text

New guidance text explains how to safely update artifact documents using version numbers

TierYou'll noticehow much it should matter to you
Useful3my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaArtifactswhat it touches
KindImprovementsin v2.1.265,
You'll notice No documentation found

New guidance text explains how to safely update artifact documents using version numbers

What

Claude Code has new built-in guidance explaining how to edit "artifact" documents safely when multiple edits might happen. Every time a document is read or written, the response includes a version number. To update the document with update or str_replace, that version must be passed back as if_version. If the document has changed since that version was read, the write is refused and nothing is applied.

Why

This prevents one edit from silently overwriting changes made in between, since a write only succeeds if it's based on the document's current version.

Read from
Names in the bundleif_version

See this entry in the whole of v2.1.265 →

Feedback