2023-01-20 04:56:57 +00:00
#### Features 🚀
2023-01-19 19:38:24 +00:00
2023-02-23 19:26:11 +00:00
- Dark theme support! See [https://d2lang.com/tour/themes ](https://d2lang.com/tour/themes ).[#613](https://github.com/terrastruct/d2/pull/613)
2023-02-14 18:47:32 +00:00
- Many non-Latin languages (e.g. Chinese, Japanese, Korean) are usable now that multi-byte characters are measured correctly. [#817 ](https://github.com/terrastruct/d2/pull/817 )
2023-02-19 07:37:43 +00:00
- Dimensions can be set on containers (layout engine dependent). [#845 ](https://github.com/terrastruct/d2/pull/845 )
2023-02-14 18:47:32 +00:00
2022-12-01 20:59:53 +00:00
#### Improvements 🧹
2022-11-15 00:53:57 +00:00
2023-02-19 07:37:43 +00:00
- Cleaner watch mode logs without timestamps. [#830 ](https://github.com/terrastruct/d2/pull/830 )
- Remove duplicate success logs in watch mode. [#830 ](https://github.com/terrastruct/d2/pull/830 )
- CLI reports when a feature is incompatible with layout engine, instead of silently ignoring. [#845 ](https://github.com/terrastruct/d2/pull/845 )
2023-02-19 16:23:24 +00:00
- `near` key set to direct parent or ancestor throws an appropriate error message. [#851 ](https://github.com/terrastruct/d2/pull/851 )
2023-02-19 22:10:10 +00:00
- Dimensions and positions are able to be set from API. [#853 ](https://github.com/terrastruct/d2/pull/853 )
2023-02-16 14:08:37 +00:00
2022-12-01 21:14:09 +00:00
#### Bugfixes ⛑️
2023-02-14 19:36:40 +00:00
- Fixes edge case where layouts with dagre show a connection from the bottom side of shapes being slightly disconnected from the shape. [#820 ](https://github.com/terrastruct/d2/pull/820 )
2023-02-23 19:26:11 +00:00
- Bounding boxes weren't accounting for icons placed on the boundaries. [#879 ](https://github.com/terrastruct/d2/pull/879 )
2023-02-15 05:34:07 +00:00
- Fixes rare compiler bug when using underscores in edges to create objects across containers. [#824 ](https://github.com/terrastruct/d2/pull/824 )
2023-02-15 19:59:03 +00:00
- Fixes rare possibility of rendered connections being hidden or cut off. [#828 ](https://github.com/terrastruct/d2/pull/828 )
2023-02-17 01:46:31 +00:00
- Creating nested children within `sql_table` and `class` shapes are now prevented (caused confusion when accidentally done). [#834 ](https://github.com/terrastruct/d2/pull/834 )
2023-02-19 07:37:43 +00:00
- Fixes graph deserialization bug. [#837 ](https://github.com/terrastruct/d2/pull/837 )
2023-02-22 21:45:00 +00:00
- `steps` with non-map fields could cause panics. [#783 ](https://github.com/terrastruct/d2/pull/783 )