Skip to content

Bump github.com/2389-research/mermaidkit from 1.0.0 to 1.4.0 - #53

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/swift/github.com/2389-research/mermaidkit-1.4.0
Open

Bump github.com/2389-research/mermaidkit from 1.0.0 to 1.4.0#53
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/swift/github.com/2389-research/mermaidkit-1.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 20, 2026

Copy link
Copy Markdown

Bumps github.com/2389-research/mermaidkit from 1.0.0 to 1.4.0.

Release notes

Sourced from github.com/2389-research/mermaidkit's releases.

v1.4.0 — SVG export, RenderScene IR, git-log front-end

A platform-free render IR with SVG output, and a fifth input front-end. All additive — existing diagram rendering is unchanged.

SVG export

MermaidRenderer.svg(source:theme:) renders any of the 30 diagram types to a standalone SVG document — with no CoreGraphics. It goes through a new public, platform-free render IR:

  • RenderScene (MermaidLayout) — a Codable display list that fully determines the picture (shaped nodes, arrowed/dashed edges, text, containers), lowered from every diagram type; SVGRenderer.svg(_:) paints it. This is the foundation for a planned native Android renderer and a plugin/interchange contract (docs/notes/android.md).
  • Cross-process determinism is CI-gated for the RenderScene/SVG pipeline as well as the raster path.

New front-end: git log → gitgraph

GitLogParser.parse(_:) turns git log output into the GitGraph IR — a fifth input front-end after Mermaid, DOT, Dippin, and SQL. Two-pass topological ordering, branch-lane derivation from ref decorations, --format gitlog in mermaidkit-term.

Full notes in CHANGELOG.md.

🤖 Generated with Claude Code

v1.3.0 — DOT export, SQL → ER, diagram narration

Three new capabilities on the front/back-end seam. All additive — the rendered output of existing diagrams is unchanged.

DOT export

DOTExporter.export(_:) emits a Flowchart as Graphviz DOT — the inverse of the DOT front-end, so MermaidKit is now a Mermaid ⇄ DOT converter. Flat charts round-trip exactly; clustered charts round-trip structurally.

SQL DDL → ER front-end

SQLDDLParser.parse(_:) turns a CREATE TABLE schema dump into an ER diagram: typed columns, PRIMARY/FOREIGN/UNIQUE keys (inline and table-level), and REFERENCES → one-to-many crow's-foot relationships. Handles dialect quoting and comments; degrades to nil on malformed input.

  • New: ERDiagram.Attribute.keys renders PK/FK/UK badges (no-op when empty, so existing erDiagram output is unchanged).

Diagram narration

MermaidAltText.narrate(_:) — a step-by-step accessibility walkthrough (richer than describe's summary): follows a flowchart through its decisions, reads a state machine from its initial state, spells out ER cardinalities, replays a sequence message by message. Every other type falls back to describe. Deterministic and length-bounded.

Full notes in CHANGELOG.md.

🤖 Generated with Claude Code

v1.2.0 — DOT + Dippin front-ends, terminal renderer, layout pass

Two new front-ends, a terminal renderer, and an edge-label/back-edge layout pass. Additive to the public API; the layered/graph families render better and their gallery images are regenerated to match.

New

  • Graphviz DOT & Dippin front-endsDOTParser.parse(_:) / DippinParser.parse(_:) produce the Flowchart IR, so any .dot/.dip file renders through the same layout on every backend (Apple CoreGraphics, Linux Silica/Cairo, terminal).
  • Render an already-parsed diagramMermaidRenderer.pngData(diagram:) / image(diagram:) / rgbaRaster(diagram:) (with bounded raster dimensions).
  • NodeShape.hexagon and .subroutine.
  • mermaidkit-term (experimental) — renders Mermaid/DOT/Dippin in the terminal, best tier first: Kitty graphics → half-block truecolor → colored box-drawing → ASCII, with capability + background detection. Platform-free, runs headless on Linux/CI.

Layout

  • Edge labels center on the arrow-free run midpoint with reserved stub length, crowded parallel captions stagger, back-edges route up a gutter, needless jogs straighten, and fan-out edges spread onto distinct tracks. New linter rules ratchet it: label-on-fixture, label-crowds-edge, edges-doubled.

Full notes in CHANGELOG.md.

🤖 Generated with Claude Code

v1.1.0 — parseWithMetadata + perf fixes

Additive, output-identical refinements on top of 1.0.0.

... (truncated)

Commits
  • 8030ad9 Merge pull request #27 from 2389-research/docs/refresh-v1.4
  • c107c77 CodeRabbit #27: qualify the zero-dependency stat (Silica-free default)
  • f6956f7 docs + CHANGELOG for v1.4.0 (SVG export, RenderScene, git-log front-end)
  • 35319e7 docs: bring README/website current for v1.4.0
  • 5fc1cb1 Merge pull request #26 from 2389-research/feature/scene-determinism-gate
  • 565b9e9 Phase 0c: extend the cross-process determinism gate to the RenderScene/SVG path
  • a614a9a Merge pull request #25 from 2389-research/feature/render-scene-0b3b
  • cfca733 CodeRabbit #25: treemap value-format guard, wardley label measure, coverage a...
  • 0d992ab Phase 0b-3b: lower the final 10 diagram families to RenderScene
  • f54f988 Merge pull request #24 from 2389-research/feature/render-scene-0b3a
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/2389-research/mermaidkit](https://github.com/2389-research/MermaidKit) from 1.0.0 to 1.4.0.
- [Release notes](https://github.com/2389-research/MermaidKit/releases)
- [Commits](2389-research/MermaidKit@v1.0.0...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/2389-research/mermaidkit
  dependency-version: 1.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file swift_package_manager Pull requests that update swift_package_manager code labels Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file swift_package_manager Pull requests that update swift_package_manager code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants