d2/ci/release/changelogs/next.md
2023-02-02 20:25:52 -08:00

2.2 KiB

Features 🚀

  • double-border keyword implemented. #565

  • The Dockerfile now supports rendering PNGs #594

    • 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.
  • d2 fmt accepts multiple files to be formatted #718

  • You can now use the reserved keywords layers/scenarios/steps to define diagrams with multiple levels of abstractions. #714 Docs to come soon

    • #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.

Improvements 🧹

  • Reduces default padding of shapes. #702
  • Ensures labels fit inside shapes with shape-specific inner bounding boxes. #702
  • Improves package shape dimensions with short height. #702
  • Keeps person shape from becoming too distorted. #702
  • Ensures shapes with icons have enough padding for their labels. #702

Bugfixes ⛑️

  • Fixes groups overlapping in sequence diagrams when they end in a self loop. #728
  • Fixed dimensions of unlabeled squares or circles with only a set width or height. #702
  • Fixed scaling of actor shapes in sequence diagrams. #702
  • Code snippets use bold and italic font styles as determined by highlighter #710, #741