Skip to content

Commit 7c1d806

Browse files
committed
v0.6.1
1 parent 5f14081 commit 7c1d806

File tree

2 files changed

+52
-47
lines changed

2 files changed

+52
-47
lines changed

ci/release/changelogs/next.md

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,5 @@
1-
The globs feature underwent a major rewrite and is now almost finalized.
2-
3-
### Before
4-
5-
Previously, globs would evaluate once on all the shapes and connections declared above it. So if you wanted to set everything red, you had to add the line at the bottom.
6-
7-
```d2
8-
x
9-
y
10-
11-
*.style.fill: red
12-
```
13-
14-
### Now
15-
16-
```d2
17-
*.style.fill: red
18-
19-
x
20-
y
21-
```
22-
23-
We still have one more release in 0.6 series to add filters to globs, so stay tuned.
24-
25-
You might also be interested to know that grid cells can now have connections between them! Source code for this diagram [here](https://github.com/terrastruct/d2/blob/master/e2etests/testdata/files/simple_grid_edges.d2).
26-
27-
![267854495-bc0a5456-3618-4d46-84db-f211ffb5246a](https://github.com/terrastruct/d2/assets/3120367/bb7b01a5-5473-401d-baf7-9faf2e7cfbe8)
28-
29-
301
#### Features 🚀
312

32-
- UTF-16 files are automatically detected and supported [#1525](https://github.com/terrastruct/d2/pull/1525)
33-
- Grid diagrams can now have simple connections between top-level cells [#1586](https://github.com/terrastruct/d2/pull/1586)
34-
353
#### Improvements 🧹
364

37-
- Globs are lazily-evaluated [#1552](https://github.com/terrastruct/d2/pull/1552)
38-
- Latex blocks includes Mathjax's ASM extension [#1544](https://github.com/terrastruct/d2/pull/1544)
39-
- `font-color` works on Markdown [#1546](https://github.com/terrastruct/d2/pull/1546)
40-
- `font-color` works on arrowheads [#1582](https://github.com/terrastruct/d2/pull/1582)
41-
- CLI failure message includes input path [#1617](https://github.com/terrastruct/d2/pull/1617)
42-
435
#### Bugfixes ⛑️
44-
45-
- `d2 fmt` formats all files passed as arguments rather than just the first non-formatted (thank you @maxbrunet) [#1523](https://github.com/terrastruct/d2/issues/1523)
46-
- Fixes Markdown cropping last element in mixed-element blocks (e.g. em and strong) [#1543](https://github.com/terrastruct/d2/issues/1543)
47-
- Adds compiler error for non-blockstring empty labels [#1590](https://github.com/terrastruct/d2/issues/1590)
48-
- Prevents multiple constant nears overlapping in some cases [#1591](https://github.com/terrastruct/d2/issues/1591)
49-
- Fixes crash from empty nested grid [#1594](https://github.com/terrastruct/d2/issues/1594)
50-
- `d2fmt` with variable substitution mid-string is formatted correctly [#1611](https://github.com/terrastruct/d2/issues/1611)
51-
- Fixes certain shape IDs not working with dagre [#1610](https://github.com/terrastruct/d2/issues/1610)
52-
- Fixes font-size adjustments missing from rendered code shape [#1614](https://github.com/terrastruct/d2/issues/1614)

ci/release/changelogs/v0.6.1.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
The globs feature underwent a major rewrite and is now almost finalized.
2+
3+
### Before
4+
5+
Previously, globs would evaluate once on all the shapes and connections declared above it. So if you wanted to set everything red, you had to add the line at the bottom.
6+
7+
```d2
8+
x
9+
y
10+
11+
*.style.fill: red
12+
```
13+
14+
### Now
15+
16+
```d2
17+
*.style.fill: red
18+
19+
x
20+
y
21+
```
22+
23+
We still have one more release in 0.6 series to add filters to globs, so stay tuned.
24+
25+
You might also be interested to know that grid cells can now have connections between them! Source code for this diagram [here](https://github.com/terrastruct/d2/blob/master/e2etests/testdata/files/simple_grid_edges.d2).
26+
27+
![267854495-bc0a5456-3618-4d46-84db-f211ffb5246a](https://github.com/terrastruct/d2/assets/3120367/bb7b01a5-5473-401d-baf7-9faf2e7cfbe8)
28+
29+
30+
#### Features 🚀
31+
32+
- UTF-16 files are automatically detected and supported [#1525](https://github.com/terrastruct/d2/pull/1525)
33+
- Grid diagrams can now have simple connections between top-level cells [#1586](https://github.com/terrastruct/d2/pull/1586)
34+
35+
#### Improvements 🧹
36+
37+
- Globs are lazily-evaluated [#1552](https://github.com/terrastruct/d2/pull/1552)
38+
- Latex blocks includes Mathjax's ASM extension [#1544](https://github.com/terrastruct/d2/pull/1544)
39+
- `font-color` works on Markdown [#1546](https://github.com/terrastruct/d2/pull/1546)
40+
- `font-color` works on arrowheads [#1582](https://github.com/terrastruct/d2/pull/1582)
41+
- CLI failure message includes input path [#1617](https://github.com/terrastruct/d2/pull/1617)
42+
43+
#### Bugfixes ⛑️
44+
45+
- `d2 fmt` formats all files passed as arguments rather than just the first non-formatted (thank you @maxbrunet) [#1523](https://github.com/terrastruct/d2/issues/1523)
46+
- Fixes Markdown cropping last element in mixed-element blocks (e.g. em and strong) [#1543](https://github.com/terrastruct/d2/issues/1543)
47+
- Adds compiler error for non-blockstring empty labels [#1590](https://github.com/terrastruct/d2/issues/1590)
48+
- Prevents multiple constant nears overlapping in some cases [#1591](https://github.com/terrastruct/d2/issues/1591)
49+
- Fixes crash from empty nested grid [#1594](https://github.com/terrastruct/d2/issues/1594)
50+
- `d2fmt` with variable substitution mid-string is formatted correctly [#1611](https://github.com/terrastruct/d2/issues/1611)
51+
- Fixes certain shape IDs not working with dagre [#1610](https://github.com/terrastruct/d2/issues/1610)
52+
- Fixes font-size adjustments missing from rendered code shape [#1614](https://github.com/terrastruct/d2/issues/1614)

0 commit comments

Comments
 (0)