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.267 ·

Artifact republish supports a 'deadline' to force old viewers to stop

Republishing an artifact can set a deadline telling older open copies of it when to stop, plus a reserved preflight.js hook

TierUse it nowhow much it should matter to you
Useful4my rating, 1 to 5
Signal3worth watching, 1 to 5
AreaArtifactswhat it touches
KindNew Featuresin v2.1.267,
Group of 2 Use it now Notable

Republishing an artifact can set a deadline telling older open copies of it when to stop, plus a reserved preflight.js hook

What

  • Republishing an artifact now accepts an optional deadline value of now, 15m, 1h, 24h, 7d, or an ISO UTC timestamp, telling already-open older-version viewers of the artifact when they must stop. Published changes already reach open viewers automatically; this field is only for forcing old versions off. Multiple deadline declarations accumulate, and the earliest one wins.
  • The file name preflight.js at an artifact's root is now reserved: it runs against open pages when the artifact is published, and it must be an ES module of 8 KiB or less with a default-export function, or the publish is refused.

Why

This lets a publisher forcibly retire stale open copies of a republished artifact instead of leaving them running indefinitely, and it reserves a hook point (preflight.js) for publish-time checks.

Read from
Names in the bundledeadline
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Environment variables touched a line naming deadline after this was published. | `CLAUDE_CODE_WEBFETCH_DEADLINE_MS` | Upper bound in milliseconds on how long [WebFetch](/docs/en/tools-reference#webfetch-tool-behavior) waits for a page to download, including any redirects it follows. A download that hasn't completed b… env-vars see the edit
Confirmed since Anthropic's documentation has since written up deadline, on Claude Code changelog. * Fixed WebFetch hanging indefinitely on a server that keeps the response open without finishing; a fetch now fails after 300 seconds. Set `CLAUDE_CODE_WEBFETCH_DEADLINE_MS` to override the deadline (0 turns it off) changelog see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up deadline, on Claude Code changelog.

See this entry in the whole of v2.1.267 →

Feedback