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.