2023-03-07 19:11:52 +00:00
#### Features 🚀
2023-01-19 19:38:24 +00:00
2023-11-02 17:39:29 +00:00
- ELK now routes `sql_table` edges to the exact columns (ty @landmaj ) [#1681 ](https://github.com/terrastruct/d2/pull/1681 )
2023-11-08 01:55:26 +00:00
- Adds new unfilled triangle arrowhead. [#1711 ](https://github.com/terrastruct/d2/pull/1711 )
2023-11-09 04:31:50 +00:00
- Grid containers can now have custom label positions. [#1715 ](https://github.com/terrastruct/d2/pull/1715 )
2023-11-02 17:39:29 +00:00
2022-12-01 20:59:53 +00:00
#### Improvements 🧹
2022-11-15 00:53:57 +00:00
2023-09-28 20:59:44 +00:00
- Grid cells can now contain nested edges [#1629 ](https://github.com/terrastruct/d2/pull/1629 )
2023-09-29 03:09:15 +00:00
- Edges can now go across constant nears, sequence diagrams, and grids including nested ones. [#1631 ](https://github.com/terrastruct/d2/pull/1631 )
2023-11-01 19:05:45 +00:00
- All vars defined in a scope are accessible everywhere in that scope, i.e., an object can use a var defined after itself. [#1695 ](https://github.com/terrastruct/d2/pull/1695 )
2023-11-07 19:36:23 +00:00
- Encoding API switches to standard zlib encoding so that decoding doesn't depend on source. [#1709 ](https://github.com/terrastruct/d2/pull/1709 )
2023-11-07 22:31:50 +00:00
- `currentcolor` is accepted as a color option to inherit parent colors. (ty @hboomsma ) [#1700 ](https://github.com/terrastruct/d2/pull/1700 )
2023-09-28 20:59:44 +00:00
2022-12-01 21:14:09 +00:00
#### Bugfixes ⛑️
2023-09-27 01:04:47 +00:00
2023-10-06 01:57:04 +00:00
- Fixes a bug calculating grid height with only grid-rows and different horizontal-gap and vertical-gap values. [#1646 ](https://github.com/terrastruct/d2/pull/1646 )
2023-09-27 01:04:47 +00:00
- Grid layout now accounts for each cell's outside labels and icons [#1624 ](https://github.com/terrastruct/d2/pull/1624 )
2023-10-16 23:52:12 +00:00
- Grid layout now accounts for labels wider or taller than the shape and fixes default label positions for image grid cells. [#1670 ](https://github.com/terrastruct/d2/pull/1670 )
2023-10-05 19:18:38 +00:00
- Fixes a panic with a spread substitution in a glob map [#1643 ](https://github.com/terrastruct/d2/pull/1643 )
2023-10-15 04:58:26 +00:00
- Fixes use of `null` in `sql_table` constraints (ty @landmaj ) [#1660 ](https://github.com/terrastruct/d2/pull/1660 )
2023-10-20 23:19:53 +00:00
- Fixes elk growing shapes with width/height set [#1679 ](https://github.com/terrastruct/d2/pull/1679 )
2023-10-28 04:04:58 +00:00
- Adds a compiler error when accidentally using an arrowhead on a shape [#1686 ](https://github.com/terrastruct/d2/pull/1686 )
2023-10-31 19:26:01 +00:00
- Correctly reports errors from invalid values set by globs. [#1691 ](https://github.com/terrastruct/d2/pull/1691 )
2023-11-01 19:05:45 +00:00
- Fixes panic when spread substitution referenced a nonexistant var. [#1695 ](https://github.com/terrastruct/d2/pull/1695 )
2023-11-07 00:45:46 +00:00
- Fixes incorrect appendix icon numbering. [#1704 ](https://github.com/terrastruct/d2/pull/1704 )
2023-10-31 22:52:48 +00:00
- Fixes crash when using `--watch` and navigating to an invalid board path [#1693 ](https://github.com/terrastruct/d2/pull/1693 )