Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
d2-v0.7.1-macos-arm64.tar.gz | < 18 hours ago | 20.2 MB | |
d2-v0.7.1-linux-amd64.tar.gz | < 18 hours ago | 21.2 MB | |
d2-v0.7.1-linux-arm64.tar.gz | < 18 hours ago | 19.9 MB | |
d2-v0.7.1-macos-amd64.tar.gz | < 18 hours ago | 21.1 MB | |
d2-v0.7.1-windows-amd64.msi | < 18 hours ago | 19.1 MB | |
d2-v0.7.1-windows-amd64.tar.gz | < 18 hours ago | 21.4 MB | |
d2-v0.7.1-windows-arm64.tar.gz | < 18 hours ago | 20.0 MB | |
README.md | < 18 hours ago | 2.1 kB | |
v0.7.1 source code.tar.gz | < 18 hours ago | 29.9 MB | |
v0.7.1 source code.zip | < 18 hours ago | 32.5 MB | |
Totals: 10 Items | 205.4 MB | 0 |
Features 🚀
- ASCII renders. Output
txt
for d2 to render diagrams as ASCII art #2572 cross
arrowhead shape is available #2190style.underline
support for class fields and methods #2544- markdown, latex, and code can be used as edge labels #2545
- border-x label positioning functionality #2549
- tooltips with
near
set always show even without hover #2564 - CLI supports customizing monospace fonts with
--font-mono
,--font-mono-bold
,--font-mono-italic
, and--font-mono-semibold
flags #2590
Improvements 🧹
- labels on scenario/step boards can be set with primary value (like layers) #2579
- autoformatter preserves order of boards #2580
- rename "Legend" with a title/label of your choosing (especially useful for non-English diagrams) #2582
- sketch mode fonts will use custom fonts if provided #2582
Bugfixes ⛑️
- actors in sequence diagrams with labels and icons together no longer overlap, position keywords now work too #2548
- fix double glob behavior in scenarios (wasn't propagating correctly) #2557
- fix diagram bounding box not accounting for legend in some cases #2584
Breaking Changes
- If you are using D2 as a library/API, passing in a FontFamily with
sketch
renders will now use the font, instead of previously ignoring it.
For the latest d2.js changes, see separate changelog.