Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.242 ·

Publishing an artifact can now remove files from it

You can remove files when publishing an artifact instead of re-listing everything you keep.

Use it now No documentation found New Features
JSON All of v2.1.242
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
ArtifactsArea: what it touches
New FeaturesKind: in v2.1.242,
What probably matters to youSection of the release
What

A publish can delete supporting files as well as add them, so an update no longer means re-listing everything you want to keep. Pass a removeFiles list of paths, or set a path to null in the map form of files, and those files are dropped from the artifact's next version while every file you left out stays published as it was.

Details
  • The permission prompt counts the deletions as "removing N file(s) from its current version", and appends "(its other published files stay)" when only some of the artifact's files are going.
  • Removal is refused when the publish would create a new artifact rather than update an existing one, since there is nothing yet to remove from.
  • Removed names are resolved and checked to sit inside the artifact's files/ directory before being unlinked, and are recorded in the published manifest.json under a new removed key.
  • Publish arguments also accept liveFiles, new in this build; files, removeFiles and liveFiles each count as a content-bearing update on their own.
  • The local publishing stub used during development no longer wipes the whole files directory on each publish, so unlisted files persist instead of vanishing.
  • The defence against symlinks pointing outside the artifact now walks every parent directory up to the artifact root instead of checking only the immediate parent, and a file that fails the check is skipped and logged rather than aborting the whole publish.
  • If the account does not have multi-file publishing, the refusal now states plainly that nothing was published or removed and the artifact is unchanged.
  • Publish telemetry gained a count of removed files.
Evidence

artifact stub: skipping removal of , `A null entry in files removes a file from an existing artifact, files left out of the map are kept and null removes that path`

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
Names in the bundleremoveFiles

See this entry in the whole of v2.1.242 →

Feedback