Skip to content

Commit f387498

Browse files
committed
v0.4.1
1 parent 87d5155 commit f387498

File tree

2 files changed

+35
-30
lines changed

2 files changed

+35
-30
lines changed

ci/release/changelogs/next.md

-30
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,5 @@
1-
Multi-board D2 compositions now get 2 more useful formats to export to: PowerPoint and GIFs.
2-
3-
## Powerpoint example
4-
5-
Make sure you click present, and click around the links and navigations!
6-
7-
- Download: [wcc.pptx](https://github.com/terrastruct/d2/files/11256733/wcc.pptx)
8-
- Google Slides: [https://docs.google.com/presentation/d/18rRh4izu3k_43On8PXtVYdqRxmoQJd4y/view](https://docs.google.com/presentation/d/18rRh4izu3k_43On8PXtVYdqRxmoQJd4y/view)
9-
- Source code: [https://github.com/terrastruct/d2/blob/master/docs/examples/wcc/wcc.d2](https://github.com/terrastruct/d2/blob/master/docs/examples/wcc/wcc.d2)
10-
11-
## GIF example
12-
13-
This is the same diagram as one we shared when we announced animated SVGs, but in GIF form.
14-
15-
![animated](https://user-images.githubusercontent.com/3120367/232637553-dd35e076-dfb4-4910-958d-d57ec382f792.gif)
16-
171
#### Features 🚀
182

19-
- Export diagrams to `.pptx` (PowerPoint) [#1139](https://github.com/terrastruct/d2/pull/1139)
20-
- Export diagrams to `.gif` [#1200](https://github.com/terrastruct/d2/pull/1200)
21-
- Customize gap size in grid diagrams with `grid-gap`, `vertical-gap`, or `horizontal-gap` (see [docs](https://d2lang.com/tour/grid-diagrams/#gap-size)) [#1178](https://github.com/terrastruct/d2/issues/1178)
22-
- New dark theme "Dark Terrastruct Flagship" with the theme ID of `201` [#1150](https://github.com/terrastruct/d2/issues/1150)
23-
243
#### Improvements 🧹
254

26-
- `font-size` works with Markdown text [#1191](https://github.com/terrastruct/d2/issues/1191)
27-
- SVG outputs for internal links use relative paths instead of absolute [#1197](https://github.com/terrastruct/d2/pull/1197)
28-
- Improves arrowhead label positioning [#1207](https://github.com/terrastruct/d2/pull/1207)
29-
305
#### Bugfixes ⛑️
31-
32-
- Fixes grid layouts not applying on objects with a constant near [#1173](https://github.com/terrastruct/d2/issues/1173)
33-
- Fixes Markdown header rendering in Firefox and Safari [#1177](https://github.com/terrastruct/d2/issues/1177)
34-
- Fixes a grid layout panic when there are fewer objects than rows/columns [#1189](https://github.com/terrastruct/d2/issues/1189)
35-
- Fixes an issue where PNG exports that were too large were crashing [#1093](https://github.com/terrastruct/d2/issues/1093)

ci/release/changelogs/v0.4.1.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Multi-board D2 compositions now get 2 more useful formats to export to: PowerPoint and GIFs.
2+
3+
## Powerpoint example
4+
5+
Make sure you click present, and click around the links and navigations!
6+
7+
- Download: [wcc.pptx](https://github.com/terrastruct/d2/files/11256733/wcc.pptx)
8+
- Google Slides: [https://docs.google.com/presentation/d/18rRh4izu3k_43On8PXtVYdqRxmoQJd4y/view](https://docs.google.com/presentation/d/18rRh4izu3k_43On8PXtVYdqRxmoQJd4y/view)
9+
- Source code: [https://github.com/terrastruct/d2/blob/master/docs/examples/wcc/wcc.d2](https://github.com/terrastruct/d2/blob/master/docs/examples/wcc/wcc.d2)
10+
11+
## GIF example
12+
13+
This is the same diagram as one we shared when we announced animated SVGs, but in GIF form.
14+
15+
![animated](https://user-images.githubusercontent.com/3120367/232637553-dd35e076-dfb4-4910-958d-d57ec382f792.gif)
16+
17+
#### Features 🚀
18+
19+
- Export diagrams to `.pptx` (PowerPoint) [#1139](https://github.com/terrastruct/d2/pull/1139)
20+
- Export diagrams to `.gif` [#1200](https://github.com/terrastruct/d2/pull/1200)
21+
- Customize gap size in grid diagrams with `grid-gap`, `vertical-gap`, or `horizontal-gap` (see [docs](https://d2lang.com/tour/grid-diagrams/#gap-size)) [#1178](https://github.com/terrastruct/d2/issues/1178)
22+
- New dark theme "Dark Terrastruct Flagship" with the theme ID of `201` [#1150](https://github.com/terrastruct/d2/issues/1150)
23+
24+
#### Improvements 🧹
25+
26+
- `font-size` works with Markdown text [#1191](https://github.com/terrastruct/d2/issues/1191)
27+
- SVG outputs for internal links use relative paths instead of absolute [#1197](https://github.com/terrastruct/d2/pull/1197)
28+
- Improves arrowhead label positioning [#1207](https://github.com/terrastruct/d2/pull/1207)
29+
30+
#### Bugfixes ⛑️
31+
32+
- Fixes grid layouts not applying on objects with a constant near [#1173](https://github.com/terrastruct/d2/issues/1173)
33+
- Fixes Markdown header rendering in Firefox and Safari [#1177](https://github.com/terrastruct/d2/issues/1177)
34+
- Fixes a grid layout panic when there are fewer objects than rows/columns [#1189](https://github.com/terrastruct/d2/issues/1189)
35+
- Fixes an issue where PNG exports that were too large were crashing [#1093](https://github.com/terrastruct/d2/issues/1093)

0 commit comments

Comments
 (0)