github terrastruct/d2 v0.1.6

latest releases: v0.6.5, v0.6.4, v0.6.3...
17 months ago

Many meaningful quality of life improvements and bug fixes, along with a few small features. Overall, a stabilizing set of changes, while some huge features are brewing in the background for the next release!

Thank you to the new contributors that have been joining us. If you want to get involved, there's lots of issues tagged with "good first issue" that are relatively easy to pick up. We're always around to lend a hand, and feel free to drop by our Discord if you're not sure where to start.

Have you enjoyed using D2? We're redesigning some of the site and will have a section for testimonials. If you'd like to be included with a few words alongside your name or public profile, please email us at hi@d2lang.com (or just post it somewhere and let us know)!

Features ๐Ÿš€

  • animated keyword implemented for connections. #652
    animated connection example
  • border-radius keyword implemented for squares/rectangles. #688
  • circle arrowheads. #634

Improvements ๐Ÿงน

  • ELK layouts tuned to have better defaults. #627
  • Code snippets of unrecognized languages will render (just without syntax highlighting). #650
  • Adds sketched versions of arrowheads. #656

Bugfixes โ›‘๏ธ

  • Fixes code snippets not being tall enough with leading newlines. #664
  • Opacity was not being applied to labels of shapes (and other edge cases). #677
  • Fixes arrowheads sometimes appearing broken with sketch on. #656
  • Fixes attributes being ignored for sql_table to sql_table connections. #658
  • Icon URLs that needed escaping (e.g. with ampersands) are handled correctly by CLI. #666
  • Fixes self-connections inside layouts when using ELK. #676
  • Fixes inter-span messages between spans of the same actor in sequence diagrams. #694
  • Fixes arrowheads sometimes appearing broken in Dagre layouts. #649
  • Fixes tooltip/link attributes being ignored for sql_table and class. #658
  • Bounding box was not accounting for dimensions added by multiple and 3d keywords, which made them look cut off with 0 padding. #684, #685
  • Fixes markdown shapes being slightly too short for their text in some cases. #665
  • Fixes panic when the only diagram object has near set to a constant. #687

Don't miss a new d2 release

NewReleases is sending notifications on new releases.