Skip to content

Commit acc7c51

Browse files
authored
docs: release v0.3.0 πŸš€ (#49)
* docs: release v0.3.0 * update changelog
1 parent 3251d2f commit acc7c51

File tree

5 files changed

+16
-1
lines changed

5 files changed

+16
-1
lines changed

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 0.3.0 (2023-12-10)
2+
3+
## Library
4+
5+
### Features
6+
7+
- Support sequence elements creation and destruction and upgrade mermaid to 10.9.0 [#46](https://github.com/excalidraw/mermaid-to-excalidraw/pull/46) by [@ad1992](https://github.com/ad1992).
8+
9+
### Fixes
10+
11+
- Fix double rendering of class diagrams when name space present and also fix grouping [#46](https://github.com/excalidraw/mermaid-to-excalidraw/pull/46) by [@ad1992](https://github.com/ad1992).
12+
113
## 0.2.0 (2023-12-06)
214

315
## Library

β€Žpackage.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@excalidraw/mermaid-to-excalidraw",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"description": "Mermaid to Excalidraw Diagrams",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

β€Žsrc/parser/class.tsβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@ export const parseMermaidClassDiagram = (
417417
containerEl: Element
418418
): Class => {
419419
diagram.parse();
420+
//@ts-ignore
420421
const mermaidParser = diagram.parser.yy;
421422
const direction = mermaidParser.getDirection();
422423

β€Žsrc/parser/flowchart.tsβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ export const parseMermaidFlowChartDiagram = (
222222
diagram.parse();
223223

224224
// Get mermaid parsed data from parser shared variable `yy`
225+
//@ts-ignore
225226
const mermaidParser = diagram.parser.yy;
226227
const vertices = mermaidParser.getVertices();
227228
Object.keys(vertices).forEach((id) => {

β€Žsrc/parser/sequence.tsβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ export const parseMermaidSequenceDiagram = (
470470
diagram.parse();
471471

472472
// Get mermaid parsed data from parser shared variable `yy`
473+
//@ts-ignore
473474
const mermaidParser = diagram.parser.yy;
474475
const nodes: Array<Node[]> = [];
475476
const groups = mermaidParser.getBoxes();

0 commit comments

Comments
Β (0)