# Changelog

## Score

- CAI 51 → 49 (-2.0)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

## Lenses

- Code Health 57 → 44 (-13.5)
- Architecture 90 → 91 (+0.6)
- Maturity 75 → 75 (-0.3)
- Readiness 57 → 59 (+1.7)
- Security 64 → 66 (+2.3)
- Accessibility 41 → 43 (+2.2)
- Performance 60 → 60 (+0.0)

## Resolved (137)

- Change coupling: flowDb.ts ↔ imageSquare.ts (packages/mermaid/src/diagrams/flowchart/flowDb.ts)
- Critical CVE: [GHSA redacted] (pnpm-lock.yaml)
- Critical vulnerability: [GHSA redacted] (pnpm-lock.yaml)
- Cross-context type DiagramAST (parser → mermaid) (packages/mermaid/src/diagrams/common/populateCommonDb.ts)
- FunctionTooLong: erMarkers.insertMarkers (packages/mermaid/src/diagrams/er/erMarkers.js)
- FunctionTooLong: erRenderer.drawAttributes (packages/mermaid/src/diagrams/er/erRenderer.js)
- FunctionTooLong: validateLayout.validateLayout (packages/mermaid/src/rendering-util/layout-algorithms/layout-utils/validateLayout.ts)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- …and 117 more

## New (260)

- ClassTooLong: GridEdgeRoutingSession (packages/mermaid/src/rendering-util/layout-algorithms/grid/routerSession.ts)
- ClassTooLong: layered (packages/mermaid/src/rendering-util/layout-algorithms/layered/layered.ts)
- FileTooLong: direction/geometry.ts (packages/mermaid/src/rendering-util/layout-algorithms/swimlanes/direction/geometry.ts)
- FileTooLong: grid/edgeLabels.ts (packages/mermaid/src/rendering-util/layout-algorithms/grid/edgeLabels.ts)
- FileTooLong: grid/routerCompatibility.ts (packages/mermaid/src/rendering-util/layout-algorithms/grid/routerCompatibility.ts)
- FileTooLong: grid/routerPlanning.ts (packages/mermaid/src/rendering-util/layout-algorithms/grid/routerPlanning.ts)
- FileTooLong: grid/routerSearch.ts (packages/mermaid/src/rendering-util/layout-algorithms/grid/routerSearch.ts)
- FileTooLong: grid/routerSession.ts (packages/mermaid/src/rendering-util/layout-algorithms/grid/routerSession.ts)
- FileTooLong: grid/routerSparse.ts (packages/mermaid/src/rendering-util/layout-algorithms/grid/routerSparse.ts)
- FileTooLong: grid/routerTopology.ts (packages/mermaid/src/rendering-util/layout-algorithms/grid/routerTopology.ts)
- FileTooLong: layered/compound.ts (packages/mermaid/src/rendering-util/layout-algorithms/layered/compound.ts)
- FileTooLong: layered/layered.ts (packages/mermaid/src/rendering-util/layout-algorithms/layered/layered.ts)
- FunctionTooLong: compound.compoundLayout (packages/mermaid/src/rendering-util/layout-algorithms/layered/compound.ts)
- FunctionTooLong: compound.routeCrossings (packages/mermaid/src/rendering-util/layout-algorithms/layered/compound.ts)
- FunctionTooLong: index.run (packages/mermaid/src/rendering-util/layout-algorithms/layered/index.ts)
- FunctionTooLong: layered.assignTracks (packages/mermaid/src/rendering-util/layout-algorithms/layered/layered.ts)
- FunctionTooLong: layered.layered (packages/mermaid/src/rendering-util/layout-algorithms/layered/layered.ts)
- FunctionTooLong: layered.position (packages/mermaid/src/rendering-util/layout-algorithms/layered/layered.ts)
- FunctionTooLong: layered.reduceCrossings (packages/mermaid/src/rendering-util/layout-algorithms/layered/layered.ts)
- FunctionTooLong: layered.settle (packages/mermaid/src/rendering-util/layout-algorithms/layered/layered.ts)
- …and 240 more

## Changes since last survey

- 300 commits — 209 feature/other, 91 fixes

## By area

- packages/mermaid — 147 commits
- (repo) — 89 commits
- docs/config — 21 commits
- e2e/diagrams — 16 commits
- (root) — 5 commits
- docs/syntax — 4 commits
- e2e/platform — 4 commits
- docs/intro — 3 commits
- .changeset/nested-group-in-lane.md — 2 commits
- .github/workflows — 2 commits
- demos/flowchart-grid.html — 2 commits
- e2e/rendering — 2 commits
- .changeset/grid-layout.md — 1 commit
- e2e/__snapshots__ — 1 commit
- e2e/helpers — 1 commit

## Notable commits

- fix: Additional fix since one flowchart diagram failed with crossing edges
- fix: Merge branch 'develop' into bug/8580_elk-bidirectional-label-overlap
- fix: Merge branch 'develop' into fix/8327_label-ranks-stack
- fix: Merge branch 'develop' into fix/8327_label-ranks-stack
- fix: Merge branch 'develop' into fix/swimlane-diamond-edge-start
- fix: Merge branch 'develop' into fix/swimlane-lr-label-stretch-anchored
- fix: Merge branch 'develop' into fix/swimlane-straight-connector-lane-separation
- fix: Merge branch 'develop' into pebr/fix-flaky-gantt-screenshot-test
- fix: Merge pull request #8385 from filipsajdak/fix/8327_label-ranks-stack
- fix: Merge pull request #8532 from Devehab/fix/8507-bump-elkjs-0.12
- fix: Merge pull request #8566 from mermaid-js/pebr/fix-flaky-gantt-screenshot-test
- fix: Merge pull request #8581 from lrharboe/bug/8580_elk-bidirectional-label-overlap
- fix: Merge pull request #8617 from mermaid-js/docs/site-fixes
- fix: Merge pull request #8659 from lazerg/bug/8658_escape-numeric-svg-id
- fix: Merge pull request #8668 from filipsajdak/fix/swimlane-lr-label-stretch-anchored
- fix: Merge pull request #8670 from filipsajdak/fix/swimlane-diamond-edge-start
- fix: Merge pull request #8693 from filipsajdak/fix/swimlane-straight-connector-lane-separation
- fix: Merge remote-tracking branch 'origin/fix/8327_label-ranks-stack'
- fix: [autofix.ci] apply automated fixes
- fix: [autofix.ci] apply automated fixes
- …and 280 more
