Skip to content

merman:0.7.0 - #6599

Open
Latias94 wants to merge 2 commits into
typst:mainfrom
Latias94:merman-0.7.0
Open

Latias94 wants to merge 2 commits into
typst:mainfrom
Latias94:merman-0.7.0

Conversation

@Latias94

@Latias94 Latias94 commented Dec 6, 2026

Copy link
Copy Markdown
Contributor

I am submitting

  • a new package
  • an update for a package

Updates merman from 0.6.0 (Merman 0.10.0) to 0.7.0 (Merman 0.12.1 / Mermaid 12.4.1).

Main changes:

  • Theme v2: replaces the old theme-preset / theme-appearance / theme-recipe arguments with theme and appearance, adds resolve-theme, and moves Mermaid theme variables to site-config.themeVariables.
  • Layout changes: adds the experimental Shoal layout (site-config: (layout: "shoal")) and drops the bundled ELK backend (layout-elk) from the plugin to keep the WASM smaller and remove the EPL-2.0 ELK component. Flowchart, State, Class, ER, Requirement, Usecase, and Agentflow now default to Dagre (including diagrams that specify layout: elk).
  • Wrapper & rendering fixes: raw Mermaid blocks keep their natural width by default (width: 100% to stretch), SVG output defaults to static resvg-safe, document-context: true handles dark pages without overriding custom typography, and parse errors include line:column.
  • Breaking changes: plugin ABI 4 and options schema 4 (wrapper and WASM must be updated together), raw options and shorthand arguments can no longer be mixed, and analyze-mermaid / export-theme-preset panic on transport or option errors instead of returning mixed shapes.

Note on WASM size: the stripped plugin is 15.26 MB (4.41 MB Brotli), up from 12.75 MB in 0.6.0 due to Theme v2, Shoal, and Mermaid 12.4.1 updates. Dropping ELK cut ~1.10 MB compared to keeping the full feature set (16.36 MB). Examples and gallery images stay excluded from runtime downloads via exclude = ["examples/**"].

Tested locally with typst 0.15.1 (minimum compiler stays 0.15.0): 25 example/test fixtures compile and 18 compile-fail diagnostic checks pass. Full changelog is in CHANGELOG.md.

@Latias94
Latias94 deployed to Package Check December 6, 2026 04:39 — with GitHub Actions Active
@typst-package-check typst-package-check Bot added the update A package update. label Dec 6, 2026
@Latias94
Latias94 deployed to Package Check December 6, 2026 04:45 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
Package Check — 9e35c4f2 Deployed Dec 6, 2026 by Latias94 via Lint #7782
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

update A package update.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant