Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.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

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

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