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 ·

Published pages load the Mermaid diagram runtime from the host instead of inlining it

Published pages with diagrams are far smaller, loading the diagram library from the host.

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

Publishing a page with Mermaid diagrams no longer embeds the whole diagram library in the HTML. The page instead references /_runtime/mermaid-11.16.1.min.js served by the artifact host, so published pages are far smaller but now depend on the host serving that path.

Details
  • The HTML validator, which otherwise rejects any script with a src, was relaxed to permit exactly that one bare tag; anything else still fails with "External scripts are not allowed".
  • The diagram bootstrap now returns immediately if the library is missing, so a page degrades quietly rather than erroring when the host does not serve it.
  • The oversize-publish warning now mentions only "the inline highlighting runtime included"; the diagram runtime is no longer part of the size story.
Evidence

/_runtime/mermaid-11.16.1.min.js

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