{"version":"2.1.309","anchor":"doc-update-accepts-max-replaced-content-bytes","canonical_anchor":"doc-update-accepts-max-replaced-content-bytes","heading":"Updating a doc can now cap how much content gets replaced","tier":"internal","area":"Projects","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.309\/e\/doc-update-accepts-max-replaced-content-bytes","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.309","markdown":"### Updating a doc can now cap how much content gets replaced\n\nA document update can now carry `max_replaced_content_bytes`, a cap on how much existing content it may replace\n\n**What**\n\nWhen Claude Code updates a document, it can now send `max_replaced_content_bytes`, a limit on how much existing content the update may replace. It is sent alongside the existing check that the document has not changed in the meantime.\n\n**Why**\n\nThis guards against an update accidentally overwriting a large part of a document.\n\n- Area: Projects\n- Names: `max_replaced_content_bytes`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}