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

Claude Code v2.1.248 ·

Diagram previews load their rendering script from the local preview server

The local preview server serves the diagram script itself, so previews render offline.

You'll notice Improvements
JSON All of v2.1.248
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
ArtifactsArea: what it touches
ImprovementsKind: in v2.1.248,
ImprovementsSection of the release
What

The local preview server that serves generated pages can now serve JavaScript as well as HTML. When a previewed page references the Mermaid diagram script, the server loads that bundle on demand and serves it as text/javascript, so diagrams render without reaching the network.

Details
  • Each served entry is now a body plus its own content type, rather than everything being forced to text/html; charset=utf-8.
  • If the bundle cannot be read, the failure is swallowed and recorded as a mermaid_bundle_unreadable telemetry event; the page still loads without the diagram script.
Evidence

mermaid_bundle_unreadable

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

See this entry in the whole of v2.1.248 →

Feedback