Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

d2 0.2.5 #125897

Closed
wants to merge 1 commit into from
Closed

d2 0.2.5 #125897

wants to merge 1 commit into from

Conversation

chenrui333
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes Customizations and layouts take a big leap forward with this release! Put together, these improvements make beautiful diagrams like these possible:

mono

Playground link

Features 🚀

  • New class of special themes, starting with Terminal, and Terminal Grayscale. See docs. #1040, #1041
  • style.font: mono to use a monospaced font for the text/label. See docs. #1010
  • border-radius is supported for both class and sql_table shapes. Thanks to second-time contributor @donglixiaoche ! #982
  • Implements style.fill-pattern. See docs. #1024, #1041

Improvements 🧹

  • dagre layouts that have a connection where one endpoint is a container is much improved. #1011
  • elk layouts have less bends in the routes. #1033
  • elk layouts center nodes better. #1028
  • elk layouts have nicer margins between node boundaries and edges. #1028
  • elk layouts container contents are centered within. #1038
  • elk layouts container dimensions fit label. #1038
  • sketch draws connections with less roughness, which especially improves look of corner bends in ELK. #1014
  • CSS in SVGs are diagram-specific, which means you can embed multiple D2 diagrams on a web page without fear of style conflicts. #1016

Bugfixes ⛑️

  • Fixes d2 erroring on malformed user paths (fdopendir error). util-go#10
  • Arrowhead labels being set without maps wasn't being picked up. #1015
  • Fixes a dagre layout error with connections to a container shape with a blockstring label. #1032

@BrewTestBot BrewTestBot added go Go use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Mar 16, 2023
@BrewTestBot
Copy link
Member

🤖 A scheduled task has triggered a merge.

@chenrui333 chenrui333 deleted the bump-d2-0.2.5 branch January 22, 2024 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` go Go use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants