2024-04-26 03:24:57 +00:00
#### Features 🚀
2024-07-18 19:44:19 +00:00
- Glob inverse filters are implemented (e.g. `*: {!&shape: circle; style.fill: red}` to turn all non-circles red) [#2008 ](https://github.com/terrastruct/d2/pull/2008 )
2024-07-18 22:09:36 +00:00
- Globs can be used in glob filter values, including checking for existence (e.g. `*: {&link: *; style.fill: red}` to turn all objects with a link red) [#2009 ](https://github.com/terrastruct/d2/pull/2009 )
2024-07-18 19:44:19 +00:00
2024-04-26 03:24:57 +00:00
#### Improvements 🧹
2022-11-15 00:53:57 +00:00
2024-05-15 03:36:41 +00:00
- Opacity 0 shapes no longer have a label mask which made any segment of connections going through them lower opacity [#1940 ](https://github.com/terrastruct/d2/pull/1940 )
2024-05-17 03:41:50 +00:00
- Bidirectional connections are now animated in opposite directions rather than one direction [#1939 ](https://github.com/terrastruct/d2/pull/1939 )
2024-05-15 03:36:41 +00:00
2022-12-01 21:14:09 +00:00
#### Bugfixes ⛑️
2024-04-26 03:24:57 +00:00
- Local relative icons are relative to the d2 file instead of CLI invoke path [#1924 ](https://github.com/terrastruct/d2/pull/1924 )
2024-05-02 17:58:01 +00:00
- Custom label positions weren't being read when the width was smaller than the label [#1928 ](https://github.com/terrastruct/d2/pull/1928 )
2024-05-19 00:11:08 +00:00
- Using `shape: circle` for arrowheads no longer removes all arrowheads along path in sketch mode [#1942 ](https://github.com/terrastruct/d2/pull/1942 )
2024-06-04 22:10:06 +00:00
- Globs to null connections work [#1965 ](https://github.com/terrastruct/d2/pull/1965 )
2024-06-05 17:14:52 +00:00
- Edge globs setting styles inherit correctly in child boards [#1967 ](https://github.com/terrastruct/d2/pull/1967 )
2024-06-06 04:22:47 +00:00
- Board links imported with spread imports work [#1972 ](https://github.com/terrastruct/d2/pull/1972 )
2024-07-13 14:03:08 +00:00
- Fix importing a file with nested boards [#1998 ](https://github.com/terrastruct/d2/pull/1998 )
2024-07-13 14:38:57 +00:00
- Fix importing a file with underscores in links [#1999 ](https://github.com/terrastruct/d2/pull/1999 )
2024-07-19 21:03:22 +00:00
- Replace a panic with an error message resulting from invalid `link` usage [#2011 ](https://github.com/terrastruct/d2/pull/2011 )