{"version":"2.1.242","anchor":"artifact-publish-can-delete-files-and-set-per-file-live-stat","canonical_anchor":"artifact-publish-can-delete-files-and-set-per-file-live-stat","heading":"Artifact publish can delete files and set per-file live state","tier":"use","area":"Artifacts","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.242\/e\/artifact-publish-can-delete-files-and-set-per-file-live-stat","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.242","markdown":"### Artifact publish can delete files and set per-file live state\n\nArtifact publishes can delete files and set per-file live state, but only in patch publishes.\n\n**What**\n\nThe `files` argument now takes `null` entries to remove a file, and per-file `live` and `reseed` flags. Removals only work in a patch publish that names `baseVersion`; a first publish or one without a named base is refused with an explanation.\n\n**Details**\n\n- `index.html` cannot be removed.\n- Duplicate paths in one publish are rejected.\n- The manifest-size error now counts files plus removals together.\n\n**Evidence**\n\n`\"index.html\" is the page itself and can't be removed. Drop that entry.`\n\n- Area: Artifacts\n- Names: `baseVersion`, `reseed`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 2\/5"}