github terrastruct/d2 v0.1.2

latest releases: v0.6.6, v0.6.5, v0.6.4...
21 months ago

D2 now has an official playground site: https://play.d2lang.com. It loads and runs fast, works on all the major browsers and has been tested on desktop and mobile on a variety of devices. It's the easiest way to get started with D2 and share diagrams. The playground is all open source (https://github.com/terrastruct/d2-playground). We'd love to hear your feedback and feature requests.

Windows users, the install experience just got a whole lot better. Making D2 accessible and easy to use continues to be a priority for us. With this release, we added an MSI installer for Windows, so that installs are just a few clicks. An official Docker image has also been added.

Features ๐Ÿš€

  • Diagram padding can be configured in the CLI (default 100px). #431
  • Connection label backgrounds can be set with the style.fill keyword. #452
  • Adds official Docker image. See ./docs/INSTALL.md#docker. #76
  • Adds .msi installer for convenient installation on Windows. #379

Improvements ๐Ÿงน

  • d2 fmt preserves leading comment spacing. #400
  • stroke and fill keywords work for Markdown text. #460
  • PNG export resolution increased by 2x to not be blurry exporting on retina displays. #445

Bugfixes โ›‘๏ธ

  • Fixes crash when sequence diagrams has no messages. #427
  • Fixes constraint keyword setting label. #415
  • Fixes serialization affecting binary plugins (TALA). #426
  • Fixes connections in ELK layouts not going all the way to shape borders. #459
  • Fixes a connection rendering bug that could happen in Firefox when there were no connection labels. #453
  • Fixes a crash when external connection IDs were prefixes of a sequence diagram ID. #462

Don't miss a new d2 release

NewReleases is sending notifications on new releases.