d2/ci/release/changelogs/next.md

37 lines
2.6 KiB
Markdown
Raw Normal View History

2023-01-20 04:56:57 +00:00
#### Features 🚀
- `double-border` keyword implemented. [#565](https://github.com/terrastruct/d2/pull/565)
2023-01-24 09:19:09 +00:00
- The [Dockerfile](./docs/INSTALL.md#docker) now supports rendering PNGs [#594](https://github.com/terrastruct/d2/issues/594)
2023-01-24 09:19:09 +00:00
- There was a minor breaking change as part of this where the default working directory of the Dockerfile is now `/home/debian/src` instead of `/root/src` to allow UID remapping with [`fixuid`](https://github.com/boxboat/fixuid).
- `d2 fmt` accepts multiple files to be formatted [#718](https://github.com/terrastruct/d2/issues/718)
- You can now use the reserved keywords `layers`/`scenarios`/`steps` to define diagrams
with multiple levels of abstractions. [#714](https://github.com/terrastruct/d2/pull/714)
Docs to come soon
2023-01-28 01:19:12 +00:00
- [#416](https://github.com/terrastruct/d2/issues/416) was also fixed so you can no
longer use keywords intended for use under `style` outside and vice versa. e.g.
`obj.style.shape` and `obj.double-border` are now illegal. The correct uses are
`obj.shape` and `obj.style.double-border`.
- Many other minor compiler bugs were fixed.
2022-12-01 20:59:53 +00:00
#### Improvements 🧹
2022-11-15 00:53:57 +00:00
2023-02-03 23:40:20 +00:00
- Code snippets use bold and italic font styles as determined by highlighter [#710](https://github.com/terrastruct/d2/issues/710), [#741](https://github.com/terrastruct/d2/issues/741)
2023-01-27 19:59:37 +00:00
- Reduces default padding of shapes. [#702](https://github.com/terrastruct/d2/pull/702)
- Ensures labels fit inside shapes with shape-specific inner bounding boxes. [#702](https://github.com/terrastruct/d2/pull/702)
- Improves package shape dimensions with short height. [#702](https://github.com/terrastruct/d2/pull/702)
- Keeps person shape from becoming too distorted. [#702](https://github.com/terrastruct/d2/pull/702)
- Ensures shapes with icons have enough padding for their labels. [#702](https://github.com/terrastruct/d2/pull/702)
2023-02-05 09:10:47 +00:00
- `--force-appendix` flag adds an appendix to SVG outputs with tooltips or links. [#761](https://github.com/terrastruct/d2/pull/761)
2023-02-05 08:36:31 +00:00
- `d2 themes` subcommand to list themes. [#760](https://github.com/terrastruct/d2/pull/760)
2023-01-27 19:59:37 +00:00
#### Bugfixes ⛑️
2023-01-27 19:59:37 +00:00
2023-01-27 02:08:37 +00:00
- Fixes groups overlapping in sequence diagrams when they end in a self loop. [#728](https://github.com/terrastruct/d2/pull/728)
2023-02-04 02:32:46 +00:00
- Fixes dimensions of unlabeled squares or circles with only a set width or height. [#702](https://github.com/terrastruct/d2/pull/702)
- Fixes scaling of actor shapes in sequence diagrams. [#702](https://github.com/terrastruct/d2/pull/702)
2023-02-03 23:03:32 +00:00
- Images can now be set to sizes smaller than 128x128. [#702](https://github.com/terrastruct/d2/pull/702)
2023-02-04 02:32:46 +00:00
- Fixes class height when there are no rows. [#756](https://github.com/terrastruct/d2/pull/756)