Skip to content

Commit 4717224

Browse files
committed
add release doc
1 parent 1175d05 commit 4717224

3 files changed

Lines changed: 33 additions & 2 deletions

File tree

docs/releases/0.7.1.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#### Features 🚀
2+
3+
- ASCII renders. Output `txt` for d2 to render diagrams as ASCII art [#2572](https://github.com/terrastruct/d2/pull/2572)
4+
- `cross` arrowhead shape is available [#2190](https://github.com/terrastruct/d2/pull/2190)
5+
- `style.underline` support for class fields and methods [#2544](https://github.com/terrastruct/d2/pull/2544)
6+
- markdown, latex, and code can be used as edge labels [#2545](https://github.com/terrastruct/d2/pull/2545)
7+
- border-x label positioning functionality [#2549](https://github.com/terrastruct/d2/pull/2549)
8+
- tooltips with `near` set always show even without hover [#2564](https://github.com/terrastruct/d2/pull/2564)
9+
- CLI supports customizing monospace fonts with `--font-mono`, `--font-mono-bold`, `--font-mono-italic`, and `--font-mono-semibold` flags [#2590](https://github.com/terrastruct/d2/pull/2590)
10+
11+
#### Improvements 🧹
12+
13+
- labels on scenario/step boards can be set with primary value (like layers) [#2579](https://github.com/terrastruct/d2/pull/2579)
14+
- autoformatter preserves order of boards [#2580](https://github.com/terrastruct/d2/pull/2580)
15+
- rename "Legend" with a title/label of your choosing (especially useful for non-English diagrams) [#2582](https://github.com/terrastruct/d2/pull/2582)
16+
- sketch mode fonts will use custom fonts if provided [#2582](https://github.com/terrastruct/d2/pull/2591)
17+
18+
#### Bugfixes ⛑️
19+
20+
- actors in sequence diagrams with labels and icons together no longer overlap, position keywords now work too [#2548](https://github.com/terrastruct/d2/pull/2548)
21+
- fix double glob behavior in scenarios (wasn't propagating correctly) [#2557](https://github.com/terrastruct/d2/pull/2557)
22+
- fix diagram bounding box not accounting for legend in some cases [#2584](https://github.com/terrastruct/d2/pull/2584)
23+
24+
#### Breaking Changes
25+
26+
- 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.
27+
28+
---
29+
30+
For the latest d2.js changes, see separate [changelog](https://github.com/terrastruct/d2/blob/master/d2js/js/CHANGELOG.md).

docs/releases/intro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
:::info Latest
44

5-
Version: [0.6.9](/releases/0.6.9) (released February 04, 2025)
5+
Version: [0.7.1](/releases/0.7.1) (released August 19, 2025)
66

7-
Downloads: [Assets](https://github.com/terrastruct/d2/releases/tag/v0.6.9)
7+
Downloads: [Assets](https://github.com/terrastruct/d2/releases/tag/v0.7.1)
88

99
:::
1010

sidebars.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ const sidebars: SidebarsConfig = {
173173
link: { type: "doc", id: "releases/intro" },
174174
items: [
175175
"releases/intro",
176+
"releases/0.7.1",
176177
"releases/0.7.0",
177178
"releases/0.6.9",
178179
"releases/0.6.8",

0 commit comments

Comments
 (0)