v0.1.5
d2lang/d2v0.1.5Jan 8, 2023by alixander
AI Summary
This release adds new arrowhead notations and fixes export sizing issues to ensure diagrams look correct when opened.
Key Highlights
- Crow foot notation for arrowheads.
- Exported SVGs fit to screen on open.
New Features
- Crow foot notation for arrowheads.
- Exported SVGs fit to screen on initial load.
Full Release Notes
#### Features ๐ - Crow foot notation has been added for arrowheads. See [docs](https://d2lang.com/tour/connections#arrowheads) for more. [#578](https://github.com/terrastruct/d2/pull/578). - Exported SVGs fit to screen on open. [#601](https://github.com/terrastruct/d2/pull/601) #### Improvements ๐งน - Dagre edges are spaced apart to prevent label overlap. [#618](https://github.com/terrastruct/d2/pull/618) #### Bugfixes โ๏ธ - Appendix seperator line no longer added to PNG export when appendix doesn't exist. [#582](https://github.com/terrastruct/d2/pull/582) - Watch mode only fits to screen on initial load. [#601](https://github.com/terrastruct/d2/pull/601) - Dimensions (`width`/`height`) were incorrectly giving compiler errors when applied on a shape with style. [#614](https://github.com/terrastruct/d2/pull/614) - `near` would collide with labels if they were on the diagram boundaries in the same position. [#617](https://github.com/terrastruct/d2/pull/617) - Fixes routing between sql table columns if the column name is the prefix of the table name. [#615](https://github.com/terrastruct/d2/pull/615)