v0.2.4
d2lang/d2v0.2.4Mar 7, 2023by alixander
AI Summary
This release improves the ELK layout engine by increasing node dimensions for better padding and adds clearer error messages for incorrect usage.
Key Highlights
- ELK nodes with > 1 connection grow to ensure padding around ports.
- Clear error messages when using style keywords incorrectly.
- Clear error messages for unsemantic Markdown.
New Features
- ELK nodes with > 1 connection grow to ensure padding
- Using a style keyword incorrectly returns clear error message
- Unsemantic Markdown returns clear error message
Full Release Notes
ELK layout has been much improved by increasing node dimensions to make room for nice even padding around ports:  Do you use ELK more than dagre? We're considering switching d2's default layout engine to ELK, so please chime in to this poll if you have an opinion! https://github.com/terrastruct/d2/discussions/990 #### Improvements 🧹 - ELK nodes with > 1 connection grow to ensure padding around ports [#981](https://github.com/terrastruct/d2/pull/981) - Using a style keyword incorrectly in connections returns clear error message [#989](https://github.com/terrastruct/d2/pull/989) - Unsemantic Markdown returns clear error message [#994](https://github.com/terrastruct/d2/pull/994) #### Bugfixes ⛑️ - Accept absolute paths again on the CLI (regression from previous release). [#979](https://github.com/terrastruct/d2/pull/979) - Fixes some rare undefined behavior using capitalized reserved keywords [#978](https://github.com/terrastruct/d2/pull/978) - Fixes an error rendering when links contained `&` characters [#988](https://github.com/terrastruct/d2/pull/988)