2023-03-07 19:11:52 +00:00
#### Features 🚀
2023-01-19 19:38:24 +00:00
2022-12-01 20:59:53 +00:00
#### Improvements 🧹
2022-11-15 00:53:57 +00:00
2023-05-04 03:05:52 +00:00
- Use shape specific sizing for grid containers [#1294 ](https://github.com/terrastruct/d2/pull/1294 )
2023-05-09 01:52:38 +00:00
- Grid diagrams now support nested shapes or grid diagrams [#1309 ](https://github.com/terrastruct/d2/pull/1309 )
2023-05-11 00:24:16 +00:00
- Grid diagrams will now also use `grid-gap` , `vertical-gap` , and `horizontal-gap` for padding [#1309 ](https://github.com/terrastruct/d2/pull/1309 )
2023-05-07 19:12:04 +00:00
- Watch mode browser uses an error favicon to easily indicate compiler errors. Thanks @sinyo -matu ! [#1240 ](https://github.com/terrastruct/d2/pull/1240 )
2023-05-10 01:28:23 +00:00
- Improves grid layout performance when there are many similarly sized shapes. [#1315 ](https://github.com/terrastruct/d2/pull/1315 )
2023-05-26 02:19:11 +00:00
- Connections and labels now are adjusted for shapes with `3d` or `multiple` . [#1340 ](https://github.com/terrastruct/d2/pull/1340 )
2023-06-03 12:11:52 +00:00
- `sql_table` now alternatively takes an array of constraints instead of being limited to a single one. [#1245 ](https://github.com/terrastruct/d2/pull/1245 )
2023-05-04 03:05:52 +00:00
2022-12-01 21:14:09 +00:00
#### Bugfixes ⛑️
2023-05-16 12:21:46 +00:00
2023-05-16 21:56:26 +00:00
- Shadow is cut off when `--pad` is 0. Thank you @LeonardsonCC ! [#1326 ](https://github.com/terrastruct/d2/pull/1326 )
2023-05-27 00:51:39 +00:00
- Fixes grid layout overwriting label placements for nested objects. [#1345 ](https://github.com/terrastruct/d2/pull/1345 )
2023-06-01 02:02:49 +00:00
- Fixes fonts not rendering correctly on certain platforms. Thanks @mikeday for identifying the solution. [#1356 ](https://github.com/terrastruct/d2/pull/1356 )
2023-06-01 05:29:55 +00:00
- Fixes folders not rendering in animations (`--animate-interval`) [#1357 ](https://github.com/terrastruct/d2/pull/1357 )
2023-06-01 06:06:13 +00:00
- Fixes panic using reserved keywords as containers [#1358 ](https://github.com/terrastruct/d2/pull/1358 )
2023-06-02 00:13:00 +00:00
- When multiple classes are applied changing different attributes of arrowheads, they are
all applied instead of only the last one [#1362 ](https://github.com/terrastruct/d2/pull/1362 )
2023-06-02 01:49:02 +00:00
- Prevent empty block strings [#1364 ](https://github.com/terrastruct/d2/pull/1364 )
2023-06-02 22:59:42 +00:00
- Fixes dagre mis-aligning a nested shape's connection. [#1370 ](https://github.com/terrastruct/d2/pull/1370 )