Skip to content

Commit dd5ea77

Browse files
authored
Merge pull request #7913 from mermaid-js/pebr/fix-changesets
Changeset fixes
2 parents 9171c91 + 658ee66 commit dd5ea77

30 files changed

Lines changed: 30 additions & 123 deletions

.changeset/add-cynefin-diagram.md

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,6 @@
11
---
22
'mermaid': minor
3+
'@mermaid-js/parser': minor
34
---
45

5-
Add Cynefin framework diagram type (beta)
6-
7-
Adds the Cynefin framework as a new diagram type to Mermaid (available as `cynefin-beta`). The Cynefin framework, created by Dave Snowden, is a decision-making framework that categorizes problems into five complexity domains, widely used in agile, incident management, strategy, and organizational design.
8-
9-
Features:
10-
11-
- Five fixed domains in canonical layout: Complex, Complicated, Clear, Chaotic, and Confusion
12-
- Wavy organic boundaries between domains using deterministic SVG bezier curves
13-
- The "cliff" between Clear and Chaotic (catastrophic transition indicator)
14-
- Confusion/Disorder center ellipse overlay
15-
- Domain metadata including decision models (Probe/Sense/Respond etc.) and practice types
16-
- Items placed as text badges within each domain
17-
- Transition arrows between domains with optional labels
18-
- Full theme integration across all five mermaid themes
19-
- Schema-driven configuration: width, height, padding, showDomainDescriptions, boundaryAmplitude
20-
- Accessibility: ARIA roles, labels, descriptions
21-
22-
This is the first text-based DSL for Cynefin diagrams in any diagramming tool.
23-
24-
Implementation includes Langium grammar, modular renderer, unit tests, integration tests, Cypress e2e tests, and comprehensive documentation.
6+
feat(cynefin): Adds the Cynefin framework as a new diagram type (beta) to Mermaid (available as `cynefin-beta`). The Cynefin framework, created by Dave Snowden, is a decision-making framework that categorizes problems into five complexity domains, widely used in agile, incident management, strategy, and organizational design.

.changeset/add-treeview-box-drawing-input.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22
'mermaid': minor
33
---
44

5-
feat: add box-drawing character input support for treeView diagrams
6-
7-
Adds an alternative input syntax for treeView-beta diagrams using box-drawing characters (├──, └──, │). The parser auto-detects box-drawing format and converts it to the standard indent-based representation before parsing. Error messages remap line numbers back to the original input. Includes 42 unit tests and 4 AST equivalence integration tests.
5+
feat(treeView): add box-drawing character input support for treeView diagrams

.changeset/add-xychart-point-labels.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'mermaid': minor
33
---
44

5-
feat: add per-point text labels for xychart line plots
5+
feat(xychart): add per-point text labels for xychart line plots

.changeset/architecture-seed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'mermaid': patch
33
---
44

5-
fix: add `architecture.seed` config option to make architecture diagrams render deterministically. The underlying `cytoscape-fcose` layout calls `Math.random()` internally even with `randomize: false`, so visual regression tests failed on every CI run. The renderer now temporarily seeds `Math.random` with a mulberry32 seeded generator while `fcose` runs and restores it immediately after. Default seed is `1`, making architecture layouts deterministic by default — set `architecture.seed: 0` to opt out of seeding and recover the pre-fix non-deterministic behavior. Resolves #7729.
5+
fix(architecture): add `architecture.seed` config option to make architecture diagrams render deterministically. Resolves #7729.

.changeset/blue-insects-act.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,4 @@
22
'mermaid': patch
33
---
44

5-
fix(frontmatter): tolerate leading horizontal whitespace before YAML frontmatter delimiters
6-
7-
Mermaid blocks captured with surrounding indentation (for example when extracted from indented HTML or markdown) previously failed with "Syntax error in text" because `^---` had to sit at column zero. The frontmatter regex now anchors the closing delimiter to the same indent as the opening one, and the YAML body is dedented before parsing so tab-indented blocks work too.
8-
9-
Closes mermaid-js/mermaid#7613
5+
fix: tolerate leading horizontal whitespace before YAML frontmatter delimiters. Closes mermaid-js/mermaid#7613

.changeset/brave-radios-live.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'mermaid': patch
33
---
44

5-
fix: Prevent crash when flowchart node shape is undefined
5+
fix(flowchart): Prevent crash when flowchart node shape is undefined

.changeset/crazy-jobs-see.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/cyan-oranges-taste.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'mermaid': patch
33
---
44

5-
fix: Render gantt vertical markers without affecting row layout or chart height
5+
fix(gantt): Render gantt vertical markers without affecting row layout or chart height

.changeset/cynefin-seed.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/elk-merge-edges-subgraphs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'@mermaid-js/layout-elk': patch
33
---
44

5-
fix: propagate `elk.mergeEdges` config to subgraphs in ELK layout — previously edges defined inside a subgraph were not merged even when `elk.mergeEdges: true` was set
5+
fix(elk): propagate `elk.mergeEdges` config to subgraphs in ELK layout — previously edges defined inside a subgraph were not merged even when `elk.mergeEdges: true` was set

0 commit comments

Comments
 (0)